/*region home main banner*/

/* Hide news ticker / marquee section completely */
.content-top { display: none !important; }

.search-icon-mobile {
    display: none;
}

.common-home {
    background: #fafafa85;
}
.common-home .after-header {
    position: relative;
    margin-top: -1px;
}

/* ---- Hero row: wide main slider + fixed-width side promo card ----
   Flex layout (cartup.com pattern) instead of the old Bootstrap col-md-9/
   col-md-3 grid, which let the side card's content overflow its box. */
.tw-hero-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.tw-hero-main {
    flex: 1 1 0;
    min-width: 0;
}
.tw-hero-main .banner-container {
    background: #0b122b;
    overflow: hidden;
    aspect-ratio: 1400 / 543;
    height: auto;
}
.main-home-banner,
.banner-slider,
.mySlides.banner-image,
.mySlides.banner-image a {
    display: block;
    height: 100%;
}
.banner-slider { position: relative; }
.main-home-banner .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Side promo card: fixed width, only ever shown on real desktop viewports
   (matches cartup.com, which hides its equivalent panel below xl/1280px).
   Text is live HTML over a background photo — never clipped by image
   aspect-ratio mismatches the way a single flattened image could be. */
.tw-hero-side { display: none; }
@media (min-width: 1200px) {
    .tw-hero-side {
        display: block;
        flex: 0 0 320px;
    }
}
.tw-hero-side-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
    background: #0b122b;
}
.tw-hero-side-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tw-hero-side-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(4,20,58,.92) 0%, rgba(10,42,120,.68) 55%, rgba(10,42,120,.3) 100%);
    color: #fff;
}
.tw-hero-side-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: #64c4ff;
    letter-spacing: .05em;
    margin-bottom: 8px;
}
.tw-hero-side-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 10px;
}
.tw-hero-side-desc {
    font-size: 13px;
    color: #e6eeff;
    opacity: .92;
    line-height: 1.4;
    max-width: 210px;
    margin-bottom: 18px;
}
.tw-hero-side-cta {
    display: inline-block;
    background: #40c4ff;
    color: #04123a;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .02em;
    padding: 10px 20px;
    border-radius: 24px;
}

@media (max-width: 767px) {
    .tw-hero-main .banner-container { aspect-ratio: 16 / 9; }
}
.slider-dot {
    position: absolute;
    z-index: 1;
    bottom: 5px;
    left: 0;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    cursor: pointer;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 2s ease;
}

.dot.active {
    background: #D40015;
}
/*endregion*/


/* ═══════════════════════════════════════════
   Techwave 3-up brand spotlight strip
   (matches globalbrand.com.bd top ad strip)
   ═══════════════════════════════════════════ */
