/* Announcements Page Specific Styles */

/* Announcements Hero Section */
.announcements-hero {
    position: relative;
    padding: 100px 240px 80px;
    z-index: 5;
    max-width: 1920px;
    margin: 0 auto;
}

.announcements-hero-content {
    max-width: 1050px;
}

.announcements-subtitle {
    font-size: 37px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.8px;
    line-height: 42px;
    margin: 0 0 20px 0;
}

.announcements-title {
    font-size: 98px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 90px;
    margin: 0 0 50px 0;
}

/* Video Container */
.announcements-video-container {
    position: relative;
    margin-bottom: 30px;
}

.announcements-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.announcements-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 154.554px;
    height: 97.562px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.announcements-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.announcements-play-button img {
    width: 100%;
    height: 100%;
}

/* CTA Buttons */
.announcements-cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.announcements-cta-buttons a {
    text-decoration: none;
}

.announcements-btn-primary,
.announcements-btn-secondary {
    padding: 18px 40px;
    font-size: 24px;
    font-weight: 500;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1.4px solid #fa660f;
    text-decoration: none;
    display: inline-block;
}

.announcements-btn-primary {
    background-color: #fa660f;
    color: #ffffff;
}

.announcements-btn-primary:hover {
    background-color: #e05500;
    border-color: #e05500;
}

.announcements-btn-secondary {
    background-color: transparent;
    color: #fa660f;
}

.announcements-btn-secondary:hover {
    background-color: #fa660f;
    color: #ffffff;
}

/* Announcements Section */
.announcements-section {
    position: relative;
    background-color: #ffffff;
    padding: 80px 240px;
    z-index: 5;
}

.announcements-section:first-of-type {
    padding-top: 100px;
}

.announcements-container {
    max-width: 1440px;
    margin: 0 auto;
    border-top: 1px solid #e5e5e5;
    padding-top: 70px;
}

.announcements-section:first-of-type .announcements-container {
    border-top: none;
    padding-top: 0;
}

/* Announcements Content Wrapper */
.announcements-content-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 200px;
    margin-bottom: 40px;
}

/* Announcements Header */
.announcements-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.section-title {
    font-size: 50px;
    font-weight: 700;
    color: #0c1823;
    letter-spacing: -1.5px;
    line-height: 57px;
    margin: 0;
}

/* Announcements List Wrapper */
.announcements-list-wrapper {
    display: flex;
    flex-direction: column;
}

/* Year Tabs */
.year-tabs {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    justify-content: flex-start;
}

.year-tab {
    font-size: 40px;
    font-weight: 700;
    color: #0c1823;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    letter-spacing: -1.5px;
    line-height: 90px;
    transition: color 0.3s ease;
    position: relative;
}

.year-tab:hover {
    color: #fa660f;
}

.year-tab.active {
    color: #ffffff;
    background-color: #fa660f;
    padding: 8px 30px;
    border-radius: 7px;
    line-height: 1;
}

/* Announcements Tab Control */
.announcements-tab {
    display: none;
}

.announcements-tab.active {
    display: block;
}

