/* =========================================================
   CCPC SCHOOL THEME
   CLEAN RESPONSIVE COMMON LAYOUT CSS
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */
:root{

    
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --third-color: #08142b;
    --accent-color: #f59e0b;

    --white-color: #ffffff;
    --light-color: #f8fafc;

    --text-color: #475569;
    --heading-color: #0f172a;

    --border-color: #e2e8f0;

    --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.08);

    --radius-sm: 6px;
    --radius-md: 12px;

    --transition: all 0.3s ease;

    --container-width: 1320px;
}


/* =========================================================
   RESET CSS
========================================================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--light-color);
    overflow-x: hidden;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

a{
    text-decoration: none;
    transition: var(--transition);
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6{
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 700;
}

p{
    margin-bottom: 15px;
}


/* =========================================================
   COMMON CONTAINER
========================================================= */
.container{
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================================
   COMMON CARD DESIGN
========================================================= */
.section-card,
.widget,
.sidebar-widget,
.online-admission,
.notice-widget,
.facebook-widget,
.visitor-counter{
    background: var(--white-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.section-card:hover,
.widget:hover,
.sidebar-widget:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   COMMON TITLES
========================================================= */
.section-title,
.widget-title{
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 12px;
    font-size: 28px;
    color: var(--heading-color);
}

.section-title::after,
.widget-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50px;
}


/* =========================================================
   HEADER WRAPPER
========================================================= */
#site-header{
    position: relative;
    width: 100%;
    z-index: 999;
    background: var(--third-color);
    box-shadow: var(--shadow-sm);
}


/* =========================================================
   TOPBAR
========================================================= 

.topbar{
    background: var(--third-color);
    color: var(--white-color);
    padding: 5px 0;
    font-size: 14px;
}

.topbar .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}


/* ======================================================
   CLASS HEADER
   File: assets/css/header-branding.css
====================================================== */

.class-header {
    position: relative;
    width: 100%;
    padding: 18px 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

/* Header Row */
.class-header .header-row {
    min-height: 140px;
    align-items: center;
}

/* ======================================================
   LOGO
====================================================== */

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.header-logo img,
.header-logo .custom-logo {
    max-width: 110px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

.header-logo img:hover,
.header-logo .custom-logo:hover {
    transform: scale(1.05);
}

/* ======================================================
   TITLE AREA
====================================================== */

.header-title {
    text-align: center;
    padding: 10px 15px;
}

.header-title h1 {
    margin: 0;
    color: #0d6efd;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.header-title p {
    margin: 8px 0 0;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ======================================================
   EIIN AREA
====================================================== */

.header-eiin {
    font-size: 0.92rem;
    color: #212529;
}

.header-eiin .border-start {
    border-left: 2px solid #dee2e6 !important;
}

.header-eiin div div {
    margin-bottom: 6px;
    line-height: 1.5;
}

.header-eiin strong {
    color: #0d6efd;
    font-weight: 700;
}

/* ======================================================
   LARGE DEVICES
====================================================== */
@media (max-width: 1199px) {

    .header-title h1 {
        font-size: 2rem;
    }

    .header-title p {
        font-size: 0.95rem;
    }

    .header-logo img,
    .header-logo .custom-logo {
        max-width: 100px;
    }
}

/* ======================================================
   TABLET DEVICES
====================================================== */
@media (max-width: 991px) {

    .class-header {
        padding: 15px 0;
    }

    .class-header .header-row {
        min-height: auto;
    }

    .header-title h1 {
        font-size: 1.7rem;
    }

    .header-title p {
        font-size: 0.9rem;
    }

    .header-logo img,
    .header-logo .custom-logo {
        max-width: 85px;
    }

    .header-eiin {
        font-size: 0.85rem;
    }
}

/* ======================================================
   MOBILE DEVICES
====================================================== */
@media (max-width: 767px) {

    .class-header {
        padding: 12px 0;
    }

    .class-header .header-row {
        row-gap: 15px;
    }

    .header-logo {
        order: 1;
    }

    .header-title {
        order: 2;
        padding: 0 10px;
    }

    .header-eiin {
        order: 3;
        text-align: center !important;
    }

    .header-eiin .border-start {
        border-left: 0 !important;
        border-top: 1px solid #dee2e6;
        padding-left: 0 !important;
        padding-top: 12px;
    }

    .header-title h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .header-title p {
        font-size: 0.85rem;
        margin-top: 5px;
    }

    .header-logo img,
    .header-logo .custom-logo {
        max-width: 75px;
    }
}

/* ======================================================
   SMALL MOBILE DEVICES
====================================================== */
@media (max-width: 575px) {

    .class-header {
        padding: 10px 0;
    }

    .header-title h1 {
        font-size: 1.15rem;
    }

    .header-title p {
        font-size: 0.78rem;
    }

    .header-logo img,
    .header-logo .custom-logo {
        max-width: 65px;
    }

    .header-eiin {
        font-size: 0.78rem;
    }

    .header-eiin div div {
        margin-bottom: 4px;
    }
}

/* ======================================================
   EXTRA SMALL DEVICES
====================================================== */
@media (max-width: 400px) {

    .header-title h1 {
        font-size: 1rem;
    }

    .header-title p {
        font-size: 0.72rem;
    }

    .header-logo img,
    .header-logo .custom-logo {
        max-width: 55px;
    }

    .header-eiin {
        font-size: 0.72rem;
    }
}



/* =========================================================
   MAIN NAVIGATION
========================================================= */
.main-navigation{
    background: var(--secondary-color);
}

.main-navigation .container{
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-navigation ul{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.main-navigation ul li{
    position: relative;
}

.main-navigation ul li a{
    display: block;
    padding: 18px 22px;
    color: var(--white-color);
    font-size: 15px;
    font-weight: 600;
}

.main-navigation ul li a:hover{
    background: var(--accent-color);
}


/* =========================================================
   DROPDOWN MENU
========================================================= */
.main-navigation ul li ul{
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: var(--white-color);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
}

.main-navigation ul li:hover > ul{
    opacity: 1;
    visibility: visible;
}

.main-navigation ul li ul li a{
    color: var(--heading-color);
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.main-navigation ul li ul li a:hover{
    background: var(--accent-color);
    color: var(--white-color);
}


/* =========================================================
   MOBILE MENU
========================================================= */
.mobile-menu{
    display: none;
    background: var(--secondary-color);
    padding: 15px;
}

.mobile-menu-toggle{
    width: 45px;
    height: 45px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;

    background: var(--accent-color);
    color: var(--light-color);
}


/* ======================================================
   MARQUEE NOTICE BAR
   File: assets/css/marquee-notice.css
====================================================== */

.notice-bar-wrapper {
    width: 100%;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
    overflow: hidden;
}

/* Row */
.notice-bar-wrapper .row {
    align-items: center;
    min-height: 55px;
}

/* ======================================================
   NOTICE TITLE
====================================================== */

.notice-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 16px;

    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #fff;

    border-radius: 10px;

    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    overflow: hidden;
}

/* Shine Effect */
.notice-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;

    background: rgba(255, 255, 255, 0.18);
    transform: skewX(-25deg);

    animation: noticeShine 4s linear infinite;
}

@keyframes noticeShine {
    100% {
        left: 130%;
    }
}

/* Icon Animation */
.notice-icon {
    font-size: 1rem;
    animation: pulseNotice 1.8s infinite;
}

@keyframes pulseNotice {
    50% {
        transform: scale(1.15);
    }
}

/* ======================================================
   MARQUEE AREA
====================================================== */

.notice-marquee {
    width: 100%;
    padding: 10px 15px;

    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;

    overflow: hidden;
}

.notice-marquee marquee {
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Notice Item */
.notice-item {
    display: inline-block;
    margin-right: 35px;
    white-space: nowrap;
}

/* Notice Link */
.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #212529;
    font-weight: 600;
    text-decoration: none;

    transition: 0.3s ease;
}

.notice-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.notice-link i {
    color: #0d6efd;
    font-size: 0.8rem;
}

/* Empty Text */
.notice-empty {
    color: #6c757d;
    font-weight: 500;
}

/* ======================================================
   RESPONSIVE CSS
====================================================== */

/* Tablet */
@media (max-width: 991px) {

    .notice-title {
        margin-bottom: 10px;
    }

    .notice-item {
        margin-right: 25px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .notice-bar-wrapper .row {
        flex-direction: column;
    }

    .notice-title,
    .notice-marquee {
        width: 100%;
    }

    .notice-title {
        padding: 10px 12px;
    }

    .notice-marquee {
        padding: 8px 10px;
    }

    .notice-marquee marquee {
        font-size: 0.85rem;
    }

    .notice-item {
        margin-right: 20px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {

    .notice-title {
        font-size: 0.85rem;
        padding: 9px 10px;
    }

    .notice-icon {
        font-size: 0.9rem;
    }

    .notice-marquee marquee {
        font-size: 0.8rem;
    }

    .notice-item {
        margin-right: 15px;
    }
}

/* Extra Small Mobile */
@media (max-width: 400px) {

    .notice-title {
        border-radius: 6px;
        letter-spacing: 0;
    }

    .notice-marquee {
        border-radius: 6px;
        padding: 7px 8px;
    }

    .notice-marquee marquee {
        font-size: 0.75rem;
    }
}





/* =========================================================
   MAIN LAYOUT
========================================================= */
main{
    width: 100%;
    padding: 5px 0;
}

main section,
main aside{
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* =========================================================
   FOOTER WRAPPER
========================================================= */
#site-footer{
    margin-top: 60px;
    background: #08142b;
    color: var(--white-color);
}


/* =========================================================
   FOOTER WIDGET AREA
========================================================= */
.footer-widget-area{
    padding: 70px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-widget-row{
    display: flex;
    flex-wrap: wrap;
}


/* =========================================================
   FOOTER WIDGET
========================================================= */
.footer-widget{
    height: 100%;
    color: var(--white-color);
}

.footer-widget .widget-title{
    color: var(--white-color);
    font-size: 22px;
}

.footer-widget p{
    color: #cbd5e1;
    line-height: 1.8;
}


/* =========================================================
   FOOTER MENU
========================================================= */
.footer-menu-list li,
.important-links-list li,
.offer-course-list li,
.contact-info-list li{
    margin-bottom: 12px;
}

.footer-menu-list li a,
.important-links-list li a,
.offer-course-list li a{
    color: #cbd5e1;
    font-size: 15px;
    display: inline-block;
}

.footer-menu-list li a:hover,
.important-links-list li a:hover,
.offer-course-list li a:hover{
    color: var(--accent-color);
    transform: translateX(5px);
}


/* =========================================================
   SOCIAL LINKS
========================================================= */
.social-links{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.social-links a{
    width: 40px;
    height: 40px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.1);
    color: var(--white-color);
}

.social-links a:hover{
    background: var(--accent-color);
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */
.footer-bottom{
    background: #020617;
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p{
    margin: 0;
    color: #e2e8f0;
    font-size: 15px;
}

.footer-bottom a{
    color: var(--accent-color);
    font-weight: 600;
}

.footer-bottom a:hover{
    color: var(--white-color);
}


/* =========================================================
   TABLET DEVICE
========================================================= */
@media (max-width: 991px){

    .main-navigation{
        display: none;
    }

    .mobile-menu{
        display: block;
    }

    .site-branding .container{
        flex-direction: column;
        text-align: center;
    }

    .site-title{
        font-size: 26px;
    }

    .section-title,
    .widget-title{
        font-size: 24px;
    }

}


/* =========================================================
   MOBILE DEVICE
========================================================= */
@media (max-width: 767px){

    body{
        font-size: 15px;
    }

    .topbar .container{
        justify-content: center;
        text-align: center;
    }

    .site-title{
        font-size: 24px;
    }

    .section-title,
    .widget-title{
        font-size: 22px;
    }

    .section-card,
    .widget,
    .sidebar-widget,
    .online-admission,
    .notice-widget,
    .facebook-widget,
    .visitor-counter{
        padding: 20px;
    }

    .footer-widget{
        text-align: center;
    }

    .footer-widget .widget-title::after{
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links{
        justify-content: center;
    }

}


/* =========================================================
   SMALL MOBILE DEVICE
========================================================= */
@media (max-width: 575px){

    .container{
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-title{
        font-size: 22px;
    }

    .site-description{
        font-size: 14px;
    }

    .section-title,
    .widget-title{
        font-size: 20px;
    }

    .footer-bottom p{
        font-size: 14px;
        line-height: 1.8;
    }

}



/* =========================================================
   MAIN NAVIGATION
========================================================= */

.menu-row{
    background: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 999;
}

.main-nav{
    position: relative;
}


/* =========================================================
   MENU WRAPPER
========================================================= */

.menu{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   MENU ITEMS
========================================================= */

.menu li{
    position: relative;
}

.menu > li > a{
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px 22px;

    color: var(--heading-color);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    transition: var(--transition);
}

.menu > li > a:hover{
    color: var(--accent-color);
}


/* =========================================================
   MENU UNDERLINE EFFECT
========================================================= */

.menu > li > a::after{
    content: "";

    position: absolute;
    left: 20px;
    bottom: 12px;

    width: 0;
    height: 2px;

    background: var(--accent-color);

    transition: width 0.3s ease;
}

.menu > li:hover > a::after{
    width: calc(100% - 40px);
}


/* =========================================================
   DROPDOWN MENU
========================================================= */

.menu .sub-menu{
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 240px;

    margin: 0;
    padding: 10px 0;
    list-style: none;

    background: var(--white-color);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition: var(--transition);

    pointer-events: none;
}


/* =========================================================
   SHOW DROPDOWN
========================================================= */

.menu li:hover > .sub-menu{
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}


/* =========================================================
   DROPDOWN ITEMS
========================================================= */

.menu .sub-menu li{
    width: 100%;
}

.menu .sub-menu li a{
    display: block;

    padding: 12px 20px;

    color: var(--heading-color);

    font-size: 14px;
    font-weight: 500;

    transition: var(--transition);
}

.menu .sub-menu li a:hover{
    background: #f8fafc;
    color: var(--accent-color);

    padding-left: 26px;
}


/* =========================================================
   SUB DROPDOWN
========================================================= */

.menu .sub-menu .sub-menu{
    top: 0;
    left: 100%;
    margin-left: 8px;
}


/* =========================================================
   MOBILE MENU TOGGLE
========================================================= */

.menu-toggle{
    display: none;

    padding: 12px 15px;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    color: var(--primary-color);
}


/* =========================================================
   TABLET DEVICE
========================================================= */

@media (max-width: 991px){

    .menu-toggle{
        display: block;
    }

    .menu{
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        flex-direction: column;
        align-items: flex-start;

        background: var(--white-color);

        box-shadow: var(--shadow-md);
    }

    .menu.active{
        display: flex;
    }

    .menu li{
        width: 100%;
    }

    .menu li a{
        width: 100%;
        padding: 15px 20px;

        border-top: 1px solid var(--border-color);
    }

    .menu > li > a{
        justify-content: space-between;
        color: var(--heading-color);
    }

    .menu > li > a::after{
        display: none;
    }


    /* =====================================
       MOBILE DROPDOWN
    ===================================== */

    .menu .sub-menu{
        position: relative;
        top: 0;
        left: 0;

        width: 100%;
        min-width: 100%;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;

        padding: 0;

        border-radius: 0;
        box-shadow: none;

        background: #f8fafc;

        pointer-events: auto;
    }

    .menu li.open > .sub-menu{
        display: block;
    }

    .menu .sub-menu li a{
        padding-left: 35px;
    }

    .menu .sub-menu .sub-menu li a{
        padding-left: 50px;
    }

    .menu .sub-menu .sub-menu{
        margin-left: 0;
    }

}


/* =========================================================
   MOBILE DEVICE
========================================================= */

@media (max-width: 767px){

    .menu > li > a{
        padding: 14px 18px;
        font-size: 14px;
    }

    .menu-toggle{
        font-size: 26px;
    }

}


/* =========================================================
   SMALL MOBILE DEVICE
========================================================= */

@media (max-width: 575px){

    .menu li a{
        padding: 14px 16px;
    }

    .menu .sub-menu li a{
        font-size: 13px;
    }

}

/*======================================
** CLASS ROUTINE CSS :PAGE;
=======================================*/
.class-routine {
    background: #f8fafc;
}

.list-group-item.active {
    background: #0d6efd;
    border-color: #0d6efd;
}

.list-group-item.active a {
    color: #fff;
    font-weight: 600;
}

.dept-header h3 {
    font-weight: 600;
}

.smooth-transition {
    transition: all 0.3s ease-in-out;
}

.smooth-transition:hover {
    color: #0d6efd;
    transform: translateY(-2px);
}

/*===========================

CLASS ROUTINE : single post

===========================*/

.single-routine {
    background: #f5f7fb;
    min-height: 80vh;
}

/* Container feel */
.single-routine .container {
    max-width: 900px;
}

/* Article card look */
.single-routine article {
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f5;
    transition: all 0.3s ease-in-out;
}

.single-routine article:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Title styling */
.single-routine h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.3;
    border-left: 5px solid #0d6efd;
    padding-left: 15px;
    margin-bottom: 25px;
}

/* Content styling */
.single-routine .content {
    font-size: 17px;
    line-height: 1.8;
    color: #4a5568;
}

/* Images inside content */
.single-routine .content img {
   /* max-width: 100%;*/
    width: 100vw;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Tables inside content (important for routines) */
.single-routine .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.single-routine .content table th {
    background: #0d6efd;
    color: #fff;
    padding: 12px;
    text-align: left;
}

.single-routine .content table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

/* Mobile responsiveness */
@media (max-width: 768px) {

    .single-routine article {
        padding: 20px;
    }

    .single-routine h1 {
        font-size: 24px;
    }
}


/*===================================

Archive : Class Routine;

====================================*/

.archive-routine {
    background: #f5f7fb;
    min-height: 80vh;
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Page title */
.archive-routine h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2d3d;
    margin-bottom: 30px;
    border-left: 5px solid #0d6efd;
    padding-left: 15px;
}

/* Card design */
.archive-routine .card {
    background: #ffffff;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.archive-routine .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    border-color: #0d6efd;
}

/* Card title */
.archive-routine .card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Link button style */
.archive-routine .card a {
    display: inline-block;
    padding: 8px 14px;
    background: #0d6efd;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-routine .card a:hover {
    background: #0b5ed7;
    transform: scale(1.05);
}

/* Grid spacing improvement */
.archive-routine .col-md-4 {
    display: flex;
}

/* Card full height alignment */
.archive-routine .card {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .archive-routine h1 {
        font-size: 24px;
    }

    .archive-routine .card {
        padding: 18px;
    }
}


/*==========================
** Notice Page
==========================*/
.notice-board-page {
    background: #f5f7fb;
    min-height: 80vh;
}

/* Page title */
.notice-board-page h4 {
    font-weight: 600;
    color: #1f2d3d;
}

/* Main content area */
.notice-board-page .col-lg-8{
   /* background: #ffffff;*/
    background: #f5f2eb;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eef0f5;
   /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Sidebar */
.notice-board-page .col-lg-4 {
    padding: 0;
}

/* Notice cards (works with notice-card template) */
.notice-board-page .card {
    border-radius: 12px;
    border: 1px solid #eef0f5;
    transition: all 0.3s ease;
}

.notice-board-page .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Links inside notices */
.notice-board-page a {
    text-decoration: none;
    list-style: none;
    color: yellow;
}

.notice-board-page a:hover {
    text-decoration: underline;
}

/* Paragraph content */
.notice-board-page p {
    line-height: 1.7;
    color: #4a5568;
}

/* Sidebar category box (if used in notice-categories) */
.notice-board-page .notice-categories .card {
    border-radius: 10px;
    transition: 0.3s ease;
}

.notice-board-page .notice-categories .card:hover {
    background: #0d6efd;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {

    .notice-board-page .col-lg-8,
    .notice-board-page .col-lg-4 {
        padding: 15px;
    }

    .notice-board-page h4 {
        font-size: 18px;
    }
}

/*===========================
** notice : categories
============================*/

.notice-board-page .page-sidebar{
   /* background: #ffffff;*/
    background: #f5f2eb;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eef0f5;
   /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.notice-categories {
    margin-bottom: 20px;
}

/* Section title */
.notice-categories h4 {
    font-weight: 600;
    color: #1f2d3d;
}

/* Card style */
.notice-categories .category-card {
    border: 1px solid #eef0f5;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
}

/* Hover effect */
.notice-categories .category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #0d6efd;
}

/* Category name */
.notice-categories h6 {
    font-weight: 600;
    color: #2c3e50;
}

/* Badge styling */
.notice-categories .badge {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 20px;
}

/* Link cleanup */
.notice-categories a {
    text-decoration: none;
    display: block;
}

/* Responsive spacing */
@media (max-width: 768px) {
    .notice-categories .col-md-4 {
        margin-bottom: 10px;
    }
}

/*=======================
** Page : Notice card
=========================*/
.notice-card {
    border-radius: 12px;
    border: 1px solid #eef0f5;
    background: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Hover effect */
.notice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #0d6efd;
}

/* Card body spacing */
.notice-card .card-body {
    padding: 20px;
}

/* Category badge */
.notice-card .badge {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 20px;
}

/* Date text */
.notice-card small {
    font-size: 13px;
    color: #6c757d;
}

/* Title */
.notice-card h5 {
    font-weight: 600;
    line-height: 1.4;
    margin-top: 5px;
}

.notice-card h5 a {
    color: #1f2d3d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.notice-card h5 a:hover {
    color: #0d6efd;
}

/* Excerpt */
.notice-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 14px;
}

/* Button */
.notice-card .btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.notice-card .btn:hover {
    transform: scale(1.05);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .notice-card .card-body {
        padding: 15px;
    }

    .notice-card h5 {
        font-size: 16px;
    }
}