.tw-strip-3up {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 22px 0;
}
.tw-strip-card {
    display: block;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 2px 10px rgba(11, 34, 71, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.tw-strip-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.tw-strip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(11, 34, 71, .16);
}
@media (max-width: 991px) {
    .tw-strip-3up { gap: 10px; }
}
@media (max-width: 767px) {
    .tw-strip-3up { grid-template-columns: 1fr; gap: 12px; }
}


/*region home grid banner*/
.collage.home-grid {
    padding: 20px 0;
    display: table;
}
.home-right-banner-mobile {
    display: none;
}
/*endregion*/


/*region product-category (icon grid — globalbrand.com.bd style) */
.tw-cat-section {
    margin: 20px 0 10px;
    background: #fff;
  
    border-radius: 4px;
    padding: 18px 0 4px;
}
.tw-cat-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #0B2247;
    margin-bottom: 14px;
    letter-spacing: .01em;
}
.tw-cat-grid {
    display: grid;
    /* minmax(0,1fr), not plain 1fr: grid tracks default to min-width:auto, so a
       long label (e.g. "Desktops & PCs") forces its column past its 1fr share
       and pushes the whole grid wider than the viewport on mobile. */
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
}
.tw-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 8px 14px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-decoration: none;
    background: #fff;
    transition: background .15s ease;
    min-height: 90px;
    /* CSS Grid tracks default to min-width:auto, so long labels (e.g. "Desktops
       & PCs", "Power & UPS") force the column wider than its 1fr share and push
       the grid past the viewport on mobile. Allow it to shrink and wrap instead. */
    min-width: 0;
}
.tw-cat-item:hover {
    background: #f8faff;
    text-decoration: none;
}
.tw-cat-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.tw-cat-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}
.tw-cat-name {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: break-word;
}
.tw-cat-item:hover .tw-cat-name { color: #0B2247; }
@media (max-width: 991px) {
    .tw-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .tw-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tw-cat-title { font-size: 15px; }
}
/*endregion*/

/*region additional service info*/
.all-service-info {
    background: #EFEFEF;
    display: table;
    width: 100%;
    border: 2px solid #BDBDBD;
    padding: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.service-info img {
    float: left;
    width: 40px;
    height: auto;
}

.service-info .info {
    margin-left: 50px;
}
.service-info .none {
    border-right: none;
}
.info h4 {
    margin-bottom: 0;
}
.search-box {
    display: none;
}
.single-product-item .price-info {
    margin: 10px 0;
}
.sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #0B2851;
    z-index: 999;
    box-shadow: 0 -4px 4px rgb(0 0 0 / 20%), 0 -1px 0 rgb(255 255 255 / 20%);
    flex: 1 1 auto;
    width: 100%;
    padding: 10px 0;
}
.sticky-footer ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sticky-footer ul li {
    flex: 0 0 20%;
    max-width: 20%;
}
.sticky-footer ul li a {
    text-align: center;
}
.sticky-footer ul li a i,
.sticky-footer ul li a span {
    display: block;
}
.sticky-footer ul li a span.material-symbols-outlined {
    font-size: 18px;
    color: #fff;
}
.sticky-footer ul li a span {
    font-size: 10px;
    font-weight: 500;
    color: white;
    margin-top: 3px;
}
.information-information .main_content h2 {
    font-size: 18px;
    color: #01132d;
    line-height: 30px;
}

.information-information .main_content h1 {
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 700;
    color: #01132d;
    line-height: 35px;
}

.information-information .main_content, .information-information .main_content p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #01132d;
    line-height: 26px;
}

.information-information .main_content h3,.information-information .main_content h4 {
    font-size: 14px;
    color: #01132d;
    line-height: 30px;
}
/*endregion*/

