/* Retained for unverified saved WordPress markup; active rules follow. */
.h-seo-info__facts{
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.h-seo-info__facts li{
    padding: 8px 12px;
    border: 1px solid rgba(235, 188, 0, 0.38);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--h-font-instrument);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.h-seo-info__policy-links a{
    color: #ffffff;
    text-decoration-color: rgba(235, 188, 0, 0.72);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.h-seo-info__policy-links a:hover,
.h-seo-info__policy-links a:focus-visible{
    color: var(--h-accent);
}

.h-seo-info__policy-links a:focus-visible{
    outline: 2px solid var(--h-accent);
    outline-offset: 4px;
}

.h-seo-info__policy-links{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 28px 0 0;
    color: rgba(247, 242, 231, 0.56);
    font-family: var(--h-font-instrument);
    font-size: 12px;
    line-height: 1.5;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

#historicum-home .h-best-sellers .h-bs-divider{
    display: none;
}

#historicum-home .h-dark-sections-group .h-training-bg-overlay,
#historicum-home .h-dark-sections-group .h-training-background,
#historicum-home .h-dark-sections-group .h-training > .h-bg-image{
    display: none;
}

.h-dark-bg-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/Landing_Background_low_opacity-1-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: brightness(0.9);
    pointer-events: none;
    z-index: 0;
}

.h-stat.h-visible{
    opacity: 1;
    transform: translateY(0);
}

.h-workshop-row{
    margin-bottom: 80px;
}

.h-workshop-row:last-child{
    margin-bottom: 0;
}

.h-workshop-subtitle{
    font-family: var(--h-font-cormorant);
    font-weight: 400;
    font-size: 28px;
    color: var(--h-black);
    text-align: center;
    margin-bottom: 30px;
}

.h-product-card{
}

.h-ws-wrapper{
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 16px;
    overflow: hidden;
    padding: 10px 0 10px;
}

.h-ws-carousel{
    overflow: visible;
    cursor: grab;
    display: flex;
    gap: 20px;
    padding: 24px 70px;
    user-select: none;
    -webkit-user-select: none;
    will-change: scroll-position;
}

.h-ws-carousel:active,
.h-ws-carousel.is-dragging{
    cursor: grabbing;
}

.h-ws-carousel.is-dragging *{
    pointer-events: none;
}

.h-product-card{
    position: relative;
    background: var(--h-black);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: block;
    text-decoration: none;
    box-shadow:
        0 3px 6px rgba(0,0,0,0.22),
        0 6px 12px rgba(0,0,0,0.14);
}

.h-product-card:hover{
    transform: translateY(-6px);
    border-color: var(--h-accent);
    box-shadow:
        0 6px 12px rgba(0,0,0,0.28),
        0 12px 24px rgba(0,0,0,0.16);
}

.h-product-card-image{
    width: 100%;
    aspect-ratio: 11 / 10;
    overflow: hidden;
    background: #111;
    position: relative;
}

.h-product-card-image::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(10,10,10,0.85) 0%,
        rgba(10,10,10,0.3) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.h-product-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.h-product-card:hover .h-product-card-image img{
    transform: scale(1.05);
}

.h-product-card-info{
    padding: 10px 12px 14px;
    text-align: left;
    background: var(--h-black);
    position: relative;
    z-index: 2;
    margin-top: -20px;
}

.h-product-card .h-product-name{
    font-family: var(--h-font-instrument);
    font-size: 21px;
    font-weight: 400;
    color: var(--h-white);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h-product-card .h-stars{
    font-size: 18px;
    color: var(--h-accent);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.h-product-card .h-product-price{
    font-family: var(--h-font-instrument);
    font-size: 22px;
    font-weight: 400;
    color: var(--h-white);
    margin-bottom: 8px;
}

.h-product-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
    justify-content: flex-start;
}

.h-product-tag{
    font-family: var(--h-font-cinzel);
    font-size: 8px;
    font-weight: 700;
    color: var(--h-black);
    background: var(--h-accent);
    padding: 3px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.h-testimonial-card{
    flex: 0 0 380px;
    position: relative;
    text-align: center;
    padding: 50px 35px;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
}

.h-quote-mark{
    font-family: var(--h-font-cormorant);
    font-size: 120px;
    font-weight: 700;
    color: var(--h-accent);
    line-height: 0.5;
    position: absolute;
    opacity: 0.5;
}

.h-quote-open{
    top: 20px;
    left: 15px;
}

.h-quote-close{
    bottom: 12px;
    right: 15px;
}

.h-testimonial-image{
    width: 230px;
    height: 310px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 30px;
}

.h-testimonial-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-testimonial-card .h-stars{
    display: block;
    width: 100%;
    text-align: center;
    font-size: 28px;
    color: var(--h-accent);
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.h-sponsors{
    padding: 20px 0 30px;
    position: relative;
}

.h-sponsors::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/Landing_Background_low_opacity-1-1920x1080.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    opacity: 0.18;
    filter: brightness(0.9);
    pointer-events: none;
    z-index: 0;
}

.h-sponsors .h-container{
    position: relative;
    z-index: 1;
}

.h-sponsors-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
}

.h-sponsor-line-top,
.h-sponsor-line-bottom{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: var(--h-accent);
    opacity: 0.6;
}

.h-sponsor-line-top{ top: 0; }
.h-sponsor-line-bottom{ bottom: 0; }

.h-sponsors-logos{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.h-sponsor-logo{
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-sponsor-logo img{
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.h-sponsor-logo:hover img{
    filter: grayscale(0%);
    opacity: 1;
}

.h-sponsors-track .h-sponsor-logo{
    flex: 0 0 auto;
    width: 90px;
    height: 90px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.h-sponsors-track .h-sponsor-logo:hover{
    transform: scale(1.1);
}

.h-sponsors-track .h-sponsor-logo img{
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.h-sponsors-track .h-sponsor-logo:hover img{
    filter: grayscale(0%);
    opacity: 1;
}

.h-blog-grid{
    margin-top: 50px;
}

.h-instagram-item{
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.h-instagram-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.h-instagram-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.h-instagram-overlay svg{
    color: var(--h-white);
}

.h-instagram-item:hover img{
    transform: scale(1.1);
}

.h-instagram-item:hover .h-instagram-overlay{
    opacity: 1;
}

.h-footer{
    background: transparent;
    padding: 80px 0 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.h-footer-grid{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.h-footer-group{
    display: flex;
    gap: 40px;
}

.h-footer-left{ justify-content: flex-start; }
.h-footer-center{ justify-content: center; }
.h-footer-right{ justify-content: flex-end; }

.h-footer-link{
    font-family: var(--h-font-cinzel);
    font-size: 14px;
    font-weight: 600;
    color: var(--h-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

.h-footer-link:hover{
    color: var(--h-accent);
}

.h-footer-link::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--h-accent);
    transition: width 0.3s ease;
}

.h-footer-link:hover::after{
    width: 100%;
}

.h-footer-link-home{
    font-size: 16px;
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {

    .h-testimonial-card{ flex: 0 0 320px; padding: 40px 25px; }
    .h-testimonial-image{ width: 160px; height: 220px; }
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {

    .h-footer-grid{ gap: 15px; }
    .h-footer-group{ gap: 20px; flex-wrap: wrap; }
    .h-testimonial-card{ flex: 0 0 280px; }
    .h-testimonial-image{ width: 140px; height: 190px; }
    .h-testimonial-card .h-stars{ font-size: 22px; }

}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {

    .h-workshop-subtitle{ font-size: 20px; }
    .h-product-card .h-product-name{ font-size: 14px; }
    .h-product-card .h-product-price{ font-size: 16px; }

    .h-ws-wrapper{ overflow: hidden; }
    .h-ws-carousel{
        overflow: hidden;
        cursor: default;
        padding: 10px 15px;
        scroll-behavior: smooth;
    }

    .h-footer-group{ gap: 12px; }
    .h-footer-link{ font-size: 11px; }

    .h-testimonial-card{ flex: 0 0 260px; padding: 30px 20px; }
    .h-testimonial-image{ width: 120px; height: 160px; }
    .h-quote-mark{ font-size: 80px; }
    .h-testimonial-card .h-stars{ font-size: 18px; }

    .h-h2{ font-size: clamp(24px, 6.2vw, 30px); }
    
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {

    .h-sponsors-logos{ flex-wrap: wrap; gap: 30px; }
    .h-sponsor-logo{ width: 60px; height: 60px; }
    .h-footer-nav{ flex-direction: column; gap: 15px; }

}

#historicum-home .h-section-dark .h-h2{
    font-size: clamp(34px, 3.6vw, 45px);
    line-height: 1.04;
    letter-spacing: 0.06em;
}

#historicum-home .h-h2{
    color: var(--h-home-dark-text);
}

#historicum-home .h-section-paper .h-h2{
    color: var(--h-home-paper-ink);
}

#historicum-home .h-dark-sections-group .h-h2{
    color: var(--h-home-dark-text);
}

#historicum-home .h-title-with-lines .h-h2{
    background: transparent;
}

#historicum-home .h-product-price ins,
#historicum-home .h-product-price ins *{
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    text-decoration: none;
}

#historicum-home .h-product-price del{
    display: inline-block;
    color: #fff;
    font-size: 0.58em;
    line-height: 1;
    opacity: 1;
    text-align: center;
    text-decoration: line-through;
}

#historicum-home .h-sponsors-track .h-sponsor-logo{
    cursor: default;
    pointer-events: none;
    background: rgba(245, 240, 230, 0.96);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.31);
}

#historicum-home .h-sponsors-track .h-sponsor-logo:hover{
    transform: none;
}

#historicum-home .h-sponsors-track .h-sponsor-logo img{
    object-fit: contain;
}

#historicum-home .h-home-section-intro--stack{
    display: grid;
    gap: 10px;
}

/* ===========================================
   HISTORICUM HOMEPAGE SECTIONS STYLES
   PRODUCTION COMPONENT STYLES
   =========================================== */

/* -----------------------------------------
   VIEWPORT GUARD
----------------------------------------- */
body,
#page,
.site,
.site-content,
#content,
.content-area,
.entry-content,
#main,
.site-main,
.historicum-homepage,
#historicum-home {
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* -----------------------------------------
   BOTTOM SHOP INFORMATION
----------------------------------------- */
.h-seo-info {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    padding: clamp(64px, 7vw, 104px) 0 clamp(56px, 6vw, 88px);
    border-top: 1px solid rgba(235, 188, 0, 0.58);
    background: #070807;
    color: #f7f2e7;
}

.h-seo-info::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/Landing_Background_low_opacity-1-1920x1080.jpg');
    background-position: center;
    background-size: cover;
    opacity: 0.08;
    pointer-events: none;
}

.h-seo-info::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(235, 188, 0, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78));
    pointer-events: none;
}

.h-seo-info .h-seo-info__inner {
    width: min(1240px, calc(100% - 40px));
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.h-seo-info__header {
    max-width: 900px;
}

.h-seo-info__eyebrow {
    margin: 0 0 14px;
    color: var(--h-accent);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.35;
    text-transform: uppercase;
}

.h-seo-info__title {
    max-width: 22ch;
    margin: 0;
    color: #ffffff;
    font-family: var(--h-font-cinzel);
    font-size: clamp(30px, 4.1vw, 54px);
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.08;
    text-wrap: balance;
}

.h-seo-info__lede {
    max-width: 76ch;
    margin: 24px 0 0;
    color: rgba(247, 242, 231, 0.83);
    font-family: var(--h-font-instrument);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.7;
}

.h-seo-info__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 5vw, 72px);
    margin-top: clamp(42px, 5vw, 68px);
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.h-seo-info__panel {
    max-width: 58ch;
}

.h-seo-info__panel h3 {
    margin: 0 0 12px;
    color: var(--h-accent);
    font-family: var(--h-font-cinzel);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
}

.h-seo-info__panel p {
    margin: 0;
    color: rgba(247, 242, 231, 0.76);
    font-family: var(--h-font-instrument);
    font-size: 16px;
    line-height: 1.72;
}

.h-seo-info__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 34px;
}

