/* ===== HELVANE_0_1_0_BASE ===== */

:root {
    --helvane-paper: #faf7f0;
    --helvane-ivory: #f1ece4;
    --helvane-white: #fffdf8;
    --helvane-ink: #292725;
    --helvane-muted: #716a65;
    --helvane-aubergine: #251a21;
    --helvane-wine: #7a2e3d;
    --helvane-wine-light: #9a4859;
    --helvane-copper: #b6895b;
    --helvane-line: #d8cec1;

    --helvane-heading:
        Baskerville,
        "Iowan Old Style",
        "Palatino Linotype",
        Georgia,
        serif;

    --helvane-body:
        "Segoe UI",
        Aptos,
        "Helvetica Neue",
        Arial,
        sans-serif;

    --helvane-ui:
        "Trebuchet MS",
        "Segoe UI",
        Arial,
        sans-serif;
}

.helvane-theme {
    margin: 0;
    overflow-x: hidden;
    background: var(--helvane-paper);
    color: var(--helvane-ink);
    font-family: var(--helvane-body);
}

.helvane-theme *,
.helvane-theme *::before,
.helvane-theme *::after {
    box-sizing: border-box;
}

.helvane-theme img {
    max-width: 100%;
    height: auto;
}

.helvane-theme a {
    color: inherit;
}

.helvane-site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid var(--helvane-line);
    background: var(--helvane-white);
}

.helvane-topline {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 0.45rem max(1rem, calc((100vw - 1320px) / 2));
    background: var(--helvane-aubergine);
    color: #fff;
    font-family: var(--helvane-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.helvane-topline a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.helvane-brand-row {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr) 285px;
    gap: 1.5rem;
    align-items: center;
    width: min(100% - 2rem, 1320px);
    min-height: 112px;
    margin: 0 auto;
}

.helvane-brand > a:not(.custom-logo-link) {
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: 2.4rem;
    text-decoration: none;
}

.helvane-brand .custom-logo {
    width: auto;
    max-width: 275px;
    max-height: 84px;
}

.helvane-brand-copy {
    max-width: 520px;
    margin: 0 auto;
    color: var(--helvane-muted);
    font-family: var(--helvane-heading);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

.helvane-search-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.helvane-search-form > label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.helvane-search-form input {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0.72rem 0.9rem;
    border: 1px solid var(--helvane-line);
    background: #fff;
    color: var(--helvane-ink);
    font-family: var(--helvane-body);
}

.helvane-search-form button {
    grid-column: 2;
    grid-row: 1;
    min-height: 46px;
    padding: 0.72rem 1rem;
    border: 1px solid var(--helvane-wine);
    background: var(--helvane-wine);
    color: #fff;
    font-family: var(--helvane-ui);
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.helvane-navigation-shell {
    background: var(--helvane-aubergine);
}

.helvane-primary-navigation {
    width: min(100% - 2rem, 1320px);
    margin: 0 auto;
}

.helvane-menu-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.helvane-menu-list a {
    display: block;
    padding: 0.95rem 0.72rem;
    color: #fff;
    font-family: var(--helvane-ui);
    font-size: 0.81rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.helvane-menu-list a:hover,
.helvane-menu-list a:focus-visible,
.helvane-menu-list .current-menu-item > a {
    color: #f3d8bf;
}

.helvane-menu-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 2rem, 1320px);
    min-height: 50px;
    margin: 0 auto;
    padding: 0.75rem 0.9rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: var(--helvane-ui);
    font-weight: 800;
    cursor: pointer;
}

.helvane-main {
    width: min(100% - 2rem, 1320px);
    margin: 2rem auto 0;
}

.helvane-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.35fr);
    min-height: 590px;
    overflow: hidden;
    background: var(--helvane-aubergine);
}

.helvane-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
    color: #fff;
}

