/* =============================================================================
   resume-template-detail.css

   /resume-templates/{slug} (federal, executive, modern). Loads AFTER
   resume-score-marketing.css and resume-templates.css and reuses their shell
   classes (.score-hero, .light-section, .section-headline, .score-faq,
   .score-cta, .btn-hero-primary, .btn-tpl-download, .score-insights-grid,
   .score-card). This file adds only what those two sheets have no equivalent
   for: the hero preview image, the breadcrumb, the filled-example block, the
   "who it fits" list and the related-templates strip.

   Tokens match resume-templates.css: ink #112349, brand #1363c6, muted #4c6188.
   ============================================================================= */

.tpld-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #4c6188;
    margin-bottom: 18px;
}

.tpld-breadcrumb > * {
    white-space: nowrap;
}

.tpld-breadcrumb a {
    color: #4c6188;
    text-decoration: none;
}

.tpld-breadcrumb a:hover {
    color: #1363c6;
    text-decoration: underline;
}

.tpld-breadcrumb-sep {
    color: #aab8cf;
}

.tpld-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

/* Widen the hero's right-hand grid column (resume-score-marketing.css's
   .score-hero-inner defaults it to 320px, sized for the slim .score-benefit-card
   the checker pages put there) so the preview reads as a real document instead
   of a thumbnail. Only applies above the 980px breakpoint where that grid is
   two columns; below it, .score-hero-inner already collapses to 1fr and this
   page's image stacks under the hero content at full width. */
/* The shared hero bottom-aligns its columns (align-items: end), which suits a
   short benefit card but leaves the text sitting low beside a tall document
   preview. Center the two columns against each other instead. */
.tpld-detail .score-hero-inner {
    align-items: center;
}

@media (min-width: 981px) {
    .tpld-detail .score-hero-inner {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 56px;
    }
}

.tpld-hero-image-wrap {
    display: flex;
    justify-content: center;
}

.tpld-hero-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 6px;
    /* Paper shadow: a soft ambient layer plus a tighter contact shadow, so the
       preview lifts off the dark hero without looking like a UI card. */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.45), 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 760px) {
    .tpld-hero-image {
        max-width: 280px;
    }
}

/* One large, legible preview, centered, with the caption carried once by
   .section-sub above it (previously duplicated here beside a narrow 320px
   image column, which also left the second grid column mostly empty). */
.tpld-example {
    display: flex;
    justify-content: center;
}

.tpld-example-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e3e9f3;
    box-shadow: 0 18px 40px rgba(17, 35, 73, 0.16);
}

.tpld-fits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.tpld-fits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #27406b;
    line-height: 1.5;
}

.tpld-fits-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #1363c6;
    font-weight: 700;
}

.tpld-not-a-fit {
    text-align: center;
    color: #4c6188;
    font-size: 0.95rem;
}

.tpld-not-a-fit a {
    color: #1363c6;
    font-weight: 600;
    text-decoration: none;
}

.tpld-related-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
}

.tpld-related-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid #d6e0f0;
    color: #1a2c50;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    background: #fff;
}

.tpld-related-link:hover {
    border-color: #1363c6;
    color: #1363c6;
}

.tpld-guide-link {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
    color: #4c6188;
}

.tpld-guide-link a {
    color: #1363c6;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 760px) {
    .tpld-example-image {
        max-width: 320px;
    }
}