.h-seo-info__actions .h-btn.h-btn-primary {
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid var(--h-accent);
    border-radius: 4px;
    background: var(--h-accent);
    color: #0b0b0b;
    font-family: var(--h-font-cinzel);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.h-seo-info__text-link{
    color: #ffffff;
    text-decoration-color: rgba(235, 188, 0, 0.72);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.h-seo-info__text-link {
    font-family: var(--h-font-instrument);
    font-size: 14px;
    font-weight: 600;
}

.h-seo-info__actions a:hover,
.h-seo-info__actions a:focus-visible{
    color: var(--h-accent);
}

.h-seo-info__actions .h-btn.h-btn-primary:hover,
.h-seo-info__actions .h-btn.h-btn-primary:focus-visible {
    border-color: #ffffff;
    background: #ffffff;
    color: #0b0b0b;
}

.h-seo-info__actions a:focus-visible{
    outline: 2px solid var(--h-accent);
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .h-seo-info .h-seo-info__inner {
        width: min(100% - 28px, 1240px);
    }

    .h-seo-info__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .h-seo-info__title {
        font-size: clamp(28px, 9vw, 40px);
    }

    .h-seo-info__actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

body {
    overflow-x: hidden !important;
}

@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
    @supports (overflow: clip) {
        body,
        #page,
        .site,
        .site-content,
        #content,
        .content-area,
        .entry-content,
        #main,
        .site-main,
        .historicum-homepage,
        #historicum-home {
            overflow-x: clip !important;
        }
    }
}

/* -----------------------------------------
   CSS VARIABLES
----------------------------------------- */
:root {
    --h-black: #0A0A0A;
    --h-paper: #F5F0E6;
    --h-accent: #EBBC00;
    --h-white: #FFFFFF;
    --h-gray-light: #B0B0B0;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* -----------------------------------------
   SECTION: HERO
----------------------------------------- */
.h-hero {
    position: relative;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 140px;
    background: linear-gradient(180deg, var(--h-black) 0%, #0E110C 50%, var(--h-black) 100%);
    overflow: hidden;
}

.h-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Yellow glow comes FROM the top-left toward the middle, then fades out
       (62% tall) before the "Create the legend" text below - so it lights the
       blocks without washing out the text. (Was 74% 82% reaching ~82% down.) */
    background:
        radial-gradient(
            72% 62% at 0% 0%,
            rgba(235, 188, 0, 0.22) 0%,
            rgba(124, 91, 0, 0.13) 30%,
            rgba(0, 0, 0, 0) 64%
        );
}

.h-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/Landing_Background_low_opacity-1-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.10;
    filter: brightness(0.9);
    z-index: 0;
    pointer-events: none;
}

/* Diagonal Bands */
.h-hero-diagonal-bands {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.h-band {
    position: absolute;
    width: 120%;
    left: -10%;
    background: var(--h-accent);
    transform: rotate(-8deg);
}

.h-band-middle {
    top: 50%;
    height: 180px;
}

.h-band-top {
    top: calc(50% - 6px);
    height: 4px;
}

.h-band-bottom {
    top: calc(50% + 180px + 4px);
    height: 12px;
}

/* =========================================
   HERO TEXT
   ========================================= */
.h-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 48px; /* more breathing room between the title and the blocks (desktop) */
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.h-hero-content .h-subtitle {
    display: block;
    font-family: var(--h-font-cormorant);
    font-size: 18px;
    color: var(--h-white);
    margin-bottom: 8px;
    line-height: 1;
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
}

.h-hero-content .h-main-title {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    letter-spacing: 3px;
    margin: 0;
}

.h-hero-cta-zone {
    position: relative;
    z-index: 4;
    margin-top: 20px;
    text-align: center;
}

.h-hero-cta-zone .h-cta-text {
    font-family: var(--h-font-augusta);
    font-size: 24px;
    color: var(--h-white);
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.h-hero-cta-zone .h-cta-text:hover,
.h-hero-cta-zone .h-cta-text:focus {
    color: var(--h-accent);
}

/* =========================================
   HERO BLOCKS
   ========================================= */
.h-hero-blocks {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
}

.h-hero-block {
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: visible;
    isolation: isolate;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.42),
        0 5px 14px rgba(0, 0, 0, 0.28);
    transform-origin: center center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

#historicum-home .h-hero .h-hero-block::before,
#historicum-home .h-training-image::before {
    content: '';
    position: absolute;
    inset: -3px;
    z-index: -1;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--angle),
        transparent 0deg,
        rgba(235, 188, 0, 0.10) 12deg,
        rgba(235, 188, 0, 0.46) 28deg,
        var(--h-accent, #FFD60A) 44deg,
        rgba(235, 188, 0, 0.72) 60deg,
        rgba(235, 188, 0, 0.18) 76deg,
        transparent 96deg
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    filter:
        drop-shadow(0 0 10px var(--h-accent, #FFD60A))
        drop-shadow(0 0 26px rgba(255, 214, 10, 0.78))
        drop-shadow(0 0 54px rgba(255, 214, 10, 0.42));
    opacity: 0;
    transition: opacity 360ms ease;
    pointer-events: none;
    animation: hero-ring-rotate 6.4s linear infinite;
}

#historicum-home .h-hero .h-hero-block::after,
#historicum-home .h-training-image::after {
    content: none;
    display: none;
}

#historicum-home .h-hero .h-hero-block:hover {
    transform: scale(1.018);
}

#historicum-home .h-hero .h-hero-block:hover::before,
#historicum-home .h-hero .h-hero-block:focus-visible::before,
#historicum-home .h-training-image:hover::before,
#historicum-home .h-training-image:focus-within::before {
    opacity: 1;
}

@keyframes hero-ring-rotate {
    to {
        --angle: 360deg;
    }
}

.h-hero-block-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #1a1a1a;
    z-index: 3;
}

.h-hero-block-inner::before,
.h-hero-block-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.h-hero-block-inner::before {
    background:
        linear-gradient(
            180deg,
            rgba(235, 188, 0, 0.18) 0%,
            rgba(235, 188, 0, 0.10) 20%,
            rgba(235, 188, 0, 0.04) 46%,
            rgba(235, 188, 0, 0) 76%
        );
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 520ms ease;
    z-index: 2;
}

.h-hero-block-inner::after {
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    transition: opacity 420ms ease;
    z-index: 1;
}

.h-hero-block:hover .h-hero-block-inner::before {
    opacity: 1;
}

.h-hero-block:hover .h-hero-block-inner::after {
    opacity: 1;
}

.h-hero-block-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--h-font-cinzel);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    color: var(--h-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.6);
}

.h-hero-block:hover .h-hero-block-label {
    opacity: 1;
}

.h-hero-block img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: auto;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.h-hero-block-3 {
    width: 480px;
    height: 680px;
    margin-top: 30px;
}

.h-hero-block-2,
.h-hero-block-4 {
    width: 360px;
    height: 576px;
    margin-top: 65px;
}

.h-hero-block-1 {
    width: 240px;
    height: 456px;
    margin-top: 125px;
    margin-right: -8px;
}

.h-hero-block-5 {
    width: 240px;
    height: 456px;
    margin-top: 125px;
    margin-left: -8px;
}

/* =========================================
   TORN PAPER EDGES - absolute URL
   ========================================= */

.h-torn-edge-top,
.h-torn-edge-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 9999;
    pointer-events: none;
}

.h-torn-edge-top {
    top: -60px;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/torn-edge.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.h-torn-edge-bottom {
    bottom: -50px;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/torn-edge.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: scaleY(-1);
}

/* -----------------------------------------
   PAPER SECTIONS SHARED
----------------------------------------- */
.h-section-paper {
    position: relative;
    background-color: #F5F0E6;
    z-index: 5;
    overflow: visible;
}

.h-section-paper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: none;
    background-repeat: repeat;
    background-size: 256px 256px;
    opacity: 0.155;
    pointer-events: none;
    z-index: 0;
}

.h-section-paper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 72%,
        var(--h-paper-edge-vignette, rgba(150, 120, 80, 0.076)) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.h-section-paper > * {
    position: relative;
    z-index: 1;
}

.h-best-sellers {
    padding-top: 50px;
    padding-bottom: 78px;
    position: relative;
}

.h-title-with-lines {
    position: relative;
    padding: 25px 0;
    margin-bottom: 40px;
}

.h-title-with-lines .h-h1 {
    position: relative;
    z-index: 2;
    background: #F5F0E6;
    display: inline-block;
    padding: 0 40px;
}

.h-title-line-top,
.h-title-line-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: rgba(0, 0, 0, 0.25);
}

.h-title-line-top { top: 0; }
.h-title-line-bottom { bottom: 0; }

/* -----------------------------------------
   CAROUSEL CONTROLS (shared)
----------------------------------------- */
.h-carousel-controls {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 70px 0;
}

.h-carousel-arrow {
    position: static;
    transform: none;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1.5px solid var(--h-black);
    border-radius: 50%;
    padding: 0;
    font-size: 0;
    color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.h-carousel-arrow:hover {
    background: var(--h-black);
    transform: none;
}

.h-carousel-arrow::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid var(--h-black);
    border-right: 1.5px solid var(--h-black);
    transition: border-color 0.2s ease;
}

.h-carousel-arrow:hover::before {
    border-color: var(--h-white);
}

.h-carousel-prev::before {
    transform: rotate(-135deg) translate(-1px, 1px);
}

.h-carousel-next::before {
    transform: rotate(45deg) translate(-1px, 1px);
}

/* -----------------------------------------
   BEST SELLERS / FIGHTERS FAVORITE CAROUSEL
   Desktop: infinite auto-scroll + mouse drag
   Mobile: arrows-only, 3 visible, 1-item step
----------------------------------------- */
#historicum-home .h-best-sellers .h-h1 {
    font-size: clamp(34px, 3.6vw, 45px);
    line-height: 1.04;
    letter-spacing: 0.06em;
}

#historicum-home .h-best-sellers .h-bs-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 40px;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 12px 0 26px;
}

#historicum-home .h-best-sellers .h-bs-carousel {
    overflow-x: auto;
    overflow-y: visible;
    cursor: grab;
    display: flex;
    gap: 20px;
    padding: 16px 70px 36px;
    user-select: none;
    -webkit-user-select: none;
    will-change: scroll-position;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: auto;
}

#historicum-home .h-best-sellers .h-bs-carousel::-webkit-scrollbar {
    display: none;
}

#historicum-home .h-best-sellers .h-bs-carousel:active,
#historicum-home .h-best-sellers .h-bs-carousel.is-dragging {
    cursor: grabbing;
}

#historicum-home .h-best-sellers .h-bs-carousel.is-dragging * {
    pointer-events: none;
}

#historicum-home .h-best-sellers .h-bs-slide {
    flex: 0 0 280px;
    width: 280px;
    padding-bottom: 12px;
    display: flex;
}

#historicum-home .h-best-sellers .h-bs-wrapper .h-carousel-controls {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 70px 0;
}

#historicum-home .h-best-sellers .h-bs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-box-shadow: 4px 4px 8px -1px #000000;
    box-shadow: 4px 4px 8px -1px #000000;
    background: #000000;
    backface-visibility: hidden;
    width: 100%;
}

#historicum-home .h-best-sellers .h-bs-card:hover {
    transform: none;
    border-color: var(--h-accent);
    -webkit-box-shadow: 4px 4px 8px -1px #000000;
    box-shadow: 4px 4px 8px -1px #000000;
}

#historicum-home .h-best-sellers .h-bs-card > .h-bs-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--h-accent);
    color: var(--h-black);
    font-size: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 8px 0 8px;
    z-index: 40;
    font-weight: 700;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

#historicum-home .h-best-sellers .h-bs-wrapper > .h-bs-badge,
#historicum-home .h-best-sellers .h-bs-carousel > .h-bs-badge {
    display: none !important;
}

#historicum-home .h-best-sellers .h-bs-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #000000;
    flex-shrink: 0;
    backface-visibility: hidden;
}

#historicum-home .h-best-sellers .h-bs-image::after {
    display: none;
}

#historicum-home .h-best-sellers .h-bs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#historicum-home .h-best-sellers .h-bs-card:hover .h-bs-image img {
    transform: scale(1.05);
}

#historicum-home .h-best-sellers .h-bs-info {
    position: relative;
    background: #000000;
    padding: 10px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-shrink: 0;
    margin-top: -1px;
    min-height: 74px;
    text-align: left;
}

#historicum-home .h-best-sellers .h-bs-title {
    font-family: var(--h-font-instrument);
    font-size: 15px;
    font-weight: 400;
    color: var(--h-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

#historicum-home .h-best-sellers .h-bs-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

#historicum-home .h-best-sellers .h-bs-reviews {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#historicum-home .h-best-sellers .h-bs-reviews .h-stars {
    font-size: 12px;
    color: var(--h-accent);
    letter-spacing: 2px;
    line-height: 1;
}

#historicum-home .h-best-sellers .h-bs-price {
    font-family: var(--h-font-instrument);
    font-size: 22px;
    font-weight: 400;
    color: var(--h-accent);
    white-space: nowrap;
    line-height: 1;
    text-align: right;
    margin-left: auto;
}

#historicum-home .h-best-sellers .h-bs-price .woocommerce-Price-amount,
#historicum-home .h-best-sellers .h-bs-price .price,
#historicum-home .h-best-sellers .h-bs-price ins,
#historicum-home .h-best-sellers .h-bs-price ins .woocommerce-Price-amount {
    color: var(--h-accent) !important;
    font-family: var(--h-font-instrument) !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

#historicum-home .h-best-sellers .h-bs-price del {
    display: none;
}

/* -----------------------------------------
   DARK SECTIONS GROUP
----------------------------------------- */
#historicum-home .h-dark-sections-group {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

#historicum-home .h-dark-sections-group::before,
#historicum-home .h-dark-sections-group::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#historicum-home .h-dark-sections-group::before {
}

#historicum-home .h-dark-sections-group::after {
}

#historicum-home .h-dark-sections-group > section {
}

.h-section-dark-gradient {
    position: relative;
    background: linear-gradient(180deg,
        var(--h-black) 0%,
        #0B0C0A 50%,
        var(--h-black) 100%
    );
    padding: 100px 0;
    z-index: 1;
}

.h-section-dark {
    position: relative;
    background-color: var(--h-black);
    padding: 80px 0;
    z-index: 1;
}

#historicum-home .h-dark-sections-group .h-section-dark,
#historicum-home .h-dark-sections-group .h-section-dark-gradient,
#historicum-home .h-dark-sections-group .h-testimonials,
#historicum-home .h-dark-sections-group .h-training,
#historicum-home .h-dark-sections-group .h-blog {
    background: transparent;
    background-image: none;
}

#historicum-home .h-dark-sections-group .h-testimonials-bg-overlay{
    display: none;
}

#historicum-home .h-dark-sections-group .h-blog::before {
    content: none;
    display: none;
}

.h-stats {
    position: relative;
    padding: 100px 0;
    color: var(--h-white);
}

.h-stats-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/Landing_Background_low_opacity-1-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    filter: brightness(0.72) contrast(1.05);
    pointer-events: none;
    z-index: 0;
}

.h-stats .h-container {
    position: relative;
    z-index: 1;
}

.h-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.h-stat {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.h-stat .h-big-number {
    display: block;
    margin-bottom: 10px;
    color: var(--h-accent);
    font-family: var(--h-font-cinzel);
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.h-stat .h-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--h-font-cormorant);
    font-size: clamp(16px, 1.45vw, 22px);
    line-height: 1.25;
}

/* -----------------------------------------
   WORKSHOP RECOMMENDED
----------------------------------------- */
.h-workshop {
    padding-top: 100px;
    padding-bottom: 120px;
    position: relative;
}