.helvane-kicker {
    margin: 0 0 0.65rem;
    color: var(--helvane-wine-light);
    font-family: var(--helvane-ui);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.helvane-hero .helvane-kicker {
    color: #e1b690;
}

.helvane-kicker a {
    text-decoration: none;
}

.helvane-hero-copy h1 {
    margin: 0;
    font-family: var(--helvane-heading);
    font-size: clamp(2.75rem, 4.5vw, 5.4rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.helvane-hero-copy h1 a {
    text-decoration: none;
}

.helvane-hero-excerpt {
    max-width: 600px;
    margin: 1.3rem 0 0;
    color: rgba(255, 255, 255, 0.77);
    font-family: var(--helvane-heading);
    font-size: 1.05rem;
    line-height: 1.62;
}

.helvane-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 1.15rem;
    color: var(--helvane-muted);
    font-family: var(--helvane-ui);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.helvane-hero .helvane-meta {
    color: rgba(255, 255, 255, 0.62);
}

.helvane-read-more {
    display: inline-flex;
    width: max-content;
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-family: var(--helvane-ui);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.helvane-hero-media {
    display: block;
    min-height: 590px;
    overflow: hidden;
    background: var(--helvane-ivory);
}

.helvane-hero-media img {
    width: 100%;
    height: 590px;
    object-fit: cover;
}

.helvane-briefing {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.3rem;
    padding: 1.3rem;
    border-top: 4px solid var(--helvane-copper);
    background: var(--helvane-white);
}

.helvane-briefing > header span,
.helvane-section-heading span,
.helvane-widget-heading span,
.helvane-page-header > span,
.helvane-single-sidebar > header span {
    color: var(--helvane-wine);
    font-family: var(--helvane-ui);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.helvane-briefing > header h2 {
    margin: 0.3rem 0 0;
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.helvane-briefing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.helvane-briefing-grid article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.2rem 1rem;
    border-left: 1px solid var(--helvane-line);
}

.helvane-briefing-grid article > span {
    color: var(--helvane-copper);
    font-family: var(--helvane-heading);
    font-size: 1.4rem;
}

.helvane-briefing-grid h3 {
    margin: 0;
    font-family: var(--helvane-heading);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.15;
}

.helvane-briefing-grid h3 a {
    text-decoration: none;
}

.helvane-category-strip {
    display: flex;
    align-items: stretch;
    margin-top: 1.3rem;
    overflow-x: auto;
    border: 1px solid var(--helvane-line);
    background: var(--helvane-white);
}

.helvane-category-strip strong,
.helvane-category-strip a {
    display: flex;
    min-width: max-content;
    align-items: center;
    padding: 0.8rem 0.95rem;
    font-family: var(--helvane-ui);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
}

.helvane-category-strip strong {
    background: var(--helvane-wine);
    color: #fff;
}

.helvane-category-strip a {
    border-right: 1px solid var(--helvane-line);
}

.helvane-category-strip a:hover {
    background: var(--helvane-ivory);
}

.helvane-analysis,
.helvane-latest,
.helvane-widget-deck {
    margin-top: 4rem;
}

.helvane-section-heading {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--helvane-line);
}

.helvane-section-heading h2,
.helvane-widget-heading h2 {
    margin: 0.25rem 0 0;
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: clamp(2.2rem, 3.5vw, 4.3rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.helvane-section-heading > p {
    max-width: 470px;
    margin: 0;
    color: var(--helvane-muted);
    line-height: 1.55;
    text-align: right;
}

.helvane-analysis-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.helvane-analysis-card {
    min-width: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--helvane-line);
}

.helvane-analysis-card:nth-child(1),
.helvane-analysis-card:nth-child(2) {
    grid-column: span 2;
}

.helvane-analysis-media {
    display: block;
    height: 190px;
    overflow: hidden;
    background: var(--helvane-ivory);
}

.helvane-analysis-card:nth-child(1) .helvane-analysis-media,
.helvane-analysis-card:nth-child(2) .helvane-analysis-media {
    height: 340px;
}

.helvane-analysis-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.helvane-analysis-card > div {
    padding-top: 0.9rem;
}

.helvane-analysis-card h3 {
    margin: 0;
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.12;
}

.helvane-analysis-card:nth-child(1) h3,
.helvane-analysis-card:nth-child(2) h3 {
    font-size: clamp(1.8rem, 2.4vw, 2.8rem);
}

.helvane-analysis-card h3 a {
    text-decoration: none;
}

.helvane-analysis-card div > p:not(.helvane-kicker) {
    margin: 0.8rem 0 0;
    color: var(--helvane-muted);
    line-height: 1.55;
}

.helvane-latest-list {
    background: var(--helvane-white);
}

.helvane-latest-list article {
    display: grid;
    grid-template-columns: 55px 190px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid var(--helvane-line);
}

.helvane-latest-number {
    color: var(--helvane-copper);
    font-family: var(--helvane-heading);
    font-size: 1.7rem;
}

.helvane-latest-media {
    display: block;
    height: 125px;
    overflow: hidden;
    background: var(--helvane-ivory);
}

.helvane-latest-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.helvane-latest-list h3 {
    margin: 0;
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.12;
}

.helvane-latest-list h3 a {
    text-decoration: none;
}

.helvane-latest-list article div > p:last-child {
    margin: 0.55rem 0 0;
    color: var(--helvane-muted);
    line-height: 1.5;
}

.helvane-widget-deck {
    padding: clamp(1.5rem, 3vw, 2.8rem);
    border-top: 5px solid var(--helvane-copper);
    background: var(--helvane-aubergine);
    color: #fff;
}

.helvane-widget-heading {
    margin-bottom: 1.4rem;
}

.helvane-widget-heading span {
    color: #e1b690;
}

.helvane-widget-heading h2 {
    color: #fff;
}

.helvane-widget-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.helvane-widget {
    min-width: 0;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.helvane-widget-grid > [id^="arpw-widget-"] {
    grid-column: 1 / -1;
}

.helvane-widget-grid > #block-5,
.helvane-widget-grid > .widget_categories {
    grid-column: 1 / -1;
}

.helvane-widget-grid #block-5 ul,
.helvane-widget-grid .widget_categories ul,
.helvane-widget-grid .wp-block-categories-list {
    columns: 4 12rem;
    column-gap: 2rem;
}

.helvane-widget .widget-title,
.helvane-widget .wp-block-heading {
    margin: 0 0 0.8rem;
    color: #fff;
    font-family: var(--helvane-heading);
    font-size: 1.4rem;
    font-weight: 400;
}

.helvane-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.helvane-widget li {
    break-inside: avoid;
    padding: 0.43rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.helvane-widget a {
    color: #fff;
}

.helvane-widget .wp-block-search__inside-wrapper,
.helvane-widget .helvane-search-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
}

.helvane-widget input {
    min-width: 0;
}

.helvane-archive,
.helvane-single,
.helvane-page-view,
.helvane-paged-home,
.helvane-not-found {
    max-width: 1280px;
    margin: 0 auto;
}

.helvane-page-header {
    padding: clamp(2rem, 5vw, 4.5rem);
    border-top: 6px solid var(--helvane-wine);
    background: var(--helvane-ivory);
}

.helvane-page-header h1 {
    max-width: 980px;
    margin: 0.35rem 0 0;
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: clamp(2.7rem, 4.8vw, 5.6rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.helvane-page-header > div {
    max-width: 780px;
    margin-top: 1rem;
    color: var(--helvane-muted);
    line-height: 1.62;
}

.helvane-archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.3rem;
    margin-top: 2rem;
}

.helvane-archive-card {
    min-width: 0;
    padding-bottom: 1.3rem;
    border-bottom: 1px solid var(--helvane-line);
}

.helvane-archive-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 0;
    padding: 0;
    background: var(--helvane-aubergine);
    color: #fff;
}

.helvane-archive-media {
    display: block;
    height: 300px;
    overflow: hidden;
    background: var(--helvane-ivory);
}

.helvane-archive-card:first-child .helvane-archive-media {
    height: 445px;
}

.helvane-archive-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.helvane-archive-copy {
    padding-top: 0.9rem;
}

.helvane-archive-card:first-child .helvane-archive-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.8rem, 4vw, 3.5rem);
}

.helvane-archive-copy h2 {
    margin: 0;
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: clamp(1.45rem, 2vw, 2.2rem);
    font-weight: 400;
    line-height: 1.08;
}

.helvane-archive-card:first-child h2 {
    color: #fff;
    font-size: clamp(2rem, 3.1vw, 3.8rem);
}

.helvane-archive-copy h2 a {
    text-decoration: none;
}

.helvane-archive-copy > p:not(.helvane-kicker) {
    margin: 0.8rem 0 0;
    color: var(--helvane-muted);
    line-height: 1.55;
}

.helvane-archive-card:first-child
.helvane-archive-copy > p:not(.helvane-kicker) {
    color: rgba(255, 255, 255, 0.72);
}

.helvane-single-header {
    max-width: 1050px;
    margin: 0 auto;
    padding: clamp(2.2rem, 5vw, 4.8rem) 1rem;
    text-align: center;
}

.helvane-single-header h1 {
    margin: 0;
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: clamp(2.8rem, 5vw, 5.8rem);
    font-weight: 400;
    line-height: 0.97;
    letter-spacing: -0.05em;
}

.helvane-single-header .helvane-meta {
    justify-content: center;
}

.helvane-single-media {
    margin: 0;
    overflow: hidden;
    background: var(--helvane-ivory);
}

.helvane-single-media img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: cover;
}

.helvane-single-layout,
.helvane-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 810px) minmax(300px, 340px);
    gap: 2rem;
    justify-content: center;
    align-items: start;
    margin-top: 2.8rem;
}

.helvane-entry-content {
    min-width: 0;
    color: var(--helvane-ink);
    font-size: 1.07rem;
    line-height: 1.82;
}

.helvane-entry-content > *:first-child {
    margin-top: 0;
}

.helvane-entry-content h2,
.helvane-entry-content h3,
.helvane-entry-content h4 {
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-weight: 400;
    line-height: 1.1;
}

.helvane-entry-content h2 {
    margin-top: 2em;
    font-size: clamp(2rem, 3vw, 3rem);
}

.helvane-entry-content p a,
.helvane-entry-content li a,
.helvane-entry-content td a,
.helvane-entry-content blockquote a {
    color: var(--helvane-wine);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.18em;
}

.helvane-entry-content p a::after,
.helvane-entry-content li a::after {
    content: none;
}

.helvane-entry-content blockquote {
    margin: 2rem 0;
    padding: 1.3rem 1.5rem;
    border-left: 4px solid var(--helvane-wine);
    background: var(--helvane-ivory);
}

.helvane-entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.helvane-entry-content th,
.helvane-entry-content td {
    padding: 0.75rem;
    border: 1px solid var(--helvane-line);
    text-align: left;
}

.helvane-entry-content th {
    background: var(--helvane-aubergine);
    color: #fff;
}

.helvane-single-sidebar,
.helvane-page-sidebar {
    position: sticky;
    top: 1rem;
    min-width: 0;
    padding: 1.15rem;
    border-top: 5px solid var(--helvane-copper);
    background: var(--helvane-ivory);
}

.helvane-single-sidebar > header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--helvane-line);
}