@media (max-width: 767px) {
    .service-info .info {
        border-right: 0;
    }
    .service-info img {
        width: 24px;
    }


    .contact-access .contact-item a {
        font-size: 16px;
    }

    .contact-access .contact-item .material-symbols-outlined {
        font-size: 18px;
    }

    .facilities {
        margin-top: 20px;
    }


}
@media (max-width: 992px) {
    section.footer-btm {
        text-align: center;
    }
    .footer-widget ul li {
        width: auto;
    }
    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }
    .socila-links {
        text-align: center;
        margin-top: 10px;
    }

    .contact-access {
        justify-content: center;
    }
    .home-right-banner-desktop {
        display: none;
    }
    .home-right-banner-mobile {
        display: block;
    }
    .search-icon-mobile {
        display: block;
        font-size: 16px;
        color: white;
        position: absolute;
        margin: 0 6px 0 10px;
        top: 50%;
        right: -5px;
        left: auto;
        transform: translateY(-50%);
    }
    .search-icon-mobile span {
        font-size: 20px;
        transform: translateY(5px);
    }
    .search-box {
        position: absolute;
        top: 0;
        left: 50%;
        width: 110%;
        background-color: #fff;
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%);
    }
    .search-box.search-active {
        top: 49px;
        display: block;
        opacity: 1;
        visibility: visible;
        z-index: 99999;
        box-shadow: 0 5px 5px rgb(0 0 0 / 20%);

   }
    .seacrh-inner-box {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .seacrh-inner-box input[type="search"] {
        width: 100%;
        border: 1px solid transparent;
        padding: 13px 30px 13px 50px;
        height: auto;
        box-shadow: none;
    }
    .seacrh-inner-box button {
        position: absolute;
        top: 50%;
        left: 17px;
        transform: translateY(-50%);
        border: 0;
        background-color: #4b474700;
        color: gray;
    }
    .seacrh-inner-box button span {
        font-size: 20px;
        width: 20px;
        height: 20px;
        transform: translateY(4px);
    }
    .seacrh-inner-box input:focus,
    .seacrh-inner-box button:focus {
        outline: 0;
        box-shadow: none;
    }
    .sticky-footer {
        display: block;
    }
    .cart-btn {
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .search-box {
        width: 105%;
    }
    .header-top-content {
        margin: 0 20px;
    }
}

/* ═══════════════════════════════════════════
   Techwave Brands Section — "Explore Our Brands"
   White card grid, logo image + name, search bar
   ═══════════════════════════════════════════ */
.tw-brands-section {
    background: #fff;
    border-radius: 4px;
    margin: 0 0 16px;
    padding: 24px 0 20px;
}
.tw-brands-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 16px;
}
.tw-brands-title {
    font-size: 22px;
    font-weight: 700;
    color: #0B2247;
    margin: 0 0 10px;
}
.tw-brands-divider {
    width: 60px;
    height: 3px;
    background: #0a2a8c;
    border-radius: 2px;
    margin: 0 auto 16px;
}
.tw-brands-search-wrap { display: flex; justify-content: center; }
.tw-brands-search {
    min-width: 320px;
    max-width: 480px;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color .2s;
}
.tw-brands-search:focus { border-color: #0a2a8c; }

/* Brand grid — matches globalbrand.com.bd: dense grid of clean white logo tiles */
.tw-brands-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #e8ebf0;
    border-left: 1px solid #e8ebf0;
}
.tw-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border-right: 1px solid #e8ebf0;
    border-bottom: 1px solid #e8ebf0;
    text-decoration: none;
    background: #fff;
    transition: box-shadow .15s ease, transform .15s ease;
    aspect-ratio: 1 / 1;
}
.tw-brand-item:hover {
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(11, 34, 71, .12);
    z-index: 1;
    position: relative;
}
.tw-brand-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tw-brand-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform .15s ease;
}
.tw-brand-item:hover .tw-brand-img-wrap img { transform: scale(1.06); }
.tw-brand-name { display: none; }