.h-workshop .h-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.h-ws-slide {
    flex: 0 0 260px;
    width: 260px;
}

/* -----------------------------------------
   TESTIMONIALS
----------------------------------------- */
.h-testimonials {
    padding: 100px 0 20px;
    position: relative;
}

.h-testimonials-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/Landing_Background_low_opacity-1-1920x1080.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    opacity: 0.18;
    filter: brightness(0.9);
    pointer-events: none;
    z-index: 0;
}

.h-testimonials-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.h-testimonials-carousel {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.05) 2%, rgba(0,0,0,0.2) 5%, rgba(0,0,0,0.5) 8%, rgba(0,0,0,0.8) 11%, black 15%, black 85%, rgba(0,0,0,0.8) 89%, rgba(0,0,0,0.5) 92%, rgba(0,0,0,0.2) 95%, rgba(0,0,0,0.05) 98%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.05) 2%, rgba(0,0,0,0.2) 5%, rgba(0,0,0,0.5) 8%, rgba(0,0,0,0.8) 11%, black 15%, black 85%, rgba(0,0,0,0.8) 89%, rgba(0,0,0,0.5) 92%, rgba(0,0,0,0.2) 95%, rgba(0,0,0,0.05) 98%, transparent 100%);
}

.h-testimonials-track {
    display: flex;
    gap: 40px;
    cursor: grab;
    user-select: none;
    overflow: hidden;
    padding: 0 80px;
}

/* Stars centered under image, above name */

.h-testimonial-name {
    font-family: var(--h-font-cormorant);
    font-weight: 700;
    font-size: 34px;
    color: var(--h-white);
    margin-bottom: 15px;
}

/* Bigger, brighter review text */
.h-testimonial-text {
    font-family: var(--h-font-cormorant);
    font-size: clamp(24px, 2.1vw, 30px);
    color: #f1efe7;
    font-style: italic;
    line-height: 1.45;
}

/* -----------------------------------------
   SPONSORS
----------------------------------------- */

.h-sponsors-carousel {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 2;
}

.h-sponsors-track {
    display: flex;
    gap: 60px;
    animation: sponsorScroll 32s linear infinite;
    width: max-content;
    align-items: center;
    padding: 30px 60px;
}

.h-sponsors-track:hover {
    animation-play-state: paused;
}

@keyframes sponsorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* -----------------------------------------
   AMMA TRAINING
----------------------------------------- */
.h-training {
    padding: 100px 0;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    z-index: 2;
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    .h-training {
        overflow-x: hidden;
    }
}

.h-training::before {
    content: none;
    display: none;
}

.h-training .h-container {
    position: relative;
    z-index: 2;
}

.h-training-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.h-training-bands {
    display: none;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    max-width: none;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.h-training-band {
    position: absolute;
    width: calc(100vw + 240px);
    left: 50%;
    background: var(--h-accent);
    transform: translateX(-50%) rotate(-8deg);
}

.h-training-band-main {
    bottom: -20px;
    height: 140px;
    transform: translateX(-50%) rotate(-8deg);
}

.h-training-band-thin {
    bottom: -34px;
    height: 8px;
    transform: translateX(-50%) rotate(-8deg);
}

.h-training-content {
    text-align: left;
    position: relative;
    z-index: 3;
}

.h-training-title {
    font-family: var(--h-font-cinzel);
    font-weight: 700;
    font-size: clamp(26px, 3.8vw, 46px);
    color: var(--h-white);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
}

.h-training-title .h-text-accent {
    color: var(--h-accent);
}

.h-training-title-group {
    display: inline-block;
    text-align: left;
}

.h-training-instructor {
    font-family: var(--h-font-cinzel);
    font-weight: 400;
    font-size: clamp(12px, 1.3vw, 17px);
    color: var(--h-white);
    margin-bottom: 30px;
    text-align: left;
    line-height: 1.5;
}

.h-training-instructor .h-text-accent {
    font-weight: 700;
    font-size: clamp(17px, 1.8vw, 24px);
    color: var(--h-accent);
}

.h-training-details {
    margin-bottom: 30px;
}

.h-training-label {
    font-family: var(--h-font-cinzel);
    font-weight: 400;
    font-size: clamp(11px, 1.1vw, 15px);
    color: var(--h-gray-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.h-training-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.h-training-list li {
    font-family: var(--h-font-cormorant);
    font-weight: 400;
    font-size: clamp(26px, 3.2vw, 42px);
    color: var(--h-white);
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.h-training-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.h-training-patreon-text {
    font-family: var(--h-font-cinzel);
    font-weight: 400;
    font-size: clamp(12px, 1.3vw, 17px);
    color: var(--h-gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.h-training .h-btn-primary {
    font-family: var(--h-font-cinzel);
    font-size: 13px;
    font-weight: 700;
    color: var(--h-black);
    background: var(--h-accent);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--h-accent);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.h-training .h-btn-primary:hover {
    background: var(--h-white);
    color: var(--h-black);
    border-color: var(--h-white);
}

.h-training-images {
    position: relative;
    height: min(580px, 41vw);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 3;
    transform: translateY(10px);
}

.h-training-image {
    position: absolute;
    border-radius: 8px;
    overflow: visible;
    isolation: isolate;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.48),
        0 18px 34px rgba(0, 0, 0, 0.30);
    transition: transform 0.4s ease;
    z-index: 2;
}

.h-training-image img {
    clip-path: inset(0 round 8px);
}

.h-training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-training-image-small {
    width: min(270px, 19vw);
    height: min(390px, 27vw);
    left: min(10px, 1vw);
    bottom: min(50px, 3.5vw);
    transform: rotate(-3deg) scaleX(-1);
    z-index: 3;
}

.h-training-image-small:hover {
    transform: rotate(-3deg) scaleX(-1);
}

.h-training-image-large {
    width: min(430px, 30vw);
    height: min(560px, 39vw);
    right: -20px;
    bottom: min(20px, 1.4vw);
    transform: rotate(4deg);
    z-index: 2;
}

.h-training-image-large:hover {
    transform: rotate(4deg);
}

/* -----------------------------------------
   BLOG POSTS
----------------------------------------- */
.h-blog {
    padding: 100px 0;
    position: relative;
}

.h-blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/Landing_Background_low_opacity-1-1920x1080.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    opacity: 0.18;
    filter: brightness(0.9);
    pointer-events: none;
    z-index: 0;
}

.h-blog .h-container {
    position: relative;
    z-index: 1;
}

.h-blog-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 50px;
    padding: 10px 0 20px;
}

.h-blog-carousel {
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
}

.h-blog-track {
    display: flex;
    gap: 22px;
    padding: 14px 70px 36px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.h-blog-track::-webkit-scrollbar {
    display: none;
}

.h-blog-slide {
    flex: 0 0 calc((100vw - 206px) / 4);
    width: calc((100vw - 206px) / 4);
    scroll-snap-align: none;
}

.h-blog-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.h-blog-card:hover {
    transform: translateY(-8px);
}

.h-blog-card-image {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 5%;
    margin-bottom: 15px;
    background: #000000;
}

.h-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.h-blog-card:hover .h-blog-card-image img {
    transform: scale(1.05);
}

.h-blog-card .h-h3 {
    color: var(--h-white);
    text-align: center;
}

/* -----------------------------------------
   INSTAGRAM FEED
----------------------------------------- */

body .j-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(16px, 4vw, 42px) !important;
    overflow: auto !important;
    background: rgba(0, 0, 0, 0.72) !important;
}

body .j-overlay .j-overlay-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: min(940px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 48px) !important;
    margin: auto !important;
    overflow: auto !important;
    transform: none !important;
}

body .j-overlay .j-post-overlay {
    max-height: calc(100vh - 48px) !important;
    overflow: auto !important;
}

body .j-overlay .j-post-overlay .j-overlay-text,
body .j-overlay .j-post-overlay .j-message {
    max-height: calc(100vh - 180px);
    overflow: auto;
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {

}

/* -----------------------------------------
   FOOTER
----------------------------------------- */

/* -----------------------------------------
   RESPONSIVE
----------------------------------------- */
@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    .h-hero-blocks { max-width: min(1100px, 90vw); }
    .h-hero-block-3 { width: min(300px, 21vw); height: min(480px, 34vw); }
    .h-hero-block-2, .h-hero-block-4 { width: min(230px, 16.5vw); height: min(400px, 28.5vw); }
    .h-hero-block-1, .h-hero-block-5 { width: min(170px, 12vw); height: min(320px, 23vw); }
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    .h-hero-blocks { max-width: min(940px, 90vw); }
    .h-workshop .h-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 15px; }
    .h-training-wrapper { gap: 40px; }
    .h-training-images { height: 450px; }

}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    .h-hero { padding-top: 60px; padding-bottom: 100px; }
    .h-hero-blocks { max-width: 95vw; gap: 10px; }
    .h-hero-block-3 { }
    .h-hero-block-2, .h-hero-block-4 { width: 17.5vw; height: 30vw; }
    .h-hero-block-1 { width: 13vw; height: 24vw; margin-top: calc(7vw - 5px); margin-right: -0.5vw; }
    .h-hero-block-5 { width: 13vw; height: 24vw; margin-top: calc(7vw - 5px); margin-left: -0.5vw; }
    .h-hero-content .h-main-title { white-space: normal; font-size: clamp(22px, 5vw, 32px); }
    .h-section-paper, .h-section-dark, .h-section-dark-gradient { padding: 60px 0; }
    .h-workshop .h-grid-4, .h-grid-4 { gap: 20px; }
    .h-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .h-training { padding-top: 30px; }
    .h-training-wrapper { gap: 30px; }
    .h-training-band-main { bottom: -50px; }
    .h-training-band-thin { bottom: -64px; }

    .h-testimonial-name { }
    .h-testimonial-text { font-size: 18px; }
    .h-torn-edge-top { height: 60px; top: -60px; }
    .h-torn-edge-bottom { height: 60px; bottom: -60px; }
    .h-training-cta { }
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    .h-hero { padding-top: 50px; padding-bottom: 60px; }
    .h-hero-blocks { transform: none; margin-bottom: 0; gap: 8px; overflow: visible; justify-content: center; padding: 0 8px; max-width: 100vw; }
    .h-hero-block-3 { flex: 0 0 auto; width: 22vw; height: 35vw; margin-top: 0; }
    .h-hero-block-2, .h-hero-block-4 { flex: 0 0 auto; width: 19vw; height: 32vw; margin-top: 3.5vw; margin-left: 0; margin-right: 0; }
    .h-hero-block-1 { flex: 0 0 auto; width: 14vw; height: 26vw; margin-top: 7vw; margin-right: 0; }
    .h-hero-block-5 { flex: 0 0 auto; width: 14vw; height: 26vw; margin-top: 7vw; margin-left: 0; }
    .h-hero-content { margin-top: 0; margin-bottom: 4px; }
    .h-hero-cta-zone { margin-bottom: 20px; }
    .h-band-middle { top: 40%; }
    .h-band-top { top: calc(40% - 6px); }
    .h-band-bottom { top: calc(40% + 180px + 4px); }
    .h-hero-content .h-subtitle { font-size: 16px; }
    .h-hero-cta-zone .h-cta-text { font-size: 24px; }

    /* Stats: keep 3 columns on mobile, smaller */
    .h-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .h-stat-label { font-size: 12px; line-height: 1.25; }

    .h-workshop .h-grid-4, .h-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .h-training { padding: 50px 0; }
    #historicum-home .h-training {
    }
    .h-training-wrapper { grid-template-columns: 1fr; text-align: center; gap: 10px; }
    .h-training-content { text-align: center; padding: 0 16px; }
    .h-training-cta { justify-content: center; }
    .h-training-instructor { text-align: center; }

    /* Bigger title on mobile */
    .h-training-title { font-size: clamp(50px, 13vw, 72px); line-height: 1.03; }

    .h-training-instructor { font-size: clamp(15px, 4vw, 20px); }
    .h-training-instructor .h-text-accent { font-size: clamp(20px, 5.5vw, 26px); }
    .h-training-list li { font-size: clamp(26px, 7vw, 36px); }
    .h-training-label { font-size: clamp(13px, 3.5vw, 16px); }
    .h-training-cta { flex-wrap: nowrap; align-items: stretch; gap: 10px; }
    .h-training-patreon-text { flex: 1; font-size: clamp(11px, 2.8vw, 14px); white-space: normal; text-align: center; display: flex; align-items: center; justify-content: center; }
    .h-training .h-btn-primary { flex: 1; font-size: clamp(10px, 2.5vw, 13px); padding: 8px 4px; white-space: nowrap; text-align: center; }
    .h-training-bands { display: none; }
    .h-training-band-main { height: 70px; bottom: -10px; }
    .h-training-band-thin { height: 5px; bottom: -20px; }
    .h-training-images { height: 72vw; min-height: unset; position: relative; margin-top: 10px; }
    .h-training-image-small { display: block; width: 38vw; height: 52vw; left: 2vw; bottom: 10px; }
    .h-training-image-large { position: absolute; right: 0; left: auto; bottom: 0; width: 53vw; height: 69vw; transform: rotate(4deg); margin: 0; aspect-ratio: unset; }
    .h-training-image-large:hover { transform: rotate(4deg); }

    /* Arrows: bigger + centered for finger tapping */
    .h-carousel-controls { justify-content: center; padding: 20px 0 0; gap: 16px; }
    .h-carousel-arrow { width: 46px; height: 46px; }
    .h-carousel-arrow::before { width: 9px; height: 9px; }
    #historicum-home .h-testimonials-carousel .h-carousel-arrow {
        border-color: rgba(255, 255, 255, 0.92);
        background: transparent;
    }
    #historicum-home .h-testimonials-carousel .h-carousel-arrow::before {
        border-color: #ffffff;
    }
    #historicum-home .h-testimonials-carousel .h-carousel-arrow:hover,
    #historicum-home .h-testimonials-carousel .h-carousel-arrow:focus-visible {
        border-color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
    }
    #historicum-home .h-testimonials-carousel .h-carousel-arrow:hover::before,
    #historicum-home .h-testimonials-carousel .h-carousel-arrow:focus-visible::before {
        border-color: #ffffff;
    }

    /* Fighters Favorite: 3 cards, arrows centered and lower */
    #historicum-home .h-best-sellers .h-bs-wrapper {
        overflow: hidden;
        padding: 8px 0 42px;
    }
    #historicum-home .h-best-sellers .h-bs-carousel {
        overflow-x: auto;
        overflow-y: hidden;
        cursor: default;
        gap: 10px;
        padding: 10px 15px 8px;
        scroll-behavior: smooth;
    }
    #historicum-home .h-best-sellers .h-bs-slide {
        flex: 0 0 calc((100vw - 50px) / 3);
        width: calc((100vw - 50px) / 3);
        min-width: 0;
        padding-bottom: 6px;
    }
    #historicum-home .h-best-sellers .h-bs-wrapper .h-carousel-controls {
        justify-content: center;
        padding: 14px 0 0;
        gap: 18px;
    }
    #historicum-home .h-best-sellers .h-bs-wrapper .h-carousel-arrow {
        width: 50px;
        height: 50px;
    }
    #historicum-home .h-best-sellers .h-bs-wrapper .h-carousel-arrow::before {
        width: 10px;
        height: 10px;
    }
    #historicum-home .h-best-sellers .h-bs-title { font-size: 13px; }
    #historicum-home .h-best-sellers .h-bs-price { font-size: 14px; }
    #historicum-home .h-best-sellers .h-bs-info { min-height: 58px; }
    #historicum-home .h-best-sellers .h-bs-card > .h-bs-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* Workshop: 3 cards, static, arrows only - same as FF */

    .h-ws-slide {
        flex: 0 0 calc((100vw - 46px) / 3);
        width: calc((100vw - 46px) / 3);
        min-width: 0;
    }

    .h-torn-edge-top { height: 50px; top: -50px; }
    .h-torn-edge-bottom { height: 50px; bottom: -50px; }

    .h-testimonial-name { font-size: 22px; }
    .h-testimonial-text { font-size: 20px; }
    .h-training-title { white-space: normal; }
    .h-training-cta { flex-wrap: wrap; }

    /* Section titles bigger on mobile */
    .h-h1 { font-size: clamp(28px, 7.6vw, 36px); }
    
    .h-h3 { font-size: clamp(18px, 5vw, 22px); }
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    .h-hero-block-3 { width: 24vw; height: 38vw; }
    .h-hero-block-2, .h-hero-block-4 { width: 20vw; height: 34vw; margin-top: 4vw; }
    .h-hero-block-1, .h-hero-block-5 { width: 15vw; height: 28vw; margin-top: 8vw; }
    .h-workshop .h-grid-4, .h-grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }

    .h-training-patreon-text { font-size: 16px; }
    .h-training .h-btn-primary { font-size: 12px; padding: 12px 24px; }
}

