﻿/* Theme-5 only: independent category cards, no changes to existing banners. */
.theme5 .t5-featured-categories { display:block; position:relative; min-width:0; width:100%; margin:24px 0; background:#fff; }
.theme5 .t5-featured-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.theme5 .t5-featured-heading h2 { margin:0; padding-left:15px; border-left:5px solid #17395c; color:#102343; font-size:24px; font-weight:700; line-height:1.3; }
.theme5 .t5-featured-heading p { margin:8px 0 0 20px; color:#626b78; font-size:14px; }
.theme5 .t5-featured-controls { display:flex; flex-shrink:0; gap:8px; }
.theme5 .t5-featured-controls[hidden] { display:none !important; }
.theme5 .t5-featured-controls button { display:grid; place-items:center; width:34px; height:34px; padding:0; border:1px solid #e1e5ea; border-radius:6px; background:#fff; color:#17395c; font-size:26px; line-height:1; cursor:pointer; }
.theme5 .t5-featured-controls button:disabled { opacity:.35; cursor:default; }
.theme5 .t5-featured-controls button:hover:not(:disabled) { background:#f4f5f7; }
.theme5 .t5-featured-track { display:flex; gap:16px; width:100%; min-width:0; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.theme5 .t5-featured-track::-webkit-scrollbar { display:none; }
.theme5 .t5-featured-card { display:block; flex:0 0 calc((100% - 48px) / 4); min-width:0; aspect-ratio:3 / 2; border-radius:10px; overflow:hidden; background:#fff; scroll-snap-align:start; }
.theme5 .t5-featured-card img { display:block; width:100%; height:100%; object-fit:contain; }
.theme5 .t5-featured-card:focus-visible, .theme5 .t5-featured-track:focus-visible, .theme5 .t5-featured-controls button:focus-visible { outline:2px solid #17395c; outline-offset:-2px; }
@media (max-width:991px) { .theme5 .t5-featured-card { flex-basis:calc((100% - 16px) / 2); } }
@media (max-width:575px) { .theme5 .t5-featured-card { flex-basis:100%; } .theme5 .t5-featured-heading h2 { font-size:19px; } .theme5 .t5-featured-heading p { font-size:12px; } }