/* View All button */
.tw-brands-footer {
    text-align: center;
    padding-top: 24px;
}
.tw-brands-view-all {
    display: inline-block;
    padding: 11px 36px;
    background: #0B2247;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background .15s ease;
    letter-spacing: .01em;
}
.tw-brands-view-all:hover { background: #0a2a8c; color: #fff; text-decoration: none; }

/* Responsive breakpoints */
@media (max-width: 1199px) { .tw-brands-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (max-width: 991px)  { .tw-brands-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .tw-brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tw-brands-search { min-width: 200px; } }
@media (max-width: 479px)  { .tw-brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ═══════════════════════════════════════════
   Techwave Product Cards — home featured module
   White card, royal-blue Buy Now, responsive 6-col grid
   Core card styles live in product.css (loads after this file).
   Only add overrides here that product.css doesn't cover.
   ═══════════════════════════════════════════ */
.product-module { margin: 8px 0 24px; }
.product-module .row.heading { margin-bottom: 4px; align-items: center; }
.product-module .row.heading h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0B2247;
    margin: 0;
    padding-bottom: 8px;
    position: relative;
    display: inline-block;
}
.product-module .row.heading h3::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #0a2a8c;
    border-radius: 2px;
    margin-top: 6px;
}
.product-module .row.heading .left { padding: 10px 0 6px; }
.product-module .see-all {
    font-size: 13px;
    color: #0a2a8c;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #0a2a8c;
    padding: 5px 14px;
    border-radius: 20px;
    transition: background .15s ease, color .15s ease;
}
.product-module .see-all:hover { background: #0a2a8c; color: #fff; text-decoration: none; }

/* Card hover shadow upgrade */
.product-wrap .product { transition: box-shadow .15s ease; border-radius: 8px; overflow: hidden; }
.product-wrap .product:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
/* Image zoom on hover */
.product-wrap .image img { transition: transform .2s ease; }
.product-wrap .product:hover .image img { transform: scale(1.04); }
/* Name link color */
.product .name a { color: #1a1a2e; }
.product .name a:hover { color: #0a2a8c; }
/* Price accent */
.product-listing .caption .price-wrap .price,
.product-listing .product-info .price-wrap .price { color: #0a2a8c; font-weight: 700; }
/* Buy Now button — rounded */
.product-listing .actions button.btn-cart {
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 9px 16px;
}
/* Compare link style */
.product-listing .actions button.btn-compare {
    color: #888;
    font-size: 12px;
}
.product-listing .actions button.btn-compare:hover { color: #0a2a8c; background: #fff; border-color: #fff; }

/* Promo banner strip */
.tw-promo-banner { margin: 22px 0; overflow: hidden; line-height: 0; box-shadow: 0 3px 14px rgba(11,34,71,.1); }
.tw-promo-banner a { display: block; }
.tw-promo-banner img { width: 100%; height: auto; display: block; }
@media (max-width: 767px) {
    .tw-promo-banner { margin: 16px 0; }
}

/* Promo auto-slider: pure-CSS crossfade, one image at a time (no JS needed) */
.tw-promo-slider { position: relative; width: 100%; aspect-ratio: 1400 / 160; max-height: 160px; overflow: hidden; background: #0b2247; }
.tw-promo-slider .tw-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; display: block;
    animation: twPromoFade 18s infinite;
}
.tw-promo-slider .tw-slide:nth-child(1) { animation-delay: 0s; }
.tw-promo-slider .tw-slide:nth-child(2) { animation-delay: 6s; }
.tw-promo-slider .tw-slide:nth-child(3) { animation-delay: 12s; }
@keyframes twPromoFade {
    0%   { opacity: 0; }
    3%   { opacity: 1; }
    30%  { opacity: 1; }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}
/* dots indicator */
.tw-promo-slider .tw-promo-dots { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; line-height: 0; z-index: 2; }
.tw-promo-slider .tw-promo-dots i { display: inline-block; width: 8px; height: 8px; margin: 0 4px; border-radius: 50%; background: rgba(255,255,255,.55); }
@media (max-width: 991px) {
    .tw-promo-slider { aspect-ratio: 1400 / 140; max-height: 130px; }
}
@media (max-width: 767px) {
    .tw-promo-slider { aspect-ratio: 1400 / 110; max-height: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    .tw-promo-slider .tw-slide { animation: none; }
    .tw-promo-slider .tw-slide:nth-child(1) { opacity: 1; }
}

/* ═══════════════════════════════════════════
   Techwave Footer — matches globalbrand.com.bd style
   Dark navy #0B1A3E, 4-column, top contact bar
   ═══════════════════════════════════════════ */
.tw-footer { background: #0B1A3E; color: #c8d6e8; font-size: 14px; }

/* Top bar */
.tw-footer-top {
    background: #091530;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 14px 0;
}
.tw-footer-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.tw-footer-top-call {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.tw-call-label {
    color: #f59e0b;
    font-weight: 700;
    font-size: 14px;
}
.tw-footer-top-call a {
    color: #e2e8f0;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tw-footer-top-call a:hover { color: #fff; }
.tw-call-icon { font-size: 16px; }

/* Social icons */
.tw-footer-social { display: flex; align-items: center; gap: 8px; }
.tw-soc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s;
    color: #fff;
}
.tw-soc:hover { opacity: .8; color: #fff; text-decoration: none; }
.tw-soc-fb  { background: #1877f2; }
.tw-soc-yt  { background: #ff0000; font-size: 11px; }
.tw-soc-in  { background: #0077b5; font-size: 11px; }
.tw-soc-ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); font-size: 11px; }
.tw-soc-x   { background: #000; font-size: 11px; }

/* Main body */
.tw-footer-body { padding: 44px 0 32px; }
.tw-footer-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px 40px;
}

/* Brand column */
.tw-footer-logo-wrap { display: inline-block; margin-bottom: 18px; }
.tw-footer-logo { max-width: 150px; height: auto; filter: brightness(0) invert(1); }
.tw-footer-addresses { margin-top: 4px; }
.tw-addr-block { margin-bottom: 14px; }
.tw-addr-block strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
}
.tw-addr-block p { color: #94adc8; font-size: 13px; margin: 0; line-height: 1.6; }

/* Column headings */
.tw-footer-heading {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,.1);
}

/* Link lists */
.tw-footer-links { list-style: none; padding: 0; margin: 0; }
.tw-footer-links li { margin-bottom: 9px; }
.tw-footer-links li a {
    color: #94adc8;
    font-size: 13px;
    text-decoration: none;
    transition: color .15s;
}
.tw-footer-links li a:hover { color: #fff; text-decoration: none; }

/* Payment badges (We Accept) */
.tw-footer-pay { margin-top: 20px; }
.tw-footer-pay-label {
    display: block;
    color: #94adc8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}
.tw-footer-pay-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.tw-footer-pay-icons img {
    height: 28px;
    width: auto;
    background: #fff;
    border-radius: 4px;
    padding: 3px 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

/* Bottom copyright bar */
.tw-footer-bottom {
    background: #060e22;
    padding: 14px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.07);
}
.tw-footer-bottom p { margin: 0; color: #64748b; font-size: 13px; }

/* Responsive */
@media (max-width: 991px) {
    .tw-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .tw-footer-cols { grid-template-columns: 1fr; }
    .tw-footer-top-inner { flex-direction: column; align-items: flex-start; }
}

/* Database-managed home banners. The image, title, description and link stay
   editable in System > Design > Banners while this layer keeps every size tidy. */
.main-home-banner .banner-image {
    position: relative;
    overflow: hidden;
}
.main-home-banner .tw-hero-banner-link {
    position: relative;
    display: block;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
.main-home-banner .tw-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 20, 58, .88) 0%, rgba(4, 20, 58, .54) 38%, rgba(4, 20, 58, .05) 72%);
}
.tw-hero-copy {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: clamp(24px, 5vw, 72px);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: min(46%, 530px);
    color: #fff;
}
.tw-hero-kicker {
    margin-bottom: 9px;
    color: #9edbff;
    font-size: clamp(10px, 1vw, 13px);
    font-weight: 800;
    letter-spacing: .13em;
}
.tw-hero-copy strong {
    color: #fff;
    font-size: clamp(22px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}
.tw-hero-copy small {
    margin-top: 12px;
    color: #e8f3ff;
    font-size: clamp(12px, 1.2vw, 16px);
    line-height: 1.5;
}
.tw-hero-copy em,
.tw-banner-copy em {
    margin-top: 18px;
    padding: 9px 18px;
    border-radius: 24px;
    background: #0a2a8c;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .02em;
}
.tw-hero-side .tw-banner-module {
    height: 100%;
}
.tw-side-banner .tw-banner-card,
.tw-side-banner .tw-banner-link {
    position: relative;
    display: block;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
}
.tw-side-banner .tw-banner-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tw-side-banner .tw-banner-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 20, 58, .94) 0%, rgba(10, 42, 140, .68) 60%, rgba(10, 42, 140, .12) 100%);
}
.tw-banner-copy {
    position: absolute;
    z-index: 1;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
}
.tw-banner-copy strong {
    color: #fff;
    font-size: clamp(18px, 1.8vw, 27px);
    font-weight: 800;
    line-height: 1.12;
}
.tw-banner-copy small {
    margin-top: 8px;
    color: #e8f3ff;
    font-size: 13px;
    line-height: 1.4;
}
.tw-banner-copy em { margin-top: 14px; }

.tw-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}
.tw-promo-grid .tw-banner-card,
.tw-promo-grid .tw-banner-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2.3 / 1;
}
.tw-promo-grid .tw-banner-media,
.tw-slim-banner .tw-banner-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.tw-promo-grid .tw-banner-shade,
.tw-slim-banner .tw-banner-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 20, 58, .88) 0%, rgba(4, 20, 58, .35) 58%, rgba(4, 20, 58, .04) 100%);
}
.tw-promo-grid .tw-banner-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
}
.tw-promo-grid .tw-banner-copy strong { font-size: clamp(16px, 1.35vw, 21px); }
.tw-promo-grid .tw-banner-copy small { font-size: 12px; }
.tw-promo-grid .tw-banner-copy em { margin-top: 11px; padding: 7px 13px; font-size: 11px; }
.tw-promo-grid .tw-banner-link:hover .tw-banner-media,
.tw-slim-banner .tw-banner-link:hover .tw-banner-media { transform: scale(1.04); }

.tw-slim-banner {
    margin: 22px 0;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(11, 34, 71, .1);
}
.tw-slim-banner .tw-banner-card,
.tw-slim-banner .tw-banner-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 7 / 1;
    min-height: 138px;
}
.tw-slim-banner .tw-banner-copy {
    left: clamp(20px, 5vw, 72px);
    bottom: 50%;
    transform: translateY(50%);
}
.tw-slim-banner .tw-banner-copy strong { font-size: clamp(20px, 2.5vw, 34px); }
.tw-slim-banner .tw-banner-copy small { font-size: clamp(12px, 1.1vw, 15px); }
.tw-slim-banner .tw-banner-copy em { margin-top: 12px; }

@media (max-width: 991px) {
    .tw-promo-grid { gap: 10px; }
    .tw-hero-copy { max-width: 58%; }
}
@media (max-width: 767px) {
    .tw-hero-copy { max-width: 68%; }
    .tw-hero-copy small,
    .tw-hero-copy em { display: none; }
    .tw-promo-grid { grid-template-columns: 1fr; gap: 12px; }
    .tw-promo-grid .tw-banner-card,
    .tw-promo-grid .tw-banner-link { aspect-ratio: 2.6 / 1; }
    .tw-slim-banner { margin: 16px 0; }
    .tw-slim-banner .tw-banner-card,
    .tw-slim-banner .tw-banner-link { aspect-ratio: 3.2 / 1; min-height: 120px; }
    .tw-slim-banner .tw-banner-copy small,
    .tw-slim-banner .tw-banner-copy em { display: none; }
}

/* Direct image banners: no marketing copy, gaps, borders, or empty canvas. */
.tw-hero-row { gap: 0; }
.tw-hero-shade,
.tw-hero-copy,
.tw-banner-shade,
.tw-banner-copy { display: none !important; }
.tw-promo-grid { gap: 0; }
.tw-slim-banner { box-shadow: none; }
.tw-slim-banner .tw-banner-card,
.tw-slim-banner .tw-banner-link { aspect-ratio: 16 / 5; min-height: 0; }

@media (max-width: 991px) {
    .tw-promo-grid { gap: 0; }
}

@media (max-width: 767px) {
    .tw-promo-grid { gap: 0; }
    .tw-slim-banner .tw-banner-card,
    .tw-slim-banner .tw-banner-link { aspect-ratio: 16 / 5; min-height: 0; }
}

/* PDF-matched home composition. Banner artwork remains managed in Admin. */
.common-home .after-header { margin-top: 12px; }
.common-home .after-header.p-top-30,
.common-home #content.p-t-30 { padding-top: 0; }
.tw-hero-row--full .tw-hero-main .banner-container { aspect-ratio: 977 / 296; }
.tw-hero-row--full .main-home-banner .banner-image img { object-position: center; }

.tw-promo-wide {
    margin: 20px 0 24px;
    overflow: hidden;
    line-height: 0;
}
.tw-promo-wide .tw-banner-card,
.tw-promo-wide .tw-banner-link {
    display: block;
    aspect-ratio: 971 / 349;
    overflow: hidden;
}
.tw-promo-wide .tw-banner-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tw-slim-banner {
    margin: 20px 0 24px;
    line-height: 0;
}
.tw-slim-banner .tw-banner-card,
.tw-slim-banner .tw-banner-link { aspect-ratio: 1149 / 168; }

@media (min-width: 992px) {
    .tw-hero-side {
        display: block;
        flex: 0 0 260px;
    }
}

/* Keep the tall right artwork inside the height established by the main hero.
   Absolute positioning prevents its source aspect ratio from making the grid
   row taller than the left slider. */
.common-home .tw-hero-side {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: hidden;
}
.common-home .tw-hero-side > .twv-side-promo {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    min-height: 0;
}

/* Three independent System > Design > Banners cards. Desktop shows the full
   row; phones reuse the namespaced auto-slider and show one card at a time. */
.twv-promo-three {
    position: relative;
    margin: 18px 0;
    line-height: 0;
}
.twv-promo-three__viewport {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.twv-promo-three__slide {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4e8ef;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .1);
}
.twv-promo-three__link {
    display: block;
    overflow: hidden;
    aspect-ratio: 419 / 190;
}
.twv-promo-three__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}
.twv-promo-three__link:hover .twv-promo-three__image {
    transform: scale(1.015);
}
.twv-promo-three__dots {
    display: none;
}

/* Lightweight outline symbols replace the old filled bitmap silhouettes. */
.tw-cat-section--yellow .tw-cat-symbol {
    color: #f8b817;
    font-size: 39px;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 40;
    line-height: 1;
}

@media (max-width: 767px) {
    .twv-promo-three {
        margin: 14px 0 16px;
    }
    .twv-promo-three__viewport {
        display: block;
    }
    .twv-promo-three__slide {
        display: none;
        width: 100%;
    }
    .twv-promo-three__slide.is-active {
        display: block;
        animation: twvBannerFade .35s ease both;
    }
    .twv-promo-three__dots {
        position: absolute;
        z-index: 3;
        left: 50%;
        bottom: 8px;
        display: flex;
        align-items: center;
        gap: 7px;
        transform: translateX(-50%);
    }
    .twv-promo-three__dot {
        width: 8px;
        height: 8px;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .95);
        border-radius: 50%;
        background: rgba(255, 255, 255, .8);
        box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    }
    .twv-promo-three__dot.is-active {
        width: 22px;
        border-color: #f8b817;
        border-radius: 8px;
        background: #f8b817;
    }
}
@media (min-width: 1400px) {
    .tw-hero-side { flex-basis: 320px; }
}
@media (max-width: 991px) {
    .tw-hero-row--full .tw-hero-main .banner-container { aspect-ratio: 16 / 9; }
    .tw-hero-row--full .main-home-banner .banner-image img { object-position: left center; }
}
@media (max-width: 575px) {
    .common-home .after-header { margin-top: 8px; }
    .tw-promo-wide { margin: 14px 0 18px; }
    .tw-slim-banner { margin: 14px 0 18px; }
}