/* ===========================================
   HOMEPAGE COMPONENT SYSTEMS
   =========================================== */

/* Headings and title dividers */
#historicum-home {
    --h-home-paper-ink: #111111;
    --h-home-dark-text: #f8f4ea;
    --h-home-dark-muted: rgba(248, 244, 234, 0.86);
}

#historicum-home .h-section-paper .h-h1,
#historicum-home .h-section-dark .h-h1,
#historicum-home .h-section-dark-gradient .h-h1{
    font-size: clamp(34px, 3.6vw, 45px);
    line-height: 1.04;
    letter-spacing: 0.06em;
}

#historicum-home .h-h1,
#historicum-home .h-h3{
    color: var(--h-home-dark-text);
}

#historicum-home .h-hero-content .h-main-title,
#historicum-home .h-hero-content .h-subtitle {
    color: var(--h-white);
}

#historicum-home .h-section-paper,
#historicum-home .h-section-paper .h-h1,
#historicum-home .h-section-paper .h-h3,
#historicum-home .h-section-paper .h-home-section-intro{
    color: var(--h-home-paper-ink);
}

/* Intro paragraphs (e.g. "Workshop Recommended") must be centred + width-capped
   on DESKTOP too. The matching rule existed only inside the mobile media query,
   so on desktop the paragraph stretched edge-to-edge, left-aligned. */
#historicum-home .h-home-section-intro {
    max-width: 920px;
}

#historicum-home .h-section-dark,
#historicum-home .h-section-dark-gradient,
#historicum-home .h-dark-sections-group,
#historicum-home .h-dark-sections-group .h-h1,
#historicum-home .h-dark-sections-group .h-h3,
#historicum-home .h-dark-sections-group .h-training-title{
    color: var(--h-home-dark-text);
}

#historicum-home .h-dark-sections-group .h-home-section-intro,
#historicum-home .h-dark-sections-group .h-training-instructor,
#historicum-home .h-dark-sections-group .h-training-label,
#historicum-home .h-dark-sections-group .h-training-patreon-text {
    color: var(--h-home-dark-muted);
}

#historicum-home .h-dark-sections-group .h-text-accent,
#historicum-home .h-dark-sections-group .h-training-title .h-text-accent,
#historicum-home .h-dark-sections-group .h-training-instructor .h-text-accent {
    color: var(--h-accent);
}

#historicum-home .h-title-with-lines .h-h1,
#historicum-home .h-title-with-lines .h-h3{
    background: transparent;
}

#historicum-home .h-title-line-top,
#historicum-home .h-title-line-bottom {
    height: 1px;
    border: 0;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.18) 14%,
        rgba(0, 0, 0, 0.72) 50%,
        rgba(0, 0, 0, 0.18) 86%,
        rgba(0, 0, 0, 0) 100%
    );
}

#historicum-home .h-section-dark .h-title-line-top,
#historicum-home .h-section-dark .h-title-line-bottom,
#historicum-home .h-section-dark-gradient .h-title-line-top,
#historicum-home .h-section-dark-gradient .h-title-line-bottom {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.16) 14%,
        rgba(255, 255, 255, 0.72) 50%,
        rgba(255, 255, 255, 0.16) 86%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* Paper sections and torn edges */
#historicum-home .h-section-paper {
    position: relative;
    z-index: 5;
    overflow: visible;
    background-image: none;
}

#historicum-home .h-section-paper::before,
#historicum-home .h-section-paper::after {
    content: none;
    display: none;
}

#historicum-home .h-section-paper > * {
}

#historicum-home .h-torn-edge-top,
#historicum-home .h-torn-edge-bottom {
    z-index: 4;
    background-color: #f5f0e6;
    background-image: none;
    -webkit-mask-image: url("https://historicum.pl/wp-content/uploads/2026/04/torn-edge.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 118% 100%;
    mask-image: url("https://historicum.pl/wp-content/uploads/2026/04/torn-edge.svg");
    mask-repeat: no-repeat;
    mask-size: 118% 100%;
}

#historicum-home .h-torn-edge-top {
    -webkit-mask-position: 48% bottom;
    mask-position: 48% bottom;
}

#historicum-home .h-torn-edge-bottom {
    -webkit-mask-position: 52% top;
    mask-position: 52% top;
}

#historicum-home .h-torn-edge-top::before,
#historicum-home .h-torn-edge-top::after,
#historicum-home .h-torn-edge-bottom::before,
#historicum-home .h-torn-edge-bottom::after {
    content: none;
    display: none;
}

/* Hero block sizing */
#historicum-home .h-hero-block-label {
    font-size: clamp(16px, 1.8vw, 24px);
    letter-spacing: 0.1em;
}

#historicum-home .h-hero-blocks {
    max-width: min(1480px, 96vw);
    gap: 6px;
}

#historicum-home .h-hero-block-1 { margin-right: -12px; }
#historicum-home .h-hero-block-2 { margin-right: -12px; }
#historicum-home .h-hero-block-4 { margin-left: -12px; }
#historicum-home .h-hero-block-5 { margin-left: -12px; }

#historicum-home .h-hero .h-hero-block-1,
#historicum-home .h-hero .h-hero-block-5 { z-index: 20; }

#historicum-home .h-hero .h-hero-block-2,
#historicum-home .h-hero .h-hero-block-4 { z-index: 40; }

#historicum-home .h-hero .h-hero-block-3 { z-index: 60; }

#historicum-home .h-band-middle {
    top: calc(50% + 30px);
    height: 152px;
}

#historicum-home .h-band-top {
    top: calc(50% + 23px);
    height: 3px;
}

#historicum-home .h-band-bottom {
    top: calc(50% + 187px);
    height: 9px;
}

@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
    #historicum-home .h-hero-block-3 {
        width: clamp(500px, 31vw, 535px);
        height: clamp(690px, 43vw, 735px);
        margin-top: 0;
    }

    #historicum-home .h-hero-block-2,
    #historicum-home .h-hero-block-4 {
        width: clamp(382px, 23.5vw, 410px);
        height: clamp(600px, 36.7vw, 635px);
        margin-top: 54px;
    }

    #historicum-home .h-hero-block-1,
    #historicum-home .h-hero-block-5 {
        width: clamp(252px, 16vw, 280px);
        height: clamp(468px, 30vw, 510px);
        margin-top: 114px;
    }
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-hero-blocks { gap: 4px; }
    #historicum-home .h-hero-block-1 { }
    #historicum-home .h-hero-block-2 { }
    #historicum-home .h-hero-block-4 { }
    #historicum-home .h-hero-block-5 { }

    #historicum-home .h-hero-block-3 {
        width: min(360px, 27vw);
        height: min(540px, 40vw);
    }

    #historicum-home .h-hero-block-2,
    #historicum-home .h-hero-block-4 {
        width: min(280px, 21vw);
        height: min(455px, 34vw);
        margin-top: 42px;
    }

    #historicum-home .h-hero-block-1,
    #historicum-home .h-hero-block-5 {
        width: min(205px, 15vw);
        height: min(365px, 27vw);
        margin-top: 96px;
    }
}

/* Shared product card language */
#historicum-home .h-home-fighters-favorite .h-container,
#historicum-home .h-workshop .h-container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

#historicum-home .h-home-fighters-favorite .h-title-with-lines,
#historicum-home .h-workshop .h-title-with-lines {
    max-width: var(--h-container-wide);
    margin-right: auto;
    margin-left: auto;
    padding-top: clamp(14px, 1.2vw, 18px);
    padding-right: var(--h-space-md);
    padding-bottom: clamp(14px, 1.2vw, 18px);
    padding-left: var(--h-space-md);
}

#historicum-home .h-home-fighters-favorite .h-title-with-lines .h-h1,
#historicum-home .h-workshop .h-title-with-lines .h-h1 {
    padding-right: clamp(22px, 2vw, 28px);
    padding-left: clamp(22px, 2vw, 28px);
}

#historicum-home .h-home-fighters-favorite {
    max-width: 100%;
    overflow: visible;
}

#historicum-home .h-home-fighters-favorite .h-shop-fighter-wrapper {
    position: relative;
    left: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
    overflow: visible;
    box-sizing: border-box;
}

#historicum-home .h-bs-wrapper {
    overflow-x: visible;
    overflow-y: visible;
}

#historicum-home .h-home-fighters-favorite .h-shop-fighter-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 12px var(--h-shop-section-left-pad, 40px) 22px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: auto;
    touch-action: auto;
    scroll-behavior: auto;
}

#historicum-home .h-home-fighters-favorite .h-shop-fighter-carousel::-webkit-scrollbar {
    display: none;
}

#historicum-home .h-home-fighters-favorite .h-bs-slide {
    position: relative;
    isolation: isolate;
    flex: 0 0 280px;
    width: 280px;
    padding-bottom: 12px;
    background: transparent !important;
    box-shadow: none !important;
}

#historicum-home .h-home-fighters-favorite .h-bs-slide::before,
#historicum-home .h-home-fighters-favorite .h-bs-slide::after {
    content: none;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

#historicum-home .h-home-fighters-favorite .h-bs-card {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.78);
    border-radius: 10px;
    background: #0b0b0b;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#historicum-home .h-home-fighters-favorite .h-bs-card {
    -webkit-box-shadow: 0 4px 7px rgba(0, 0, 0, 0.54), 0 1px 2px rgba(0, 0, 0, 0.38);
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.54), 0 1px 2px rgba(0, 0, 0, 0.38);
}

#historicum-home .h-bs-card.h-set-temporarily-unavailable,
#historicum-home .h-ws-card.h-set-temporarily-unavailable {
    opacity: 0.52;
    filter: grayscale(1);
}

#historicum-home .h-bs-card.h-set-temporarily-unavailable::after,
#historicum-home .h-ws-card.h-set-temporarily-unavailable::after {
    content: "TEMPORARILY UNAVAILABLE";
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    z-index: 90;
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid rgba(235, 188, 0, 0.75);
    border-radius: 6px;
    background: rgba(5, 5, 5, 0.86);
    color: var(--h-accent);
    font-family: var(--h-font-cinzel);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-align: center;
    pointer-events: none;
}

#historicum-home .h-sets-unavailable-label {
    color: var(--h-accent);
    font-family: var(--h-font-cinzel);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}

#historicum-home .h-home-fighters-favorite .h-bs-card:hover,
#historicum-home .h-home-fighters-favorite .h-bs-card:focus-visible {
    border-color: var(--h-accent);
    -webkit-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.60), 0 1px 3px rgba(0, 0, 0, 0.42);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.60), 0 1px 3px rgba(0, 0, 0, 0.42);
    transform: none;
}

#historicum-home .h-home-fighters-favorite .h-bs-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 40;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 0 8px;
    background: var(--h-accent);
    color: #111;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
}

