/* =========================================================
   RSC MAHAVIDHYALYA
   NOTICES PAGE CSS

   Theme:
   Navy  : #123247
   Green : #168447
   Orange: #ef7d22
========================================================= */


/* =========================================================
   PAGE TICKER
========================================================= */

.notice-page-ticker {
    background: #123247;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.notice-page-ticker-inner {
    min-height: 44px;

    display: flex;
    align-items: center;
    gap: 20px;
}

.notice-page-label {
    min-width: 110px;

    display: flex;
    align-items: center;
    gap: 8px;

    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.notice-page-label i {
    color: #ef7d22;
}

.notice-page-ticker-text {
    overflow: hidden;

    color: rgba(255,255,255,.78);
    font-size: 13px;
}


/* =========================================================
   NAV ACTIVE
========================================================= */

.navigation a.active {
    color: #168447;
}

.navigation a.active::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.notice-mobile-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.notice-mobile-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    background: #123247;

    transition: .3s;
}

.notice-mobile-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.notice-mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.notice-mobile-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.notice-mobile-menu {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.notices-hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #123247 0%,
            #163e55 55%,
            #168447 150%
        );

    color: #fff;
}

.notices-hero-inner {
    position: relative;
    z-index: 2;

    min-height: 360px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notices-hero-shape {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.shape-one {
    width: 420px;
    height: 420px;

    right: -150px;
    top: -210px;

    border: 70px solid rgba(239,125,34,.10);
}

.shape-two {
    width: 250px;
    height: 250px;

    left: -160px;
    bottom: -160px;

    background: rgba(22,132,71,.12);
}

.notices-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 20px;

    color: rgba(255,255,255,.62);

    font-size: 13px;
}

.notices-breadcrumb a {
    color: #fff;
}

.notices-breadcrumb a:hover {
    color: #ef7d22;
}

.notices-breadcrumb i {
    color: #ef7d22;
    font-size: 10px;
}

.notices-kicker {
    margin-bottom: 9px;

    color: #ef7d22;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2.5px;
}

.notices-hero h1 {
    max-width: 800px;

    margin-bottom: 14px;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.12;
}

.notices-hero h1 span {
    color: #ef7d22;
}

.notices-hero p {
    max-width: 690px;

    color: rgba(255,255,255,.80);

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.notices-section {
    padding: 80px 0;

    background: #f7f9f8;
}

.notices-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}

.notices-section-label {
    display: block;

    margin-bottom: 6px;

    color: #168447;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}

.notices-heading h2 {
    font-family: "Playfair Display", serif;

    color: #123247;

    font-size: clamp(36px, 4vw, 48px);

    line-height: 1.2;
}

.notices-heading h2 span {
    color: #168447;
}

.notices-total {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 16px;

    background: #fff;

    border: 1px solid #e0e6e3;

    border-radius: 30px;

    color: #123247;

    font-size: 13px;
    font-weight: 600;
}

.notices-total i {
    color: #ef7d22;
}


/* =========================================================
   TOOLBAR
========================================================= */

.notices-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 16px;

    margin-bottom: 25px;

    background: #fff;

    border: 1px solid #e1e7e4;

    border-radius: 10px;

    box-shadow: 0 7px 25px rgba(18,50,71,.05);
}

.notices-search {
    position: relative;

    width: 310px;
}

.notices-search i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #7c8983;

    font-size: 13px;
}

.notices-search input {
    width: 100%;
    height: 46px;

    padding: 0 15px 0 42px;

    border: 1px solid #dce3df;
    border-radius: 7px;

    outline: none;

    background: #fbfcfb;

    color: #123247;

    font-family: inherit;
    font-size: 14px;

    transition: .3s;
}

.notices-search input:focus {
    border-color: #168447;

    box-shadow:
        0 0 0 3px rgba(22,132,71,.08);
}

.notices-filter-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 7px;

    flex-wrap: wrap;
}

.notice-filter {
    padding: 9px 14px;

    border: 1px solid #dce3df;
    border-radius: 6px;

    background: #fff;

    color: #596761;

    cursor: pointer;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    transition: .3s;
}

.notice-filter:hover {
    border-color: #168447;
    color: #168447;
}

.notice-filter.active {
    background: #168447;
    border-color: #168447;

    color: #fff;
}


/* =========================================================
   NOTICE LIST
========================================================= */

