/*
 * -----------------------------------------------------------------------------
 * ARQUIVO: website\public\assets\css\site.css
 * -----------------------------------------------------------------------------
 * DESCRICAO:
 * Define a interface do WBlog com visual editorial moderno, busca central e feed com sidebar.
 *
 * INDICE:
 * 0. Cabecalho do arquivo
 * 1. Variaveis globais
 * 2. Base e cabecalho
 * 3. Busca, categorias e destaques
 * 4. Feed, sidebar e paginacao
 * 5. Artigo, paginas e comentarios
 * 6. Responsividade
 * -----------------------------------------------------------------------------
 */

:root {
    --site-header-height: 98px;
    --site-bg: #000000;
    --site-surface: #B08234;
    --site-surface-strong: #3B301B;
    --site-line: #3B301B;
    --site-accent: #D7B05A;
    --site-accent-soft: #3B301B;
    --site-hover: #5b009a;
    --site-hover-soft: rgba(91, 0, 154, 0.22);
    --site-text: #f5f5f5;
    --site-black: #000000;
    --site-divider-large: url("/website/public/assets/images/barra_maior.webp");
    --site-divider-small: url("/website/public/assets/images/barra_menor.webp");
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--site-bg);
    color: var(--site-text);
    font-family: "Cormorant Garamond", serif;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.public-form-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.site-container {
    width: min(1380px, calc(100% - 72px));
    margin: 0 auto;
}

.site-main {
    padding-top: calc(var(--site-header-height) + 26px);
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 20px;
}

.site-divider {
    display: block;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    pointer-events: none;
}

.site-divider-large {
    height: 34px;
    background-image: var(--site-divider-large);
}

.site-divider-small {
    height: 20px;
    background-image: var(--site-divider-small);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    background: #000;
    border-bottom: 1px solid var(--site-line);
    transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

.site-header.is-hidden {
    transform: translateY(calc(-100% - 12px));
}

.site-header-inner {
    min-height: var(--site-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-left: 18px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    height: calc(var(--site-header-height) * 0.96);
    flex: 0 0 auto;
    margin-left: 8px;
}

.site-brand-image,
.site-brand-mark {
    height: 100%;
    width: auto;
    max-width: 260px;
    border: 0;
    background: transparent;
    border-radius: 0;
    object-fit: contain;
}

.site-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--site-text);
    font-size: 2rem;
    font-weight: 800;
}

.site-menu-toggle,
.site-nav a,
.blog-search-form button,
.blog-category-pill,
.blog-newsletter-form button,
.blog-sidebar-link,
.blog-pagination a,
.comment-form button,
.contact-form button,
.article-related-link,
.article-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background: var(--site-accent-soft);
    color: var(--site-accent);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-menu-toggle:hover,
.site-nav a:hover,
.site-nav a.is-active,
.blog-search-form button:hover,
.blog-category-pill:hover,
.blog-category-pill.is-active,
.blog-newsletter-form button:hover,
.blog-sidebar-link:hover,
.blog-pagination a:hover,
.blog-pagination a.is-current,
.comment-form button:hover,
.contact-form button:hover,
.article-related-link:hover,
.article-share-link:hover,
.article-share-link.is-copied {
    border-color: var(--site-hover);
    background: var(--site-hover-soft);
    color: var(--site-text);
}

.site-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-nav a {
    min-width: 114px;
    min-height: 50px;
    padding: 0 18px;
    font-size: 1.06rem;
    font-weight: 800;
}

.blog-top-tools,
.blog-highlight,
.blog-feed-shell,
.article-hero,
.article-shell,
.error-page-shell {
    padding-bottom: 30px;
}

.blog-highlight{
    margin-bottom: 100px;
}

.blog-search-row {
    display: flex;
    justify-content: center;
}

.blog-search-form {
    width: min(960px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 12px;
}

.blog-search-form input,
.blog-newsletter-form input,
.comment-form input,
.comment-form textarea {
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background: #050505;
    color: var(--site-text);
    outline: none;
    font-size: 1rem;
}

.blog-search-form input {
    font-size: 2rem;
    line-height: 1.2;
}

.blog-search-form input:focus,
.blog-newsletter-form input:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--site-hover);
}

