/* where-are-my-t-marks.css — Where Are My T-Marks guide page */

/* ── Hero ─────────────────────────────────────────────── */
.tm-hero {
    background:
        linear-gradient(135deg, rgba(13, 59, 102, 0.10) 0%, rgba(26, 86, 50, 0.10) 100%),
        url('/static/images/for-hero-bg.jpg') center / cover no-repeat;
    background:
        linear-gradient(135deg, rgba(13, 59, 102, 0.10) 0%, rgba(26, 86, 50, 0.10) 100%),
        url('/static/images/for-hero-bg.webp') center / cover no-repeat;
    color: #fff;
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    text-align: center;
}

.tm-hero__eyebrow {
    display: inline-block;
    background: rgba(232, 168, 56, 0.25);
    border: 1px solid rgba(232, 168, 56, 0.6);
    color: #f5c842;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    margin-bottom: var(--spacing-md);
}

.tm-hero h1 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-md);
    color: #fff;
}

.tm-hero__lead {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto var(--spacing-md);
    opacity: 0.93;
    line-height: 1.6;
}

.tm-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.tm-hero__pill {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
}

/* ── Content layout ───────────────────────────────────── */
.tm-content {
    padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.tm-content__inner {
    max-width: 860px;
    margin: 0 auto;
}

/* ── Table of contents ────────────────────────────────── */
.tm-toc {
    background: #f4f7f5;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.tm-toc__title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tm-toc__list {
    margin: 0;
    padding-left: 1.4rem;
    line-height: 2;
}

.tm-toc__list a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.tm-toc__list a:hover {
    text-decoration: underline;
}

/* ── Sections ─────────────────────────────────────────── */
.tm-section {
    margin-bottom: var(--spacing-2xl);
    padding-top: var(--spacing-md);
}

.tm-section h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    border-bottom: 2px solid #d8e8de;
    padding-bottom: 0.4rem;
    margin-bottom: var(--spacing-md);
}

.tm-section p {
    line-height: 1.75;
    color: #444;
    margin-bottom: var(--spacing-md);
}

.tm-section__note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* ── Callout boxes ────────────────────────────────────── */
.tm-callout {
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-md) 0;
}

.tm-callout__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.tm-callout p {
    margin-bottom: 0.5rem;
    font-size: 0.97rem;
}

.tm-callout p:last-child {
    margin-bottom: 0;
}

.tm-callout--red {
    background: #fff0f0;
    border-left: 5px solid #c0392b;
}

.tm-callout--red .tm-callout__label {
    color: #c0392b;
}

.tm-callout--green {
    background: #edf7f1;
    border-left: 4px solid #1a5632;
}

.tm-callout--green .tm-callout__label {
    color: #1a5632;
}

.tm-callout--amber {
    background: #fffbeb;
    border-left: 4px solid #e8a838;
}

.tm-callout--amber .tm-callout__label {
    color: #9a6400;
}

/* ── Steps ────────────────────────────────────────────── */
.tm-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin: var(--spacing-md) 0;
}

.tm-step {
    display: flex;
    gap: var(--spacing-md);
    background: #f9fafb;
    border: 1px solid #e2ece6;
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
}

.tm-step__num {
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

.tm-step__body {
    flex: 1;
}

.tm-step__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.tm-step__body p {
    margin-bottom: 0.5rem;
    font-size: 0.97rem;
}

.tm-step__substeps {
    margin: 0.5rem 0 0.5rem 1.2rem;
    line-height: 1.9;
    font-size: 0.95rem;
    color: #444;
}

.tm-step__substeps a {
    color: var(--color-primary);
}

.tm-step__note {
    font-size: 0.88rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.tm-step__cost {
    display: inline-block;
    margin-top: 0.6rem;
    background: var(--color-accent, #e8a838);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
}

/* ── Table ────────────────────────────────────────────── */
.tm-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-md) 0;
    font-size: 0.93rem;
}

.tm-table th {
    background: var(--color-primary);
    color: #fff;
    padding: 0.6rem 1rem;
    text-align: left;
    font-weight: 600;
}

.tm-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #e0ece5;
    vertical-align: top;
    color: #444;
}

.tm-table tr:nth-child(even) td {
    background: #f4f7f5;
}

.tm-table__high { color: #1a5632; font-weight: 700; }
.tm-table__med  { color: #7a5e00; font-weight: 600; }
.tm-table__low  { color: #c0392b; font-weight: 600; }

/* ── List ─────────────────────────────────────────────── */
.tm-list {
    padding-left: 1.4rem;
    line-height: 2;
    color: #444;
    font-size: 0.97rem;
}

.tm-list li {
    margin-bottom: 0.3rem;
}

/* ── CTA ──────────────────────────────────────────────── */
.tm-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, #0d3b66 0%, #1a5632 100%);
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.tm-cta__text {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.tm-cta__btn {
    background: var(--color-accent, #e8a838);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}

.tm-cta__btn:hover {
    background: #c48820;
}

/* ── Images ───────────────────────────────────────────── */
.tm-img-right {
    float: right;
    margin: 0 0 var(--spacing-lg) var(--spacing-xl);
    width: 42%;
    max-width: 320px;
}

.tm-img-left {
    float: left;
    margin: 0 var(--spacing-xl) var(--spacing-lg) 0;
    width: 42%;
    max-width: 320px;
}

.tm-img-right img,
.tm-img-left img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 1px solid #dde8e2;
    display: block;
}

.tm-img-caption {
    font-size: 0.78rem;
    color: #666;
    text-align: center;
    margin-top: 0.4rem;
    font-style: italic;
    line-height: 1.4;
}

.tm-clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .tm-hero h1 { font-size: 1.6rem; }
    .tm-hero__lead { font-size: 1rem; }
    .tm-content__inner { padding: 0 var(--spacing-md); }
    .tm-step { flex-direction: column; gap: var(--spacing-sm); }
    .tm-table { font-size: 0.82rem; }
    .tm-table th, .tm-table td { padding: 0.5rem 0.6rem; }
    .tm-cta { flex-direction: column; text-align: center; }
    .tm-img-right, .tm-img-left {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: var(--spacing-md) 0;
    }
}