#historicum-home .h-home-fighters-favorite .h-bs-card.is-sale::before {
    content: none;
    display: none;
}

#historicum-home .h-sale-ribbon,
#historicum-home .h-ws-sale-badge {
    position: absolute;
    top: 8px;
    left: -78px;
    z-index: 85;
    display: flex;
    width: 244px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid rgba(0, 0, 0, 0.24);
    border-radius: 4px;
    background: var(--h-accent);
    color: #111;
    font-family: var(--h-font-instrument);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
    transform: rotate(-24deg);
    -webkit-box-shadow: 3px 3px 7px -1px #000000;
    box-shadow: 3px 3px 7px -1px #000000;
}

#historicum-home .h-sale-ribbon span,
#historicum-home .h-ws-sale-badge span {
    display: block;
    line-height: 1;
}

#historicum-home .h-sale-ribbon .h-sale-ribbon-label,
#historicum-home .h-ws-sale-badge .h-sale-ribbon-label {
    font-size: 10px;
    letter-spacing: 0.16em;
}

#historicum-home .h-sale-ribbon .h-sale-ribbon-amount,
#historicum-home .h-ws-sale-badge .h-sale-ribbon-amount {
    margin-top: 0;
    font-size: 16px;
    letter-spacing: 0.035em;
}

#historicum-home .h-home-fighters-favorite .h-bs-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    background: #111;
}

#historicum-home .h-home-fighters-favorite .h-bs-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease, opacity 0.36s ease;
}

#historicum-home .h-home-fighters-favorite .h-bs-image .h-card-image-secondary {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

#historicum-home .h-home-fighters-favorite .h-bs-card:hover .h-card-image-primary:not(.h-card-image-only) {
    opacity: 0;
}

#historicum-home .h-home-fighters-favorite .h-bs-card:hover .h-card-image-primary.h-card-image-only {
    opacity: 1;
}

#historicum-home .h-home-fighters-favorite .h-bs-card:hover .h-card-image-secondary {
    opacity: 1;
}

#historicum-home .h-home-fighters-favorite .h-bs-card:hover .h-bs-image > img {
    transform: scale(1.05);
}

#historicum-home .h-home-fighters-favorite .h-bs-image img.h-shop-card-watermark {
    position: absolute;
    right: auto;
    bottom: 8px;
    left: 8px;
    z-index: 4;
    display: block;
    width: 42px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
    opacity: 0.98;
    filter: none;
    pointer-events: none;
    transition: none;
}

#historicum-home .h-home-fighters-favorite .h-bs-info {
    position: relative;
    display: flex;
    min-height: 86px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    margin-top: 0;
    padding: 10px 12px 12px;
    background-color: #090909;
    background-image: linear-gradient(135deg, #252525 0%, #121212 48%, #020202 100%);
    text-align: center;
}

#historicum-home .h-home-fighters-favorite .h-bs-info::after {
    content: "ORDER NOW";
    position: absolute;
    top: auto;
    right: -1px;
    bottom: -1px;
    left: -1px;
    z-index: 70;
    display: flex;
    height: 43px;
    min-height: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: var(--h-accent);
    color: #111;
    font-family: var(--h-font-instrument);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
    clip-path: inset(0 100% 0 0);
    transform: translateZ(0);
    transition: clip-path 0.18s cubic-bezier(0.25, 0.9, 0.25, 1);
}

#historicum-home .h-home-fighters-favorite .h-bs-info::after {
    height: 48px;
}

#historicum-home .h-home-fighters-favorite .h-bs-card:hover .h-bs-info::after,
#historicum-home .h-home-fighters-favorite .h-bs-card:focus-visible .h-bs-info::after,
#historicum-home .h-home-fighters-favorite .h-bs-card:active .h-bs-info::after {
    clip-path: inset(0 0 0 0);
}

#historicum-home .h-home-fighters-favorite .h-bs-title {
    display: -webkit-box;
    width: 100%;
    min-height: 30px;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-family: var(--h-font-instrument);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#historicum-home .h-home-fighters-favorite .h-bs-title {
    text-align: left;
}

#historicum-home .h-home-fighters-favorite .h-bs-bottom-row {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
}

#historicum-home .h-home-fighters-favorite .h-bs-reviews .h-stars,
#historicum-home .h-home-fighters-favorite .h-bs-reviews .star-rating {
    color: var(--h-accent);
    font-size: 11px;
    letter-spacing: 1.5px;
}

#historicum-home .h-home-fighters-favorite .h-bs-price {
    position: relative;
    display: inline-flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 auto;
    padding: 4px 10px;
    border: 0.5px solid rgba(235, 188, 0, 0.9);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--h-accent);
    font-family: var(--h-font-instrument);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

#historicum-home .h-home-fighters-favorite .h-bs-price {
    margin-right: 0;
    margin-left: auto;
}

#historicum-home .h-home-fighters-favorite .h-bs-price *,
#historicum-home .h-home-fighters-favorite .h-bs-price ins{
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    text-decoration: none;
}

#historicum-home .h-home-fighters-favorite .h-bs-price del{
    display: inline-block;
    color: #fff;
    font-size: 0.58em;
    line-height: 1;
    opacity: 1;
    text-align: center;
    text-decoration: line-through;
}

#historicum-home .h-carousel-page-indicator {
    display: none;
}

#historicum-home .h-home-fighters-favorite .h-bs-wrapper .h-carousel-controls,
#historicum-home .h-workshop .h-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 70px;
}

#historicum-home .h-home-fighters-favorite .h-bs-wrapper .h-carousel-controls {
    justify-content: center;
    padding-right: 24px;
    padding-left: 24px;
}

@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
    #historicum-home .h-home-fighters-favorite .h-shop-fighter-wrapper {
        overflow: hidden;
    }

    #historicum-home .h-home-fighters-favorite .h-shop-fighter-carousel {
        overflow: visible;
    }
}

/* Workshop Recommended */
#historicum-home .h-workshop {
    width: 100vw;
    max-width: none;
    box-sizing: border-box;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-top: 86px;
    padding-bottom: 94px;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial {
    position: relative;
    width: min(1120px, calc(100vw - 40px));
    box-sizing: border-box;
    margin: 34px auto 0;
    overflow: visible;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-ws-viewport {
    box-sizing: border-box;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 6px;
    cursor: grab;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-ws-viewport.is-dragging {
    cursor: grabbing;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-ws-viewport.is-dragging * {
    -webkit-user-select: none;
    user-select: none;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-ws-pages-track {
    display: flex;
    width: 100%;
    align-items: stretch;
    will-change: transform;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-ws-page {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 1100px;
    min-height: 360px;
    grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.56fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    padding: clamp(26px, 3vw, 44px);
    border: 1px solid rgba(235, 188, 0, 0.36);
    border-radius: 6px;
    background: linear-gradient(145deg, #171717 0%, #0b0b0b 54%, #020202 100%);
    color: #f8f4ea;
    font-family: var(--h-font-instrument);
    text-decoration: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card::before {
    content: none;
    display: none;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:hover,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:focus-within {
    border-color: rgba(235, 188, 0, 0.78);
    -webkit-box-shadow: none;
    box-shadow: none;
    transform: translateY(-2px);
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-media {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(235, 188, 0, 0.22);
    border-radius: 4px;
    background: #111111;
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-media > img:not(.h-shop-card-watermark) {
    display: block;
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 82%;
    box-sizing: border-box;
    object-fit: contain;
    padding: 0;
    transition: transform 0.28s ease, opacity 0.36s ease;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:hover .h-wsr-media > img:not(.h-shop-card-watermark),
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:focus-within .h-wsr-media > img:not(.h-shop-card-watermark) {
    transform: scale(1.035);
}

#historicum-home .h-ws-editorial .h-shop-card-watermark {
    display: none !important;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-media img.h-shop-card-watermark {
    display: none !important;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-media .h-ws-sale-badge {
    top: 18px;
    left: -62px;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    font-family: var(--h-font-instrument);
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-eyebrow {
    margin: 0;
    color: var(--h-accent);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.25;
    text-transform: uppercase;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-product-kicker {
    margin: -8px 0 0;
    color: rgba(248, 244, 234, 0.66);
    font-family: var(--h-font-instrument);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-headline-link {
    color: inherit;
    text-decoration: none;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-headline {
    max-width: 20ch;
    margin: 0;
    color: #f8f4ea;
    font-family: var(--h-font-cinzel);
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.12;
    text-transform: none;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-desc {
    max-width: 46ch;
    margin: 0;
    color: #f8f4ea;
    font-family: var(--h-font-cormorant);
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-attribution {
    margin: -2px 0 4px;
    color: rgba(248, 244, 234, 0.66);
    font-family: var(--h-font-cormorant);
    font-size: 15px;
    line-height: 1.35;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-stars,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-stars .star-rating {
    color: var(--h-accent);
    font-size: 14px;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f8f4ea;
    font-family: var(--h-font-instrument);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price *,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price ins {
    color: inherit;
    font-family: inherit;
    text-decoration: none;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price ins {
    color: var(--h-accent);
    font-weight: 700;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price del {
    color: rgba(248, 244, 234, 0.66);
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price .h-lowest-price-note {
    display: block;
    flex-basis: 100%;
    color: rgba(248, 244, 234, 0.66);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 4px;
    padding: 12px 22px;
    border: 1px solid var(--h-accent);
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
    color: #f8f4ea;
    font-family: var(--h-font-instrument);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta:hover,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta:focus-visible {
    color: #1a1a1a;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-page-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 0;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-page-dot {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(40, 33, 24, 0.30);
    border-radius: 999px;
    background: rgba(40, 33, 24, 0.22);
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    transition: width 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-page-dot.is-active {
    width: 28px;
    border-color: var(--h-accent);
    background: var(--h-accent);
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-page-dot:focus-visible {
    outline: 2px solid var(--h-accent);
    outline-offset: 4px;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-controls {
    position: relative;
    z-index: 10;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
    padding: 0;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-arrow {
    border-color: rgba(40, 33, 24, 0.30);
    background: transparent;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-arrow::before {
    border-color: #1f1b16;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-arrow:hover,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-arrow:focus-visible {
    border-color: var(--h-accent);
    background: var(--h-accent);
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-arrow:hover::before,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-carousel-arrow:focus-visible::before {
    border-color: #1a1a1a;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial.h-carousel-single-page .h-carousel-controls,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial.h-carousel-single-page .h-carousel-page-indicator {
    display: none;
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial {
        width: min(100%, calc(100vw - 32px));
    }
}

@media (max-width: 900px) {
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-media {
        max-width: 460px;
        margin: 0 auto;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-body {
        align-items: center;
        text-align: center;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-headline {
        max-width: 20ch;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-desc {
        font-size: 19px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-meta {
        justify-content: center;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price {
        align-items: center;
        justify-content: center;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta {
        align-self: center;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card::before {
        display: none;
    }
}

@media (max-width: 560px) {
    #historicum-home .h-workshop {
        padding-top: 46px;
        padding-bottom: 58px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial {
        width: min(100%, calc(100vw - 24px));
        margin-top: 20px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card {
        padding: 16px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-media > img:not(.h-shop-card-watermark) {
        max-width: 84%;
        max-height: 84%;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-headline {
        font-size: 28px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-desc {
        font-size: 16px;
        line-height: 1.55;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price {
        font-size: 15px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta {
        width: 100%;
        max-width: 260px;
    }
}

/* Trusted by Community */
#historicum-home .h-testimonials {
    position: relative;
    overflow: hidden;
    padding: 76px 0 44px;
}

#historicum-home .h-testimonials > .h-container {
    margin-bottom: 22px;
}

#historicum-home .h-testimonials-wrapper {
    margin-top: clamp(72px, calc(2.5vw + 44px), 94px);
}

#historicum-home .h-testimonials-carousel {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

#historicum-home .h-testimonials-viewport {
    position: relative;
    width: 100%;
    height: clamp(330px, 30vw, 430px);
    overflow: visible;
    touch-action: pan-y;
}

#historicum-home .h-testimonials-track {
    position: relative;
    width: min(820px, calc(100vw - 48px));
    height: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    cursor: grab;
    --h-review-drag-x: 0px;
}

#historicum-home .h-testimonials-carousel.is-dragging .h-testimonials-track {
    cursor: grabbing;
}

#historicum-home .h-testimonial-text-card {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    width: min(760px, 100%);
    min-height: 275px;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    margin: auto;
    padding: clamp(28px, 3vw, 42px);
    border: 1px solid rgba(235, 188, 0, 0.22);
    border-radius: 10px;
    background: rgba(4, 6, 4, 0.88);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.62), 0 16px 28px rgba(0, 0, 0, 0.40);
    color: #f5f0e6;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translate3d(0, 22px, 0) scale(0.84);
    transition: opacity 0.26s ease, transform 0.26s ease, box-shadow 0.26s ease;
}

#historicum-home .h-testimonial-text-card.is-active {
    z-index: 4;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.70), 0 20px 34px rgba(0, 0, 0, 0.46);
    transform: translate3d(var(--h-review-drag-x), 0, 0) scale(1);
}

#historicum-home .h-testimonial-text-card.is-prev {
    z-index: 2;
    opacity: 0.42;
    transform: translate3d(calc(-38% + (var(--h-review-drag-x) * 0.35)), 18px, 0) scale(0.86);
}

#historicum-home .h-testimonial-text-card.is-next {
    z-index: 2;
    opacity: 0.42;
    transform: translate3d(calc(38% + (var(--h-review-drag-x) * 0.35)), 18px, 0) scale(0.86);
}

#historicum-home .h-testimonial-text-card.is-back {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.78);
}

#historicum-home .h-testimonial-text-card .h-stars {
    color: var(--h-accent);
    font-size: clamp(18px, 1.6vw, 24px);
    letter-spacing: 0.18em;
    line-height: 1;
}

#historicum-home .h-testimonial-text-card .h-testimonial-text {
    margin: 0;
    color: #f5f0e6;
    font-family: var(--h-font-cormorant);
    font-size: clamp(22px, 2vw, 30px);
    font-style: italic;
    line-height: 1.34;
}

#historicum-home .h-testimonial-text-card .h-testimonial-name {
    margin: 4px 0 0;
    color: var(--h-accent);
    font-family: var(--h-font-cinzel);
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
    #historicum-home .h-testimonials-carousel .h-carousel-controls {
        display: flex;
        justify-content: center;
        gap: 14px;
        padding: 30px 0 0;
    }

    #historicum-home .h-testimonials-carousel .h-carousel-arrow {
        border-color: rgba(245, 240, 230, 0.86);
    }

    #historicum-home .h-testimonials-carousel .h-carousel-arrow::before {
        border-color: rgba(245, 240, 230, 0.86);
    }

    #historicum-home .h-testimonials-carousel .h-carousel-arrow:hover {
        border-color: var(--h-accent);
        background: var(--h-accent);
    }

    #historicum-home .h-testimonials-carousel .h-carousel-arrow:hover::before {
        border-color: #111;
    }
}

/* Train Like In AMMA */
#historicum-home .h-training-bands,
#historicum-home .h-training-band,
#historicum-home .h-training-band-main,
#historicum-home .h-training-band-thin {
}

@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
    #historicum-home .h-training {
        padding-top: clamp(68px, 6vw, 108px);
        padding-bottom: clamp(80px, 6vw, 110px);
    }

    #historicum-home .h-training .h-container {
        max-width: min(1560px, calc(100vw - 80px));
    }

    #historicum-home .h-training-wrapper {
        grid-template-columns: minmax(0, 1.05fr) minmax(640px, 1.35fr);
        gap: clamp(70px, 6vw, 110px);
    }

    #historicum-home .h-training-title {
        font-size: clamp(34px, 4.94vw, 60px);
    }

    #historicum-home .h-training-instructor {
        margin-bottom: 39px;
        font-size: clamp(16px, 1.69vw, 22px);
    }

    #historicum-home .h-training-instructor .h-text-accent {
        font-size: clamp(22px, 2.34vw, 31px);
    }

    #historicum-home .h-training-label {
        font-size: clamp(14px, 1.43vw, 20px);
    }

    #historicum-home .h-training-list li {
        font-size: clamp(34px, 4.16vw, 55px);
    }

    #historicum-home .h-training-patreon-text {
        font-size: clamp(16px, 1.69vw, 22px);
    }

    #historicum-home .h-training .h-btn-primary {
        padding: 13px 26px;
        font-size: 17px;
    }

    #historicum-home .h-training-images {
        height: min(690px, 48vw);
    }

    #historicum-home .h-training-image-small {
        width: min(330px, 23vw);
        height: min(475px, 33vw);
        left: min(34px, 2.4vw);
        bottom: min(58px, 4vw);
    }

    #historicum-home .h-training-image-large {
        width: min(520px, 36vw);
        height: min(675px, 47vw);
        right: 0;
        bottom: min(18px, 1.25vw);
    }
}

/* Blog carousel and cards */
#historicum-home .h-blog-wrapper,
#historicum-home .h-blog-carousel {
    overflow: hidden;
}

#historicum-home .h-blog-carousel {
    -webkit-mask-image: none;
    mask-image: none;
}

#historicum-home .h-blog-track {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 28px 70px 56px;
    cursor: grab;
    scroll-behavior: smooth;
    scroll-snap-type: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
    -webkit-user-select: none;
    user-select: none;
    animation: none;
}

#historicum-home .h-blog-track::-webkit-scrollbar {
    display: none;
}

#historicum-home .h-blog-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

#historicum-home .h-blog-track.is-dragging a,
#historicum-home .h-blog-track.is-dragging img {
    pointer-events: none;
}

#historicum-home .h-blog-slide {
    flex: 0 0 calc((100vw - 182px) / 4);
    width: calc((100vw - 182px) / 4);
    min-width: 0;
    max-width: none;
    background: transparent;
    border: none;
    outline: none;
}

#historicum-home .h-blog-card {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(560px, 46vw, 740px);
    overflow: hidden;
    isolation: isolate;
    clip-path: inset(0 round 18px);
    border: none;
    border-radius: 18px;
    outline: none;
    background: #000;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.50);
    transform: translateZ(0);
    transition: box-shadow 300ms ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#historicum-home .h-blog-card:hover {
    border: none;
    outline: none;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.58);
    transform: translateZ(0);
}