.notices-grid {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.professional-notice {
    display: grid;

    grid-template-columns: 100px 1fr;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e0e6e3;

    border-radius: 10px;

    transition: .35s;
}

.professional-notice:hover {
    transform: translateY(-3px);

    border-color: rgba(22,132,71,.25);

    box-shadow:
        0 15px 40px rgba(18,50,71,.09);
}


/* =========================================================
   DATE
========================================================= */

.professional-date {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 20px 8px;

    background: #123247;

    color: #fff;
}

.professional-date::after {
    content: "";

    position: absolute;

    right: -5px;
    top: 50%;

    width: 10px;
    height: 10px;

    transform:
        translateY(-50%)
        rotate(45deg);

    background: #123247;
}

.professional-date strong {
    font-size: 32px;

    line-height: 1;

    font-weight: 700;
}

.professional-date span {
    margin-top: 5px;

    color: #ef7d22;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.professional-date small {
    margin-top: 2px;

    color: rgba(255,255,255,.60);

    font-size: 10px;
}


/* =========================================================
   NOTICE CONTENT
========================================================= */

.professional-notice-content {
    padding: 20px 25px;
}

.professional-meta {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 7px;
}

.notice-badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border-radius: 4px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
}

.notice-badge.admission {
    background: #e8f5ed;
    color: #168447;
}

.notice-badge.examination {
    background: #fff1df;
    color: #a65c0b;
}

.notice-badge.scholarship {
    background: #fde9e9;
    color: #a62c2c;
}

.notice-badge.general {
    background: #edf1f3;
    color: #4d5c64;
}

.pdf-label {
    display: flex;
    align-items: center;
    gap: 5px;

    color: #8b9591;

    font-size: 10px;
    font-weight: 600;
}

.pdf-label i {
    color: #d12f2f;
}

.professional-notice-content h3 {
    margin-bottom: 5px;

    color: #123247;

    font-family: "Playfair Display", serif;

    font-size: 22px;

    line-height: 1.35;
}

.professional-notice-content > p {
    max-width: 850px;

    margin-bottom: 14px;

    color: #687670;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   BUTTONS
========================================================= */

.professional-actions {
    display: flex;
    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}

.notice-view,
.notice-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 36px;

    padding: 8px 13px;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 600;

    transition: .3s;
}

.notice-view {
    background: #168447;

    color: #fff;
}

.notice-view:hover {
    background: #123247;

    color: #fff;
}

.notice-download {
    background: #fff;

    border: 1px solid #d9e1dd;

    color: #123247;
}

.notice-download:hover {
    background: #123247;

    border-color: #123247;

    color: #fff;
}


/* =========================================================
   EMPTY RESULT
========================================================= */

.notice-empty {
    display: none;

    min-height: 250px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;

    padding: 40px;

    background: #fff;

    border: 1px dashed #cbd7d1;

    border-radius: 10px;
}

.notice-empty i {
    margin-bottom: 12px;

    color: #168447;

    font-size: 42px;
}

.notice-empty h3 {
    margin-bottom: 4px;

    color: #123247;

    font-size: 20px;
}

.notice-empty p {
    color: #78847e;

    font-size: 13px;
}


/* =========================================================
   INFORMATION
========================================================= */

.notice-information {
    padding: 0 0 75px;

    background: #f7f9f8;
}

.notice-information-box {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    padding: 24px;

    border: 1px solid #d8e8df;

    border-radius: 10px;

    background: #eef8f2;
}

.notice-information-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #168447;

    color: #fff;

    font-size: 17px;
}

.notice-information-box h3 {
    margin-bottom: 4px;

    color: #123247;

    font-size: 18px;
}

.notice-information-box p {
    color: #5e6c65;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   CTA
========================================================= */

.notices-cta {
    padding: 65px 0;

    background:
        linear-gradient(
            135deg,
            #123247,
            #16445b
        );
}

.notices-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.notices-cta-inner > div:first-child > span {
    color: #ef7d22;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.notices-cta-inner h2 {
    margin: 5px 0 7px;

    color: #fff;

    font-family: "Playfair Display", serif;

    font-size: 35px;
}

.notices-cta-inner p {
    color: rgba(255,255,255,.70);

    font-size: 14px;
}

.notices-cta-buttons {
    display: flex;

    gap: 9px;

    flex-shrink: 0;
}

.notices-cta-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 42px;

    padding: 0 16px;

    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;

    transition: .3s;
}

.notices-cta-buttons a:first-child {
    background: #ef7d22;

    color: #fff;
}

.notices-cta-buttons a:first-child:hover {
    background: #fff;

    color: #123247;
}

.notices-cta-buttons a:last-child {
    border: 1px solid rgba(255,255,255,.30);

    color: #fff;
}

.notices-cta-buttons a:last-child:hover {
    background: #fff;

    color: #123247;
}


