/* ===================================
   Home page — brand colour roles
   BLUE  (#0174CD) = information: prices, View All links, rating & trek
                     badges, Why Choose icons, open FAQ, section labels
   GREEN (#019524) = action & positive: Plan Your Trip, Join This Group,
                     Explore Tours, map pins (they take you somewhere),
                     guaranteed-departure badge, tour badge
   Loaded only by core/home.html — remove that <link> to revert.
   =================================== */
:root {
    --hm-blue: var(--secondary-color, #0174CD);
    --hm-blue-dark: var(--secondary-dark, #045A9E);
    --hm-blue-soft: #E8F2FC;
    --hm-blue-light: #9CCBF2;
    --hm-green: var(--primary-color, #019524);
    --hm-navy: #123A5C;
}

/* ----- Top Experiences cards ----- */
.experience-price { color: var(--hm-blue); }
.view-all-link { color: var(--hm-blue); }
.view-all-link:hover { color: var(--hm-blue-dark); }
/* Rating badge was a generic indigo — now the logo blue */
.rating-badge { background: var(--hm-blue); }
/* Trek vs tour: blue and green instead of green and orange */
.package-type-badge.type-trek { background: var(--hm-blue); }
.package-type-badge.type-tour { background: var(--hm-green); }

/* ----- Why Choose Us ----- */
.feature-icon-box { background: linear-gradient(135deg, var(--hm-blue), var(--hm-blue-dark)); }

/* ----- Testimonials ("postcards") — logo blue → navy instead of an
   unrelated mid-blue; gold accents → light brand blue ----- */
.postcard-wall { background: linear-gradient(135deg, var(--hm-blue) 0%, var(--hm-blue-dark) 50%, var(--hm-navy) 100%); }
.postcard-eyebrow,
.cta-eyebrow { color: var(--hm-blue-light); }
.postcard-wall-line { background: repeating-linear-gradient(90deg, rgba(156, 203, 242, 0.45) 0 10px, transparent 10px 18px); }

/* ----- Instagram & blog ----- */
.insta-section .btn-outline-primary { color: var(--hm-blue); border-color: var(--hm-blue); }
.insta-section .btn-outline-primary:hover { background: var(--hm-blue); border-color: var(--hm-blue); color: #fff; }
.blog-teaser-category { background: var(--hm-blue); }

/* ----- FAQ ----- */
.faq-accordion .accordion-button:not(.collapsed) { background: var(--hm-blue-soft); color: var(--hm-blue-dark); }
.faq-accordion .accordion-button:focus { border-color: var(--hm-blue); }

/* ----- Space between the CTA banner and the footer; wider FAQ ----- */
.faq-accordion { max-width: 1140px; }

/* ----- CTA card: same width as the FAQ, white space before the footer ----- */
.cta-wrap { padding: 16px 0 40px; background: #fff; }
.cta-card {
    position: relative;
    max-width: 1140px; margin: 0 auto;
    border-radius: 24px; overflow: hidden;
    padding: 64px 56px;
    background:
        linear-gradient(100deg, rgba(16, 26, 52, 0.97) 0%, rgba(16, 26, 52, 0.88) 42%, rgba(1, 116, 205, 0.35) 100%),
        var(--cta-img) center 40% / cover no-repeat,
        #101A34;
    box-shadow: 0 10px 26px rgba(16, 26, 52, 0.14);
}
.cta-card::after {   /* brand accent along the bottom edge */
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: linear-gradient(90deg, var(--hm-blue), var(--hm-green));
}
.cta-card-body { position: relative; max-width: 580px; text-align: left; }
.cta-card .cta-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--hm-blue-light); margin-bottom: 14px;
}
.cta-card .cta-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--hm-green); border-radius: 2px; }
.cta-card h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 14px; }
.cta-card p { color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; line-height: 1.65; margin: 0 0 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-btn {
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 50px; padding: 0 26px; border-radius: 12px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cta-btn-primary { background: var(--hm-green); color: #fff; }
.cta-btn-primary:hover { background: var(--primary-dark, #017A1D); color: #fff; box-shadow: 0 10px 24px rgba(1, 149, 36, 0.35); }
.cta-btn-ghost { background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.4); color: #fff; }
.cta-btn-ghost:hover { background: #fff; border-color: #fff; color: #101A34; }
.cta-btn:focus-visible { outline: 2px solid var(--hm-blue-light); outline-offset: 3px; }
.cta-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; }
.cta-points li { color: rgba(255, 255, 255, 0.78); font-size: 0.86rem; display: inline-flex; align-items: center; gap: 8px; }
.cta-points i { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(1, 149, 36, 0.25); color: #6EE08A; font-size: 0.6rem; }
@media (max-width: 767.98px) {
    .cta-wrap { padding: 8px 0 56px; }
    .cta-card { padding: 40px 24px; border-radius: 18px;
        background:
            linear-gradient(180deg, rgba(16, 26, 52, 0.86) 0%, rgba(16, 26, 52, 0.95) 100%),
            var(--cta-img) center / cover no-repeat, #101A34; }
    .cta-btn { flex: 1 1 100%; justify-content: center; }
}

/* ===== Top 5 Tours — #1 large on the left, #2–#5 as a 2×2 grid ===== */
.top-tours { padding: 72px 0; background: linear-gradient(180deg, #F3F8FD 0%, #FFFFFF 100%); }
.top-tours-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.top-tours-head .section-title, .top-tours-head .section-subtitle { text-align: left; }
.top-tours-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-blue); margin-bottom: 6px; }
.top-tours-eyebrow i { color: #F59E0B; }
.top-tours-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid #D6E4F3; color: var(--hm-blue-dark); font-weight: 700; font-size: .9rem; text-decoration: none; background: #fff; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.top-tours-all:hover { border-color: var(--hm-blue); background: var(--hm-blue); color: #fff; }
.top-tours-all i { font-size: .75rem; }

.top-tours-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.tt-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #E8EDF3; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 16px rgba(16, 26, 52, .06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; min-width: 0; }
.tt-card:hover { color: inherit; transform: translateY(-3px); border-color: #CFE2F5; box-shadow: 0 16px 36px rgba(1, 116, 205, .14); }
.tt-card:focus-visible { outline: 3px solid var(--hm-blue); outline-offset: 3px; }
.tt-card.is-first { grid-row: 1 / 3; }

.tt-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1E2F4D; flex-shrink: 0; }
.tt-card.is-first .tt-img { aspect-ratio: auto; flex: 1 1 auto; min-height: 260px; }
.tt-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.tt-card:hover .tt-img img { transform: scale(1.05); }
.tt-rank { position: absolute; top: 12px; left: 12px; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(16, 26, 52, .82); color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .02em; backdrop-filter: blur(4px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.tt-card.is-first .tt-rank { min-width: 56px; height: 56px; font-size: 1.4rem; border-radius: 16px; background: linear-gradient(135deg, #F59E0B, #D97706); }
.tt-save { position: absolute; top: 14px; right: 12px; padding: 4px 10px; border-radius: 999px; background: var(--hm-green); color: #fff; font-size: .72rem; font-weight: 700; }

.tt-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.tt-card.is-first .tt-body { padding: 18px 20px 20px; gap: 6px; }
.tt-place { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hm-blue); }
.tt-title { font-size: .95rem; font-weight: 800; color: #1E2F4D; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tt-card.is-first .tt-title { font-size: 1.3rem; }
.tt-desc { font-size: .88rem; color: #6B7280; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tt-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: #4B5563; font-weight: 600; }
.tt-meta i { color: var(--hm-blue); margin-right: 3px; }
.tt-meta .tt-star { color: #F59E0B; }
.tt-meta small { color: #8A94A6; font-weight: 500; }
.tt-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 10px; border-top: 1px dashed #E2E8F0; }
.tt-price { display: flex; flex-direction: column; line-height: 1.2; }
.tt-price small { font-size: .68rem; color: #8A94A6; }
.tt-price small s { margin-left: 3px; }
.tt-price strong { font-size: 1.1rem; font-weight: 800; color: var(--hm-green); }
.tt-card.is-first .tt-price strong { font-size: 1.45rem; }
.tt-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; background: #101A34; color: #fff; font-size: .82rem; font-weight: 700; white-space: nowrap; transition: background-color .2s ease; }
.tt-go i { color: #34D399; font-size: .72rem; transition: transform .2s ease; }
.tt-card.is-first .tt-go { height: 44px; padding: 0 18px; font-size: .9rem; }
.tt-card:hover .tt-go { background: #1E2F4D; }
.tt-card:hover .tt-go i { transform: translateX(3px); }

@media (max-width: 991.98px) {
    .top-tours-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .tt-card.is-first { grid-column: 1 / 3; grid-row: auto; }
    .tt-card.is-first .tt-img { aspect-ratio: 16 / 8; flex: none; min-height: 0; }
}
@media (max-width: 575.98px) {
    .top-tours { padding: 48px 0; }
    .top-tours-grid { grid-template-columns: 1fr; gap: 14px; }
    .tt-card.is-first { grid-column: auto; }
    .tt-card:not(.is-first) { flex-direction: row; }
    .tt-card:not(.is-first) .tt-img { width: 120px; aspect-ratio: auto; }
    .tt-card:not(.is-first) .tt-rank { top: 8px; left: 8px; min-width: 32px; height: 32px; font-size: .85rem; border-radius: 10px; }
    .tt-card:not(.is-first) .tt-save { display: none; }
    .top-tours-all { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .tt-card, .tt-img img, .tt-go i { transition: none; }
    .tt-card:hover { transform: none; }
}
@media (min-width: 992px) {
    .tt-card:not(.is-first) .tt-img { aspect-ratio: 2 / 1; }
    .top-tours-grid { gap: 16px; }
}

/* ----- Top 5 Treks: mirrored — four cards first, the big #1 last on the right ----- */
.top-tours.is-mirror { background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FD 100%); }
@media (min-width: 992px) {
    .top-tours.is-mirror .top-tours-grid { grid-template-columns: 1fr 1fr 1.15fr; }
    .top-tours.is-mirror .tt-card.is-first { grid-column: 3; grid-row: 1 / 3; }
    .top-tours.is-mirror .tt-card:nth-child(2) { grid-column: 1; grid-row: 1; }
    .top-tours.is-mirror .tt-card:nth-child(3) { grid-column: 2; grid-row: 1; }
    .top-tours.is-mirror .tt-card:nth-child(4) { grid-column: 1; grid-row: 2; }
    .top-tours.is-mirror .tt-card:nth-child(5) { grid-column: 2; grid-row: 2; }
}

/* ----- Top 5 Tours / Treks: rank numbers in the logo blue (everything else unchanged) ----- */
.tt-rank,
.tt-card.is-first .tt-rank { background: var(--hm-blue); box-shadow: 0 6px 16px rgba(1, 116, 205, .35); backdrop-filter: none; }

/* ----- Top 5: location, days and rating on one line; taller photos ----- */
.tt-top { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.tt-top .tt-meta { gap: 12px; font-size: .74rem; }
.tt-card.is-first .tt-top .tt-meta { font-size: .82rem; }
@media (min-width: 992px) {
    .tt-card:not(.is-first) .tt-img { aspect-ratio: 16 / 10; }
}
@media (max-width: 991.98px) {
    .tt-card.is-first .tt-img { aspect-ratio: 16 / 9; }
    .tt-card:not(.is-first) .tt-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 575.98px) {
    .tt-card:not(.is-first) .tt-img { width: 140px; aspect-ratio: auto; }
}

/* ===== Top 5 Tours / Treks — v2: photo-led cards, equal row heights =====
   Previous version: .claude/backups/top5-v2/ */
.t5 { padding: 72px 0; background: #fff; }
.t5.is-mirror { background: #F7FAFD; }
.t5-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.t5-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-blue); margin-bottom: 6px; }
.t5-title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; color: #101A34; margin: 0 0 6px; letter-spacing: -.01em; }
.t5-sub { margin: 0; color: #6B7280; font-size: 1rem; }
.t5-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid #D6E4F3; background: #fff; color: var(--hm-blue-dark); font-weight: 700; font-size: .9rem; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.t5-all:hover { background: var(--hm-blue); border-color: var(--hm-blue); color: #fff; }
.t5-all i { font-size: .75rem; }

.t5-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: 270px; gap: 16px; }
.t5-card { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #1E2F4D; color: #fff; text-decoration: none; isolation: isolate; box-shadow: 0 8px 24px rgba(16, 26, 52, .10); transition: transform .3s ease, box-shadow .3s ease; }
.t5-card:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 20px 44px rgba(16, 26, 52, .20); }
.t5-card:focus-visible { outline: 3px solid var(--hm-blue); outline-offset: 3px; }
.t5-card.is-big { grid-row: span 2; }
.t5-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.t5-card:hover img { transform: scale(1.06); }
.t5-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 40, .28) 0%, rgba(10, 18, 40, 0) 28%, rgba(10, 18, 40, .15) 50%, rgba(10, 18, 40, .88) 100%); }

.t5-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.t5-save { padding: 4px 10px; border-radius: 999px; background: var(--hm-green); color: #fff; font-size: .72rem; font-weight: 700; }
.t5-rating { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: #101A34; font-size: .74rem; font-weight: 700; }
.t5-rating i { color: #F59E0B; font-size: .66rem; }

.t5-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.t5-card.is-big .t5-info { padding: 26px; gap: 8px; }
.t5-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.85); }
.t5-meta i { color: #8FD3A0; margin-right: 4px; }
.t5-name { font-size: 1.08rem; font-weight: 800; line-height: 1.3; text-shadow: 0 2px 10px rgba(0,0,0,.35); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t5-card.is-big .t5-name { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.t5-desc { font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 520px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t5-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); }
.t5-price { display: flex; flex-direction: column; line-height: 1.15; }
.t5-price small { font-size: .7rem; color: rgba(255,255,255,.7); }
.t5-price small s { margin-left: 3px; }
.t5-price strong { font-size: 1.2rem; font-weight: 800; color: #fff; }
.t5-card.is-big .t5-price strong { font-size: 1.6rem; }
.t5-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 38px; height: 38px; padding: 0 11px; border-radius: 12px; background: #fff; color: #101A34; font-weight: 700; font-size: .85rem; transition: background-color .2s ease, color .2s ease; }
.t5-go i { color: var(--hm-green); font-size: .78rem; transition: transform .2s ease, color .2s ease; }
.t5-card.is-big .t5-go { height: 46px; padding: 0 20px; font-size: .92rem; }
.t5-card:hover .t5-go { background: var(--hm-green); color: #fff; }
.t5-card:hover .t5-go i { color: #fff; transform: translateX(3px); }

/* Treks: mirror — four cards first, the big card on the right */
@media (min-width: 992px) {
    .t5.is-mirror .t5-grid { grid-template-columns: 1fr 1fr 1.25fr; }
    .t5.is-mirror .t5-card.is-big { grid-column: 3; grid-row: 1 / span 2; }
    .t5.is-mirror .t5-card:nth-child(2) { grid-column: 1; grid-row: 1; }
    .t5.is-mirror .t5-card:nth-child(3) { grid-column: 2; grid-row: 1; }
    .t5.is-mirror .t5-card:nth-child(4) { grid-column: 1; grid-row: 2; }
    .t5.is-mirror .t5-card:nth-child(5) { grid-column: 2; grid-row: 2; }
}
@media (max-width: 991.98px) {
    .t5-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
    .t5-card.is-big { grid-column: 1 / -1; grid-row: span 1; min-height: 340px; }
}
@media (max-width: 575.98px) {
    .t5 { padding: 52px 0; }
    .t5-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 14px; }
    .t5-card.is-big { min-height: 360px; }
    .t5-card.is-big .t5-info { padding: 20px; }
    .t5-all { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .t5-card, .t5-card img, .t5-go i { transition: none; }
    .t5-card:hover { transform: none; }
    .t5-card:hover img { transform: none; }
}
/* Tablet / phone: rows size to the cards, so the big card can't overlap the next one */
@media (max-width: 991.98px) {
    .t5-grid { grid-auto-rows: auto; }
    .t5-card { height: 250px; }
    .t5-card.is-big { height: 340px; min-height: 0; }
}
@media (max-width: 575.98px) {
    .t5-card { height: 240px; }
    .t5-card.is-big { height: 380px; }
}

/* ===== Top 5 Treks — dark band with a compact list beside the big card =====
   (Top 5 Tours keeps the light photo grid, so the two read differently) */
.t5.is-list { position: relative; overflow: hidden; background: linear-gradient(135deg, #0E1730 0%, #14284A 55%, #0F3D3A 120%); color: #fff; }
.t5.is-list::before {   /* faint contour lines, like the CTA card */
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.06' stroke-width='1.2'%3E%3Cpath d='M0 80 Q 150 20, 300 70 T 600 50'/%3E%3Cpath d='M0 150 Q 140 90, 290 140 T 600 120'/%3E%3Cpath d='M0 220 Q 160 160, 320 210 T 600 190'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 600px 300px;
}
.t5.is-list .container { position: relative; }
.t5.is-list .t5-title { color: #fff; }
.t5.is-list .t5-sub { color: rgba(255,255,255,.72); }
.t5.is-list .t5-eyebrow { color: #8FD3A0; }
.t5.is-list .t5-all { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.t5.is-list .t5-all:hover { background: #fff; border-color: #fff; color: #101A34; }

.t5-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: stretch; }
.t5-split .t5-card.is-big { min-height: 520px; grid-row: auto; }
.t5-list { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 6px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.t5-list li { flex: 1; display: flex; }
.t5-row { flex: 1; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; color: #fff; text-decoration: none; transition: background-color .2s ease; }
.t5-row:hover { background: rgba(255,255,255,.08); color: #fff; }
.t5-row:focus-visible { outline: 2px solid #8FD3A0; outline-offset: 2px; }
.t5-thumb { width: 108px; height: 84px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: #1E2F4D; }
.t5-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.t5-row:hover .t5-thumb img { transform: scale(1.08); }
.t5-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.t5-row-meta { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: .74rem; font-weight: 600; color: rgba(255,255,255,.7); }
.t5-row-meta i { color: #8FD3A0; margin-right: 3px; }
.t5-row-meta .t5-star { color: #F5B83D; }
.t5-row-name { font-size: 1rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t5-row-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; white-space: nowrap; }
.t5-row-price small { font-size: .66rem; color: rgba(255,255,255,.6); }
.t5-row-price strong { font-size: 1.05rem; font-weight: 800; color: #fff; }
.t5-row-price em { font-style: normal; margin-top: 3px; font-size: .64rem; font-weight: 700; color: #8FD3A0; }
.t5-row-go { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; font-size: .74rem; transition: background-color .2s ease, transform .2s ease; }
.t5-row:hover .t5-row-go { background: var(--hm-green); transform: translateX(2px); }

@media (max-width: 991.98px) {
    .t5-split { grid-template-columns: 1fr; }
    .t5-split .t5-card.is-big { order: -1; min-height: 0; height: 360px; }
}
@media (max-width: 575.98px) {
    .t5-thumb { width: 84px; height: 72px; }
    .t5-row { gap: 10px; padding: 8px; }
    .t5-row-go { display: none; }
    .t5-row-name { font-size: .92rem; }
}
/* list layout: list on the left, big card on the right (overrides the mirror grid rules) */
@media (min-width: 992px) {
    .t5.is-list .t5-list { grid-column: 1; grid-row: 1; }
    .t5.is-list .t5-split .t5-card.is-big { grid-column: 2; grid-row: 1; }
}
@media (max-width: 575.98px) {
    .t5-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "thumb body" "thumb price"; column-gap: 12px; row-gap: 4px; align-items: center; }
    .t5-thumb { grid-area: thumb; }
    .t5-row-body { grid-area: body; }
    .t5-row-price { grid-area: price; flex-direction: row; align-items: baseline; gap: 6px; }
    .t5-row-price em { margin-top: 0; }
}

/* ----- Top 5 photo cards: lighter overlay — fewer icons, smaller text ----- */
.t5-meta { gap: 0; font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.78); }
.t5-meta i { display: none; }
.t5-meta > span + span::before { content: '·'; margin: 0 6px; opacity: .7; }
.t5-name { font-size: .98rem; font-weight: 700; }
.t5-card.is-big .t5-name { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.t5-desc { display: none !important; }
.t5-info { gap: 4px; padding: 14px 16px; }
.t5-card.is-big .t5-info { padding: 20px 22px; gap: 6px; }
.t5-foot { margin-top: 4px; padding-top: 8px; border-top-color: rgba(255,255,255,.14); }
.t5-price small { font-size: .64rem; }
.t5-price strong { font-size: 1.02rem; }
.t5-card.is-big .t5-price strong { font-size: 1.25rem; }
.t5-go { min-width: 32px; height: 32px; padding: 0 9px; border-radius: 10px; font-size: .8rem; }
.t5-card.is-big .t5-go { height: 38px; padding: 0 14px; font-size: .84rem; }
.t5-tags { top: 12px; left: 12px; right: 12px; }
.t5-save, .t5-rating { padding: 3px 8px; font-size: .66rem; }
.t5-rating i { font-size: .58rem; }
.t5-shade { background: linear-gradient(180deg, rgba(10,18,40,.22) 0%, rgba(10,18,40,0) 26%, rgba(10,18,40,0) 55%, rgba(10,18,40,.78) 100%); }
