body, * {
    cursor: url('https://cdn.cursors-4u.net/previews/cookie-monster-sesame-street-048f837d-32.webp') 32 32, auto !important;
}

body {
    background-image: url('https://i8.glitter-graphics.org/pub/2663/2663478r9hqs69nzu.jpg');
    background-attachment: fixed;
    background-repeat: repeat;
    /*overflow: hidden;*/
}

html {
    overflow: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
}

/* custom pop up */
.custom-popup-hidden {
    display: none;
}
.custom-popup-visible {
    display: block;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #333;
    padding: 6px 15px;
    border: 1px solid #ffb6c1;
    border-radius: 12px;
    font-size: 12px;
    font-family: sans-serif;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    animation: slideDown 0.2s ease-out;
}
@keyframes slideDown {
  0% { top: -20px; opacity: 0; }
  100% { top: 15px; opacity: 1; }
}



/* back button */
.back-btn-capsule {
    position: relative;
    width: 150px;
    height: 30px;            
    z-index: 9;           
    display: inline-flex;    
    align-items: center;
    padding: 3px 13px;
    border-radius: 50px;      
    text-decoration: none;
    background-color: #c2c6f4;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-family: 'Courier New', Courier, monospace; 
    font-size: 0.85rem;                             
    font-weight: bold;                             
    color: #555555;                                
    letter-spacing: 0.5px;                         
}
.back-btn-capsule:hover {
    background-color: #e2dcf0; 
    border-color: #ffffff;     
    color: #050505; 
    transform: scale(1.03);
}

/* ── THE BIG WRAPPER ── */
.blog-main-wrapper {
    background-color: #f4f6f9; /* Solid background color for the big box */
    padding: 40px 20px;        
    max-width: 800px;          /* Centers and limits your blog page width */
    margin: 0 auto;            
    border-radius: 12px;  
    
    /* Flexbox handles vertical spacing and dynamically drops gaps for hidden posts */
    display: flex;
    flex-direction: column;
    gap: 35px; 
}

/* Individual Post Structure */
.individual-post-block {
    display: flex;
    flex-direction: column;
}




/* ==========================================================================
    2. FILTER BUTTON NAVIGATION STYLE
    ========================================================================== */
.filter-navigation-box {
    display: flex;
    gap: 10px;
    background-color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.filter-btn {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

/* Highlights the active filtered year tab */
.filter-btn.active {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}


/* Fixed Post Title Style */
.blog-post-title {
    margin-top: 0;
    margin-bottom: 12px; 
    margin-left: 10px;      
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}


/* ==========================================================================
    5. CLEAN WEBKIT SCROLLBAR LOOK
    ========================================================================== */
.blog-paragraph-container::-webkit-scrollbar {
    width: 8px;
}
.blog-paragraph-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.blog-paragraph-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}




/* Your exact container layout with position added for the inner elements */
.blog-paragraph-container {
    position: relative;        /* Added: Creates an anchor point for the arrows inside the image */
    height: 300px;             /* Fixed height to force vertical scrolling */
    overflow-y: auto;          /* Enables scrollbar when contents overflow */
    padding: 15px;             
    border: 1px solid #e0e0e0; 
    border-radius: 6px;
    background-color: #ffffff; /* White background contrasts beautifully over wrapper */
    display: flow-root;        /* Encapsulates floating text and images safely */
    font-family: sans-serif;   /* Standard formatting layout */
    line-height: 1.6;
}


/* Target Text Font (Strictly contained inside this paragraph block) */
.blog-paragraph-container p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px; 
}


/* Updated Carousel Box: Uses float instead of absolute position to allow text wrapping */
.carousel-container {
    float: right;              /* Pushes the image frame to the top right corner */
    margin-left: 15px;         /* Adds spacing so your text doesn't touch the image edge */
    margin-bottom: 10px;       /* Adds breathing room below the image frame */
    position: relative;        /* Locks the arrow buttons directly to this image box */
    width: 50%;           
    overflow: hidden;          /* Crops images sharply to match dimensions */
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Image behavior inside frame */
.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.active {
    display: block;
}

/* Arrow layout attached to image borders */
.arrow {
    position: absolute;        /* Locks layout parameters cleanly to the .carousel-container */
    top: 50%;                  /* Perfect vertical alignment */
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.038);
    color: white;
    border: none;
    font-size: 16px;            
    padding: 6px 10px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s;
}

.arrow:hover { 
    background-color: rgba(0, 0, 0, 0.8); 
}

.prev { left: 0; }
.next { right: 0; }
