/* TripTuner website portfolio: each site we've built, shown as a looping screen recording.
   .web-reel-media is shared with the shop's site-design cards; the grid and card rules below are TripTuner's. */
.trip-web-preview>video{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;background:#080b08}
.web-reel-media{position:relative;border:1px solid #b4ce9d2e;border-radius:7px;overflow:hidden;background:#0b0f0b;aspect-ratio:16/9;box-shadow:0 20px 60px #0007;transition:transform .5s cubic-bezier(.2,.7,.2,1),border-color .3s}
.web-reel-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.trip-web-copy .web-own{margin:-8px 0 22px;font-size:.72rem;letter-spacing:.08em;line-height:1.7;color:#cceba9}
.trip-web-copy .web-own a{color:#e6f6d8;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c5eba466}
.trip-web-copy .web-own a:hover,.trip-web-copy .web-own a:focus-visible{color:#fff;text-decoration-color:#c5eba4}

/* Twelve websites: 4 a row on desktop, 3 at mid widths, 2 on tablets, compact rows on phones. */
.web-reels{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px 22px;width:100%;margin:56px 0 0}
.web-reels .web-reel{display:flex;flex-direction:column;gap:8px;color:inherit;text-decoration:none;min-width:0;border-radius:8px;outline-offset:6px}
.web-reels .web-reel-media{margin-bottom:6px;box-shadow:0 16px 44px #0006}
.web-reels .web-reel-kind{font-size:9px;letter-spacing:.14em;color:var(--muted,#9aa89a)}
.web-reels .web-reel>strong{font-size:clamp(15px,1.15vw,19px);line-height:1.15;letter-spacing:.03em}
.web-reels .web-reel-line{display:-webkit-box;flex:1;margin:0;font-size:11.5px;line-height:1.55;color:#aab8a9;min-height:3.1em;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.web-reels .web-reel>small{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.12em;color:#bcd3c5;transition:color .25s}
.web-reels .web-reel>small b{font-weight:400;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.web-reels .web-reel:hover .web-reel-media,.web-reels .web-reel:focus-visible .web-reel-media{transform:translateY(-4px);border-color:#c5eba488}
.web-reels .web-reel:hover>small,.web-reels .web-reel:focus-visible>small{color:#e6f6d8}
.web-reels .web-reel:hover>small b,.web-reels .web-reel:focus-visible>small b{transform:translateX(4px)}
.web-reels .web-reel:focus-visible{outline:1px solid #c5eba4}
@media(max-width:1099px){.web-reels{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:859px){.web-reels{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 20px;margin-top:40px}}
@media(max-width:559px){
 .web-reels{grid-template-columns:1fr;gap:14px;margin-top:30px}
 .web-reels .web-reel{display:grid;grid-template-columns:44% 1fr;grid-template-rows:auto auto 1fr auto;column-gap:14px;row-gap:4px;align-items:start;padding-bottom:14px;border-bottom:1px solid #b4ce9d1f;border-radius:0}
 .web-reels .web-reel-media{grid-row:1/5;margin:0;box-shadow:none}
 .web-reels .web-reel>strong{font-size:15px}
 .web-reels .web-reel-line{font-size:12px;min-height:0;-webkit-line-clamp:3}
 .web-reels .web-reel:hover .web-reel-media,.web-reels .web-reel:focus-visible .web-reel-media{transform:none}
}
/* The featured card ends level with the copy column, and the grid follows ~64 px below both (no tall gap). */
@media(min-width:701px){
 body[data-page=triptuner] main>.trip-web-case.trip-web-case{row-gap:0}
 .trip-web-case>.trip-web-preview{align-self:end}
 .web-reels{margin-top:64px}
}