.blog-search-form button {
    padding: auto;
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background: var(--site-accent-soft);
    color: var(--site-accent);
}

.blog-search-form button i {
    font-size: 1.55rem;
    margin: auto;
}

.blog-category-area {
    margin-top: 24px;
}

.blog-category-divider {
    margin-top: 22px;
}

.blog-category-title {
    display: block;
    margin-bottom: 12px;
    color: var(--site-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-category-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.blog-category-strip::-webkit-scrollbar {
    display: none;
}

.blog-category-pill {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 700;
}

.blog-media-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0px;
}

.blog-media-frame img,
.blog-sidebar-image {
    position: absolute;
    inset: 0;
    margin: 0px auto;
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.blog-media-empty {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-highlight-main {
    display: grid;
    gap: 18px;
    padding-bottom: 0;
}

.blog-highlight-main-divider {
    margin-top: 26px;
}

.blog-highlight-main h1,
.blog-secondary-item h2,
.blog-feed-copy h2,
.article-hero-single h1,
.blog-sidebar-card h3,
.article-comments-head h2,
.article-hero-copy h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 1.02;
    color: var(--site-text);
}

.blog-highlight-main h1 {
    font-size: clamp(2.8rem, 5.8vw, 4.8rem);
}

.blog-highlight-secondary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 26px;
}

.blog-highlight-secondary-divider {
    margin-top: 28px;
}

.blog-secondary-item {
    padding: 0 24px;
}

.blog-secondary-item:first-child {
    padding-left: 0;
}

.blog-secondary-item:last-child {
    padding-right: 0;
}

.blog-secondary-item + .blog-secondary-item {
    border-left: 1px solid var(--site-line);
}

.blog-secondary-item h2 {
    font-size: 1.95rem;
    margin-bottom: 12px;
}

.blog-feed-grid,
.article-grid-blog {
    display: grid;
    grid-template-columns: minmax(0, 1.82fr) minmax(280px, 340px);
    gap: 42px;
    align-items: start;
}

.blog-feed-list,
.blog-feed-copy,
.blog-sidebar,
.blog-sidebar-card,
.article-body,
.article-content,
.comment-card {
    min-width: 0;
}

.blog-feed-row {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
    padding-bottom: 0;
}

.blog-feed-row::after {
    content: "";
    display: block;
    grid-column: 1 / -1;
    height: 20px;
    background-image: var(--site-divider-small);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.blog-feed-copy {
    display: grid;
    align-content: start;
    gap: 14px;
    padding-top: 2px;
}

.blog-feed-copy h2 {
    font-size: 1.95rem;
}

.blog-highlight-meta,
.blog-feed-meta,
.article-hero-data {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--site-accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-highlight-meta span,
.blog-feed-meta span,
.article-hero-data span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-highlight-meta i,
.blog-feed-meta i,
.article-hero-data i {
    color: var(--site-accent);
    font-size: 0.95rem;
}

.blog-inline-banner {
    margin: 10px 0 30px;
}

.blog-inline-banner a {
    display: block;
    overflow: hidden;
    border-radius: 0px;
    border: 0;
}

.blog-inline-banner img {
    width: 100%;
    object-fit: cover;
}

.blog-sidebar {
    display: grid;
    gap: 28px;
    width: 100%;
    max-width: 340px;
    justify-self: end;
}

.blog-sidebar-card {
    display: grid;
    gap: 24px;
    padding: clamp(24px, 3vw, 40px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(8, 8, 8, 0.94);
    border: 1px solid var(--site-line);
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.newsletter-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(8, 8, 8, 0.94);
}

.blog-sidebar-card h3 {
    margin-bottom: 0;
    font-size: clamp(2rem, 3vw, 2.9rem);
    text-align: left;
}

.blog-sidebar-card p,
.blog-feed-empty p,
.article-comments-head p,
.comment-card p,
.article-hero-copy p {
    margin: 0;
    color: var(--site-text);
}

.blog-sidebar-card p {
    text-align: left;
    color: rgba(245, 245, 245, 0.82);
    line-height: 1.8;
}

.blog-sidebar-intro {
    max-width: none;
    margin: 0;
    color: rgba(245, 245, 245, 0.8);
}

.blog-newsletter-form,
.comment-form {
    display: grid;
    gap: 12px;
}

.blog-newsletter-form button,
.blog-sidebar-link,
.comment-form button,
.contact-form button,
.article-related-link {
    min-height: 56px;
    padding: 0 26px;
    font-size: 1.06rem;
    font-weight: 800;
}

.blog-newsletter-form button,
.blog-sidebar-link {
    min-width: 148px;
    margin: 4px auto 0;
}

.blog-newsletter-form input {
    padding: 18px 20px;
    border-radius: 0px;
    background: rgba(8, 8, 8, 0.94);
    font-size: 1.05rem;
    line-height: 1.5;
}

.blog-sidebar-link {
    justify-self: center;
}

.blog-sidebar-image-wrap {
    margin-bottom: 2px;
}

.blog-feed-empty {
    padding: 12px 0;
}

.blog-feed-empty h2 {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.blog-pagination a {
    min-height: 42px;
    padding: 0 16px;
    font-size: 1.02rem;
    font-weight: 800;
}

.article-hero-single,
.article-hero-shell {
    display: grid;
    gap: 18px;
}

.article-column {
    width: min(100%, 1020px);
    margin: 0 auto;
}

.article-hero-single > * ,
.article-column > * {
    width: 100%;
}

.article-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0px;
    border: 0;
    background: rgba(221, 164, 55, 0.05);
}

.article-banner-divider,
.article-image-divider,
.article-title-divider {
    margin: 6px 0 8px;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-hero-single h1,
.article-hero-copy h1 {
    font-size: clamp(2.7rem, 5.8vw, 4.7rem);
}

.article-subtitle {
    margin: 0;
    color: rgba(245, 245, 245, 0.78);
    font-size: clamp(1.32rem, 2.2vw, 1.86rem);
    line-height: 1.7;
}

.article-video-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 32px;
    align-items: stretch;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 0px;
    background: #dda437;
    color: #050505;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.16);
}

.article-video-copy,
.article-video-media {
    display: grid;
    align-items: center;
    justify-items: center;
    min-width: 0;
}

.article-video-copy p {
    margin: 0;
    max-width: 20ch;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.7;
    text-align: center;
    color: #050505;
}

.article-video-media iframe,
.article-video-media video {
    display: block;
    width: 100%;
    min-height: clamp(280px, 30vw, 380px);
    border: 0;
    border-radius: 0px;
    background: #000000;
}

.article-body {
    padding-bottom: 28px;
}

.article-content {
    font-size: clamp(1.30rem, 1.80vw, 1.60rem);
    text-align: justify;
    line-height: 2;
    color: rgba(245, 245, 245, 0.94);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 1.7em;
    margin-bottom: 0.5em;
    font-family: "Cormorant Garamond", serif;
    line-height: 1.08;
    color: var(--site-text);
}

.article-content h2 {
    font-size: clamp(2rem, 3vw, 2.9rem);
}

.article-content h3 {
    font-size: clamp(1.7rem, 2.4vw, 2.25rem);
}

.article-content h4 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.article-content p,
.article-content li,
.article-content blockquote {
    font-size: inherit;
    line-height: inherit;
}

.article-content p,
.article-content li {
    color: rgba(245, 245, 245, 0.92);
}

.article-content blockquote {
    margin: 1.7em 0;
    padding: 20px 24px;
    border-left: 3px solid rgba(221, 164, 55, 0.45);
    background: rgba(221, 164, 55, 0.04);
    color: rgba(245, 245, 245, 0.84);
}

.article-content ul,
.article-content ol {
    padding-left: 28px;
}

.article-content iframe,
.article-content video {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 0px;
}

.article-related {
    display: grid;
    gap: 24px;
    margin-top: 54px;
}

.article-share {
    display: grid;
    gap: 22px;
    margin-top: 42px;
}

.article-share-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-share-link {
    min-height: 50px;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 800;
}

.article-share-link i {
    font-size: 1rem;
}

.article-section-heading {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.article-section-heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 34px;
    background-image: var(--site-divider-large);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.article-related-head h2,
.article-related-card h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 1.04;
}

.article-related-head h2,
.article-comments-head h2 {
    font-size: clamp(1.32rem, 2.2vw, 1.86rem);
    line-height: 1.7;
    font-weight: 600;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.article-related-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(8, 8, 8, 0.94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.article-related-copy {
    display: grid;
    gap: 12px;
    align-content: start;
}

.article-related-card h3 {
    font-size: clamp(1.55rem, 2vw, 2rem);
}

.article-related-category {
    margin: 0;
    color: var(--site-accent);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.article-related-link {
    justify-self: center;
    min-width: 132px;
    min-height: 48px;
    height: 48px;
    margin-top: 8px;
    white-space: nowrap;
}

.article-grid-page {
    grid-template-columns: minmax(0, 860px);
    justify-content: center;
}

.article-page-body {
    display: grid;
    gap: 28px;
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(8, 8, 8, 0.94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.article-page-body.is-about {
    gap: 34px;
}

.page-header-band,
.page-subtitle-band {
    position: relative;
    width: 100%;
}

.about-page-band {
    padding: clamp(40px, 7vw, 82px) 0 24px;
    border-top: 0;
    border-bottom: 0;
    border-radius: 0px;
    background-color: transparent;
}

.about-page-band-inner {
    display: grid;
    justify-items: center;
    min-height: 84px;
    text-align: center;
}

.about-page-band-inner h1 {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.about-page-band-inner h1::before,
.about-page-band-inner h1::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 100%;
    height: 34px;
    background-image: var(--site-divider-large);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.about-page-subtitle {
    position: relative;
    padding: 22px 0 clamp(34px, 5vw, 48px);
    border-bottom: 0;
}

.about-page-subtitle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    width: min(1380px, calc(100% - 72px));
    height: 34px;
    transform: translateX(-50%);
    background-image: var(--site-divider-large);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.about-page-subtitle-inner p {
    margin: 0;
    max-width: 100%;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    line-height: 1.85;
    color: rgba(245, 245, 245, 0.78);
}

.about-page-shell {
    padding-top: clamp(32px, 5vw, 56px);
}

.about-page-grid {
    grid-template-columns: minmax(0, 980px);
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid rgba(221, 164, 55, 0.28);
    border-radius: 0px;
    background: rgba(221, 164, 55, 0.08);
    color: var(--site-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.page-hero-copy {
    gap: 18px;
    max-width: 900px;
}

.article-hero-about .article-hero-copy h1 {
    font-size: clamp(3.2rem, 6vw, 5.6rem);
    line-height: 0.96;
}

.article-hero-about .article-hero-copy p {
    max-width: 34ch;
    font-size: clamp(1.1rem, 2.1vw, 1.5rem);
    line-height: 1.75;
    color: rgba(245, 245, 245, 0.82);
}

.page-summary-card {
    padding: 20px 22px;
    border-left: 4px solid var(--site-accent);
    border-radius: 0px;
    background: rgba(221, 164, 55, 0.06);
}

.page-summary-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 245, 245, 0.84);
}

.page-prose {
    font-size: 1.08rem;
    line-height: 1.9;
    color: rgba(245, 245, 245, 0.92);
}

.page-prose.is-about {
    font-size: clamp(1.08rem, 1.45vw, 1.18rem);
    line-height: 2;
    letter-spacing: 0.01em;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose > *:last-child {
    margin-bottom: 0;
}

.page-prose > * + * {
    margin-top: 1.2em;
}

.prose h2,
.prose h3,
.prose h4 {
    font-family: "Cormorant Garamond", serif;
    line-height: 1.08;
}

.page-prose h2,
.page-prose h3,
.page-prose h4 {
    margin-top: 1.7em;
    margin-bottom: 0.45em;
    color: var(--site-text);
}

.page-prose h2 {
    font-size: clamp(2rem, 3vw, 2.9rem);
}

.page-prose h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.page-prose p,
.page-prose li,
.page-prose blockquote {
    font-size: inherit;
    line-height: inherit;
}

.page-prose p {
    color: rgba(245, 245, 245, 0.88);
}

.page-prose.is-about p {
    max-width: none;
    color: rgba(245, 245, 245, 0.9);
}

.page-prose strong {
    color: var(--site-text);
}

.page-prose em {
    color: rgba(245, 245, 245, 0.82);
}

.page-prose ul,
.page-prose ol {
    padding-left: 24px;
}

.page-prose li + li {
    margin-top: 0.55em;
}

.page-prose blockquote {
    margin: 1.6em 0;
    padding: 18px 22px;
    border-left: 3px solid rgba(221, 164, 55, 0.45);
    background: rgba(221, 164, 55, 0.04);
    color: rgba(245, 245, 245, 0.82);
}

.prose a {
    color: var(--site-accent);
}

.prose ul,
.prose ol {
    padding-left: 20px;
}

.page-prose img,
.page-prose iframe,
.page-prose figure {
    display: block;
    max-width: 100%;
}

.page-prose figure {
    margin: 1.8em 0;
}

.page-prose iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 0px;
}

.article-banner {
    margin-bottom: 24px;
}

.article-comments {
    margin-top: 58px;
    padding-top: 10px;
}

.article-comments-head {
    margin-bottom: 28px;
}

.article-comments-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 22px;
}

.contact-page-shell {
    padding-top: clamp(34px, 5vw, 56px);
}

.contact-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
    gap: 26px;
    align-items: start;
}

.contact-form-card,
.contact-sidebar-panel {
    border-radius: 0px;
    background-color: #131313;   
}

.contact-form-card,
.contact-sidebar-panel {
    display: grid;
    gap: 24px;
    padding: clamp(24px, 3vw, 40px);
}

.contact-section-heading {
    display: grid;
    gap: 12px;
}

.contact-section-heading h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 2.9rem);
    line-height: 1.02;
}

.contact-section-heading p,
.contact-form-intro {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.85;
    color: rgba(245, 245, 245, 0.8);
}

.contact-form-intro > *:first-child {
    margin-top: 0;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px 20px;
    border-radius: 0px;
    border-color: var(--site-line);
    background: rgba(8, 8, 8, 0.94);
    font-size: 1.05rem;
    line-height: 1.5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(245, 245, 245, 0.45);
}

.contact-form textarea {
    min-height: 220px;
    resize: vertical;
}

.contact-form button {
    min-width: 148px;
    margin: 4px auto 0;
    justify-self: center;
}

.contact-sidebar {
    min-width: 0;
}

.contact-sidebar-panel {
    gap: 18px;
}

.contact-section-heading.is-sidebar h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

.contact-sidebar-list {
    display: grid;
    gap: 10px;
}

.contact-sidebar-card, 
.contact-sidebar-card2 {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px 5px;
}

.contact-sidebar-card2 strong,
.contact-sidebar-card2 p {
    margin: 0;
}

.contact-sidebar-card2 strong {
    display: block;
    font-size: 1rem;
    color: var(--site-text);
}

.contact-sidebar-card2 p {
    margin-top: 4px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(245, 245, 245, 0.76);
}

.contact-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 100%;
    color: var(--site-accent);
    font-size: 30pt;
}

.comment-list {
    display: grid;
    gap: 14px;
}

.comment-card,
.comment-form {
    padding: 20px;;
}

.comment-card strong,
.comment-card small {
    display: block;
}

.comment-card small {
    margin-top: 4px;
    margin-bottom: 10px;
    color: var(--site-accent);
}

.site-alert {
    margin-bottom: 12px;
    padding: 13px 14px;
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background: rgba(221, 164, 55, 0.05);
    color: var(--site-accent);
}

.site-alert-success {
    border-color: rgba(91, 0, 154, 0.7);
    background: rgba(91, 0, 154, 0.18);
    color: var(--site-text);
}

.site-toast-host {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: grid;
    gap: 10px;
    width: min(92vw, 560px);
    pointer-events: none;
}

.site-toast {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .28s ease, transform .28s ease;
}

.site-toast.is-entering {
    opacity: 0;
    transform: translateY(-10px);
}

.site-toast.is-hiding {
    opacity: 0;
    transform: translateY(-10px);
}

.site-toast .site-alert {
    margin: 0;
    position: relative;
    padding: 14px 48px 14px 16px;
    border-radius: 0px;
    background: rgba(12, 10, 6, 0.94);
    border-color: rgba(221, 164, 55, 0.38);
    color: #f5ead2;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.site-toast .site-alert-success {
    border-color: rgba(91, 0, 154, 0.42);
    background: rgba(38, 13, 57, 0.94);
    color: #f7f0ff;
}

.site-toast-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 640px) {
    .site-toast-host {
        top: 14px;
        width: min(94vw, 560px);
    }
}

.site-bottom-bar {
    padding: 18px 0 24px;
}

.site-bottom-bar-inner {
    display: grid;
    gap: 3px;
}

.site-bottom-primary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 0;
    padding-top: 44px;
}

.site-bottom-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 34px;
    background-image: var(--site-divider-large);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.site-bottom-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.site-social-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background: rgba(221, 164, 55, 0.08);
    color: var(--site-accent);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-social-links a:hover {
    border-color: var(--site-hover);
    background: var(--site-hover-soft);
    color: var(--site-text);
}

.site-bottom-brand img {
    max-height: 46px;
    width: auto;
    object-fit: contain;
}

.site-bottom-bar p {
    margin: 0 0 0 auto;
    color: var(--site-accent);
    text-align: right;
}

.site-footer-legal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
}

.site-footer-legal a,
.site-footer-legal span {
    color: rgba(245, 245, 245, 0.66);
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer-legal a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-legal a:hover {
    color: var(--site-accent);
}

.error-page-shell {
    min-height: calc(100vh - var(--site-header-height) - 140px);
    display: grid;
    align-items: center;
}

.error-page-card {
    width: min(100%, 920px);
    margin: 0 auto;
    display: grid;
    gap: 22px;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background:
        radial-gradient(circle at top right, rgba(221, 164, 55, 0.14), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(8, 8, 8, 0.96);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.error-page-card.is-403 {
    background:
        radial-gradient(circle at top right, rgba(91, 0, 154, 0.22), transparent 34%),
        radial-gradient(circle at bottom left, rgba(221, 164, 55, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(8, 8, 8, 0.96);
}

.error-page-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid rgba(221, 164, 55, 0.32);
    border-radius: 999px;
    background: rgba(221, 164, 55, 0.08);
    color: var(--site-accent);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.error-page-card.is-403 .error-page-status {
    border-color: rgba(199, 147, 255, 0.32);
    background: rgba(91, 0, 154, 0.18);
    color: #c793ff;
}

.error-page-card h1 {
    margin: 0;
    max-width: 12ch;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.96;
}

.error-page-message,
.error-page-path {
    margin: 0;
    max-width: 46ch;
    font-size: clamp(1.12rem, 1.8vw, 1.42rem);
    line-height: 1.8;
    color: rgba(245, 245, 245, 0.82);
}

.error-page-path span {
    color: var(--site-text);
    font-weight: 700;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 8px;
}

.error-page-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 188px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid var(--site-line);
    border-radius: 0px;
    background: var(--site-accent-soft);
    color: var(--site-accent);
    font-size: 1.02rem;
    font-weight: 800;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.error-page-actions a:hover {
    border-color: var(--site-hover);
    background: var(--site-hover-soft);
    color: var(--site-text);
}

.article-hero-shell.is-centered,
.article-hero-copy.is-centered {
    justify-items: center;
    text-align: center;
}

@media (max-width: 1120px) {
    .site-menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        border-radius: 0px;
        border: 1px solid var(--site-line);
        background: rgba(0, 0, 0, 0.98);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        min-width: 0;
        width: 100%;
    }

    .blog-highlight-secondary,
    .blog-feed-grid,
    .article-grid-blog,
    .article-comments-grid,
    .contact-page-layout,
    .article-related-grid {
        grid-template-columns: 1fr;
    }

    .article-video-panel {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-secondary-item {
        padding: 0 0 18px;
        margin-bottom: 18px;
    }

    .blog-secondary-item + .blog-secondary-item {
        border-left: 0;
        border-top: 0;
        padding-top: 18px;
    }

    .blog-secondary-item + .blog-secondary-item::before {
        content: "";
        display: block;
        width: 100%;
        height: 20px;
        margin-bottom: 18px;
        background-image: var(--site-divider-small);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }
}

@media (max-width: 820px) {
    .site-container {
        width: min(100% - 28px, 1380px);
    }

    .site-header-inner {
        padding-left: 0;
    }

    .site-brand {
        margin-left: 0;
    }

    .blog-search-form {
        grid-template-columns: minmax(0, 1fr) 66px;
    }

    .blog-search-form input {
        font-size: 1.2rem;
    }

    .blog-feed-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .blog-sidebar {
        max-width: none;
        justify-self: stretch;
    }

    .article-share-bar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .article-hero-single h1,
    .article-hero-copy h1,
    .blog-highlight-main h1,
    .blog-feed-copy h2 {
        line-height: 1.05;
    }

    .article-page-body {
        padding: 24px 20px;
        border-radius: 0px;
    }

    .contact-form-card,
    .contact-sidebar-panel,
    .contact-sidebar-card,
    .blog-sidebar-card {
        border-radius: 0px;
    }

    .about-page-band {
        padding-top: 32px;
        padding-bottom: 18px;
    }

    .about-page-band-inner {
        min-height: auto;
    }

    .about-page-band-inner h1 {
        max-width: 100%;
        font-size: clamp(2.5rem, 11vw, 3.6rem);
    }

    .about-page-subtitle {
        padding-top: 18px;
        padding-bottom: 28px;
    }

    .about-page-subtitle-inner p {
        font-size: 1.16rem;
        line-height: 1.92;
    }

    .contact-page-layout {
        gap: 18px;
    }

    .newsletter-card,
    .blog-newsletter-form {
        justify-items: center;
        text-align: center;
    }

    .newsletter-card {
        justify-self: center;
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-card h3,
    .newsletter-card p,
    .newsletter-card .blog-sidebar-intro {
        text-align: center;
    }

    .blog-newsletter-form {
        gap: 14px;
        justify-self: center;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-newsletter-form input,
    .blog-newsletter-form button {
        width: 100%;
        max-width: 460px;
    }

    .article-hero-about .article-hero-copy p,
    .page-summary-card p,
    .page-prose,
    .page-prose.is-about,
    .article-content {
        font-size: 1.24rem;
        line-height: 1.96;
    }

    .page-prose h2,
    .article-content h2 {
        font-size: clamp(2.15rem, 7vw, 2.55rem);
    }

    .page-prose h3,
    .article-content h3 {
        font-size: clamp(1.82rem, 5.8vw, 2.15rem);
    }

    .page-prose h4,
    .article-content h4 {
        font-size: clamp(1.5rem, 4.9vw, 1.78rem);
    }

    .site-bottom-primary {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .site-bottom-meta {
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .site-bottom-brand,
    .site-social-links {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .site-bottom-bar p {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .site-footer-legal {
        flex-wrap: wrap;
        gap: 8px;
    }

    .contact-form-card {
        padding: 24px 20px;
    }

    .error-page-card {
        border-radius: 0px;
    }

    .error-page-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .error-page-actions a {
        width: 100%;
    }
}
