/* ============================================================
   FUTURE-SUCCESS.ORG - COMPLETE STANDALONE STYLESHEET
   ============================================================ */

/* --- 1. Reset & Base Settings --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #414a55;
    background-color: #f2f5f9;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* --- 2. Custom Utility Classes (Replaces Bootstrap) --- */
.fw-semibold {
    font-weight: 600 !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    color: #111184 !important;
}

.h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    color: #111184 !important;
}

.h3 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    color: #111184 !important;
}

/* --- 3. Base Typography & Headings --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h2 {
    color: #d9822b;
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 25px;
}

h3 {
    color: #1b2a47;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

a {
    color: #3366cc;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    text-decoration: underline;
}

/* --- 4. Site Header (Dark Navy & Sticky) --- */
.site-header {
    background-color: #1b2a47;
    color: #ffffff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    --stripe-height: 25px;
    margin-bottom: var(--stripe-height);
}

.site-header::after {
    content: "";
    display: block;
    width: 100%;
    height: var(--stripe-height);
    background-color: #d9822b;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
}

.header-logo h1 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.header-logo p {
    font-size: 0.9rem;
    color: #b6c2d3;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    color: #e0e4ed;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-menu a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* --- 5. White Main Container (Set to 980px to PERFECTLY fit 1366px laptops) --- */
.main-container {
    position: relative; /* CRITICAL: Serves as the anchor for the floating sidebar */
    max-width: 975px;   /* Math: 980px + 25px gap + 300px sidebar = 1305px (easily fits 1366px!) */
    width: 100%;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

/* --- 6. Homepage Card Grid --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0;
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
    display: flex;
    flex-direction: column;
}

.card h3 {
    color: #1b2a47;
    margin-top: 0;
    font-size: 1.3rem;
}

.card p {
    color: #414a55;
    font-size: 1rem;
    flex-grow: 1;
}

.card .card-link {
    color: #1b2a47;
    font-weight: 600;
    margin-top: 15px;
    align-self: flex-start;
}
.card .card-link:hover {
    text-decoration: underline;
}

/* --- 7. Share Section --- */
.share-section {
    text-align: center;
    padding: 50px 20px 40px 20px;
    background-color: #ffffff;
}

.share-section p {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #414a55;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}
.social-icon:hover {
    transform: scale(1.1);
    color: #ffffff;
    text-decoration: none;
}

.social-icon.fb  { background-color: #1877f2; }
.social-icon.tw  { background-color: #000000; }
.social-icon.in  { background-color: #0077b5; }
.social-icon.whatsapp { background-color: #25d366; }
.social-icon.reddit { background-color: #ff4500; }
.social-icon.email { background-color: #6c757d; }
.social-icon.copy { background-color: #17a2b8; }

/* --- 8. Site Footer (Dark Navy) --- */
.site-footer {
    background-color: #1b2a47;
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
    position: relative;
}

.footer-content p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #e0e4ed;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1rem;
}

.footer-links a {
    color: #a6b8d4;
}
.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-links a:not(:last-child)::after {
    content: "|";
    color: #5c6e8a;
    margin-left: 15px;
}

/* --- 9. Policy Footer (Orange background, white text) --- */
.policy-footer {
    background-color: #d9822b;
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-tagline {
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.policy-footer + .site-footer {
    border-top: 2px solid rgba(255, 255, 255, 0.15);
}

/* --- 10. Scroll to Top Button (Orange) --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #d9822b;
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
}
.scroll-top-btn:hover {
    background-color: #c06d1e;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* --- 11. Fully Responsive Mobile Adjustments --- */
@media (max-width: 1024px) {
    .main-container {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
        --stripe-height: 10px;
    }
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    .nav-menu .nav-hidden {
        display: none !important;
    }
    .main-container {
        margin: 20px 15px;
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .site-header {
        --stripe-height: 8px;
    }
    .main-container {
        margin: 10px 10px;
        padding: 25px 15px;
        border-radius: 4px;
    }
}

/* --- 12. DROPDOWN MENU (UPDATED TO DARK NAVY BLUE) --- */
.nav-menu .dropdown {
    position: relative !important;
    display: inline-block !important;
}

.nav-menu .dropdown-content {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 200px !important;
    background-color: #1b2a47 !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4) !important;
    z-index: 9999 !important;
    border-radius: 0 0 4px 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
}

.nav-menu .dropdown:hover .dropdown-content {
    display: flex !important;
}

.nav-menu .dropdown-content a {
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    text-align: left !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s !important;
}

.nav-menu .dropdown-content a:last-child {
    border-bottom: none !important;
}

.nav-menu .dropdown-content a:hover {
    background-color: #111c30 !important;
}

.nav-menu .dropdown:hover .dropbtn {
    color: #ffffff !important;
}

.nav-menu {
    display: flex !important;
    list-style: none !important;
    gap: 25px !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    flex-wrap: wrap !important;
}

.nav-menu a {
    color: #e0e4ed !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}
.nav-menu a:hover {
    color: #ffffff !important;
}

/* --- NUCLEAR FIX: LOGO LINK (Removes underline permanently) --- */
.logo-link {
    text-decoration: none !important;
    display: inline-block !important;
    border-bottom: none !important;
}

.logo-link:hover,
.logo-link:focus,
.logo-link:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

.logo-link h1,
.logo-link h1:hover,
.logo-link p,
.logo-link p:hover {
    text-decoration: none !important;
    text-decoration-color: transparent !important;
    border-bottom: none !important;
}

.logo-link h1 {
    color: #ffffff !important;
}
.logo-link p {
    color: #b6c2d3 !important;
}

/* ============================================================
   13. EXQUISITE RETURN NAVIGATION LINK
   ============================================================ */
.exquisite-return {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 3rem 0;
    background: #ffffff;
    border-top: 4px solid #d9822b;
    border-bottom: 1px solid #f0f2f5;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.4s ease;
}

.exquisite-return:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.07);
}

.exquisite-return a {
    display: inline-block;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 2;
    color: #1b2a47;
    text-decoration: none;
    letter-spacing: 0.02em;
    max-width: 900px;
    padding: 0.25rem 0.5rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.4s ease, transform 0.2s ease;
}

.exquisite-return a:hover {
    color: #d9822b;
    border-bottom-color: #d9822b;
    transform: translateY(-1px);
    text-decoration: none;
}

.exquisite-return .nav-prefix {
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
    background: #1b2a47;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.exquisite-return a:hover .nav-prefix {
    background: #d9822b;
    color: #ffffff;
}

.exquisite-return .from-preposition {
    font-style: italic;
    color: #414a55;
    margin: 0 0.2rem;
    font-size: 0.95rem;
}

.exquisite-return .article-title {
    font-weight: 400;
    color: #1b2a47;
    transition: color 0.3s ease;
}

.exquisite-return a:hover .article-title {
    color: #d9822b;
}

.exquisite-return .to-divider {
    display: inline-block;
    margin: 0 1rem;
    font-weight: 300;
    color: #b6c2d3;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    position: relative;
}

.exquisite-return .to-divider::before {
    content: "— · ";
    opacity: 0.6;
}

.exquisite-return .to-divider::after {
    content: " · —";
    opacity: 0.6;
}

@media screen and (max-width: 640px) {
    .exquisite-return {
        padding: 1.5rem 0.8rem;
        margin: 2rem 0;
    }
    .exquisite-return a {
        font-size: 1.1rem;
        line-height: 1.9;
    }
    .exquisite-return .to-divider {
        display: block;
        margin: 0.2rem 0;
    }
    .exquisite-return .to-divider::before,
    .exquisite-return .to-divider::after {
        content: "—";
        opacity: 0.4;
    }
    .exquisite-return .nav-prefix {
        display: inline-block;
        margin-bottom: 0.2rem;
        font-size: 0.7rem;
    }
}

/* ============================================================
   14. KEY TAKEAWAYS TABLE (Professional, responsive)
   ============================================================ */
.key-takeaways {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.3rem;
    line-height: 1.6;
    margin: 2rem 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    background-color: #d6eaf8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.key-takeaways thead th {
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    font-size: 1.4rem;
    background-color: #d6eaf8;
    border-bottom: 2px solid #aed6f1;
    color: #0f172a;
}

.key-takeaways tbody td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #bdd7ee;
    vertical-align: top;
}

.key-takeaways tbody tr:last-child td {
    border-bottom: none;
}

.key-takeaways tbody td::before {
    content: "•";
    margin-right: 0.6rem;
    color: #0f172a;
    font-weight: bold;
}

@media screen and (max-width: 640px) {
    .key-takeaways,
    .key-takeaways thead,
    .key-takeaways tbody,
    .key-takeaways th,
    .key-takeaways td,
    .key-takeaways tr {
        display: block;
    }
    .key-takeaways thead {
        border-bottom: 2px solid #aed6f1;
    }
    .key-takeaways tbody td {
        border-bottom: 1px solid #bdd7ee;
        padding: 1rem 1.2rem;
    }
    .key-takeaways tbody td::before {
        content: "•";
    }
}

/* ============================================================
   15. FAQ ACCORDION COMPONENT (Gold/Navy Theme)
   ============================================================ */
.dividend-faq {
    width: 100%;
    margin: 2rem 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    color: #1b2a47;
}

.dividend-faq details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.dividend-faq details[open] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: #d9822b;
    background-color: #fffdf7;
}

.dividend-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #1b2a47;
    user-select: none;
    background-color: #f8fafc;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dividend-faq summary:hover {
    background-color: #f1f5f9;
}

.dividend-faq details[open] summary {
    background-color: #f1f5f9;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid #e2e8f0;
    color: #1b2a47;
}

.dividend-faq summary::-webkit-details-marker {
    display: none;
}

.dividend-faq summary::after {
    content: "+";
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    color: #d9822b;
    margin-left: 1.5rem;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.dividend-faq details[open] summary::after {
    content: "–";
    transform: rotate(0deg);
    color: #c06d1e;
    font-weight: 400;
}

.dividend-faq .answer {
    padding: 1.2rem 1.5rem;
    line-height: 1.6;
    color: #334155;
}

@media screen and (max-width: 640px) {
    .dividend-faq {
        font-size: 1.4rem;
    }
    .dividend-faq summary {
        padding: 1rem 1.2rem;
    }
    .dividend-faq .answer {
        padding: 1rem 1.2rem;
    }
}

/* ============================================================
   16. RELATED ARTICLES COMPONENT (custom font & size)
   ============================================================ */
.related-articles {
    margin: 3rem 0 1.5rem 0;
    padding: 1.8rem 2rem 2rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border-left: 5px solid #0b2b3b;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.3rem;
}

.related-articles:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.related-articles__title {
    font-size: 2rem;
    font-weight: 700;
    color: #e67e22;
    margin: 0 0 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.related-articles__title .title-icon {
    font-size: 1.8rem;
}

.related-articles__title::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #dce7f0, transparent);
}

.related-articles__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.related-articles__item {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eef2f6;
    transition: border-color 0.2s;
}

.related-articles__item:last-child {
    border-bottom: none;
}

.related-articles__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.8rem 0.3rem 0.8rem 0;
    text-decoration: none;
    color: #1d3c4e;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1.4;
}

.related-articles__link:hover {
    color: #005a8c;
    transform: translateX(4px);
}

.related-articles__link .link-text {
    flex: 1;
}

.related-articles__link .link-arrow {
    color: #b6cbd9;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.related-articles__link:hover .link-arrow {
    color: #005a8c;
    transform: translateX(4px);
}

@media screen and (max-width: 640px) {
    .related-articles {
        padding: 1.4rem 1.2rem 1.6rem 1.2rem;
        border-left-width: 4px;
        border-radius: 12px;
        margin: 2rem 0 1rem 0;
        font-size: 1.2rem;
    }
    .related-articles__title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    .related-articles__title .title-icon {
        font-size: 1.4rem;
    }
    .related-articles__link {
        padding: 0.6rem 0.2rem 0.6rem 0;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .related-articles__link:hover {
        transform: none;
    }
    .related-articles__link:hover .link-arrow {
        transform: none;
    }
}

@media screen and (max-width: 400px) {
    .related-articles {
        padding: 1.2rem 0.8rem 1.4rem 0.8rem;
        font-size: 1.1rem;
    }
    .related-articles__title {
        font-size: 1.4rem;
    }
    .related-articles__link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .related-articles__link .link-arrow {
        align-self: flex-end;
    }
}

/* ============================================================
   NEW: NAV HIDDEN ITEMS & CLASS-BASED PRODUCTS DROPDOWN
   ============================================================ */
.nav-hidden {
    display: none !important;
}

.nav-products.dropdown {
    position: relative !important;
}

.nav-products .dropdown-content {
    left: auto !important;
    right: 0 !important;
    min-width: 250px !important;
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    background-color: #1b2a47 !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4) !important;
    z-index: 9999 !important;
    border-radius: 0 0 4px 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
}

.nav-products:hover .dropdown-content {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-products .dropdown-content a {
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    text-align: left !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.nav-products .dropdown-content a:last-child {
    border-bottom: none !important;
}

.nav-products .dropdown-content a:hover {
    background-color: #111c30 !important;
}

/* ============================================================
   NEW: TOP-NAV SEARCH BAR
   ============================================================ */
.nav-search {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-search-form {
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 0.2em 0.2em 0.2em 1em;
    transition: background-color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

.nav-search-form:focus-within {
    background-color: #ffffff;
    border-color: #d9822b;
}

.nav-search-icon {
    background: none;
    border: none;
    color: #e0e4ed;
    cursor: pointer;
    padding: 0.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    order: 2;
}

.nav-search-icon:hover {
    color: #ffffff;
}

.nav-search-form:focus-within .nav-search-icon {
    color: #1b2a47;
}

.nav-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #e0e4ed;
    font-family: inherit;
    font-size: 0.95rem;
    width: 120px;
    transition: width 0.3s, color 0.2s;
    order: 1;
}

.nav-search-input::placeholder {
    color: #a6b8d4;
    opacity: 1;
}

.nav-search-form:focus-within .nav-search-input {
    width: 180px;
    color: #1b2a47;
}

.nav-search-form:focus-within .nav-search-input::placeholder {
    color: #6b7d99;
}

@media (max-width: 768px) {
    .nav-search {
        margin-left: 0;
        width: 100%;
    }
    .nav-search-form {
        width: 100%;
        justify-content: space-between;
    }
    .nav-search-input {
        width: 100%;
    }
    .nav-search-form:focus-within .nav-search-input {
        width: 100%;
    }
}

/* ============================================================
   17. FLOATING RIGHT SIDEBAR LAYOUT (Safely sits on Grey background)
   ============================================================ */

.content-with-sidebar {
    display: block;
    position: relative; /* Anchor for the absolute sidebar */
    width: 100%;
    margin-bottom: 40px;
}

.content-with-sidebar .main-article {
    width: 100%;
    display: block;
}

/* Sidebar: Positioned absolutely to pop out of the white box */
.content-with-sidebar .sidebar-area {
    position: absolute; 
    top: 0px; 
    left: 100%; /* Anchors perfectly to the right edge of the white container */
    margin-left: 25px; /* Gap between white box and sidebar */
    width: 285px; /* UPDATED: Increased from 270px to 295px */
    height: 100%;
    padding: 0;
}

/* --- SAFE BREAKPOINT: Drops to bottom on screens < 1350px (like 1280px screens) --- */
@media (max-width: 1350px) {
    .content-with-sidebar .sidebar-area {
        position: static; /* Reverts to normal flow */
        left: auto;
        margin-left: 0;
        width: 100%;
        max-width: 1000px;
        height: auto; 
        margin: 40px auto 0 auto; 
    }
    /* Disable sticky behavior when stacked */
    .content-with-sidebar .sidebar-area .sidebar-sticky-box {
        position: static;
    }
}

/* ============================================================
   18. SIDEBAR BIO TEXT BOX (Scrolls away)
   ============================================================ */
.sidebar-bio-text {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 1rem;
    line-height: 1.6;
    color: #414a55;
    text-align: left;
    overflow-wrap: break-word; /* Ensures text doesn't overflow */
}

.sidebar-bio-text p {
    margin-bottom: 15px;
}

.sidebar-bio-text p:last-child {
    margin-bottom: 0;
}

.sidebar-bio-text strong {
    color: #1b2a47;
}

/* ============================================================
   19. SIDEBAR STICKY BOX (Stays fixed on the grey background)
   ============================================================ */
.sidebar-sticky-box {
    position: -webkit-sticky;
    position: sticky;
    top: 115px; /* Safely clears the sticky header */
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 1rem;
    line-height: 1.6;
    color: #414a55;
    text-align: left;
    z-index: 10; 
    overflow-wrap: break-word; /* Ensures text doesn't overflow */
}

.sidebar-sticky-box p {
    margin-bottom: 15px;
}

.sidebar-sticky-box p:last-child {
    margin-bottom: 0;
}

.sidebar-sticky-box strong {
    color: #1b2a47;
}

/* ============================================================
   20. SIDEBAR STICKY CONTENT (Matches the parent box)
   ============================================================ */
.sidebar-sticky-content {
    margin-bottom: 0;
}

/* ============================================================
   21. EXPLORE GRID (Fixed Layout for 3 Cards)
   ============================================================ */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

@media (max-width: 1024px) {
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .explore-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   SIMPLE BLUE SIDEBAR BOX (No Images, Just Text)
   ============================================================ */
.sidebar-simple-blue-box {
    position: relative;
    background-color: #204a83; /* Matches the dark blue from your screenshot */
    border-radius: 20px;
    padding: 30px 24px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px; /* Spacing between sidebar elements */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-simple-blue-box h3 {
    color: #ffffff;
    margin-top: 0;
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 10px;
}

.sidebar-simple-blue-box .highlight-orange {
    color: #f7782d; /* Orange highlight color */
}

.sidebar-simple-blue-box p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    opacity: 0.9;
}