.helvane-single-sidebar > header h2 {
    margin: 0.3rem 0 0;
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.helvane-single-sidebar .helvane-widget-grid,
.helvane-page-sidebar .helvane-widget-grid {
    grid-template-columns: minmax(0, 1fr);
}

.helvane-single-sidebar .helvane-widget,
.helvane-page-sidebar .helvane-widget {
    border-color: var(--helvane-line);
    background: var(--helvane-white);
    color: var(--helvane-ink);
}

.helvane-single-sidebar .helvane-widget .widget-title,
.helvane-single-sidebar .helvane-widget .wp-block-heading,
.helvane-page-sidebar .helvane-widget .widget-title,
.helvane-page-sidebar .helvane-widget .wp-block-heading {
    color: var(--helvane-aubergine);
}

.helvane-single-sidebar .helvane-widget a,
.helvane-page-sidebar .helvane-widget a {
    color: var(--helvane-wine);
}

.helvane-single-sidebar .helvane-widget-grid > *,
.helvane-page-sidebar .helvane-widget-grid > * {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

.helvane-single-sidebar
.helvane-widget-grid #block-5 ul,
.helvane-single-sidebar
.helvane-widget-grid .widget_categories ul,
.helvane-single-sidebar
.helvane-widget-grid .wp-block-categories-list,
.helvane-page-sidebar
.helvane-widget-grid #block-5 ul,
.helvane-page-sidebar
.helvane-widget-grid .widget_categories ul,
.helvane-page-sidebar
.helvane-widget-grid .wp-block-categories-list {
    max-height: 31rem;
    overflow: auto;
    columns: 2 8rem;
    column-gap: 1rem;
}

.helvane-single-sidebar [id^="arpw-widget-"] img,
.helvane-single-sidebar [id^="arpw-widget-"] .arpw-thumbnail,
.helvane-page-sidebar [id^="arpw-widget-"] img,
.helvane-page-sidebar [id^="arpw-widget-"] .arpw-thumbnail {
    max-width: 92px;
    height: auto;
}

.helvane-article-footer,
.helvane-comments {
    max-width: 1000px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--helvane-line);
}

.helvane-article-footer .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.helvane-article-footer a {
    display: block;
    padding: 1rem;
    background: var(--helvane-ivory);
    text-decoration: none;
}

.helvane-article-footer span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--helvane-wine);
    font-family: var(--helvane-ui);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.helvane-comments h2 {
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-weight: 400;
}

