/* Scoped to the existing main Hero; native page sections and banners are unchanged. */
.tkw-story-hero {
    --story-surface: #e1e6ef;
    --story-text: #24292d;
    --story-muted: #505862;
    display: grid;
    min-height: 350px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--story-surface);
    color: var(--story-text);
}
html[data-tk-theme="dark"] .tkw-story-hero {
    --story-surface: #2c2f34;
    --story-text: #ecedef;
    --story-muted: #c5c9ce;
}
.tkw-story-hero__visual,
.tkw-story-hero__copy { grid-area: 1 / 1; min-width: 0; }
.tkw-story-hero__visual { position: relative; width: fit-content; max-width: 60%; align-self: center; justify-self: end; }
.tkw-story-hero__visual::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--story-surface) 0%, transparent 9%, transparent 90%, var(--story-surface) 100%);
    pointer-events: none;
}
.tkw-story-hero .tkw-story-hero__image { display: block; width: auto; height: auto; max-width: 100%; max-height: 300px; object-fit: contain; }
.tkw-story-hero__copy { z-index: 1; width: 40%; align-self: center; padding: 28px 28px; }
.tkw-story-hero .tkw-story-hero__eyebrow { font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; color: var(--story-muted); }
.tkw-story-hero h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 18px; color: var(--story-text); overflow-wrap: anywhere; }
.tkw-story-hero .tkw-story-hero__excerpt { font-size: 16px; line-height: 1.5; margin: 0 0 24px; color: var(--story-text); }
.tkw-story-hero .tkw-story-hero__cta { display: inline-flex; align-items: center; gap: 10px; background: #32b54b; color: #fff; padding: 17px 26px; border-radius: 4px; font-size: 16px; line-height: 1.2; font-weight: 600; text-decoration: none; }
.tkw-story-hero .tkw-story-hero__cta:hover { background: #299c3f; color: #fff; }
.tkw-story-hero .tkw-story-hero__cta:focus-visible { outline: 2px solid var(--story-text); outline-offset: 4px; }
html[data-tk-theme="dark"] .tkw-story-hero .tkw-story-hero__cta { background: #ebba69; color: #222 !important; }
html[data-tk-theme="dark"] .tkw-story-hero .tkw-story-hero__cta:hover { background: #f2c981; color: #222 !important; }
.tkw-story-hero--no-image .tkw-story-hero__copy { width: 100%; max-width: 760px; padding-right: 28px; }
@media (min-width:768px) and (max-width:1024px) {
    .tkw-story-hero { min-height: 0; }
    .tkw-story-hero__copy { padding: 28px 20px; width: 44%; }
    .tkw-story-hero__visual { max-width: 56%; }
    .tkw-story-hero .tkw-story-hero__image { max-height: 300px; }
    .tkw-story-hero h1 { font-size: 28px; }
    .tkw-story-hero .tkw-story-hero__excerpt { font-size: 15px; }
}
@media (max-width:767px) {
    .tkw-story-hero { display: grid; min-height: 0; }
    .tkw-story-hero__visual { position: absolute; inset: 0; width: 100%; max-width: none; }
    .tkw-story-hero .tkw-story-hero__image { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 65% 28%; }
    .tkw-story-hero__visual::after { display: block; background: linear-gradient(90deg,var(--story-surface),var(--story-surface) 12%,transparent 100%); }
    .tkw-story-hero__copy { width: 72%; padding: 14px 18px; }
    .tkw-story-hero h1 { font-size: 27px; line-height: 1.08; margin-bottom: 12px; }
    .tkw-story-hero .tkw-story-hero__eyebrow { font-size: 9px; letter-spacing: .14em; margin-bottom: 12px; }
    .tkw-story-hero .tkw-story-hero__excerpt { font-size: 12px; line-height: 1.45; margin-bottom: 16px; }
    .tkw-story-hero .tkw-story-hero__cta { font-size: 12px; min-height: 44px; padding: 12px 16px; gap: 14px; }
}


/* Owner-approved editorial cover. The native section still supplies full-width layout. */
.tkw-story-hero--editorial {
    --story-rgb: 225,230,239;
    --story-accent: #84601f;
    min-height: 350px;
}
html[data-tk-theme="dark"] .tkw-story-hero--editorial {
    --story-surface: #102a2b;
    --story-rgb: 16,42,43;
    --story-text: #edf1ef;
    --story-muted: #c6d1cf;
    --story-accent: #ebba69;
}
html[data-tk-theme="dark"] .home .elementor-element-e0ee2b2:has(.tkw-story-hero--editorial) {
    background-color: #102a2b !important; /* Match the cover through the existing dark-theme section rule. */
}
.tkw-story-hero--editorial .tkw-story-hero__visual {
    position: absolute;
  height: 100%;
  align-self: stretch;
  justify-self: stretch;
    inset: 0;
    width: 100%;
    max-width: none;
}
.tkw-story-hero--editorial .tkw-story-hero__image {
  position: absolute;
  top: 0;
  right: 0;
    width: 72%;
    height: 100%;
    max-height: none;
    margin-left: auto;
    object-fit: cover;
    object-position: 50% 28%;
}
.tkw-story-hero--editorial .tkw-story-hero__visual::after {
    background: linear-gradient(270deg,var(--story-surface),transparent 12%),
        linear-gradient(90deg,var(--story-surface) 0%,var(--story-surface) 21%,rgba(var(--story-rgb),.96) 29%,rgba(var(--story-rgb),.82) 37%,rgba(var(--story-rgb),.43) 46%,rgba(var(--story-rgb),.09) 57%,transparent 68%);
}
.tkw-story-hero--editorial .tkw-story-hero__copy { width: 46%; padding: 28px 28px; }
.tkw-story-hero--editorial h1 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(40px,3.8vw,52px); line-height: 1.02; letter-spacing: -.025em; font-weight: 400; }
.tkw-story-hero__title-accent { display: block; color: var(--story-accent); }
.tkw-story-hero--editorial .tkw-story-hero__eyebrow { font-size: 10px; letter-spacing: .22em; display: flex; align-items: center; gap: 13px; }
.tkw-story-hero--editorial .tkw-story-hero__eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--story-accent); }
.tkw-story-hero--editorial .tkw-story-hero__excerpt { color: var(--story-muted); font-size: 15px; line-height: 1.6; white-space: pre-line; max-width: 360px; }
.tkw-story-hero--editorial .tkw-story-hero__cta { padding: 14px 23px; font-size: 14px; min-height: 45px; gap: 22px; }
@media (min-width:768px) and (max-width:1024px) {
    .tkw-story-hero--editorial { min-height: 330px; }
    .tkw-story-hero--editorial .tkw-story-hero__copy { width: 50%; padding: 32px 20px; }
    .tkw-story-hero--editorial .tkw-story-hero__image { width: 78%; max-height: none; object-position: 53% 27%; }
    .tkw-story-hero--editorial .tkw-story-hero__visual::after { background: linear-gradient(90deg,var(--story-surface),rgba(var(--story-rgb),.98) 26%,rgba(var(--story-rgb),.85) 38%,rgba(var(--story-rgb),.28) 65%,transparent 81%); }
    .tkw-story-hero--editorial h1 { font-size: 40px; }
    .tkw-story-hero--editorial .tkw-story-hero__excerpt { font-size: 14px; }
}
@media (max-width:767px) {
    .tkw-story-hero--editorial { min-height: 0; }
    .tkw-story-hero--editorial .tkw-story-hero__visual { position: absolute; inset: 0; width: 100%; }
    .tkw-story-hero--editorial .tkw-story-hero__image { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 65% 28%; margin: 0; }
    .tkw-story-hero--editorial .tkw-story-hero__visual::after { display: block; background: linear-gradient(90deg,rgba(var(--story-rgb),.98),rgba(var(--story-rgb),.94) 28%,rgba(var(--story-rgb),.83) 48%,rgba(var(--story-rgb),.35) 72%,rgba(var(--story-rgb),.08)); }
    .tkw-story-hero--editorial .tkw-story-hero__copy { width: 72%; padding: 14px 18px; }
    .tkw-story-hero--editorial h1 { font-size: 31px; line-height: 1.03; }
    .tkw-story-hero--editorial .tkw-story-hero__eyebrow { gap: 8px; }
    .tkw-story-hero--editorial .tkw-story-hero__eyebrow::before { width: 14px; }
    .tkw-story-hero--editorial .tkw-story-hero__excerpt { font-size: 12px; line-height: 1.45; max-width: none; white-space: normal; }
}

/* Homepage Banner category: compact cover, retaining the existing image treatment. */
.tkw-story-hero { min-height: 300px; }
.tkw-story-hero .tkw-story-hero__eyebrow { display: none; }
.tkw-story-hero .tkw-story-hero__copy { padding-top: 24px; padding-bottom: 24px; }
.tkw-story-hero h1 { font-size: clamp(32px, 3.3vw, 44px); margin-bottom: 14px; }
.tkw-story-hero .tkw-story-hero__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 18px; white-space: normal; }
.home .elementor-element-e0ee2b2:has(.tkw-story-hero-empty) { display: none; }
@media (max-width: 767px) {
    .tkw-story-hero { min-height: 200px; }
    .tkw-story-hero .tkw-story-hero__copy { padding: 20px 18px; }
    .tkw-story-hero h1 { font-size: 28px; line-height: 1.1; margin-bottom: 16px; }
    .tkw-story-hero .tkw-story-hero__excerpt { display: none; }
}