/* Announcements List */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.announcement-item {
    /* display: grid;
    grid-template-columns: 231px 1fr; */
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
    width: 100%;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-date {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    line-height: 54px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 30px;
}

.announcement-link {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    line-height: 54px;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    width: 100%;
}

.announcement-link:hover {
    color: #fa660f;
}

.announcement-link span {
    display: inline;
}

/* YourIR Announcement Heading */
.yourir-announcement-heading {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    line-height: 54px;
    transition: color 0.3s ease;
}

.yourir-announcement-heading:hover {
    color: #fa660f;
}

.yourir-announcement-heading a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.yourir-announcement-heading a:hover {
    color: #fa660f;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    align-items: center;
}

.pagination-btn {
    width: 54px;
    height: 54px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.pagination-btn:hover {
    transform: scale(1.1);
}

.pagination-btn img {
    width: 100%;
    height: 100%;
}

/* Tablet Responsive (768px - 1440px) */
@media screen and (max-width: 1440px) {
    .announcements-hero {
        padding: 40px 60px 60px;
    }

    .announcements-subtitle {
        font-size: 30px;
        line-height: 36px;
    }

    .announcements-title {
        font-size: 70px;
        line-height: 75px;
        margin-bottom: 40px;
    }

    .announcements-play-button {
        width: 120px;
        height: 75px;
    }

    .announcements-btn-primary,
    .announcements-btn-secondary {
        font-size: 20px;
        padding: 15px 35px;
    }

    .announcements-section {
        padding: 60px 60px;
    }

    .announcements-container {
        padding-top: 50px;
    }

    .announcements-content-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 40px;
        line-height: 48px;
    }

    .year-tabs {
        margin-bottom: 30px;
    }

    .year-tab {
        font-size: 32px;
        line-height: 70px;
    }

    .year-tab.active {
        padding: 6px 24px;
    }

    .announcement-item {
        grid-template-columns: 180px 1fr;
        gap: 20px;
    }

    .announcement-date {
        font-size: 18px;
        line-height: 44px;
        white-space: nowrap;
    }
    
    .announcement-link {
        font-size: 18px;
        line-height: 44px;
    }

    .yourir-announcement-heading {
        font-size: 18px;
        line-height: 44px;
    }
}

/* Mobile Responsive (max-width: 768px) */
@media screen and (max-width: 768px) {
    .announcements-hero {
        padding: 40px 20px;
    }

    .announcements-subtitle {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 15px;
    }

    .announcements-title {
        font-size: 40px;
        line-height: 45px;
        margin-bottom: 30px;
    }

    .announcements-play-button {
        width: 80px;
        height: 50px;
    }

    .announcements-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .announcements-btn-primary,
    .announcements-btn-secondary {
        width: 100%;
        font-size: 18px;
        padding: 14px 25px;
    }

    .announcements-section {
        padding: 40px 20px;
    }

    .announcements-section:first-of-type {
        padding-top: 60px;
    }

    .announcements-container {
        padding-top: 30px;
    }

    .announcements-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .announcements-header {
        align-items: flex-start;
    }

    .section-title {
        font-size: 32px;
        line-height: 38px;
    }

    .year-tabs {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .year-tab {
        font-size: 24px;
        line-height: 50px;
    }

    .year-tab.active {
        padding: 4px 18px;
        font-size: 22px;
    }

    .announcement-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 15px 0;
    }

    .announcement-date {
        font-size: 14px;
        line-height: 28px;
        white-space: normal;
    }
    
    .announcement-link {
        font-size: 14px;
        line-height: 28px;
    }

    .yourir-announcement-heading {
        font-size: 14px;
        line-height: 28px;
    }

    .pagination {
        justify-content: center;
        margin-top: 30px;
    }

    .pagination-btn {
        width: 44px;
        height: 44px;
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .announcements-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .announcements-title {
        font-size: 32px;
        line-height: 36px;
    }

    .announcements-play-button {
        width: 60px;
        height: 38px;
    }

    .announcements-btn-primary,
    .announcements-btn-secondary {
        font-size: 16px;
        padding: 12px 20px;
    }

    .section-title {
        font-size: 28px;
        line-height: 34px;
    }

    .year-tab {
        font-size: 20px;
        line-height: 40px;
    }

    .year-tab.active {
        padding: 3px 14px;
        font-size: 18px;
    }

    .announcement-date {
        font-size: 12px;
        line-height: 24px;
    }
    
    .announcement-link {
        font-size: 12px;
        line-height: 24px;
    }

    .yourir-announcement-heading {
        font-size: 12px;
        line-height: 24px;
    }

    .pagination-btn {
        width: 38px;
        height: 38px;
    }
}