.helvane-not-found > section,
.helvane-empty {
    max-width: 760px;
    margin: 4rem auto;
    padding: clamp(2rem, 5vw, 4rem);
    border-top: 5px solid var(--helvane-wine);
    background: var(--helvane-ivory);
    text-align: center;
}

.helvane-not-found section > span {
    display: block;
    color: var(--helvane-copper);
    font-family: var(--helvane-heading);
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 0.8;
}

.helvane-not-found h1,
.helvane-empty h1 {
    color: var(--helvane-aubergine);
    font-family: var(--helvane-heading);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 400;
}

.helvane-button {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: var(--helvane-wine);
    color: #fff !important;
    font-family: var(--helvane-ui);
    font-weight: 800;
    text-decoration: none;
}

.helvane-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background:
        linear-gradient(
            135deg,
            var(--helvane-ivory) 0 47%,
            #d8c8bc 47% 51%,
            #e3d7cc 51% 100%
        );
}

.helvane-theme .navigation.pagination {
    margin-top: 2rem;
}

.helvane-theme .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.helvane-theme a.page-numbers,
.helvane-theme span.page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--helvane-line);
    background: var(--helvane-white);
    text-decoration: none;
}

.helvane-theme span.page-numbers.current {
    border-color: var(--helvane-wine);
    background: var(--helvane-wine);
    color: #fff;
}

