/* ==========================================================================
   PDGA Rating to Disc Matcher Stylesheet
   Reuses existing GWD theme variables and Blocksy design tokens.
   Zero inline styles; full support for light, dark and high-contrast modes.
   ========================================================================== */

.hp-main:has(.gwd-rd-page),
#df-tab-pdga .hp-main {
    --hp-wine: var(--theme-palette-color-1, #7c0236);
    --hp-wine-light: color-mix(in srgb, var(--theme-palette-color-1, #7c0236) 12%, transparent);
    --hp-gold: var(--theme-palette-color-2, #d4a34a);
    --hp-bg: var(--theme-palette-color-4, #faf6ef);
    --hp-bg-alt: color-mix(in srgb, var(--theme-palette-color-6, #ece4d6) 45%, var(--theme-palette-color-4, #faf6ef));
    --hp-inner: var(--theme-palette-color-5, #ffffff);
    --hp-text: var(--theme-palette-color-8, #1f1a18);
    --hp-text-faint: var(--theme-palette-color-7, #6b6157);
    --hp-border: var(--theme-palette-color-6, #cfc3ac);
    --hp-font: var(--gwd-font-primary, Inter, system-ui, -apple-system, sans-serif);
    --hp-font-display: 'Manrope', var(--hp-font);
    --hp-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --hp-wrap: 1140px;
    --hp-radius: 12px;
    --hp-radius-sm: 8px;
    --hp-section-py: 72px;
    --hp-section-py-tight: 48px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--hp-text);
}

:is(html[data-theme="dark"], html[data-color-mode="dark"], body.dark) :is(.hp-main:has(.gwd-rd-page), #df-tab-pdga .hp-main) {
    --hp-wine-light: color-mix(in srgb, var(--theme-palette-color-1, #f05b8c) 18%, transparent);
}

.hp-main .gwd-rd-page .wrap {
    max-width: var(--hp-wrap, 1140px);
    margin: 0 auto;
    padding: 0 24px;
}

.hp-main .gwd-rd-page .eyebrow {
    font-family: var(--hp-font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-text-faint);
    margin: 0 0 8px;
}

.hp-main .gwd-rd-page .eyebrow--wine {
    color: var(--hp-wine);
}

.hp-main .gwd-rd-page .eyebrow--gold {
    color: var(--hp-gold);
}

.hp-main .gwd-rd-page .section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.hp-main .gwd-rd-page .section-head--row {
    text-align: left;
    max-width: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hp-main .gwd-rd-page .section-head--row > div {
    flex: 1;
    min-width: 280px;
}

.hp-main .gwd-rd-page .section-head p,
.hp-main .gwd-rd-page .section-head--row p {
    color: var(--hp-text-faint);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.hp-main .gwd-rd-page .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--hp-radius-sm);
    font-family: var(--hp-font);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s, background 0.15s;
    border: none;
    white-space: nowrap;
}

.hp-main .gwd-rd-page .btn-primary {
    background: var(--hp-wine);
    color: #fff;
}

.hp-main .gwd-rd-page .btn-primary:hover {
    opacity: 0.88;
    color: #fff;
}

.hp-main .gwd-rd-page .btn-soft {
    background: var(--hp-bg-alt);
    color: var(--hp-text);
    border: 1.5px solid var(--hp-text-faint);
}

:is(html[data-theme="dark"], html[data-color-mode="dark"]) .hp-main .gwd-rd-page .btn-soft {
    background: var(--hp-inner);
}

.hp-main .gwd-rd-page .btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.hp-main .gwd-rd-page .btn-block {
    width: 100%;
    justify-content: center;
}

.hp-main .gwd-rd-page .nr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 980px) {
    .hp-main .gwd-rd-page .nr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .hp-main .gwd-rd-page .nr-grid {
        grid-template-columns: 1fr;
    }
}

.hp-main .gwd-rd-page .nr-grid .nrcard {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--hp-inner);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    color: var(--hp-text);
}

.hp-main .gwd-rd-page .nrcard__hero {
    position: relative;
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 18px 18px;
}

.hp-main .gwd-rd-page .nrcard__hero .df-disc {
    width: 118px;
    height: 118px;
}

.hp-main .gwd-rd-page .nrcard__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 18px !important;
}

.hp-main .gwd-rd-page .nrcard__brand {
    font-family: var(--hp-font-mono);
    font-size: 11px;
    color: var(--hp-text-faint);
    margin-bottom: 3px;
}

.hp-main .gwd-rd-page .nrcard__name {
    font-size: 18px;
    margin: -4px 0 0;
    color: var(--hp-text) !important;
}

.hp-main .gwd-rd-page .hp-nrcard__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
}

.hp-main .gwd-rd-page .hp-nrcard--distance-driver .nrcard__hero,
.hp-main .gwd-rd-page .hp-nrcard--fairway-driver .nrcard__hero {
    background: linear-gradient(180deg, var(--hp-wine-light), var(--hp-bg-alt));
}

.hp-main .gwd-rd-page .hp-nrcard--midrange .nrcard__hero {
    background: linear-gradient(180deg, color-mix(in srgb, var(--theme-palette-color-2, #d4a34a) 20%, transparent), var(--hp-bg-alt));
}

.hp-main .gwd-rd-page .hp-nrcard--putter .nrcard__hero {
    background: linear-gradient(180deg, color-mix(in srgb, var(--theme-palette-color-1, #7c0236) 10%, transparent), var(--hp-bg-alt));
}

.hp-main .gwd-rd-page .df-flights {
    display: inline-flex;
    gap: 5px;
    flex-wrap: nowrap;
}

.hp-main .gwd-rd-page .df-flight {
    width: 42px;
    padding: 5px 0 6px;
    border-radius: 9px;
    color: #fff;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 3px rgba(0,0,0,.12);
}

.hp-main .gwd-rd-page .df-flight span {
    display: block;
    margin-bottom: 1px;
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: .1em;
    opacity: .9;
}

.hp-main .gwd-rd-page .df-flight b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.05;
}

.hp-main .gwd-rd-page .df-flight--speed { background: var(--df-speed, #9a451b); }
.hp-main .gwd-rd-page .df-flight--glide { background: var(--df-glide, #285f96); }
.hp-main .gwd-rd-page .df-flight--turn  { background: var(--df-turn, #63358f); }
.hp-main .gwd-rd-page .df-flight--fade  { background: var(--df-fade, #24713e); }

.hp-main .gwd-rd-page .hp-pill--distance-driver,
.hp-main .gwd-rd-page .hp-pill--fairway-driver {
    border-color: #A14C6A;
    color: #7B3551;
}

.hp-main .gwd-rd-page .hp-pill--midrange {
    border-color: #6EB3E5;
    color: #3F88C6;
}

.hp-main .gwd-rd-page .hp-pill--putter {
    border-color: #6BC389;
    color: #3FA164;
}

.hp-main .gwd-rd-page {
    padding-top: var(--hp-section-py-tight, 48px);
    padding-bottom: var(--hp-section-py, 72px);
    max-width: var(--hp-wrap, 1140px);
}

/* Suppress all advertising frames and auto-ad placeholders on the PDGA utility page and tab */
.hp-main .gwd-rd-page .adsbygoogle,
.hp-main .gwd-rd-page ins.adsbygoogle,
.hp-main .gwd-rd-page .google-auto-placed,
.hp-main .gwd-rd-page [id^="google_ads_iframe"],
.gwd-pdga-active ins.adsbygoogle,
.gwd-pdga-active .adsbygoogle,
.gwd-pdga-active [id^="google_ads_iframe"],
.gwd-pdga-active .adsense-wrapper,
body:has(#df-tab-pdga.df-tab-active) ins.adsbygoogle,
body:has(#df-tab-pdga.df-tab-active) .adsbygoogle,
body:has(#df-tab-pdga.df-tab-active) [id^="google_ads_iframe"],
body:has(#df-tab-pdga.df-tab-active) .adsense-wrapper {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* Hide hero block, trending block, and recent rail when PDGA tab is active */
.gwd-pdga-active #gwd-df-hero-block,
.gwd-pdga-active .ct-trending-block,
.gwd-pdga-active [data-trending],
.gwd-pdga-active #df-recently-viewed-rail,
body:has(#df-tab-pdga.df-tab-active) #gwd-df-hero-block,
body:has(#df-tab-pdga.df-tab-active) .ct-trending-block,
body:has(#df-tab-pdga.df-tab-active) [data-trending],
body:has(#df-tab-pdga.df-tab-active) #df-recently-viewed-rail {
    display: none !important;
}

.hp-main .gwd-rd-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.hp-main .gwd-rd-header :is(h1, h2) {
    font-family: var(--hp-font-display);
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--hp-text);
    margin: 0 0 16px;
}

.hp-main .gwd-rd-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--hp-text-faint);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Search Box & Autocomplete
   -------------------------------------------------------------------------- */

.hp-main .gwd-rd-search-card {
    background: var(--hp-inner);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 16px 40px -24px color-mix(in srgb, var(--hp-text) 35%, transparent);
    margin: 0 auto 40px;
    max-width: 100%;
    overflow: visible;
    position: relative;
}

.hp-main .gwd-rd-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-main .gwd-rd-label {
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--hp-text);
    margin: 0;
}

.hp-main .gwd-rd-input-row {
    position: relative;
    display: block;
}

.hp-main .gwd-rd-searchbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hp-bg);
    border: 2px solid var(--hp-border);
    border-radius: 18px;
    padding: 6px 8px 6px 16px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.hp-main .gwd-rd-searchbar:focus-within {
    border-color: var(--hp-wine);
    box-shadow: 0 0 0 4px var(--hp-wine-light);
}

.hp-main .gwd-rd-searchbar svg {
    width: 18px;
    height: 18px;
    color: var(--hp-text-faint);
    flex-shrink: 0;
}

.hp-main .gwd-rd-searchbar input.gwd-rd-input {
    flex: 1;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: var(--hp-font);
    font-size: 15px;
    color: var(--hp-text) !important;
    padding: 12px 10px !important;
    min-height: 44px !important;
    outline: none;
    min-width: 0;
}

.hp-main .gwd-rd-searchbar input.gwd-rd-input::placeholder {
    color: var(--hp-text-faint);
    opacity: 0.75;
}

.hp-main .gwd-rd-submit-btn {
    flex-shrink: 0;
    width: auto !important;
    height: auto !important;
    min-height: 44px;
    padding: 10px 20px !important;
    border-radius: 14px !important;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .hp-main .gwd-rd-searchbar {
        flex-wrap: wrap;
        padding: 10px 12px;
    }
    .hp-main .gwd-rd-submit-btn {
        width: 100% !important;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
}

.hp-main .gwd-rd-subbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--hp-text-faint);
}

.hp-main .gwd-rd-samples-label {
    font-weight: 600;
}

.hp-main .gwd-rd-sample {
    color: var(--hp-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.15s;
}

.hp-main .gwd-rd-sample:hover {
    color: var(--hp-wine);
}

/* Autocomplete Menu */
.hp-main .gwd-rd-ac-list {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--hp-inner);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    box-shadow: 0 20px 48px -24px color-mix(in srgb, var(--hp-text) 55%, transparent);
    margin: 0;
    padding: 0;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.hp-main .gwd-rd-ac-list.is-open,
.hp-main .gwd-rd-ac-list--open {
    display: block;
}

.hp-main .gwd-rd-ac-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid var(--hp-border);
    background: transparent;
    color: var(--hp-text);
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.hp-main .gwd-rd-ac-item:last-child {
    border-bottom: 0;
}

.hp-main .gwd-rd-ac-item:hover,
.hp-main .gwd-rd-ac-item:focus-visible {
    background-color: var(--hp-bg-alt);
    outline: none;
}

.hp-main .gwd-rd-ac-name {
    display: block;
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: 14px;
    color: var(--hp-text);
    line-height: 1.25;
}

.hp-main .gwd-rd-ac-meta {
    display: block;
    margin-top: 3px;
    font-family: var(--hp-font-mono);
    font-size: 12px;
    color: var(--hp-text-faint);
    line-height: 1.35;
}

.hp-main .gwd-rd-ac-rating {
    font-family: var(--hp-font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hp-wine);
    background: var(--hp-wine-light);
    padding: 4px 10px;
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Status Notification
   -------------------------------------------------------------------------- */

.hp-main .gwd-rd-status {
    display: none;
    text-align: center;
    margin: 28px 0;
    font-family: var(--hp-font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-text-faint);
}

.hp-main .gwd-rd-status--visible {
    display: block;
}

.hp-main .gwd-rd-status--error {
    color: #dc2626;
}

/* --------------------------------------------------------------------------
   Results Section & Banner
   -------------------------------------------------------------------------- */

.hp-main .gwd-rd-results {
    display: none;
    margin-top: 32px;
}

.hp-main .gwd-rd-results--visible {
    display: block;
}

.hp-main .gwd-rd-player-num {
    font-size: 0.85em;
    font-weight: 500;
    opacity: 0.75;
}

.hp-main .gwd-rd-card-cta {
    margin-top: auto;
    padding-top: 12px;
}

.hp-main .gwd-rd-player-banner {
    background: var(--hp-inner);
    border: 1px solid var(--hp-border);
    border-left: 5px solid var(--hp-wine);
    border-radius: var(--hp-radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hp-main .gwd-rd-player-name {
    font-family: var(--hp-font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--hp-text);
    margin-bottom: 4px;
}

.hp-main .gwd-rd-player-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--hp-border);
    transition: color 0.15s, text-decoration-color 0.15s;
}

.hp-main .gwd-rd-player-link:hover {
    color: var(--hp-wine);
    text-decoration-color: var(--hp-wine);
}

.hp-main .gwd-rd-player-meta {
    font-family: var(--hp-font-mono);
    font-size: 13px;
    color: var(--hp-text-faint);
}

.hp-main .gwd-rd-share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.hp-main .gwd-rd-share-bar > :is(button, a).btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-family: var(--hp-font) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    border-radius: var(--hp-radius-sm, 8px) !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    appearance: none;
    -webkit-appearance: none;
}

.hp-main .gwd-rd-share-bar > :is(button, a).btn-primary {
    border: 1.5px solid var(--hp-wine) !important;
}

.hp-main .gwd-rd-share-bar > :is(button, a).btn-soft {
    border: 1.5px solid var(--hp-border) !important;
}

.hp-main .gwd-rd-share-bar > :is(button, a).btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    display: block;
}

.hp-main .gwd-rd-share-bar > :is(button, a).is-copied {
    border-color: #16a34a !important;
    background: #16a34a !important;
    color: #ffffff !important;
}

.hp-main .gwd-rd-rating-box {
    text-align: right;
}

.hp-main .gwd-rd-rating-label {
    font-family: var(--hp-font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--hp-text-faint);
}

.hp-main .gwd-rd-rating-val {
    font-family: var(--hp-font-display);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    color: var(--hp-wine);
}

/* --------------------------------------------------------------------------
   Arm Speed Advice Panel
   -------------------------------------------------------------------------- */

.hp-main .gwd-rd-advice-card {
    background: var(--hp-inner);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 24px 28px;
    margin-bottom: 40px;
}

.hp-main .gwd-rd-advice-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hp-main .gwd-rd-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hp-wine);
    flex-shrink: 0;
}

.hp-main .gwd-rd-advice-head :is(h2, h3) {
    font-family: var(--hp-font-display);
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: var(--hp-text);
}

.hp-main .gwd-rd-advice-sub {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hp-main .gwd-rd-speed-badge {
    background: var(--hp-wine-light);
    color: var(--hp-wine);
    font-family: var(--hp-font-mono);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
}

.hp-main .gwd-rd-division-label {
    font-size: 14px;
    color: var(--hp-text-faint);
    font-weight: 600;
}

.hp-main .gwd-rd-advice-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--hp-text);
    margin: 0;
}

/* --------------------------------------------------------------------------
   BagIQ Starter Bag Lineup
   -------------------------------------------------------------------------- */

.hp-main .gwd-rd-bagiq-card {
    background: var(--hp-bg-alt);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: clamp(20px, 3vw, 32px);
    margin-bottom: 48px;
}

.hp-main .gwd-rd-bagiq-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.hp-main .gwd-rd-bagiq-head h3 {
    font-family: var(--hp-font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--hp-text);
    margin: 6px 0 4px;
}

.hp-main .gwd-rd-bagiq-head p {
    font-size: 14px;
    color: var(--hp-text-faint);
    margin: 0;
    max-width: 580px;
}

.hp-main .gwd-rd-bag-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.hp-main .gwd-rd-bag-slot {
    background: var(--hp-inner);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}

.hp-main .gwd-rd-bag-slot:hover {
    border-color: var(--hp-wine);
    transform: translateY(-2px);
}

.hp-main .gwd-rd-bag-role {
    font-family: var(--hp-font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hp-wine);
    margin-bottom: 6px;
}

.hp-main .gwd-rd-bag-mold {
    font-family: var(--hp-font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--hp-text);
    margin-bottom: 2px;
}

.hp-main .gwd-rd-bag-brand {
    font-size: 12px;
    color: var(--hp-text-faint);
    margin-bottom: 12px;
}

.hp-main .gwd-rd-bag-flights {
    display: inline-flex;
    gap: 4px;
    font-family: var(--hp-font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--hp-text);
}

.hp-main .gwd-rd-bag-flights span {
    background: var(--hp-bg-alt);
    padding: 3px 6px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   SEO Reference Table & FAQ Section
   -------------------------------------------------------------------------- */

.hp-main .gwd-rd-seo-guide {
    margin-top: 56px;
    margin-bottom: 48px;
}

.hp-main .gwd-rd-table-wrap {
    overflow-x: auto;
    background: var(--hp-inner);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    margin-bottom: 32px;
}

.hp-main .gwd-rd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--hp-text);
    text-align: left;
}

.hp-main .gwd-rd-table th {
    font-family: var(--hp-font-mono);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hp-text-faint);
    background: var(--hp-bg-alt);
    padding: 14px 16px;
    border-bottom: 1px solid var(--hp-border);
}

.hp-main .gwd-rd-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--hp-border);
    line-height: 1.45;
}

.hp-main .gwd-rd-table tbody tr:last-child td {
    border-bottom: 0;
}

.hp-main .gwd-rd-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.hp-main .gwd-rd-faq-item {
    background: var(--hp-inner);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-sm);
    padding: 20px 22px;
}

.hp-main .gwd-rd-faq-item h3 {
    font-family: var(--hp-font-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--hp-text);
    margin: 0 0 8px;
    line-height: 1.3;
}

.hp-main .gwd-rd-faq-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--hp-text-faint);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Attribution Footer
   -------------------------------------------------------------------------- */

.hp-main .gwd-rd-attribution {
    border-top: 1px solid var(--hp-border);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--hp-text-faint);
    line-height: 1.6;
}

.hp-main .gwd-rd-attribution a {
    color: var(--hp-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.hp-main .gwd-rd-attribution a:hover {
    color: var(--hp-wine);
}

/* --------------------------------------------------------------------------
   Standalone Widget Embed
   -------------------------------------------------------------------------- */

.gwd-rd-widget {
    background: var(--hp-inner, #ffffff);
    border: 1px solid var(--hp-border, #e2e8f0);
    border-radius: var(--hp-radius, 12px);
    padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.gwd-rd-widget .gwd-rd-label {
    display: block;
    font-family: var(--hp-font-display, inherit);
    font-weight: 700;
    font-size: 16px;
    color: var(--hp-text, #0f172a);
    margin-bottom: 10px;
}

.gwd-rd-widget .gwd-rd-input-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gwd-rd-widget .gwd-rd-input {
    flex: 1 1 200px;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--hp-border, #cbd5e1);
    border-radius: var(--hp-radius-sm, 8px);
    background: var(--hp-bg, #ffffff);
    color: var(--hp-text, #0f172a);
    font-size: 14px;
}

.gwd-rd-widget .gwd-rd-input:focus {
    border-color: var(--hp-wine, #7d1c3e);
    box-shadow: 0 0 0 3px var(--hp-wine-light, rgba(125, 28, 62, 0.15));
}

.gwd-rd-widget .gwd-rd-micro {
    font-family: var(--hp-font-mono, monospace);
    font-size: 11px;
    color: var(--hp-text-faint, #64748b);
    margin: 8px 0 0;
}