@media (min-width: 992px) {
    .tw-cat-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (min-width: 576px) and (max-width: 991px) {
    .tw-cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Homepage split hero, ticker and yellow category cards. All selectors use the
   twv namespace so older theme sliders and third-party modules remain isolated. */
.common-home .tw-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
    align-items: stretch;
    gap: 14px;
}
.common-home .tw-hero-main,
.common-home .tw-hero-side {
    min-width: 0;
}
.common-home .tw-hero-main .banner-container {
    aspect-ratio: 955 / 370;
    height: auto;
    background: #071a3d;
}
.twv-hero-slider,
.twv-hero-slider__viewport,
.twv-hero-slider__slide,
.twv-hero-slider__link,
.twv-side-promo,
.twv-side-promo__viewport,
.twv-side-promo__slide,
.twv-side-promo__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.twv-hero-slider__slide,
.twv-side-promo__slide {
    display: none;
    overflow: hidden;
}
.twv-hero-slider__slide.is-active,
.twv-side-promo__slide.is-active {
    display: block;
    animation: twvBannerFade .35s ease both;
}
.twv-hero-slider__image,
.twv-side-promo__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.twv-hero-slider__dots,
.twv-side-promo__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
}
.twv-hero-slider__dot,
.twv-side-promo__dot {
    width: 9px;
    height: 9px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    outline: 0;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .24);
    cursor: pointer;
    transition: width .2s ease, border-radius .2s ease, background .2s ease;
}
.twv-hero-slider__dot.is-active,
.twv-side-promo__dot.is-active {
    width: 24px;
    border-color: #f8b817;
    border-radius: 10px;
    background: #f8b817;
}
.twv-side-promo {
    min-height: 100%;
    overflow: hidden;
    background: #071a3d;
}
.common-home .tw-hero-side {
    display: block;
    height: 100%;
}
@keyframes twvBannerFade {
    from { opacity: .35; }
    to { opacity: 1; }
}

