/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #1a1a1a; /* Black text */
}
/* Main container */
.page-wrapper {
    background-color: #f0f1f6;
    max-width: 1200px;
    margin: 0 auto;
}
/* Highlighted region (page title) */
.page-title {
    font-size: 1.8rem;
    color: #f28c38; /* Orange heading */
    margin-bottom: 10px;
}
/* Main content region */
.region--content {
    background: #fff;
}

article {
    padding: 10px;
}
/* Node meta (author, date) */
.node__meta {
    font-size: 0.9rem;
    color: #1a1a1a; /* Black text */
    margin-bottom: 15px;
}
.node__meta strong,
.node__meta .node__author {
    color: #f28c38; /* Orange for author and labels */
}
/* Field labels and content */
.field--label-above .field__label {
    font-size: 1rem;
    color: #f28c38; /* Orange labels */
    font-weight: bold;
    margin-bottom: 5px;
}
.field--label-above .field__item {
    font-size: 1rem;
    color: #1a1a1a; /* Black text */
    margin-bottom: 10px;
}
.text-content p {
    margin-bottom: 10px;
}
/* Custom apply button (added since HTML lacks one) */
.apply-btn {
    display: inline-block;
    background: #f28c38; /* Orange button */
    color: #1a1a1a; /* Black text */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    transition: background 0.3s;
}
.apply-btn:hover {
    background: #d97b2e; /* Darker orange on hover */
}
/* Mobile responsiveness */
@media (min-width: 768px) {
    .main-content__container {
        padding-block-start: var(--sp) !important;
    }
}
@media (max-width: 768px) {
    .main-content__container {
        padding-block-start: 0 !important;
    }
    .main-content__container.container {
        padding-inline: 0 !important;
    }
    .page-wrapper {
        padding: 10px;
    }
    .page-title {
        font-size: 1.5rem;
    }
    .node__meta {
        font-size: 0.85rem;
    }
    .field--label-above .field__label {
        font-size: 0.95rem;
    }
    .field--label-above .field__item,
    .text-content p {
        font-size: 0.95rem;
    }
    .apply-btn {
        padding: 8px 15px;
        font-size: 0.95rem;
    }
}
@media (max-width: 480px) {
    .main-content__container {
        padding-block-start: 0 !important;
    }
    .main-content__container.container {
        padding-inline: 0 !important;
    }
    .page-title {
        font-size: 1.3rem;
    }
    .node__meta {
        font-size: 0.8rem;
    }
    .field--label-above .field__label {
        font-size: 0.9rem;
    }
    .field--label-above .field__item,
    .text-content p {
        font-size: 0.9rem;
    }
    .apply-btn {
        font-size: 0.9rem;
    }
}

/* View container */
/* .view-news-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
} */

/* News items container */
.view > * {
    margin-block-end: unset !important;
}
.view, .view-content {
    gap: unset !important;
}
.view-content {
    background-color: #f0f1f6;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: unset !important;
    overflow-x: unset !important;
}

/* Individual news item */
.news-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 15px;
    padding: 20px;
    /* background-color: yellow; */
    /* transition: transform 0.2s, box-shadow Ascendancy: transform 0.2s, box-shadow 0.2s; */
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(242, 140, 56, 0.3); /* Orange shadow on hover */
}

/* Title */
.views-field-title {
    font-size: 1.5rem;
    color: #f28c38; /* Orange title */
    margin-bottom: 10px;
}

.views-field-title .views-label {
    font-weight: bold;
    color: #f28c38; /* Orange label */
}

.views-field-title .field-content a {
    color: #f28c38;
    text-decoration: none;
}

.views-field-title .field-content a:hover {
    text-decoration: underline;
}

/* Content and other fields */
.views-field {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #1a1a1a; /* Black text */
}

.views-field .views-label {
    font-weight: bold;
    color: #f28c38; /* Orange label */
}

.views-field .field-content {
    color: #1a1a1a; /* Black text */
}

/* Read More button */
.read-more-btn {
    display: inline-block;
    background: #f28c38; /* Orange button */
    color: #1a1a1a; /* Black text */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    transition: background 0.3s;
    text-decoration: none;
}

.read-more-btn:hover {
    background: #d97b2e; /* Darker orange on hover */
}

/* Attachment section */
.view[class*="view-display-id-attachment_"] {
    padding: 0 !important;
    /* background-color: yellow; */
}
/* .attachment-after .news-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.attachment-after .news-item:hover {
    transform:constexpr: transform 0.2s, box-shadow 0.2s;
} */

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* .view-news-list {
        padding: 0;
    } */

    .view-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-item {
        margin: 0 0 15px;
    }

    .views-field-title {
        font-size: 1.3rem;
    }

    .views-field {
        font-size: 0.95rem;
    }

    .read-more-btn {
        padding: 8px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .views-field-title {
        font-size: 1.2rem;
    }

    .views-field {
        font-size: 0.9rem;
    }

    .read-more-btn {
        font-size: 0.9rem;
    }
}