.helvane-site-footer {
    margin-top: 4rem;
    padding: 3rem max(1rem, calc((100vw - 1320px) / 2));
    border-top: 5px solid var(--helvane-copper);
    background: var(--helvane-aubergine);
    color: #fff;
}

.helvane-footer-feature {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.helvane-footer-widget .widget-title {
    font-family: var(--helvane-heading);
    font-weight: 400;
}

.helvane-footer-widget a {
    color: #fff;
}

.helvane-footer-bottom {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
}

.helvane-footer-bottom strong {
    font-family: var(--helvane-heading);
    font-size: 1.95rem;
    font-weight: 400;
}

.helvane-footer-bottom p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.7);
}

.helvane-footer-bottom > a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1380px) {
    .helvane-brand-row {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .helvane-brand-copy {
        text-align: right;
    }

    .helvane-header-search {
        grid-column: 1 / -1;
        padding-bottom: 1rem;
    }

    .helvane-menu-toggle {
        display: flex;
    }

    .helvane-primary-navigation {
        display: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .helvane-primary-navigation.is-open {
        display: block;
    }

    .helvane-menu-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .helvane-menu-list li {
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .helvane-menu-list a {
        padding: 0.95rem;
        white-space: normal;
    }

    .helvane-analysis-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .helvane-analysis-card:nth-child(1),
    .helvane-analysis-card:nth-child(2) {
        grid-column: span 1;
    }

    .helvane-single-layout,
    .helvane-page-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
        gap: 1.5rem;
    }
}

@media (max-width: 940px) {
    .helvane-hero {
        grid-template-columns: 1fr;
    }

    .helvane-hero-copy {
        order: 2;
    }

    .helvane-hero-media {
        order: 1;
        min-height: 420px;
    }

    .helvane-hero-media img {
        height: 420px;
    }

    .helvane-briefing {
        grid-template-columns: 1fr;
    }

    .helvane-briefing-grid article:first-child {
        border-left: 0;
    }

    .helvane-single-layout,
    .helvane-page-layout {
        grid-template-columns: minmax(0, 1fr);
        max-width: 810px;
        margin-right: auto;
        margin-left: auto;
    }

    .helvane-single-sidebar,
    .helvane-page-sidebar {
        position: static;
        margin-top: 1rem;
    }

    .helvane-archive-card:first-child {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .helvane-brand-row,
    .helvane-main {
        width: min(100% - 1rem, 100%);
    }

    .helvane-brand-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 0.9rem 0;
    }

    .helvane-brand,
    .helvane-brand-copy {
        text-align: center;
    }

    .helvane-brand .custom-logo {
        max-height: 68px;
    }

    .helvane-topline {
        justify-content: center;
    }

    .helvane-topline > span {
        display: none;
    }

    .helvane-menu-list {
        grid-template-columns: 1fr;
    }

    .helvane-hero-copy {
        padding: 1.5rem 1.2rem;
    }

    .helvane-hero-copy h1 {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .helvane-hero-excerpt {
        font-size: 1rem;
    }

    .helvane-briefing-grid {
        grid-template-columns: 1fr;
    }

    .helvane-briefing-grid article {
        border-top: 1px solid var(--helvane-line);
        border-left: 0;
        padding: 1rem 0;
    }

    .helvane-section-heading {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .helvane-section-heading > p {
        text-align: left;
    }

    .helvane-analysis-grid,
    .helvane-archive-grid {
        grid-template-columns: 1fr;
    }

    .helvane-analysis-card:nth-child(1),
    .helvane-analysis-card:nth-child(2) {
        grid-column: 1;
    }

    .helvane-analysis-media,
    .helvane-analysis-card:nth-child(1) .helvane-analysis-media,
    .helvane-analysis-card:nth-child(2) .helvane-analysis-media {
        height: 250px;
    }

    .helvane-latest-list article {
        grid-template-columns: 38px 105px minmax(0, 1fr);
        gap: 0.75rem;
        padding: 1rem 0.7rem;
    }

    .helvane-latest-media {
        height: 95px;
    }

    .helvane-latest-list article div > p:last-child {
        display: none;
    }

    .helvane-widget-deck {
        padding: 1rem;
    }

    .helvane-widget-grid {
        grid-template-columns: 1fr;
    }

    .helvane-widget-grid > [id^="arpw-widget-"],
    .helvane-widget-grid > #block-5,
    .helvane-widget-grid > .widget_categories {
        grid-column: 1;
    }

    .helvane-widget-grid #block-5 ul,
    .helvane-widget-grid .widget_categories ul,
    .helvane-widget-grid .wp-block-categories-list {
        max-height: 30rem;
        overflow: auto;
        columns: 2 9rem;
        column-gap: 1.2rem;
    }

    .helvane-page-header {
        padding: 1.5rem 1.2rem;
    }

    .helvane-page-header h1 {
        font-size: clamp(2.2rem, 10vw, 3.7rem);
    }

    .helvane-archive-card:first-child {
        grid-column: 1;
    }

    .helvane-archive-card:first-child .helvane-archive-media,
    .helvane-archive-media {
        height: 270px;
    }

    .helvane-single-header {
        padding: 1.9rem 1rem;
    }

    .helvane-single-header h1 {
        font-size: clamp(2.3rem, 10vw, 3.7rem);
        line-height: 1;
    }

    .helvane-entry-content {
        font-size: 1rem;
        line-height: 1.76;
    }

    .helvane-article-footer .nav-links {
        grid-template-columns: 1fr;
    }

    .helvane-footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {
    .helvane-latest-list article {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .helvane-latest-media {
        display: none;
    }

    .helvane-widget-grid #block-5 ul,
    .helvane-widget-grid .widget_categories ul,
    .helvane-widget-grid .wp-block-categories-list,
    .helvane-single-sidebar
    .helvane-widget-grid #block-5 ul,
    .helvane-single-sidebar
    .helvane-widget-grid .widget_categories ul,
    .helvane-single-sidebar
    .helvane-widget-grid .wp-block-categories-list {
        columns: 1;
    }
}

/* ===== END HELVANE_0_1_0_BASE ===== */

/* ===== HELVANE_0_1_1_HERO_FILL_V2 ===== */

/*
 * Prawa część desktopowego hero ma zawsze tę samą wysokość
 * co ciemny panel tekstowy.
 */
.helvane-theme .helvane-hero {
    height: 590px;
    min-height: 590px;
    align-items: stretch;
}

.helvane-theme .helvane-hero-media {
    display: block;
    align-self: stretch;
    width: 100%;
    height: 590px;
    min-height: 590px;
    overflow: hidden;
}

.helvane-theme .helvane-hero-media > *,
.helvane-theme .helvane-hero-media picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 590px;
}

.helvane-theme .helvane-hero-media img,
.helvane-theme .helvane-hero-media .helvane-hero-image,
.helvane-theme .helvane-hero-media picture img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 590px;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
}

/*
 * W układzie pionowym zdjęcie zachowuje kontrolowaną
 * wysokość, ale hero nie ma już stałej wysokości całkowitej.
 */
@media (max-width: 940px) {
    .helvane-theme .helvane-hero {
        height: auto;
        min-height: 0;
    }

    .helvane-theme .helvane-hero-media {
        height: 420px;
        min-height: 420px;
    }

    .helvane-theme .helvane-hero-media > *,
    .helvane-theme .helvane-hero-media picture,
    .helvane-theme .helvane-hero-media img,
    .helvane-theme .helvane-hero-media .helvane-hero-image,
    .helvane-theme .helvane-hero-media picture img {
        height: 100% !important;
        min-height: 420px;
    }
}

/* ===== END HELVANE_0_1_1_HERO_FILL_V2 ===== */

/* ===== HELVANE_0_1_2_HERO_TYPOGRAPHY ===== */

/*
 * Desktopowy tytuł hero musi mieścić się razem z opisem,
 * metadanymi i przyciskiem w panelu o wysokości 590 px.
 */
@media (min-width: 941px) {
    .helvane-theme .helvane-hero-copy {
        padding:
            clamp(2rem, 3vw, 3.25rem)
            clamp(2rem, 3.4vw, 3.6rem);
    }

    .helvane-theme .helvane-hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2.65rem, 3.35vw, 4.15rem);
        line-height: 0.94;
        letter-spacing: -0.038em;
        text-wrap: balance;
        overflow-wrap: normal;
    }

    .helvane-theme .helvane-hero-excerpt {
        margin-top: 1rem;
        font-size: 1rem;
        line-height: 1.5;
    }

    .helvane-theme .helvane-hero .helvane-meta {
        margin-top: 0.9rem;
    }

    .helvane-theme .helvane-read-more {
        margin-top: 1.1rem;
    }
}

/*
 * Dodatkowe ograniczenie dla węższych desktopów,
 * zanim układ przejdzie do wariantu pionowego.
 */
@media (min-width: 941px) and (max-width: 1180px) {
    .helvane-theme .helvane-hero-copy {
        padding: 2rem 2.2rem;
    }

    .helvane-theme .helvane-hero-copy h1 {
        font-size: clamp(2.35rem, 4vw, 3.45rem);
        line-height: 0.95;
    }

    .helvane-theme .helvane-hero-excerpt {
        font-size: 0.96rem;
        line-height: 1.45;
    }
}

/* ===== END HELVANE_0_1_2_HERO_TYPOGRAPHY ===== */