.twv-home-news-region {
    margin: 18px 0 12px;
}
.twv-news-ticker {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(11, 34, 71, .07);
    color: #273449;
    line-height: 1;
}
.twv-news-ticker__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: twvNewsTicker 28s linear infinite;
}
.twv-news-ticker__item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 11px 54px 11px 24px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
}
.twv-news-ticker__icon {
    color: #f8b817;
    font-size: 19px;
}
.twv-news-ticker:hover .twv-news-ticker__track,
.twv-news-ticker:focus-within .twv-news-ticker__track {
    animation-play-state: paused;
}
@keyframes twvNewsTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.tw-cat-section.tw-cat-section--yellow {
    margin: 12px 0 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.tw-cat-section--yellow .tw-cat-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    border: 0;
}
.tw-cat-section--yellow .tw-cat-item {
    min-height: 104px;
    padding: 15px 8px 12px;
    border: 1px solid #e7e9ee;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .09);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tw-cat-section--yellow .tw-cat-item:hover {
    border-color: #f8b817;
    background: #fffdf5;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .13);
    transform: translateY(-2px);
}
.tw-cat-section--yellow .tw-cat-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
}
.tw-cat-section--yellow .tw-cat-icon img {
    width: 42px;
    height: 42px;
    filter: brightness(0) saturate(100%) invert(78%) sepia(96%) saturate(1644%) hue-rotate(350deg) brightness(103%) contrast(102%);
}
.tw-cat-section--yellow .tw-cat-name {
    color: #152238;
    font-size: 12px;
}

