/* Content Hub — loaded AFTER front styles to win cascade */

body.body_theme5 .t5-mega-nav__trigger {
    cursor: pointer;
    font: inherit;
    text-transform: none !important;
}

body.body_theme5 .t5-storefront-header__utility .t5-mega-nav__trigger {
    background: transparent !important;
    border: 0 !important;
}

body.body_theme5 .t5-mega-nav__panel--sections {
    width: min(420px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
}

body.body_theme5 .t5-mega-nav__panel--sections .t5-mega-nav__panel-inner {
    overflow: hidden;
}

body.body_theme5 .t5-mega-nav__panel--sections .t5-mega-nav__head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: start !important;
    direction: inherit;
}

body.body_theme5 .t5-mega-nav__panel--sections .t5-mega-nav__eyebrow,
body.body_theme5 .t5-mega-nav__panel--sections .t5-mega-nav__subtitle {
    text-transform: none !important;
    text-align: start !important;
}

body.body_theme5 .t5-mega-nav__sections {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 12px !important;
    margin: 0 !important;
    max-height: min(70vh, 520px);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    list-style: none !important;
}

body.body_theme5 a.t5-mega-nav__section-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(20, 33, 171, 0.08) !important;
    background: #fff !important;
    text-decoration: none !important;
    color: #1f2937 !important;
    text-transform: none !important;
    box-sizing: border-box !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.body_theme5 a.t5-mega-nav__section-card:hover,
body.body_theme5 a.t5-mega-nav__section-card:focus-visible {
    background: rgba(20, 33, 171, 0.05) !important;
    border-color: rgba(20, 33, 171, 0.18) !important;
    box-shadow: 0 6px 18px rgba(20, 33, 171, 0.08);
    outline: none;
}

body.body_theme5 .t5-mega-nav__section-thumb {
    display: block !important;
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f3f4f6 !important;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

body.body_theme5 .t5-mega-nav__section-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

body.body_theme5 .t5-mega-nav__section-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: start !important;
}

body.body_theme5 .t5-mega-nav__section-title {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #111827 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.body_theme5 .t5-mega-nav__section-sub {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #6b7280 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.body_theme5 .t5-mega-nav__section-arrow {
    flex: 0 0 auto !important;
    color: #9ca3af !important;
    font-size: 0.75rem !important;
}

body.body_theme5 a.t5-mega-nav__section-card:hover .t5-mega-nav__section-arrow {
    color: #1421AB !important;
}

/* Explore landing */
body.body_theme5 .t5-explore {
    padding: 28px 0 48px;
}

body.body_theme5 .t5-explore__header {
    margin-bottom: 28px;
}

body.body_theme5 .t5-explore__hero {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #eef1f6;
}

body.body_theme5 .t5-explore__hero img {
    display: block;
    width: 100%;
    height: min(240px, 40vw);
    object-fit: cover;
}

body.body_theme5 .t5-explore__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: #111827;
    text-transform: none !important;
}

body.body_theme5 .t5-explore__subtitle {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 1rem;
    max-width: 40rem;
    text-transform: none !important;
}

body.body_theme5 .t5-explore__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    body.body_theme5 .t5-explore__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

@media (min-width: 1100px) {
    body.body_theme5 .t5-explore__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

body.body_theme5 a.t5-explore-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: #fff !important;
    text-decoration: none !important;
    color: inherit !important;
    text-transform: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.body_theme5 a.t5-explore-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

body.body_theme5 .t5-explore-card__media {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    overflow: hidden;
}

body.body_theme5 .t5-explore-card__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.body_theme5 .t5-explore-card__body {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 14px !important;
    text-align: start !important;
}

body.body_theme5 .t5-explore-card__title {
    display: block !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #111827 !important;
    text-transform: none !important;
}

body.body_theme5 .t5-explore-card__excerpt {
    display: block !important;
    font-size: 0.8125rem !important;
    color: #6b7280 !important;
    line-height: 1.45 !important;
    text-transform: none !important;
}

body.body_theme5 .t5-explore__empty {
    text-align: center;
    padding: 48px 16px;
    color: #6b7280;
}

/* Explore detail */
body.body_theme5 .t5-explore-detail {
    padding: 28px 0 56px;
}

body.body_theme5 .t5-explore-detail__layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: start !important;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-explore-detail__layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
        gap: 36px !important;
    }
}

body.body_theme5 .t5-explore-detail__media {
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

body.body_theme5 .t5-explore-detail__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

body.body_theme5 .t5-explore-detail__eyebrow {
    margin: 0 0 8px;
    color: #1421AB;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: none !important;
}

body.body_theme5 .t5-explore-detail__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: #111827;
    text-transform: none !important;
}

