
.aic-rama-feature{max-width:850px;margin:0 auto;color:#263544;font-family:Georgia,"Times New Roman",serif;font-size:clamp(18px,1.45vw,21px);line-height:1.85;overflow-wrap:break-word}
.aic-rama-feature p{margin:0 0 1.4em;line-height:1.85;font-size:inherit;color:inherit}
.aic-rama-feature h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(26px,3vw,38px);line-height:1.22;letter-spacing:-.025em;color:#081a2d;margin:2em 0 .65em;padding-top:.55em;border-top:1px solid #d9c8aa;scroll-margin-top:120px}
.aic-rama-feature h3{font-family:Georgia,"Times New Roman",serif;font-size:clamp(21px,2.3vw,27px);line-height:1.35;color:#081a2d;margin:1.6em 0 .6em}
.aic-rama-feature a{color:#77571e;text-decoration:underline;text-underline-offset:3px}
.aic-rama-feature .rf-lead:first-letter{float:left;font-size:3.5em;line-height:.83;padding:.13em .12em 0 0;color:#947039}
.aic-rama-feature .rf-kicker{font:700 12px/1.5 Arial,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#95713b;display:block;margin:0 0 12px}
.aic-rama-feature .rf-contents{background:#f5f3ee;border:1px solid #e0d7c6;border-left:4px solid #b39561;padding:clamp(18px,4vw,32px);margin:0 0 2em;border-radius:8px}
.aic-rama-feature .rf-contents ol{columns:2;column-gap:32px;margin:0;padding-left:22px;font:15px/1.7 Arial,sans-serif}
.aic-rama-feature .rf-contents li{break-inside:avoid;margin:0 0 8px}
.aic-rama-feature .rf-photo{margin:2em 0 2.4em;padding:0;width:100%;max-width:100%;background:#f5f3ee;border:1px solid #e4ded3;border-radius:10px;overflow:hidden}
.aic-rama-feature .rf-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0;margin:0}
.aic-rama-feature .rf-photo figcaption{padding:16px 20px;font:14px/1.6 Arial,sans-serif;color:#475467}
.aic-rama-feature .rf-photo figcaption small{display:block;margin-top:5px;font-size:12px}
.aic-rama-feature .rf-timeline{background:#081a2d;color:#fff;padding:clamp(20px,4vw,36px);border-radius:10px;margin:2em 0;font-family:Arial,sans-serif}
.aic-rama-feature .rf-timeline .rf-kicker{color:#d6b982}.aic-rama-feature .rf-timeline ol{list-style:none;padding:0;margin:0}
.aic-rama-feature .rf-timeline li{display:grid;grid-template-columns:70px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid #34465a;font-size:15px;line-height:1.5}.aic-rama-feature .rf-timeline li:last-child{border:0}.aic-rama-feature .rf-timeline b{color:#d6b982;font-size:20px}
@media(max-width:600px){.aic-rama-feature .rf-contents ol{columns:1}.aic-rama-feature .rf-timeline li{grid-template-columns:55px 1fr;gap:10px}.aic-rama-feature .rf-photo figcaption{padding:12px}}
@media print{.aic-rama-feature .rf-contents{display:none}.aic-rama-feature .rf-photo{break-inside:avoid}.aic-rama-feature .rf-timeline{background:white;color:black;border:1px solid #aaa}}


/* BEGIN AIC TOC RESPONSIVE FIX */

.aic-rama-feature {
    min-width: 0;
    max-width: 100%;
}

.article-content:has(.aic-rama-feature) {
    min-width: 0;
    max-width: 100%;
}

.aic-rama-feature .rf-contents {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 32px !important;
    margin: 0 0 40px !important;
    background: #f5f3ed;
    border: 1px solid #ded7c8;
    border-inline-start: 4px solid #b89b63;
    border-radius: 10px;
}

.aic-rama-feature .rf-contents > :not(ol):not(ul) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    text-align: start !important;
    font-family: Arial, sans-serif;
    font-size: 15px !important;
    font-weight: 700;
    letter-spacing: 2px;
    color: #947039;
}

.aic-rama-feature .rf-contents ol,
.aic-rama-feature .rf-contents ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    columns: auto !important;
    column-count: auto !important;
    counter-reset: rf-chapter;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.aic-rama-feature .rf-contents li {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    counter-increment: rf-chapter;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #e1dbcf;
    font-family: Arial, sans-serif;
    font-size: 14px !important;
    line-height: 1.6 !important;
    white-space: normal !important;
}

.aic-rama-feature .rf-contents li::before {
    content: counter(rf-chapter, decimal-leading-zero);
    color: #947039;
    font-size: 13px;
    font-weight: 700;
}

.aic-rama-feature .rf-contents a {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    color: #081a2d !important;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.6 !important;
    text-decoration: none !important;
}

.aic-rama-feature .rf-contents a:hover {
    color: #947039 !important;
    text-decoration: underline !important;
}

.aic-rama-feature [id] {
    scroll-margin-top: 140px;
}

@media (max-width: 1200px) {
    .aic-rama-feature .rf-contents ol,
    .aic-rama-feature .rf-contents ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .aic-rama-feature .rf-contents {
        padding: 20px !important;
        margin-bottom: 28px !important;
    }

    .aic-rama-feature .rf-contents li {
        padding: 12px 0 !important;
    }

    .aic-rama-feature .rf-contents a {
        font-size: 13px !important;
    }
}

/* END AIC TOC RESPONSIVE FIX */











/* BEGIN SINGLE TOC LAYOUT */

html body .aic-rama-feature {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

html body .aic-rama-feature > * {
    min-width: 0;
}

html body .aic-rama-feature > .rf-single-toc {
    display: block !important;
    visibility: visible !important;
    order: 9999 !important;
    width: 100% !important;
    height: auto !important;
    margin: 40px 0 0 !important;
}

/* Desktop only: move contents to the beginning */
@media screen and (min-width: 992px) {
    html body .aic-rama-feature > .rf-single-toc {
        order: -9999 !important;
        margin: 0 0 40px !important;
    }
}

/* Phones and tablets: contents at the end */
@media screen and (max-width: 991px) {
    html body .aic-rama-feature {
        display: block !important;
    }

    html body .aic-rama-feature > .rf-single-toc {
        margin: 40px 0 0 !important;
        padding: 20px !important;
    }

    html body .rf-single-toc ol,
    html body .rf-single-toc ul {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* END SINGLE TOC LAYOUT */

/* Hide article contents navigation on mobile */
@media screen and (max-width: 991px) {

    html body .aic-rama-feature .rf-contents,
    html body .aic-rama-feature > .rf-single-toc,
    html body .aic-rama-feature .rf-contents.rf-desktop-toc,
    html body .aic-rama-feature .rf-contents.rf-mobile-toc {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

}

/* END MOBILE CONTENTS HIDE */



/* BEGIN RAMA FOUNDER AND TIMELINE */

/* High-contrast diplomatic milestones */

html body .aic-rama-feature .rf-timeline {
    background: #081a2d !important;
    color: #f0f4fa !important;
    padding: clamp(22px, 4vw, 44px) !important;
    border-radius: 12px;
}

html body .aic-rama-feature .rf-timeline * {
    color: #e8eef6 !important;
    opacity: 1 !important;
}

html body .aic-rama-feature .rf-timeline
:is(strong, b, h2, h3, h4) {
    color: #e0bd84 !important;
}

html body .aic-rama-feature .rf-timeline
:is(p, li, span, dd) {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

html body .aic-rama-feature .rf-timeline a {
    color: #e0bd84 !important;
}

/* Executive founder profile */

html body .rf-founder-card {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: linear-gradient(
        135deg, #081a2d, #142f45
    );
    border: 1px solid #92774d;
    border-top: 4px solid #c5a46d;
    border-radius: 14px;
    margin: 55px 0 25px;
    padding: clamp(24px, 4vw, 44px);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(8,26,45,.12);
}

.rf-founder-eyebrow {
    color: #d7b77f !important;
    font: 700 12px/1.6 Arial, sans-serif;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.rf-founder-profile {
    display: grid;
    grid-template-columns: minmax(0, 220px)
                           minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.rf-founder-portrait {
    display: block;
    border: 2px solid #c5a46d;
    border-radius: 10px;
    overflow: hidden;
}

.rf-founder-portrait img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 !important;
    border-radius: 0 !important;
}

.rf-founder-role {
    color: #d7b77f !important;
    font: 700 11px/1.6 Arial, sans-serif;
    letter-spacing: 1.5px;
}

html body .rf-founder-card h2 {
    color: #ffffff !important;
    font-family: Georgia, serif !important;
    font-size: clamp(30px, 4vw, 46px) !important;
    line-height: 1.2 !important;
    margin: 12px 0 !important;
    border: none !important;
    padding: 0 !important;
}

html body .rf-founder-card p {
    color: #dce5ee !important;
    line-height: 1.8 !important;
    font-size: 16px !important;
}

.rf-founder-divider {
    width: 60px;
    height: 2px;
    background: #c5a46d;
    margin: 20px 0;
}

html body .rf-founder-card .rf-founder-motto {
    font-family: Georgia, serif !important;
    font-size: 23px !important;
    color: #e0bd84 !important;
    line-height: 1.5 !important;
}

.rf-founder-description {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(197,164,109,.3);
}

.rf-founder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

html body .rf-founder-card .rf-founder-primary,
html body .rf-founder-card .rf-founder-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    border-radius: 5px;
    text-decoration: none !important;
    font: 700 14px/1.4 Arial, sans-serif;
}

html body .rf-founder-card .rf-founder-primary {
    background: #c5a46d;
    color: #081a2d !important;
}

html body .rf-founder-card .rf-founder-secondary {
    border: 1px solid #c5a46d;
    color: #e0bd84 !important;
}

.rf-founder-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(197,164,109,.3);
}

html body .rf-founder-social a {
    color: #e0bd84 !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

.rf-founder-card a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

@media (max-width: 767px) {

    .rf-founder-profile {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        gap: 25px;
    }

    .rf-founder-portrait {
        width: 190px;
        max-width: 100%;
        margin: 0 auto;
    }

    .rf-founder-divider {
        margin: 20px auto;
    }

    .rf-founder-eyebrow {
        text-align: center;
    }

    .rf-founder-actions {
        flex-direction: column;
    }

    .rf-founder-actions a {
        width: 100%;
        box-sizing: border-box;
    }

    .rf-founder-social {
        gap: 18px;
    }
}

/* END RAMA FOUNDER AND TIMELINE */