@media (max-width: 991px) {
    .common-home .tw-hero-row {
        grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr);
        gap: 10px;
    }
    .tw-cat-section--yellow .tw-cat-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }
}
@media (max-width: 767px) {
    .common-home .tw-hero-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .common-home .tw-hero-side {
        display: none;
    }
    .common-home .tw-hero-main .banner-container {
        aspect-ratio: 955 / 370;
    }
    .twv-news-ticker__item {
        padding: 10px 42px 10px 16px;
        font-size: 12px;
    }
    .tw-cat-section--yellow .tw-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }
    .tw-cat-section--yellow .tw-cat-item {
        min-height: 96px;
        padding: 12px 6px 10px;
    }
}
@media (max-width: 360px) {
    .tw-cat-section--yellow .tw-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (prefers-reduced-motion: reduce) {
    .twv-news-ticker__track {
        animation-duration: 60s;
    }
    .twv-hero-slider__slide.is-active,
    .twv-side-promo__slide.is-active {
        animation: none;
    }
}

.tw-cat-more-toggle {
    display: none;
}

@media (max-width: 767px) {
    .tw-cat-section--yellow.tw-cat-section--compact-ready .tw-cat-item:nth-child(n+7) {
        display: none;
    }
    .tw-cat-section--yellow.tw-cat-section--compact-ready.tw-cat-section--expanded .tw-cat-item {
        display: flex;
    }
    .tw-cat-section--yellow.tw-cat-section--compact-ready .tw-cat-more-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 132px;
        height: 38px;
        margin: 14px auto 0;
        padding: 0 20px;
        border: 1px solid rgba(11, 40, 81, .18);
        border-radius: 999px;
        background: #fff;
        color: #0B2851;
        box-shadow: 0 7px 18px rgba(15, 23, 42, .10);
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
    }
    .tw-cat-section--yellow.tw-cat-section--compact-ready .tw-cat-more-toggle::after {
        content: "expand_more";
        font-family: "Material Symbols Outlined";
        font-size: 18px;
        font-weight: 300;
        line-height: 1;
    }
    .tw-cat-section--yellow.tw-cat-section--compact-ready.tw-cat-section--expanded .tw-cat-more-toggle::after {
        content: "expand_less";
    }
}