/* =========================================================
   FOOTER COMPATIBILITY
========================================================= */

.footer {
    position: relative;
}

.footer-brand img {
    object-fit: contain;
}


/* =========================================================
   BACK TO TOP
========================================================= */

#noticeBackTop {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 999;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: #168447;

    color: #fff;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: .3s;

    box-shadow:
        0 8px 25px rgba(0,0,0,.18);
}

#noticeBackTop.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

#noticeBackTop:hover {
    background: #ef7d22;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .navigation {
        display: none;
    }

    .notice-mobile-toggle {
        display: flex;
    }

    .notice-mobile-menu {
        position: fixed;

        left: 0;
        right: 0;
        top: 0;

        z-index: 998;

        display: flex;
        flex-direction: column;

        padding: 85px 25px 20px;

        background: #fff;

        box-shadow:
            0 15px 35px rgba(0,0,0,.12);

        transform: translateY(-110%);

        transition: .35s;
    }

    .notice-mobile-menu.open {
        transform: translateY(0);
    }

    .notice-mobile-menu a {
        padding: 13px 8px;

        border-bottom: 1px solid #edf0ee;

        color: #123247;

        font-size: 14px;
        font-weight: 600;
    }

    .notice-mobile-menu a.active {
        color: #168447;
    }

    .notice-mobile-menu .mobile-enquiry {
        margin-top: 10px;

        text-align: center;

        border: 0;

        border-radius: 5px;

        background: #168447;

        color: #fff;
    }

    .notices-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .notices-search {
        width: 100%;
    }

    .notices-filter-buttons {
        justify-content: flex-start;
    }

    .notices-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .notice-page-ticker-inner {
        min-height: 40px;

        gap: 10px;
    }

    .notice-page-label {
        min-width: auto;

        font-size: 10px;
    }

    .notice-page-ticker-text {
        font-size: 11px;

        white-space: nowrap;

        overflow: hidden;
        text-overflow: ellipsis;
    }

    .notices-hero-inner {
        min-height: 330px;

        padding-top: 45px;
        padding-bottom: 45px;
    }

    .notices-breadcrumb {
        font-size: 11px;
    }

    .notices-kicker {
        font-size: 10px;
    }

    .notices-hero h1 {
        font-size: 39px;
    }

    .notices-hero p {
        font-size: 14px;

        line-height: 1.7;
    }

    .notices-section {
        padding: 55px 0;
    }

    .notices-heading {
        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }

    .notices-heading h2 {
        font-size: 34px;
    }

    .notices-section-label {
        font-size: 10px;
    }

    .notices-toolbar {
        padding: 12px;

        gap: 12px;
    }

    .notices-filter-buttons {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        width: 100%;
    }

    .notice-filter {
        width: 100%;

        padding: 9px 5px;

        font-size: 11px;
    }

    .professional-notice {
        grid-template-columns: 70px 1fr;
    }

    .professional-date {
        padding: 15px 5px;
    }

    .professional-date strong {
        font-size: 25px;
    }

    .professional-date span {
        font-size: 9px;
    }

    .professional-date small {
        font-size: 8px;
    }

    .professional-notice-content {
        padding: 16px;
    }

    .professional-meta {
        gap: 6px;
        flex-wrap: wrap;
    }

    .notice-badge {
        font-size: 8px;
    }

    .pdf-label {
        font-size: 9px;
    }

    .professional-notice-content h3 {
        font-size: 19px;
    }

    .professional-notice-content > p {
        font-size: 13px;
    }

    .professional-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .notice-view,
    .notice-download {
        width: 100%;

        font-size: 11px;
    }

    .notice-information {
        padding-bottom: 55px;
    }

    .notice-information-box {
        padding: 19px;

        gap: 12px;
    }

    .notice-information-box h3 {
        font-size: 16px;
    }

    .notice-information-box p {
        font-size: 13px;
    }

    .notices-cta {
        padding: 55px 0;
    }

    .notices-cta-inner h2 {
        font-size: 29px;
    }

    .notices-cta-inner p {
        font-size: 13px;
    }

    .notices-cta-buttons {
        width: 100%;

        flex-direction: column;
    }

    .notices-cta-buttons a {
        width: 100%;
    }

    #noticeBackTop {
        right: 15px;
        bottom: 15px;

        width: 40px;
        height: 40px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .notices-hero h1 {
        font-size: 33px;
    }

    .professional-notice {
        grid-template-columns: 62px 1fr;
    }

    .professional-notice-content {
        padding: 13px;
    }

    .professional-notice-content h3 {
        font-size: 17px;
    }

    .professional-notice-content > p {
        font-size: 12px;
    }

}