#historicum-home .h-blog-card::before,
#historicum-home .h-blog-card::after {
    content: none;
    display: none;
}

#historicum-home .h-blog-card-image {
    position: absolute;
    inset: 0;
    isolation: isolate;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: linear-gradient(145deg, #0b2117, #000);
    box-shadow: inset 0 0 0 1px #000;
}

#historicum-home .h-blog-card-image img,
#historicum-home .h-blog-card-fallback {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.4s ease;
}

#historicum-home .h-blog-card:hover .h-blog-card-image img {
    transform: scale(1.04);
}

#historicum-home .h-blog-card-image::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 2;
    pointer-events: none;
    border-radius: 0;
    opacity: 1;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.12) 24%,
        rgba(0, 0, 0, 0.22) 44%,
        rgba(0, 0, 0, 0.46) 64%,
        rgba(0, 0, 0, 0.72) 82%,
        rgba(0, 0, 0, 0.90) 94%,
        #000 100%
    );
}

#historicum-home .h-blog-card .h-h3 {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: -webkit-box;
    min-height: 124px;
    max-height: 124px;
    margin: 0;
    padding: 28px 20px 24px;
    overflow: hidden;
    border: none;
    outline: none;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.00) 0%,
        rgba(0, 0, 0, 0.46) 28%,
        rgba(0, 0, 0, 0.86) 66%,
        #000 100%
    );
    color: #fff;
    font-size: clamp(19px, 1.25vw, 24px);
    line-height: 1.12;
    letter-spacing: 0.035em;
    text-align: center;
    text-transform: uppercase;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#historicum-home .h-blog .h-carousel-controls,
#historicum-home .h-blog .h-blog-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 70px 0;
    opacity: 1;
    visibility: visible;
}

#historicum-home .h-blog .h-carousel-arrow {
    display: flex;
    border-color: rgba(255, 255, 255, 0.92);
    background: transparent;
    opacity: 1;
    visibility: visible;
}

#historicum-home .h-blog .h-carousel-arrow::before {
    border-color: rgba(255, 255, 255, 0.92);
}

#historicum-home .h-blog .h-carousel-arrow:hover {
    border-color: var(--h-accent);
    background: var(--h-accent);
}

#historicum-home .h-blog .h-carousel-arrow:hover::before {
    border-color: #111;
}

#historicum-home .h-blog-read-more-wrap {
    display: flex;
    justify-content: center;
    padding: 8px 24px 0;
}

#historicum-home .h-blog-read-more {
    border: 2px solid var(--h-accent);
    border-radius: 50px;
    box-shadow: none;
}

/* Sponsors */
#historicum-home .h-sponsors-track {
    animation-duration: 156s;
}

/* Tablet and mobile */
@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-hero-blocks {
    }

    #historicum-home .h-hero-block-1 { margin-right: -6px; }
    #historicum-home .h-hero-block-2 { margin-right: -6px; }
    #historicum-home .h-hero-block-4 { margin-left: -6px; }
    #historicum-home .h-hero-block-5 { margin-left: -6px; }

    #historicum-home .h-testimonials {
        padding-top: 58px;
        padding-bottom: 44px;
    }

    #historicum-home .h-testimonials-wrapper {
        margin-top: 64px;
    }

    #historicum-home .h-blog-track {
        gap: 14px;
        padding: 26px 24px 52px;
    }

    #historicum-home .h-blog-slide {
        flex: 0 0 calc((100vw - 70px) / 2);
        width: calc((100vw - 70px) / 2);
    }

    #historicum-home .h-blog .h-carousel-controls,
    #historicum-home .h-blog .h-blog-controls {
        justify-content: center;
        padding: 18px 24px 0;
    }
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home {
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
    }

    #historicum-home .h-hero {
        --h-mobile-hero-band-height: clamp(104px, 31vw, 132px);
        --h-mobile-hero-band-offset: clamp(66px, 17.5vw, 84px);
    }

    #historicum-home .h-hero-block-label {
        font-size: clamp(10px, 3vw, 15px);
    }

    #historicum-home .h-hero-blocks {
        max-width: min(100%, 100vw);
        padding-right: 8px;
        padding-left: 8px;
        gap: 0;
        justify-content: center;
        align-items: flex-start;
        overflow: visible;
        box-sizing: border-box;
    }

    #historicum-home .h-hero-block-3 {
        flex: 0 0 auto;
        width: clamp(118px, 39vw, 202px);
        height: clamp(188px, 62.2vw, 322px);
        margin-top: 0;
        margin-right: 0;
        margin-left: 0;
        transform: scale(1.018);
        z-index: 5;
    }

    #historicum-home .h-hero-block-2,
    #historicum-home .h-hero-block-4 {
        flex: 0 0 auto;
        width: clamp(94px, 31vw, 162px);
        height: clamp(158px, 52vw, 272px);
        margin-top: clamp(14px, 4vw, 22px);
        z-index: 4;
    }

    #historicum-home .h-hero-block-1,
    #historicum-home .h-hero-block-5 {
        flex: 0 0 auto;
        width: clamp(70px, 24vw, 124px);
        height: clamp(128px, 43vw, 222px);
        margin-top: clamp(30px, 8vw, 42px);
        z-index: 3;
    }

    /* Overlap reduced so the BIG blocks spread into a fan that spans ~76% of the
       screen width (was ~50% - the blocks were stacked almost on top of each
       other). Was clamp(-70px, -13.9vw, -46px). */
    #historicum-home .h-hero-block-1,
    #historicum-home .h-hero-block-2 {
        margin-right: clamp(-44px, -7.5vw, -28px);
        margin-left: 0;
    }

    #historicum-home .h-hero-block-4,
    #historicum-home .h-hero-block-5 {
        margin-right: 0;
        margin-left: clamp(-44px, -7.5vw, -28px);
    }

    #historicum-home .h-hero .h-hero-block-3::before,
    #historicum-home .h-hero .h-hero-block-3:focus-visible::before,
    #historicum-home .h-hero .h-hero-block-3 .h-hero-block-inner::before,
    #historicum-home .h-hero .h-hero-block-3 .h-hero-block-inner::after,
    #historicum-home .h-hero .h-hero-block-3 .h-hero-block-label {
        opacity: 1;
    }

    #historicum-home .h-hero .h-hero-block::before {
        inset: -2px;
        padding: 2px;
    }

    #historicum-home .h-band-middle {
        top: calc(50% - var(--h-mobile-hero-band-offset) + 30px);
        height: var(--h-mobile-hero-band-height);
    }

    #historicum-home .h-band-top {
        top: calc(50% - var(--h-mobile-hero-band-offset) + 23px);
    }

    #historicum-home .h-band-bottom {
        top: calc(50% - var(--h-mobile-hero-band-offset) + var(--h-mobile-hero-band-height) + 34px);
    }

    #historicum-home .h-stats {
        padding-top: 110px;
        padding-bottom: 110px;
        border-radius: 0 !important;
    }

    #historicum-home .h-title-with-lines {
        padding-top: 7px;
        padding-bottom: 7px;
        margin-bottom: 24px;
    }

    #historicum-home .h-title-with-lines .h-h1 {
        padding-right: 24px;
        padding-left: 24px;
    }

    #historicum-home .h-home-fighters-favorite .h-title-with-lines,
    #historicum-home .h-workshop .h-title-with-lines {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #historicum-home .h-home-fighters-favorite .h-title-with-lines .h-h1,
    #historicum-home .h-workshop .h-title-with-lines .h-h1 {
        padding-right: 16px;
        padding-left: 16px;
        font-size: clamp(34px, 3.6vw, 45px);
        line-height: 1.04;
    }

    #historicum-home .h-home-fighters-favorite .h-shop-fighter-wrapper,
    #historicum-home .h-home-fighters-favorite .h-bs-wrapper {
        overflow: visible;
    }

    #historicum-home .h-home-fighters-favorite .h-bs-wrapper {
        max-width: 100%;
        padding-bottom: 46px;
    }

    #historicum-home .h-home-fighters-favorite .h-shop-fighter-carousel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-right: 15vw;
        padding-left: 15vw;
        padding-bottom: 46px;
        overflow-x: auto;
        overflow-y: visible;
        overscroll-behavior-x: auto;
        touch-action: auto;
        scroll-behavior: smooth;
        transform: none;
        will-change: auto;
    }

    #historicum-home .h-home-fighters-favorite .h-bs-slide {
        flex: 0 0 70vw;
        width: 70vw;
        max-width: 280px;
        padding-bottom: 34px;
    }

    #historicum-home .h-home-fighters-favorite .h-bs-card {
        -webkit-box-shadow: 0 4px 7px rgba(0, 0, 0, 0.54), 0 1px 2px rgba(0, 0, 0, 0.38);
        box-shadow: 0 4px 7px rgba(0, 0, 0, 0.54), 0 1px 2px rgba(0, 0, 0, 0.38);
    }

    #historicum-home .h-home-fighters-favorite .h-bs-card:hover,
    #historicum-home .h-home-fighters-favorite .h-bs-card:active,
    #historicum-home .h-home-fighters-favorite .h-bs-card:focus-visible {
        -webkit-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.60), 0 1px 3px rgba(0, 0, 0, 0.42);
        box-shadow: 0 5px 8px rgba(0, 0, 0, 0.60), 0 1px 3px rgba(0, 0, 0, 0.42);
    }

    #historicum-home .h-home-fighters-favorite .h-bs-wrapper .h-carousel-controls {
        display: none;
    }

    #historicum-home .h-home-fighters-favorite .h-bs-wrapper .h-carousel-arrow {
        pointer-events: none;
    }

    #historicum-home .h-workshop {
        padding-top: 38px;
        padding-bottom: 44px;
    }

    #historicum-home .h-workshop .h-carousel-controls {
        position: relative;
        z-index: 10;
        justify-content: center;
        gap: 18px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 22px;
        padding: 0 10px;
        text-align: center;
    }

    #historicum-home .h-dark-sections-group {
        padding-top: clamp(32px, 8vw, 48px);
    }

    #historicum-home .h-testimonials {
        padding-top: 46px;
        padding-bottom: 40px;
    }

    #historicum-home .h-testimonials-wrapper {
        margin-top: 58px;
    }

    #historicum-home .h-testimonials-viewport {
        height: 410px;
    }

    #historicum-home .h-testimonials-track {
        width: calc(100vw - 34px);
    }

    #historicum-home .h-testimonial-text-card {
        min-height: 320px;
        padding: 26px 20px;
    }

    #historicum-home .h-testimonial-text-card.is-prev {
        transform: translate3d(calc(-24% + (var(--h-review-drag-x) * 0.24)), 18px, 0) scale(0.84);
    }

    #historicum-home .h-testimonial-text-card.is-next {
        transform: translate3d(calc(24% + (var(--h-review-drag-x) * 0.24)), 18px, 0) scale(0.84);
    }

    #historicum-home .h-training {
        overflow-x: clip;
        overflow-y: visible;
        touch-action: pan-y;
        transform: none;
    }

    #historicum-home .h-training-wrapper,
    #historicum-home .h-training-content,
    #historicum-home .h-training-title-group,
    #historicum-home .h-training-details,
    #historicum-home .h-training-instructor {
        text-align: center;
    }

    #historicum-home .h-training-wrapper {
        justify-items: center;
        align-items: center;
    }

    #historicum-home .h-training-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    #historicum-home .h-training-title-group {
        display: contents;
        margin-bottom: 0;
    }

    #historicum-home .h-training-title {
        order: 1;
        margin-bottom: 38px;
        font-size: clamp(50px, 13vw, 72px);
        line-height: 1.03;
    }

    #historicum-home .h-training-details {
        order: 2;
        margin-bottom: 0;
    }

    #historicum-home .h-training-label {
        display: none;
    }

    #historicum-home .h-training-instructor {
        order: 3;
        margin: 12px 0 34px;
        font-size: clamp(13px, 3.5vw, 16px);
        line-height: 1.25;
    }

    #historicum-home .h-training-instructor .h-text-accent {
        font-size: inherit;
    }

    #historicum-home .h-training-cta {
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    #historicum-home .h-training-patreon-text,
    #historicum-home .h-training .h-btn-primary {
        flex: 0 0 auto;
        text-align: center;
    }

    #historicum-home .h-training-images,
    #historicum-home .h-training-image {
        overflow: visible;
        clip-path: none;
        -webkit-clip-path: none;
    }

    #historicum-home .h-training-images {
        width: min(100%, 520px);
        height: 98vw;
        max-height: 462px;
        margin: 7px auto 0;
    }

    #historicum-home .h-training-image,
    #historicum-home .h-training-image img {
        -webkit-user-drag: none;
        user-select: none;
    }

    #historicum-home .h-training-image-small {
        left: 2vw;
        bottom: 8px;
        width: 47.6vw;
        max-width: 207px;
        height: 64.4vw;
        max-height: 300px;
    }

    #historicum-home .h-training-image-large {
        right: 1vw;
        bottom: 0;
        width: 67.2vw;
        max-width: 301px;
        height: 89.6vw;
        max-height: 412px;
    }

    #historicum-home .h-blog .h-carousel-controls {
        display: none;
    }

    #historicum-home .h-blog-track {
        overflow-x: auto;
        overflow-y: visible;
        padding-right: 16vw;
        padding-left: 16vw;
        touch-action: auto;
        scroll-behavior: smooth;
    }

    #historicum-home .h-blog-slide {
        flex: 0 0 min(68vw, 310px);
        width: min(68vw, 310px);
        max-width: none;
    }

    #historicum-home .h-blog-card {
        height: clamp(448px, 78vw, 592px);
    }

    #historicum-home .h-sponsors-carousel {
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: auto;
    }

    #historicum-home .h-sponsors-carousel::-webkit-scrollbar {
        display: none;
    }

    #historicum-home .h-sponsors-track {
        animation: none;
        transform: none;
        will-change: auto;
    }
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-blog-track {
        padding-right: 15vw;
        padding-left: 15vw;
    }

    #historicum-home .h-blog-slide {
        flex: 0 0 min(70vw, 300px);
        width: min(70vw, 300px);
    }

    #historicum-home .h-blog-card {
        height: clamp(430px, 116vw, 540px);
    }
}

