@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Schoolbell&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap');
@font-face {
    font-family: 'WaterlilyScript';
    /* Move up one folder to assets, then into fonts */
    src: url('../fonts/Waterlily Script.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

a{
    text-decoration: none !important;
}

.waterlily{
    font-family: 'WaterlilyScript';
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.abhaya-libre-regular {
  font-family: "Abhaya Libre", serif;
  font-weight: 400;
  font-style: normal;
}

.schoolbell-regular {
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
}


.google-sans-regular {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}

*{
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
}

.btn-outline{
    text-decoration: none;
    border: 1px solid #000;
    padding: 10px 40px;
    background-color: #fff;
    border-radius: 50px;
    transition: 0.3s all;
    color: #000;
}

.btn-solid{
    text-decoration: none;
    padding: 10px 40px;
    background-color: #000;
    border-radius: 50px;
    transition: 0.3s all;
    color: #fff;
}

.btn-solid:hover{
    transform: translateY(-5px);
}

.btn-outline:hover{
    transform: translateY(-5px);
}

.btn-paper-round {
    position: relative; /* Required for absolute positioning of background */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    text-decoration: none !important;
    border: none;
    background-color: transparent;
    font-family: "Schoolbell", cursive;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1; /* Ensure text stays above background */
}

/* Move the background image to a pseudo-element */
.btn-paper-round::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/btn-bg-round.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.4s ease-in-out; /* Smooth return to original */
    z-index: -1; /* Place behind the text */
}

/* Rotate ONLY the background on hover */
.btn-paper-round:hover::before {
    transform: rotate(15deg); /* Adjust degree as needed */
}

.back-btn{
    color: #000;
}


.container-fluid{
    width: 80% !important;
}


.bg-wrapper {
    overflow: hidden;
}

.header-top{
    background-color: #000;
    padding: 5px 10px;
    display: flex;
    justify-content: flex-end;
}

.header-top a{
    color: #fff;
}

.header-top button{
    color: #fff;
}

.header-top button:hover{
    color: #e7e2e2;
}

header .paper-bg-div {
    margin-top: -250px;
    width: 700px;
    height: 600px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-80px) rotate(30deg);
}

header .content-overlay {
    /* Counter-rotate the text -45 degrees so it is level */
    transform: rotate(-30deg) translateX(80px); 
    text-align: center;
    width: 100%;
}

header .brand-name {
    font-size: 3rem;
    margin: 0;
    font-family: serif;
    margin-top: 160px;
    font-size: 61px;
    color: #000;
    margin-left: 70px;
}

header .subtitle{
    font-size: 20px;
    font-weight: bold;
    margin-left: 70px;
}

 @media (max-width: 768px) {
    header .paper-bg-div {
        margin-top: -150px;
        width: 600px;
        height: 320px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(-80px) rotate(30deg);
    }

    header .brand-name {
        font-size: 30px !important;
        margin: 0;
        font-family: serif;
        margin-top: 110px;
        font-size: 55px;
    } 

    header .subtitle{
        font-size: 11px;
        font-weight: bold;
        margin-left: 0px;
    }
 }

/* Hamburger Styles */
.hamburger-menu {
    position: absolute;
    right: 30px; /* Distance from right edge */
    top: 40px;   /* Distance from top edge */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10; /* Ensures it stays above the paper background */
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger-menu {
    position: absolute;
    right: 20px;
    
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

/* Animate Hamburger to X */
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
/* Menu Overlay Styling */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 300px;
    height: 100vh;
    background-color: #fdfaf0; /* Match your paper color */
    /* background-image: url('assets/img/paper-bg.png'); */
    background-size: cover;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav.active {
    right: 0;
}

.nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.nav-links li {
    margin: 25px 0;
}

.nav-links a {
    font-family: "Schoolbell", cursive;
    font-size: 24px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6d503f;
}

.nav-links button{
    font-family: "Schoolbell", cursive;
    color: #333;
    font-size: 24px;
}

.hero{
    margin-top: 0px;
}


.hero-image{
    width: 100%;
    transition: 0.3s all;
    overflow: hidden;
}

/* .hero-image:hover{
    transform: scale(1.1);
} */

.hero-title{

    font-size: 80px;
    text-decoration: none;
    color: #000;
    font-family: 'WaterlilyScript', cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
    transition: 0.3s all;
    line-height: .9em;
}

.hero .author-date{
    font-size: 20px;
    text-decoration: none;
    color: #000;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
}

.hero .description{
    font-size: 22px;
    text-decoration: none;
    color: #000;
    font-family: "Schoolbell", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
}

.hero-article-card{
    height: 100%;
    overflow: hidden;
}

.hero-article-card img{
    width: 100%;
    transition: 0.3s all;
}

.hero-article-card img:hover{
    transform: scale(1.1);
}

.hero-article-card h4{
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* limits to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-article-card .author-date{
    font-size: 16px;
}

.hero .view-all{
    color: #000;
    text-decoration: none;
}

.hero .view-all h4{
    font-weight: 400;
    transition: 0.3s all;
}

.hero .view-all h4:hover{
    font-weight: 400;
    transform: translateY(-5px);
}

.hero .btn-paper-rect{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 70px;
    text-decoration: none !important;
    border: none;
    background-color: transparent;
    background-image: url('assets/img/btn-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    font-family: "Schoolbell", cursive;
    font-size: 20px;
    color: #333;
    cursor: pointer;
 }

 @media (max-width: 768px) {
    .hero{
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .hero-title{
        margin-top: 10px;
        font-size: 60px;
    }

    .hero .author-date{
        font-size: 16px;
    }

    .hero .description{
        font-size: 20px;
    }

    .hero .btn-paper-rect{
        font-size: 14px;
        width: 120px;
        height: 50px;
        font-weight: bold;
    }
 }

/**************************
    Intro Loader
***************************/

 /* Full-screen overlay */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px;
    
    /* 1. Set the total duration (10s stay + ~1s fade) */
    /* 2. 'forwards' ensures it stays hidden after the animation ends */
    animation: fadeOut 11s forwards;
    
    /* pointer-events: none ensures users can click things "through" the hidden loader */
    pointer-events: none; 
}

/* Animations */
@keyframes fadeOut {
    0% { opacity: 1; visibility: visible; }
    90% { opacity: 1; visibility: visible; } /* Stay fully visible for ~10 seconds */
    100% { opacity: 0; visibility: hidden; } /* Fade out over the last 1 second */
}

/* Keep your existing animations below */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 180px; /* Adjust to your preference */
    height: auto;
    display: block;
    margin: 0 auto 15px;
    animation: pulse 2.5s infinite ease-in-out;
}

.intro-brand{
    font-family: serif;
    font-size: 100px;
}

.loader-tagline {
    font-size: 40px;
    color: #333;
    letter-spacing: 1.5px;
    opacity: 0;
    animation: slideUp 0.8s forwards 0.4s;
}

.loader-quote-icon{
    font-size: 70px;
    opacity: 0;
    animation: slideUp 0.8s forwards 0.6s;
}

.loader-quote{
    margin-left: 50px;
    margin-right: 50px;
    font-size: 20px;
    opacity: 0;
    animation: slideUp 0.8s forwards 0.8s;

}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hide state */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 768px) {
    
    .intro-brand{
        font-family: serif;
        font-size: 60px;
    }

    .loader-tagline {
        font-size: 20px;
        color: #333;
        letter-spacing: 1.5px;
    }

    .loader-quote-icon{
        font-size: 50px;
    }

    .loader-quote{
        padding: 15px;
        margin-left: 0px;
        margin-right: 0px;
        font-size: 20px;
    }
}

/* 1. Hide the checkbox */
.skip-control {
    display: none;
}

/* 2. The Wrapper (Default 10s behavior) */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px;
    /* This animation handles the natural 10s wait */
    animation: fadeOut 11s forwards; 
    pointer-events: auto;
}

/* 3. THE FIX: When clicked, override with a FAST animation */
.skip-control:checked ~ .loader-content,
#intro-loader:has(.skip-control:checked) {
    /* We switch the animation to a fast 0.5s fade out */
    animation: instantFade 0.5s forwards !important;
    pointer-events: none !important;
}

/* --- KEYFRAMES --- */

/* Your original 10s logic */
@keyframes fadeOut {
    0% { opacity: 1; visibility: visible; }
    90% { opacity: 1; visibility: visible; } 
    100% { opacity: 0; visibility: hidden; }
}

/* The Skip logic: Starts at current state and fades quickly */
@keyframes instantFade {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

/* --- SKIP BUTTON STYLE --- */
.skip-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 8px 18px;
    border: 1px solid #333;
    cursor: pointer;
    opacity: 0;
    animation: slideUp 0.8s forwards 1.2s;
}

/**************************
    Themes
***************************/
.container-theme {
    position: relative;
    /* margin-top: -350px !important; */
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between the two rows */
}

.row-theme {
    display: flex;
    justify-content: center; /* Centers the cards in the row */
    gap: 20px; /* Space between cards */
    width: 100%;
}

.card-theme {
    background-image: url('assets/img/theme-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    flex: 1;
    max-width: calc(33.33% - 20px); 
    min-height: 200px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s all;
}

.card-theme:hover {
    transform: scale(1.02) rotate(-5deg) !important;
}

.content-theme {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.content-theme h2 {
    margin-left: 30px !important;
    font-family: 'WaterlilyScript', cursive;
    font-size: 1.6rem;
    font-size: 50px;
    color: #3d2b1f;
    margin: 0;
    line-height: 1.1;
}

.icon-placeholder-theme {
    width: 80px;
    height: 80px;
    background-color: rgba(61, 43, 31, 0.1);
    border-radius: 50%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .row-theme {
        flex-direction: column;
        align-items: center;
    }
    .card-theme {
        max-width: 100%;
        width: 100%;
    }
}

/**************************
    Slider
***************************/
/* Container remains 50% width on desktop */
.slider-left-section {
    height: 600px;
    position: relative; /* Essential for the absolute background */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Keeps the rotated paper from bleeding out */
}

/* The Background Paper (Isolated) */
.slider-left-section::before {
    content: "";
    position: absolute;
    /* Increase width/height so it doesn't clip when rotated */
    width: 150%; 
    height: 60%;
    
    margin-top: 0px;
    left: -30%; 
    background-image: url('assets/img/paper-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Apply your transforms here only */
    transform: translateX(-50px)  translateY(-120px)  ;
    z-index: 1;
}

/* The Content Overlay (Independent Width) */
.slider .slider-content-overlay {
    position: relative;
    z-index: 2; /* Sits on top of the ::before paper */
    width: 450px; /* YOU CAN NOW SET A FIXED WIDTH HERE */
    text-align: center;
    
}

.slider-content-overlay .slider-title { 
    font-family: "WaterlilyScript", cursive;
    font-weight: 400;
    font-size: 60px !important;
    color: #000;
    line-height: 1.2;
    margin-top: 30px;
}

.slider-content-overlay .slider-author { 
    font-family: "WaterlilyScript", cursive;
    font-weight: 400;
    margin-top: 30px;
    font-size: 40px !important;
    color: #6d503f;
    line-height: 1.2;
}

.slider-content-overlay .slider-subtitle { 
    margin-top: 30px;
    font-family: "Schoolbell", cursive;
    font-weight: 400;
    font-size: 30px !important;
    color: #000;
    line-height: 1.2;

    display: -webkit-box;
    -webkit-line-clamp: 3;   /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

 /* Slider Animation */
.slider-left-section {
    opacity: 0;
    transform: translateX(-70px);
    transition: all 1.5s ease-out;
}

.slider-right-section {
    opacity: 0;
    transform: translateX(70px);
    transition: all 1.5s ease-out;
}

.slider-right-section img{
    width: auto;
    max-height: 405px !important;
}

/* Active State: Triggered when Slick adds .slick-active */
.slick-active .slider-left-section,
.slick-active .slider-right-section {
    opacity: 1;
    transform: translateX(0);
}

/* Optional: Add a small delay to the right section for a layered feel */
.slick-active .slider-right-section {
    transition-delay: 0.2s;
}

@media (max-width: 768px) {
    .slider {
        margin-bottom: 20px;

    }
    .slider-left-section {
        height: auto;
        position: relative; /* Essential for the absolute background */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden; /* Keeps the rotated paper from bleeding out */
    }

    .slider-left-section::before {
        content: "";
        position: absolute;
        /* Increase width/height so it doesn't clip when rotated */
        width: 150%; 
        height: 40%;
        
        margin-top: 0px;
        left: -30%; 
        background-image: url('assets/img/paper-bg.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        /* Apply your transforms here only */
        transform: translateX(-50px)  translateY(-120px)  ;
        z-index: 1;
    }

    .slider-content-overlay .slider-title{
        font-size: 50px !important;
    }

    .slider-content-overlay .slider-author {
        font-size: 22px !important;
    }

    .slider-content-overlay .slider-subtitle{
        font-size: 20px !important;
    }

    .slider-right-section img{
        width: 100%;
        /* max-height: 300px !important; */
        object-fit: contain;
    }
}

/***********************************
    Index Page Title
************************************/

.index-page-title{
    height: 250px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden; 
 }

 .index-page-title-top-section::before{
    content: "";
    position: absolute;
    /* Increase width/height so it doesn't clip when rotated */
    width: 110%; 
    height: 100%;
    left: -40%; 
    background-image: url('assets/img/paper-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Apply your transforms here only */
    transform: translateX(-50px)  translateY(0px);
    z-index: 1;
 }

 .index-page-title-content-overlay{
    margin-top: 64px;
    margin-left: 90px;
    position: relative;
    z-index: 3; /* Sits on top of the ::before paper */
    width: 100%; /* YOU CAN NOW SET A FIXED WIDTH HERE */
    text-align: center;
 }
 

 .index-page-title-title{
    font-family: "WaterlilyScript", cursive;
    font-weight: 400;
    font-size: 60px !important;
    color: #000;
    line-height: 1.2;
 }

 @media (max-width: 768px) {
    .index-page-title-top-section::before{
        content: "";
        position: absolute;
        /* Increase width/height so it doesn't clip when rotated */
        width: 130%; 
        height: 100%;
        left: -40%; 
        background-image: url('assets/img/paper-bg.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        /* Apply your transforms here only */
        transform: translateX(-50px)  translateY(0px);
        z-index: 1;
    }

    .index-page-title-title{
        margin-left: -100px;
    }  
 }

/***********************************
    Visualgram
************************************/
 .visualgram{
    height: 600px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden; 
 }

 .visualgram-top-section::before{
    content: "";
    position: absolute;
    /* Increase width/height so it doesn't clip when rotated */
    width: 110%; 
    height: 40%;
    left: -40%; 
    background-image: url('assets/img/paper-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Apply your transforms here only */
    transform: translateX(-50px)  translateY(0px);
    z-index: 1;
 }

 .visualgram-content-overlay{
    margin-top: 64px;
    margin-left: 90px;
    position: relative;
    z-index: 3; /* Sits on top of the ::before paper */
    width: 100%; /* YOU CAN NOW SET A FIXED WIDTH HERE */
    text-align: center;
 }
 

 .visualgram-title{
    font-family: "WaterlilyScript", cursive;
    font-weight: 400;
    font-size: 60px !important;
    color: #000;
    line-height: 1.2;
 }

 .visualgrams{
    margin-top: 80px !important;
    z-index: 5;
 }

 .col-sm-4 .visualgram-item{
    z-index: 5 !important;
    padding: 10px;
 }

 .visualgram-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.visualgram-item .title{
    font-family: "Schoolbell", cursive;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .visualgram{
        height: auto;
    }
    .visualgram-content-overlay{
        margin-left: 20px;
    }

    .visualgram-top-section::before{
        content: "";
        position: absolute;
        /* Increase width/height so it doesn't clip when rotated */
        width: 100%; 
        height: 40%;
        left: -8%; 
        background-image: url('assets/img/paper-bg.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        /* Apply your transforms here only */
        transform: translateX(-50px)  translateY(0px);
        z-index: 1;
    }
}



.section-title{
    font-size: 24px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.section-title a{
    text-decoration: none;
    color: #000;
    transition: 0.3s all;
}

.section-title a:hover{
    transform: translateY(-5px);
}

.carousel-item {
    position: relative;
}

.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0)
    );
    z-index: 1;
}

/* keep caption above gradient */
.carousel-caption {
    z-index: 2;
}

.story-highlight-card {
    height: 350px;
    overflow: hidden;
}

.story-highlight-card .title{
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* limits to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 22px;
}

.story-highlight-card .title a {
    text-decoration: none;
    color: #000;
    background-image: linear-gradient(#000, #000);
    background-size: 0% 2px;       /* start with no underline */
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.story-highlight-card .title a:hover {
    background-size: 100% 2px;     /* animate to full width */
}


.story-highlight-card .image {
    height: 70%;
}

.story-highlight-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s all;
}

.story-highlight-card img:hover{
    transform: scale(.95);
}

footer .title{
    font-size: 22px;
    font-weight: 100;
    margin-bottom: 15px;
    font-family: 'WaterlilyScript';
}

footer p{
    line-height: 1.9em;
    font-family: "Schoolbell", cursive;
}

footer .add{
    font-family: "Schoolbell", cursive;
}

footer .social-icons{
    font-size: 35px;
}

footer .social-icons a {
    color: #383838;
    transition: 0.3s all;
}

footer .social-icons a:hover{
    transform: translateY(-5px);
}

.post-details-header .title{
    font-size: 50px;
    text-decoration: none;
    color: #000;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
    transition: 0.3s all;
}

.post-details-content-bg {
    background-image: url('assets/img/article-bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-left: -120px; 
    padding: 80px 40px 80px 250px; 
    box-sizing: border-box;
    position: relative;

    animation: unrollPaper 1.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transform-origin: top;
    will-change: clip-path, transform, opacity;
}

@keyframes unrollPaper {
    0% {
        clip-path: inset(0 0 100% 0);
        transform: scaleY(0.1) translateY(-20px);
        opacity: 0;
    }
    40% {
        opacity: 1;
        transform: scaleY(1.05) translateY(0);
    }
    100% {
        clip-path: inset(0 0 0% 0);
        transform: scaleY(1) translateY(0);
        opacity: 1;
    }
}

.post-details-content-overlay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards 1.5s;
    gap: 30px;
    width: 100%;
    max-width: 100%; 
    display: block;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-details-title{
    width: 500px;
    font-size: 80px;
    text-decoration: none;
    color: #000;
    font-family: 'WaterlilyScript', cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
    transition: 0.3s all;
    line-height: .9em;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInText 0.8s ease-out forwards 1.2s;
}

 @keyframes slideInText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
 }

 .post-details-text{
    width: 65%;
    font-family: "Schoolbell", cursive;
    font-size: 20px;
 }

 .post-details-text p, 
 .post-details-text p * {
    font-family: "Schoolbell", cursive !important;
    font-size: 20px;
 }

 .post-details-image{
    width: 35%;
    padding-right: 120px;
 }
 .post-details-image img{
    width: 100%;
 }

 .post-details-about-author{
    margin-top: 100px;
    background-image: url('assets/img/paper-bg.png');
    background-repeat: no-repeat;
    display: flow-root; 
    min-height: fit-content;
    background-size: 100% 100%;
    padding-right: 60px;
    padding-left: 20px;
    padding-bottom: 60px;
    box-sizing: border-box;
    position: relative;
 }

 .post-details-about-title{
    margin-left: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
 }

 .post-details-about-title i{
    font-size: 100px;
    color: #FEBF28;
 }
 
 .post-details-about-title span{
     font-family: 'WaterlilyScript', cursive;
     font-size: 50px;
     color: #6d503f;
 }

 .post-details-about-author-name{
    font-family: 'WaterlilyScript', cursive;
    font-size: 40px;
    white-space: nowrap;
 }

 .post-details-about-author-desc{
    font-family: "Schoolbell", cursive;
    font-size: 20px;
 }

 .post-details-about-author-desc p,
 .post-details-about-author-desc p *{
    font-family: "Schoolbell", cursive;
    font-size: 20px;
 }

 @media (max-width: 768px) {
    .post-details-content-bg {
        width: 100% !important;
        margin-left: -10px !important; 
        padding: 0px 0px 0px 0px;    
    }

    .post-details-title{
        width: 100% !important;
        /* margin-left: 40px !important; */
        /* margin-right: 40px !important; */
        font-size: 50px;
        /* padding: 0px 10px; */
        padding: 0px;
        padding-left: 10px;
    }

    .post-details-text{
        width: 100%;
        font-family: "Schoolbell", cursive;
        font-size: 20px;
        /* margin-left: 40px; */
        padding-left: 10px;

    }
    .post-details-image{
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0px;
        padding-left: 10px;
        
    }
    .post-details-image img{
        width: 100%;
        align-self: center;
    }

    .post-details-about-author{
        margin-bottom: 10px;
        padding: 0px;
    }

    .post-details-about-title{
        width: 100% !important;
        justify-content: flex-start;
        margin-left: 0px;
    }

    .post-details-about-title span{
        font-size: 32px !important;
    }

    .post-details-about-title i{
        font-size: 45px !important;
    }

    .pebble-shape-container {
        margin-top: 20px;
        width: 200px !important;
        height: 200px !important; 
    }
 }

 .pebble-shape-container {
    width: 250px; /* Adjust size as needed */
    height: 250px; /* Adjust size as needed */
    /* position: relative; */
    overflow: hidden;
    border-radius: 41% 59% 34% 66% / 46% 36% 64% 54%;
 }

 .pebble-shape-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
 }


 .page-title a{
    text-decoration: none;
    color: #000;
    display: flex;
    gap: 20px;
 }

/*************************
    Page Heading
*************************/
 .page-heading{
    height: 250px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden; 
    z-index: 0;
 }

 .page-heading-top::before{
    content: "";
    position: absolute;
    width: 120%; 
    height: 100%;
    left: -35%; 
    background-image: url('assets/img/paper-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(-250px)  translateY(-10px);
    z-index: 0;
 }

 .page-heading-overlay{
    margin-top: 64px;
    /* margin-left: 10px; */
    position: relative;
    z-index: 3; 
    width: 450px; 
    /* text-align: center; */
 }

 .article-filter{
    z-index: 10 !important;
    margin-top: -80px;
 }

 .article-filter select{
    width: 25%;
 }

 .article-filter *{
    position: relative;
    z-index: 10 !important;
 }


.article-card{
  border: none;
  cursor: pointer;
  transition: all .35s ease;
  border-bottom: 1px solid #dddddd;
  overflow-x: hidden;
}

.article-card a{
  display:block;
  text-decoration:none;
  color:inherit;
  height:100%;
}

.article-card img{
  height:200px;
  width: auto;
  transition: transform .4s ease;
}

.article-card:hover{
  transform: translateY(-6px);
}

.article-card:hover img{
  transform: scale(1.08);
}

.article-card .card-title{
    font-family:'WaterlilyScript', cursive;
    font-size:23px;
    font-weight:100;
    margin-top:10px;
    color:#363636;
    transition: color .3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.article-card:hover .card-title{
    color:#FEBF28;
}

.article-card .card-text{
    font-family:"Schoolbell", cursive;
    margin-top:10px;
    color:#292929;
}

.article-card .badge{
    background-color:#F2EFE7;
    color:#000;
    font-family:"Schoolbell", cursive;
    font-size:14px;
    box-shadow:1px 1px 1px 1px #d4d4d4;
    transition: all .3s ease;
}

.article-card:hover .badge{
    background:#FEBF28;
}

.article-card .card-author{
   color:#292929;
   font-family:"Abhaya Libre", serif;
}

.article-card .card-author i{
    color: #8f8e8e;
}

.article-loader{
    width:35px;
    height:35px;
    border:4px solid #ddd;
    border-top:4px solid #222;
    border-radius:50%;
    animation:spin 0.8s linear infinite;
    margin:auto;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}


 @media (max-width: 768px) {
    .page-heading{
        /* margin-top: -100px; */
    }

    .page-heading-top::before{
        width: 100%; 
        height: 60%;
        left: -5%; 
        transform: translateX(-100px)  translateY(-10px);
    }

     .page-heading-overlay{
        margin-top: 30px;
        width: 450px; 
        margin-bottom: -50px;
    }

    .page-heading h1{
        font-size: 40px;
    }

    .article-filter select{
        width: 100%;
    }

    .container-fluid{
        width: 95% !important;
    }
 }

 /*************************
    Pagination
***************************/

.custom-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.custom-pagination button{
    padding:6px 14px;
    border:1px solid #ddd;
    background:white;
    cursor:pointer;
    border-radius:6px;
    transition:all .2s ease;
}

.custom-pagination button:hover{
    background:#222;
    color:#fff;
}

.custom-pagination button.active{
    background:#000;
    color:#fff;
    font-weight:600;
}

.custom-pagination button:disabled{
    opacity:.5;
    cursor:not-allowed;
}

@media (max-width:768px){
    .custom-pagination{
        gap:5px;
    }

    .custom-pagination button{
        padding:5px 10px;
        font-size:14px;
    }
}

/**************************
 Archives
 *************************/
 .pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pdf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.pdf-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    background: #525659;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-header {
    background: #323639;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#pdf-canvas-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#pdf-canvas-container canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background: white;
}

 /*************************
    Bubbles
*************************/
#stage {
    position: relative;
    width: 100%;
    height: 500px;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    will-change: left, top;
}

.bubble:hover { z-index: 50 !important; }

.bubble-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}

.bubble:hover .bubble-inner { transform: scale(1.07); }

/* shine highlight */
.bubble-inner::after {
    content: '';
    position: absolute;
    top: 8%; left: 14%;
    width: 38%; height: 22%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,252,230,0.55) 0%, transparent 80%);
    pointer-events: none;
}

.bubble-label {
    font-family: Georgia, serif;
    font-style: italic;
    color: #3d2206;
    text-align: center;
    pointer-events: none;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(255,235,170,0.6);
    margin-top: 4px;
}

.bubble-icon {
    pointer-events: none;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble {
    filter: drop-shadow(0 6px 18px rgba(120,70,10,0.18));
}
.bubble:hover {
    filter: drop-shadow(0 12px 28px rgba(120,70,10,0.32));
}

@keyframes ripple {
    0%   { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(2.4); opacity: 0; }
}
.ripple-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(160,100,30,0.4);
    animation: ripple 0.7s ease-out forwards;
    pointer-events: none;
    z-index: 3;
}

.visitor_count{
    background-color: #000;
    color: #fff;
    padding: 5px 5px;
    text-align: center;
}

.about-desc{
    font-size: 18px;
    padding: 10px;
}