body.body_theme5 .t5-explore-detail__content {
    margin-top: 16px;
    color: #374151;
    line-height: 1.75;
    text-transform: none !important;
}

body.body_theme5 .t5-explore-detail__content p {
    margin-bottom: 0.85rem;
    text-transform: none !important;
}

body.body_theme5 a.t5-explore-detail__back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 0 !important;
    font-weight: 600 !important;
    color: #1421AB !important;
    text-decoration: none !important;
    text-transform: none !important;
}

/* Explore article page (blog-like) */
body.body_theme5 .t5-explore-article-page {
    padding-top: 8px;
}

body.body_theme5 .t5-explore-article-page .t5-explore-related {
    margin-top: 28px;
}

body.body_theme5 .t5-explore-sidebar {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

body.body_theme5 .t5-explore-sidebar__card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

body.body_theme5 .t5-explore-sidebar__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    text-transform: none !important;
}

body.body_theme5 .t5-explore-sidebar__text {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.55;
    text-transform: none !important;
}

body.body_theme5 a.t5-explore-sidebar__cta {
    display: inline-flex !important;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: #1421AB;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none !important;
    text-transform: none !important;
}

body.body_theme5 a.t5-explore-sidebar__cta:hover {
    background: #0f1890;
    color: #fff !important;
}

body.body_theme5 .t5-explore-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

body.body_theme5 .t5-explore-sidebar__list a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #374151 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

body.body_theme5 .t5-explore-sidebar__list a:hover,
body.body_theme5 .t5-explore-sidebar__list a.is-active {
    background: rgba(20, 33, 171, 0.08);
    color: #1421AB !important;
}

body.body_theme5 .t5-explore-article .lead {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Section detail photo album */
body.body_theme5 .t5-explore-album {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.body_theme5 .t5-explore-album__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

body.body_theme5 .t5-explore-album__title {
    margin: 0;
    color: #121826;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: none !important;
}

body.body_theme5 .t5-explore-album__count {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
}

body.body_theme5 .t5-explore-album__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 768px) {
    body.body_theme5 .t5-explore-album__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

body.body_theme5 .t5-explore-album__item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eef1f7;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.body_theme5 .t5-explore-album__item:hover,
body.body_theme5 .t5-explore-album__item:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 33, 171, 0.16);
    outline: none;
}

body.body_theme5 .t5-explore-album__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.body_theme5.t5-album-open {
    overflow: hidden;
}

body.body_theme5 .t5-explore-album-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 12, 28, 0.88);
}

body.body_theme5 .t5-explore-album-lightbox[hidden] {
    display: none !important;
}

body.body_theme5 .t5-explore-album-lightbox__figure {
    margin: 0;
    max-width: min(920px, 100%);
    text-align: center;
}

body.body_theme5 .t5-explore-album-lightbox__figure img {
    max-width: 100%;
    max-height: min(78vh, 760px);
    border-radius: 12px;
    object-fit: contain;
    background: #0f172a;
}

body.body_theme5 .t5-explore-album-lightbox__figure figcaption {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

body.body_theme5 .t5-explore-album-lightbox__close,
body.body_theme5 .t5-explore-album-lightbox__nav {
    position: absolute;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #1421AB;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

body.body_theme5 .t5-explore-album-lightbox__close {
    top: 18px;
    inset-inline-end: 18px;
}

body.body_theme5 .t5-explore-album-lightbox__nav--prev {
    inset-inline-start: 16px;
    top: 50%;
    transform: translateY(-50%);
}

body.body_theme5 .t5-explore-album-lightbox__nav--next {
    inset-inline-end: 16px;
    top: 50%;
    transform: translateY(-50%);
}

body.body_theme5 .t5-explore-subcats {
    margin: 32px 0 12px;
}

body.body_theme5 .t5-explore-subcats__title,
body.body_theme5 .t5-explore-subcats__lead,
body.body_theme5 .t5-explore-subcat-card__name,
body.body_theme5 .t5-explore-subcat-card__count,
body.body_theme5 .t5-explore-subcat-card__cta {
    text-transform: none !important;
    text-align: start !important;
}

body.body_theme5 a.t5-explore-subcat-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    color: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body.body_theme5 a.t5-explore-subcat-card:hover,
body.body_theme5 a.t5-explore-subcat-card:focus {
    color: inherit !important;
    text-decoration: none !important;
}