/* ===========================================
   COMPACT JUICER MOBILE FIX
   Mobile/tablet keeps the social feed to a 2x2 grid instead of tall stacked posts.
   =========================================== */
@media (max-width: 1399px), (hover: none) and (pointer: coarse) {

    /* Show 4 posts only, covering Juicer's different column splits. */

}

/* Homepage section support copy. */
#historicum-home .h-home-section-intro {
    width: min(920px, calc(100% - 32px));
    margin: 18px auto 34px;
    font-family: var(--h-font-cormorant);
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 600;
    line-height: 1.48;
    text-align: center;
}

#historicum-home .h-home-section-intro--paper {
    color: #4a4339;
}

#historicum-home .h-home-section-intro--dark {
    color: rgba(245, 240, 230, 0.82);
    margin-top: -18px;
    margin-bottom: 24px;
}

#historicum-home .h-home-section-intro p {
    margin: 0;
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-home-section-intro {
        margin-top: 14px;
        margin-bottom: 26px;
        font-size: 18px;
    }

    #historicum-home .h-home-section-intro--dark {
        margin-top: -10px;
    }
}

body.historicum-home-page,
body.historicum-home-page #page,
body.historicum-home-page .site,
body.historicum-home-page .site-content,
body.historicum-home-page #content,
body.historicum-home-page .content-area,
body.historicum-home-page .entry-content,
body.historicum-home-page #main,
body.historicum-home-page .site-main,
body.historicum-home-page .historicum-homepage,
body.historicum-home-page #historicum-home,
body.historicum-home-page footer,
body.historicum-home-page #colophon,
body.historicum-home-page .site-footer,
body.historicum-home-page #h-site-footer,
body.historicum-home-page .h-site-footer {
    background-color: #000000 !important;
}

body.historicum-home-page footer,
body.historicum-home-page #colophon,
body.historicum-home-page .site-footer,
body.historicum-home-page #h-site-footer,
body.historicum-home-page .h-site-footer {
    background-image: none !important;
}

/* Homepage paper contract: stable cream surfaces with the original SVG paper rip. */
#historicum-home {
    --h-home-paper-edge-shade: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.20) 0%,
        rgba(0, 0, 0, 0.13) 9%,
        rgba(0, 0, 0, 0.05) 20%,
        rgba(0, 0, 0, 0) 35%,
        rgba(0, 0, 0, 0) 65%,
        rgba(0, 0, 0, 0.05) 80%,
        rgba(0, 0, 0, 0.13) 91%,
        rgba(0, 0, 0, 0.20) 100%
    );
}

#historicum-home .h-section-paper {
    isolation: isolate;
    background-color: #f5f0e6;
    background-image: var(--h-home-paper-edge-shade);
    background-blend-mode: multiply;
}

#historicum-home .h-section-paper::after {
    content: none;
    display: none;
}

#historicum-home .h-section-paper > * {
    position: relative;
    z-index: 1;
}

#historicum-home .h-torn-edge-top,
#historicum-home .h-torn-edge-bottom {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 62px;
    z-index: 9999;
    overflow: hidden;
    pointer-events: none;
    background-color: #f5f0e6 !important;
    background-image: var(--h-home-paper-edge-shade) !important;
    background-blend-mode: multiply;
    clip-path: none;
    -webkit-mask-image: url("https://historicum.pl/wp-content/uploads/2026/04/torn-edge.svg") !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-size: 118% 100% !important;
    mask-image: url("https://historicum.pl/wp-content/uploads/2026/04/torn-edge.svg") !important;
    mask-repeat: no-repeat !important;
    mask-size: 118% 100% !important;
}

#historicum-home .h-torn-edge-top {
    top: -61px;
    transform: none;
    -webkit-mask-position: 48% bottom !important;
    mask-position: 48% bottom !important;
}

#historicum-home .h-torn-edge-bottom {
    bottom: -61px;
    transform: scaleY(-1);
    transform-origin: center;
    -webkit-mask-position: 52% top !important;
    mask-position: 52% top !important;
}

/* Shared dark group: one image texture and one smooth black/gold overlay across AMMA, reviews, and blog. */
#historicum-home .h-dark-sections-group {
    background-color: #000000;
    background-image: none;
}

#historicum-home .h-dark-sections-group::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(96% 74% at 16% 34%, rgba(235, 188, 0, 0.10) 0%, rgba(0, 0, 0, 0) 66%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.14) 42%, rgba(0, 0, 0, 0.92) 100%);
    pointer-events: none;
}

#historicum-home .h-dark-sections-group::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('https://historicum.pl/wp-content/uploads/2026/04/Landing_Background_low_opacity-1-1920x1080.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.24;
    filter: brightness(0.72) contrast(1.08);
    pointer-events: none;
}

#historicum-home .h-dark-sections-group > section {
    position: relative;
    z-index: 2;
}

#historicum-home .h-dark-sections-group .h-training::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(88% 110% at 78% 18%, rgba(235, 188, 0, 0.20) 0%, rgba(111, 82, 0, 0.12) 34%, rgba(0, 0, 0, 0) 68%),
        linear-gradient(112deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.10) 46%, rgba(0, 0, 0, 0.38) 100%);
    pointer-events: none;
}

#historicum-home .h-dark-sections-group .h-training::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.58) 100%),
        radial-gradient(72% 72% at 34% 50%, rgba(235, 188, 0, 0.08) 0%, rgba(0, 0, 0, 0) 62%);
    pointer-events: none;
}

#historicum-home .h-dark-sections-group .h-training > * {
    position: relative;
    z-index: 2;
}

@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
    #historicum-home .h-dark-sections-group .h-training {
        padding-top: clamp(138px, 10vw, 188px);
    }
}

#historicum-home .h-training-instructor,
#historicum-home .h-training-instructor .h-text-accent,
#historicum-home .h-training-label {
    font-family: var(--h-font-cinzel);
    font-weight: 400;
    color: var(--h-gray-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

#historicum-home .h-training-instructor .h-text-accent {
    color: var(--h-gray-light);
    font-size: inherit;
    font-weight: inherit;
}

#historicum-home .h-training-bands,
#historicum-home .h-training-band,
#historicum-home .h-training-band-main,
#historicum-home .h-training-band-thin {
    display: none;
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-training-bands {
        opacity: 0.14;
    }

    #historicum-home .h-training-band-main {
        height: 96px;
    }
}

/* Keep the CSS-drawn paper rip identical across tablet and touch layouts. */
@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-torn-edge-top,
    #historicum-home .h-torn-edge-bottom {
        background-size: 215% 100% !important;
        -webkit-mask-size: 215% 100% !important;
        mask-size: 215% 100% !important;
        background-position: center bottom !important;
    }
}

/* ============================================================
   UNIFIED CARD SYSTEM - homepage carousels join the shop card
   standard (one price stack, one title weight, price kept in
   the ORDER NOW bar, honest "New" tag). ID-scoped to win over
   the per-carousel rules above.
   ============================================================ */
#historicum-home .h-home-fighters-favorite .h-bs-price,
#historicum-home .h-best-sellers .h-bs-price {
    flex-direction: column !important;
    gap: 3px !important;
    padding: 6px 12px !important;
    white-space: normal !important;
    max-width: 100% !important;
    font-variant-numeric: tabular-nums lining-nums !important;
    font-feature-settings: "tnum" 1, "lnum" 1 !important;
}

#historicum-home .h-home-fighters-favorite .h-bs-price ins,
#historicum-home .h-home-fighters-favorite .h-bs-price > .woocommerce-Price-amount,
#historicum-home .h-best-sellers .h-bs-price ins,
#historicum-home .h-best-sellers .h-bs-price > .woocommerce-Price-amount {
    order: 1 !important;
    display: block !important;
    max-width: 100% !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

#historicum-home .h-home-fighters-favorite .h-bs-price del,
#historicum-home .h-best-sellers .h-bs-price del {
    order: 2 !important;
    display: block !important;
    max-width: 100% !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    text-decoration: line-through !important;
    text-decoration-color: rgba(255, 255, 255, 0.92) !important;
    white-space: nowrap !important;
}

#historicum-home .h-home-fighters-favorite .h-bs-price .h-lowest-price-note,
#historicum-home .h-best-sellers .h-bs-price .h-lowest-price-note {
    order: 3 !important;
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
}

#historicum-home .woocommerce-Price-currencySymbol {
    font-size: 0.7em !important;
    font-weight: 700 !important;
    opacity: 0.9 !important;
    letter-spacing: 0.03em !important;
}

#historicum-home .h-home-fighters-favorite .h-bs-title,
#historicum-home .h-best-sellers .h-bs-title {
    font-weight: 700 !important;
}

/* Price stays visible in the hover bar (set by custom.js). */
#historicum-home .h-home-fighters-favorite .h-bs-info[data-h-order-label]::after {
    content: attr(data-h-order-label);
    font-variant-numeric: tabular-nums lining-nums;
}

