/* HELP_CENTER_V2 — focused styles for /ayuda. */
.cc-help {
    max-width: 1240px;
    padding-top: 28px;
}

.cc-help-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 5vw, 62px);
    border-color: rgba(211, 174, 88, .42);
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 12%, rgba(211, 174, 88, .18), transparent 34%),
        linear-gradient(135deg, #11100e, #201b13 58%, #11100e);
    box-shadow: 0 24px 70px rgba(39, 29, 12, .16);
}

.cc-help-hero::after {
    content: "";
    position: absolute;
    inset: 12px;
    pointer-events: none;
    border: 1px solid rgba(255, 239, 198, .09);
    border-radius: 19px;
}

.cc-help-hero > * {
    position: relative;
    z-index: 1;
}

.cc-help-hero h1 {
    max-width: 720px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 500;
}

.cc-help-hero p {
    max-width: 68ch;
    font-size: 15px;
    line-height: 1.7;
}

.cc-help-search {
    max-width: 620px;
    min-height: 52px;
    border: 1px solid rgba(211, 174, 88, .35);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.cc-help-search:focus-within {
    outline: 3px solid rgba(211, 174, 88, .22);
    border-color: #d3ae58;
}

.cc-help-overview {
    margin: 0 0 30px;
    padding: 24px;
    border: 1px solid #e5dcc9;
    border-radius: 20px;
    background: #fffdf8;
    box-shadow: 0 14px 38px rgba(70, 52, 18, .07);
}

.cc-help-overview-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.cc-help-eyebrow {
    color: #9a742d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.cc-help-overview h2 {
    margin: 5px 0 0;
    color: #211d16;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
}

.cc-help-count {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #d9c28c;
    border-radius: 50%;
    color: #74551f;
    font-weight: 800;
}

.cc-help-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cc-help-topic {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 11px 13px;
    border: 1px solid #ebe2d1;
    border-radius: 12px;
    background: #fff;
    color: #2c2a24;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cc-help-topic:hover {
    transform: translateY(-2px);
    border-color: #c9a85f;
    box-shadow: 0 9px 22px rgba(82, 61, 22, .09);
}

.cc-help-topic > span {
    color: #a27b31;
    font: 700 11px/1 Georgia, serif;
}

.cc-help-topic strong {
    font-size: 12.5px;
    line-height: 1.3;
}

.cc-help-topic svg {
    width: 18px;
    fill: none;
    stroke: #9c762e;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.cc-help-body {
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 28px;
}

.cc-help-nav {
    max-height: calc(100vh - 112px);
    overflow: auto;
    border-color: #e3d8c4;
    background: #fffdf8;
    box-shadow: 0 12px 35px rgba(70, 52, 18, .06);
    scrollbar-width: thin;
}

.cc-help-nav nav a {
    border-inline-start: 2px solid transparent;
    border-radius: 4px 9px 9px 4px;
    line-height: 1.35;
}

.cc-help-nav nav a:hover,
.cc-help-nav nav a.is-active {
    border-inline-start-color: #b78b38;
    background: #f6edd9;
    color: #674818;
}

.cc-help-content {
    display: grid;
    gap: 18px;
}

.cc-help-content > h1 {
    display: none;
}

.cc-help-section {
    padding: clamp(22px, 3.5vw, 38px);
    scroll-margin-top: 94px;
    border: 1px solid #e6dcc9;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(65, 47, 13, .055);
}

.cc-help-content .cc-help-section h2 {
    margin: 0 0 22px;
    padding-bottom: 15px;
    color: #211d16;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 500;
}

.cc-help-content .cc-help-section h3 {
    scroll-margin-top: 100px;
    margin-top: 25px;
    color: #76551d;
}

.cc-help-content a {
    color: #76551d;
    font-weight: 700;
    text-decoration-color: rgba(118, 85, 29, .38);
    text-underline-offset: 3px;
}

.cc-help-content a:hover {
    text-decoration-color: currentColor;
}

.cc-help-content li::marker {
    color: #b58a39;
}

html[dir="rtl"] .cc-help-nav nav a {
    border-radius: 9px 4px 4px 9px;
}

html[data-theme="dark"] .cc-help-overview,
body[data-theme="dark"] .cc-help-overview,
html[data-theme="dark"] .cc-help-section,
body[data-theme="dark"] .cc-help-section,
html[data-theme="dark"] .cc-help-topic,
body[data-theme="dark"] .cc-help-topic {
    border-color: rgba(226, 189, 105, .18);
    background: #121722;
    box-shadow: none;
}

html[data-theme="dark"] .cc-help-overview h2,
body[data-theme="dark"] .cc-help-overview h2,
html[data-theme="dark"] .cc-help-topic,
body[data-theme="dark"] .cc-help-topic,
html[data-theme="dark"] .cc-help-content .cc-help-section h2,
body[data-theme="dark"] .cc-help-content .cc-help-section h2 {
    color: #f3eddd;
}

html[data-theme="dark"] .cc-help-nav nav a.is-active,
body[data-theme="dark"] .cc-help-nav nav a.is-active {
    background: rgba(233, 185, 73, .14);
    color: #e9b949;
}

@media (max-width: 980px) {
    .cc-help-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cc-help-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .cc-help-nav {
        position: static;
        max-height: none;
    }

    .cc-help-nav nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .cc-help {
        padding-inline: 14px;
    }

    .cc-help-overview {
        padding: 18px;
    }

    .cc-help-topic-grid,
    .cc-help-nav nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .cc-help-section {
        border-radius: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-help-topic {
        transition: none;
    }
}