/* Honest "New" tag for review-less cards. */
#historicum-home .h-bs-reviews .h-stars-new {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 9px !important;
    border: 1px solid rgba(235, 188, 0, 0.55) !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.25) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-family: var(--h-font-cinzel, 'Cinzel', serif) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-home-fighters-favorite .h-bs-price ins,
    #historicum-home .h-home-fighters-favorite .h-bs-price > .woocommerce-Price-amount,
    #historicum-home .h-best-sellers .h-bs-price ins,
    #historicum-home .h-best-sellers .h-bs-price > .woocommerce-Price-amount {
        font-size: 18px !important;
    }

    #historicum-home .h-home-fighters-favorite .h-bs-price del,
    #historicum-home .h-best-sellers .h-bs-price del {
        font-size: 12px !important;
    }
}

/* =========================================================================
   HERO BLOCKS - MOBILE ONLY. Desktop hero is intentionally left untouched.
   Mobile uses a single centered selection-card scroller: Shop All appears
   first, with neighbouring blocks peeking in at the sides.
   ========================================================================= */
@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-hero-content {
        margin-bottom: 34px !important;
    }

    #historicum-home .h-hero-block-label {
        font-size: 16px;
        letter-spacing: 0.08em;
    }

    #historicum-home .h-hero-blocks {
        --h-mobile-hero-card-width: min(82vw, 360px);
        display: flex;
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 0 calc((100vw - var(--h-mobile-hero-card-width)) / 2) 12px;
        gap: 16px;
        justify-content: flex-start;
        align-items: center;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: calc((100vw - var(--h-mobile-hero-card-width)) / 2);
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #historicum-home .h-hero-blocks::-webkit-scrollbar {
        display: none;
    }

    #historicum-home .h-hero-block {
        flex: 0 0 var(--h-mobile-hero-card-width) !important;
        width: var(--h-mobile-hero-card-width) !important;
        height: min(116vw, 450px) !important;
        margin: 0 !important;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        transform: scale(0.94);
        opacity: 0.94;
        z-index: 1;
    }

    #historicum-home .h-hero-block-3 {
        order: 1;
    }

    #historicum-home .h-hero-block-1 {
        order: 2;
    }

    #historicum-home .h-hero-block-2 {
        order: 3;
    }

    #historicum-home .h-hero-block-4 {
        order: 4;
    }

    #historicum-home .h-hero-block-5 {
        order: 5;
    }

    #historicum-home .h-hero .h-hero-blocks:not([data-h-mobile-hero-active="1"]) .h-hero-block-3,
    #historicum-home .h-hero .h-hero-block.is-mobile-selected {
        opacity: 1;
        transform: scale(1);
        z-index: 8;
    }

    #historicum-home .h-hero .h-hero-blocks:not([data-h-mobile-hero-active="1"]) .h-hero-block-3::before,
    #historicum-home .h-hero .h-hero-blocks:not([data-h-mobile-hero-active="1"]) .h-hero-block-3 .h-hero-block-inner::before,
    #historicum-home .h-hero .h-hero-blocks:not([data-h-mobile-hero-active="1"]) .h-hero-block-3 .h-hero-block-inner::after,
    #historicum-home .h-hero .h-hero-blocks:not([data-h-mobile-hero-active="1"]) .h-hero-block-3 .h-hero-block-label,
    #historicum-home .h-hero .h-hero-block.is-mobile-selected::before,
    #historicum-home .h-hero .h-hero-block.is-mobile-selected .h-hero-block-inner::before,
    #historicum-home .h-hero .h-hero-block.is-mobile-selected .h-hero-block-inner::after,
    #historicum-home .h-hero .h-hero-block.is-mobile-selected .h-hero-block-label {
        opacity: 1;
    }

    #historicum-home .h-hero .h-hero-block-3::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: clamp(14px, 5vw, 24px);
        width: 14px;
        height: 14px;
        border-right: 2px solid rgba(235, 188, 0, 0.96);
        border-bottom: 2px solid rgba(235, 188, 0, 0.96);
        filter:
            drop-shadow(0 0 5px rgba(235, 188, 0, 0.82))
            drop-shadow(0 0 14px rgba(235, 188, 0, 0.46));
        opacity: 0.88;
        pointer-events: none;
        transform: translate3d(0, -50%, 0) rotate(-45deg);
        animation: h-mobile-hero-scroll-cue 1.65s ease-in-out infinite;
        z-index: 20;
    }

    #historicum-home .h-hero .h-hero-blocks[data-h-mobile-hero-active="1"] .h-hero-block-3:not(.is-mobile-selected)::after {
        animation: none;
        opacity: 0;
    }
}

@media (min-width: 700px) and (max-width: 1399px) {
    #historicum-home .h-hero-blocks {
        --h-mobile-hero-card-width: min(74vw, 680px);
        gap: 18px;
    }

    #historicum-home .h-hero-block {
        height: min(82vw, 620px) !important;
    }
}

@keyframes h-mobile-hero-scroll-cue {
    0%,
    100% {
        opacity: 0.58;
        transform: translate3d(0, -50%, 0) rotate(-45deg);
    }

    50% {
        opacity: 1;
        transform: translate3d(7px, -50%, 0) rotate(-45deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    #historicum-home .h-hero .h-hero-block-3::after {
        animation: none;
    }
}
/* ============================================================
   HERO - MOBILE/TABLET (<=900px)
   The gold diagonal bands overflow the narrow hero, so remove them.
   The blocks above are already a mobile scroller, so keep this breakpoint
   focused on removing the desktop bands only.
   Desktop (>900px) keeps the bands and full layout untouched.
   ============================================================ */
@media (max-width: 900px) {
    #historicum-home .h-hero-diagonal-bands { display: none; }
}

@media (max-width: 1399px), (hover: none) and (pointer: coarse) {
    #historicum-home .h-home-fighters-favorite {
        padding-bottom: 46px;
    }

    #historicum-home .h-home-fighters-favorite .h-bs-wrapper {
        padding-bottom: 10px;
    }

    #historicum-home .h-home-fighters-favorite .h-shop-fighter-carousel {
        padding-bottom: 16px;
    }

    #historicum-home .h-home-fighters-favorite .h-bs-slide {
        padding-bottom: 8px;
    }

    #historicum-home .h-home-fighters-favorite .h-bs-card,
    #historicum-home .h-home-fighters-favorite .h-bs-card:hover,
    #historicum-home .h-home-fighters-favorite .h-bs-card:active,
    #historicum-home .h-home-fighters-favorite .h-bs-card:focus-visible {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial {
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-ws-viewport,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card {
        border-radius: 0;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card {
        max-width: none;
        border-right: 0;
        border-left: 0;
        border-color: rgba(235, 188, 0, 0.36);
        background: linear-gradient(145deg, #171717 0%, #0b0b0b 54%, #020202 100%);
        color: #f8f4ea;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:hover,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:focus-within {
        border-color: rgba(235, 188, 0, 0.78);
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-media {
        border-color: rgba(235, 188, 0, 0.22);
        background: #111111;
        -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-eyebrow,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price ins {
        color: var(--h-accent);
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-product-kicker,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-attribution,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price del,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price .h-lowest-price-note {
        color: rgba(248, 244, 234, 0.66);
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-headline,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-desc,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta {
        color: #f8f4ea;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta:hover,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta:focus-visible {
        color: #111111;
    }

    #historicum-home .h-dark-sections-group::before {
        background:
            radial-gradient(96% 74% at 16% 34%, rgba(212, 169, 0, 0.072) 0%, rgba(0, 0, 0, 0) 66%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 1) 100%);
    }

    #historicum-home .h-dark-sections-group .h-training::before {
        background:
            radial-gradient(88% 110% at 78% 18%, rgba(212, 169, 0, 0.18) 0%, rgba(92, 68, 0, 0.117) 34%, rgba(0, 0, 0, 0) 68%),
            linear-gradient(112deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.10) 46%, rgba(0, 0, 0, 0.38) 100%);
    }

    #historicum-home .h-dark-sections-group .h-training::after {
        content: none;
        display: none;
    }

    #historicum-home .h-training-title {
        width: min(100%, 720px);
        margin-right: auto;
        margin-left: auto;
        font-size: 58.5px;
        line-height: 0.98;
        text-align: center;
        white-space: normal;
    }

    #historicum-home .h-training-instructor {
        font-size: 21px;
        line-height: 1.18;
    }

    #historicum-home .h-blog-track {
        gap: 18px;
        padding-right: 9vw;
        padding-left: 9vw;
    }

    #historicum-home .h-blog-slide {
        flex: 0 0 min(82vw, 350px);
        width: min(82vw, 350px);
    }

    #historicum-home .h-blog-card .h-h3 {
        min-height: 146px;
        max-height: none;
        padding: 38px 20px 28px;
        font-size: 21px;
        line-height: 1.15;
        -webkit-line-clamp: 3;
    }

}

/* ============================================================
   Global paper side vignette: 35% lighter edge darkening.
   ============================================================ */
#historicum-home .h-section-paper::after {
    background: radial-gradient(
        ellipse at center,
        transparent 72%,
        var(--h-paper-edge-vignette, rgba(150, 120, 80, 0.076)) 100%
    ) !important;
}

/* Mobile homepage paper is plain cream: no side vignette. */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    body.historicum-home-page,
    body.historicum-home-page .historicum-homepage,
    body.historicum-home-page #historicum-home,
    body.historicum-home-page #h-site-footer,
    body.historicum-home-page .h-site-footer {
        background: #000000 !important;
        background-image: none !important;
    }

    #historicum-home .h-dark-sections-group {
        background-color: #000000;
        background-image: none;
    }

    #historicum-home .h-dark-sections-group::before {
        background:
            radial-gradient(96% 74% at 16% 34%, rgba(235, 188, 0, 0.08) 0%, rgba(0, 0, 0, 0) 66%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 1) 100%);
    }

    #historicum-home .h-dark-sections-group::after {
        opacity: 0.18;
        filter: brightness(0.50) contrast(1.08);
    }

    #historicum-home .h-section-paper {
        background-color: var(--h-paper-flat, var(--h-paper, #f5f0e6)) !important;
        background-image: none !important;
        background-blend-mode: normal !important;
    }

    #historicum-home .h-torn-edge-top,
    #historicum-home .h-torn-edge-bottom {
        background-color: var(--h-paper-flat, var(--h-paper, #f5f0e6)) !important;
        background-image: none !important;
        background-blend-mode: normal !important;
    }

    #historicum-home .h-section-paper::after {
        content: none !important;
        display: none !important;
        background: none !important;
        background-image: none !important;
        opacity: 0 !important;
    }
}

/* ============================================================
   WORKSHOP RECOMMENDED â€” final light editorial contract
   The recommendation belongs to the homepage paper flow; it is not a
   full-bleed dark promo band.
   ============================================================ */
#historicum-home .h-workshop,
#historicum-home .h-workshop.h-section-paper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-right: 0;
    margin-left: 0;
    padding-top: clamp(84px, 7vw, 112px);
    padding-bottom: clamp(94px, 8vw, 126px);
    background: #ffffff !important;
    color: #191713;
}

#historicum-home .h-workshop.h-section-paper::after {
    content: none !important;
    display: none !important;
}

#historicum-home .h-workshop > .h-torn-edge-top,
#historicum-home .h-workshop > .h-torn-edge-bottom {
    background-color: #ffffff !important;
    background-image: none !important;
}

#historicum-home .h-workshop .h-title-with-lines .h-h1 {
    color: #171511 !important;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial {
    left: auto;
    width: min(1120px, calc(100% - 40px));
    max-width: 1120px;
    margin: 38px auto 0;
    transform: none;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-ws-viewport {
    border-radius: 8px;
    background: transparent;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:hover,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:focus-within {
    max-width: 1100px;
    border: 1px solid #ddd6c8;
    border-left: 4px solid var(--h-accent);
    border-radius: 8px;
    background: #ffffff;
    color: #191713;
    box-shadow: 0 18px 44px rgba(43, 35, 24, 0.08);
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:hover,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:focus-within {
    border-color: #c9b77f;
    border-left-color: var(--h-accent);
    box-shadow: 0 22px 50px rgba(43, 35, 24, 0.11);
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-media {
    border-color: #ded7ca;
    border-radius: 6px;
    background: #f5f1e9;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-eyebrow,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price ins {
    color: #8a6800;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-product-kicker,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-attribution,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price del,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price .h-lowest-price-note {
    color: #6d675e;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-headline,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-price {
    color: #191713;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-desc {
    color: #403b34;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta {
    border-color: #191713;
    background: #191713;
    color: #ffffff;
}

#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta:hover,
#historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-btn.h-btn-primary.h-wsr-cta:focus-visible {
    border-color: var(--h-accent);
    background: var(--h-accent);
    color: #111111;
}

@media (max-width: 900px) {
    #historicum-home .h-workshop,
    #historicum-home .h-workshop.h-section-paper {
        padding-top: 76px;
        padding-bottom: 92px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial {
        width: min(100% - 36px, 680px);
        max-width: 680px;
        margin: 30px auto 0;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-ws-viewport {
        border-radius: 8px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:hover,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:focus-within {
        max-width: 100%;
        padding: 26px;
        border-right: 1px solid #ddd6c8;
        border-left: 4px solid var(--h-accent);
        border-radius: 8px;
        background: #ffffff;
        color: #191713;
    }
}

@media (max-width: 560px) {
    #historicum-home .h-workshop,
    #historicum-home .h-workshop.h-section-paper {
        padding-top: 68px;
        padding-bottom: 84px;
    }

    #historicum-home .h-workshop .h-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial {
        width: 100%;
        margin-top: 26px;
    }

    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:hover,
    #historicum-home .h-workshop .h-ws-master-wrapper.h-ws-editorial .h-wsr-card:focus-within {
        padding: 22px;
    }
}

/* Keep AMMA within the shared dark background; no section-local desktop edge. */
@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
    #historicum-home .h-dark-sections-group .h-training::before,
    #historicum-home .h-dark-sections-group .h-training::after {
        content: none !important;
        display: none !important;
    }
}
