/* zerial2col.css — Wilson-inspired 2-column blog theme */

/* ── Reset ── */
html, body { margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }
h1,h2,h3,h4,h5,h6,p,blockquote,ul,ol,li,table,caption,tr,th,td,form,fieldset,label {
    margin: 0; padding: 0; border: 0; font-weight: normal; font-style: normal;
    font-size: 100%; line-height: 1; font-family: inherit; text-align: left;
}
ol, ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { outline: none; }

/* ── Base ── */
body {
    background: var(--z2c-sidebar-bg);
    color: var(--z2c-text);
    font-family: 'Lato', 'Helvetica Neue', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

a { color: var(--z2c-accent); text-decoration: none; }

/* ── Layout ── */
.z2c-wrap {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    max-width: 1160px;
    margin: 0 auto;
}

/* ── Sidebar ── */
.z2c-sidebar {
    width: 32%;
    min-width: 220px;
    background: var(--z2c-sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 5% 0;
    flex-shrink: 0;
}

/* Brand */
.z2c-brand {
    padding: 0 25% 4%;
}

.z2c-brand-logo-link {
    display: block;
    width: 80%;
    margin: 0 auto;
}

.z2c-brand-logo {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(63,175,122,0.5));
    margin-bottom: 8px;
    transition: filter 0.3s ease;
}
.z2c-brand-logo-link:hover .z2c-brand-logo {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(63,175,122,0.85));
}

.z2c-brand-divider {
    display: block;
    text-align: center;
    color: var(--z2c-accent);
    font-size: 1.1em;
    line-height: 1;
    margin: 4px 0 7px;
}

.z2c-brand-motto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 0.72em;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    line-height: 1;
}

.z2c-brand-name {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 1.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
}
.z2c-brand-name:hover { color: var(--z2c-accent); }

.z2c-tagline,
.z2c-brand-tagline {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 0.82em;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

/* Nav */
.z2c-nav {
    padding: 15% 0;
    margin: 15% 0;
    background: var(--z2c-nav-bg);
    border-radius: 8px 0 0 8px;
    padding-left: 15%;
    padding-right: 0;
}

.z2c-nav-link {
    display: block;
    padding: 8px 0;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9em;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.z2c-nav-link:hover { color: #fff; padding-left: 10px; }
.z2c-nav-link.active { color: var(--z2c-accent); font-weight: 700; }
.z2c-nav-link.active:hover { color: var(--z2c-accent); padding-left: 0; }

/* Widgets area */
.z2c-widgets {
    padding: 0 15%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.z2c-widget {
    color: #fff;
    padding-bottom: 40px;
    border-bottom: 4px solid rgba(255,255,255,0.1);
    margin-bottom: 40px;
    font-size: 0.9em;
}
.z2c-widget:last-child { padding-bottom: 0; border-bottom: none; margin-bottom: 0; }

.z2c-widget-title {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 20px;
}

/* Search widget */
.z2c-search-form { display: flex; flex-direction: column; gap: .5rem; }
.z2c-search-input {
    width: 100%;
    padding: 12px 40px 12px 14px;
    background: #48515C;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 0.9em;
    transition: all 0.2s ease-in-out;
}
.z2c-search-input::placeholder { color: rgba(255,255,255,0.4); }
.z2c-search-input:focus { outline: none; background: #525c68; }

/* Widget list items */
.z2c-widget-list {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}
.z2c-widget-list li {
    padding: 6px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    line-height: 1.6;
}
.z2c-widget-list li:first-child { border-top: none; }
.z2c-widget-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.6;
    display: block;
    transition: color 0.2s ease-in-out;
}
.z2c-widget-link:hover               { color: #fff; }
.z2c-widget-link:active              { color: var(--z2c-accent); transition: none; }
.z2c-widget-link--current            { color: var(--z2c-accent); font-weight: 700; }
.z2c-widget-link--current:hover      { color: var(--z2c-accent); }
.z2c-widget-date {
    display: inline;
    margin-left: 5px;
    color: rgba(255,255,255,0.4);
    font-size: 0.85em;
}
.z2c-widget-date::before { content: "("; }
.z2c-widget-date::after  { content: ")"; }

.z2c-widget-comment-author {
    display: inline;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    font-style: italic;
    background: rgba(255,255,255,0.1);
    padding: 1px 5px;
    border-radius: 3px;
}
.z2c-widget-comment-post {
    color: inherit;
    line-height: 1.5;
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: rgba(255,255,255,0.3);
    text-underline-offset: 3px;
}

/* ── Content area ── */
.z2c-main {
    flex: 1;
    min-width: 0;
    background: var(--z2c-content-bg);
    position: relative;
    z-index: 2;
}

/* Posts wrapper inside content */
.z2c-posts { padding: 8%; }

/* ── Post list (home / archive) ── */
.z2c-post-list { display: flex; flex-direction: column; }

.z2c-post-item {
    padding-bottom: 2.5em;
    margin-bottom: 2.5em;
    border-bottom: 1px solid #e0e0e0;
}
.z2c-post-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.z2c-post-item-img-wrap {
    display: block;
    margin: 0 0 5% 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.z2c-post-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.z2c-post-item-img-wrap:hover .z2c-post-item-img { transform: scale(1.04); }

.z2c-post-item-inner { padding: 0; }

.z2c-post-item-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.3em;
    font-weight: 700;
    color: var(--z2c-nav-bg);
    line-height: 1.2;
    margin-bottom: 15px;
}
.z2c-post-item-title a { color: var(--z2c-nav-bg); text-decoration: none; transition: color 0.2s; }
.z2c-post-item-title a:hover { color: var(--z2c-accent); }

.z2c-post-item-meta {
    font-size: 0.8em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.z2c-date-sep { margin: 0 5px; color: #ddd; }

.z2c-post-item-excerpt {
    font-size: 1.075em;
    line-height: 1.7;
    color: var(--z2c-text);
    margin-bottom: 20px;
}

.z2c-read-more {
    display: inline-block;
    background: var(--z2c-nav-bg);
    padding: 15px 18px 18px;
    color: #fff;
    font-size: 0.85em;
    line-height: 1;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}
.z2c-read-more:hover { background: var(--z2c-accent); color: #fff; text-decoration: none; }

/* Archive title */
.z2c-archive-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--z2c-nav-bg);
    margin-bottom: 8%;
    padding-bottom: 5%;
    border-bottom: 2px solid #eee;
}

/* Pagination */
.z2c-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #ddd;
}
.z2c-page-prev,
.z2c-page-next { min-width: 130px; }
.z2c-page-next  { text-align: right; }
.z2c-page-btn {
    display: inline-block;
    padding: 9px 16px;
    background: transparent;
    color: var(--z2c-accent);
    border: 2px solid var(--z2c-accent);
    border-radius: 4px;
    font-size: 0.85em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.z2c-page-btn:hover { background: var(--z2c-accent); color: #fff; text-decoration: none; }
.z2c-page-btn:focus-visible { outline: 2px solid var(--z2c-accent); outline-offset: 3px; }
.z2c-page-info { font-size: 0.82em; color: #777; text-align: center; flex: 1; }

/* ── Single post ── */
.z2c-post-hero-wrap {
    margin: 8% 8% 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.z2c-post-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.z2c-post-inner { padding: 6% 8% 8%; }

.z2c-post-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.3em;
    font-weight: 700;
    color: var(--z2c-nav-bg);
    line-height: 1.2;
    margin-bottom: 15px;
}

.z2c-post-meta {
    font-size: 0.8em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.z2c-cat-link {
    background: rgba(0,0,0,0.06);
    color: var(--z2c-accent);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.9em;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
}
.z2c-cat-link:hover { background: var(--z2c-accent); color: #fff; }

/* Post body */
.z2c-post-body {
    font-size: 1.075em;
    line-height: 1.7;
    color: var(--z2c-text);
    padding-bottom: 6%;
    margin-bottom: 5%;
    border-bottom: 1px solid #eee;
}
.z2c-post-body h1,.z2c-post-body h2,.z2c-post-body h3,.z2c-post-body h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--z2c-nav-bg);
    margin: 2.2em 0 0.85em;
    line-height: 1.3;
}
.z2c-post-body h2 { font-size: 1.6em; }
.z2c-post-body h3 { font-size: 1.35em; }
.z2c-post-body p,
.z2c-post-body li,
.z2c-post-body blockquote { line-height: 1.7; }
.z2c-post-body p { margin-bottom: 1.1em; }
.z2c-post-body ul,.z2c-post-body ol { margin: 0.8em 0 0.8em 1.5em; list-style: initial; }
.z2c-post-body ol { list-style: decimal; }
.z2c-post-body li { margin-bottom: 0.3em; }
.z2c-post-body blockquote {
    background: #eee;
    padding: 1em;
    font-size: 1.1em;
    line-height: 1.5;
    color: #666;
    font-family: 'Raleway', 'Helvetica Neue', sans-serif;
    margin: 1.2em 0;
}
.z2c-post-body pre {
    background: #272F38;
    color: #d0d0d0;
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.85em;
    margin: 1.2em 0;
}
.z2c-post-body code {
    background: rgba(0,0,0,0.06);
    padding: 0.1em 0.35em;
    border-radius: 3px;
    font-size: 0.88em;
    font-family: 'Fira Code', 'Courier New', monospace;
}
.z2c-post-body pre code { background: none; padding: 0; }

/* ql-more divider is only meaningful inside the Quill editor; hide in public view */
.z2c-post-body .ql-more { display: none; }

/* ── Content blocks ─────────────────────────────────────────── */

/* Bloque de código con syntax highlighting */
.z2c-post-body pre.zcms-code {
    position: relative;
    background: #1e2530 !important;
    color: #cdd3de;
    padding: 0;
    border-radius: 6px;
    margin: 1.5em 0;
    overflow: hidden;
}
.z2c-post-body pre.zcms-code::before {
    content: attr(data-lang);
    display: block;
    padding: 0.35em 1em;
    font-size: 0.72em;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7c8fa6;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.z2c-post-body pre.zcms-code code {
    display: block;
    padding: 1.1em 1.25em;
    overflow-x: auto;
    font-size: 0.85em;
    line-height: 1.65;
    background: none !important;
    color: inherit;
}

/* Bloque de terminal */
.z2c-post-body pre.zcms-terminal {
    background: #0d0d0d !important;
    padding: 0;
    border-radius: 6px;
    margin: 1.5em 0;
    overflow: hidden;
}
.z2c-post-body pre.zcms-terminal::before {
    content: '● ● ●';
    display: block;
    padding: 0.4em 1em;
    font-size: 0.7em;
    letter-spacing: 0.35em;
    color: #444;
    background: #1a1a1a;
    border-bottom: 1px solid #222;
}
.z2c-post-body pre.zcms-terminal code {
    display: block;
    padding: 1em 1.25em 1.1em;
    color: #33ff33;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.85em;
    line-height: 1.7;
    background: none !important;
    white-space: pre;
    overflow-x: auto;
}
.z2c-post-body pre.zcms-terminal code::after {
    content: '▌';
    animation: zcms-blink 1s step-end infinite;
    color: #33ff33;
}
@keyframes zcms-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
.z2c-post-body img { border-radius: 4px; margin: 1em 0; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }

/* WordPress image alignment */
.z2c-post-body .alignleft  { float: left;  margin: 0.5em 1.5em 0.5em 0; max-width: 50%; }
.z2c-post-body .alignright { float: right; margin: 0.5em 0 0.5em 1.5em; max-width: 50%; }
.z2c-post-body .aligncenter,
.z2c-post-body .alignnone  { display: block; margin: 1em auto; }
.z2c-post-body .wp-caption { max-width: 100%; }
.z2c-post-body .wp-caption-text,
.z2c-post-body .gallery-caption {
    font-size: 0.82em;
    color: #999;
    text-align: center;
    margin-top: 4px;
    line-height: 1.4;
}

/* Premium inline links */
.z2c-post-body a,
.z2c-post-body a:visited {
    color: var(--z2c-accent);
    text-decoration: none;
    background: rgba(0,0,0,0.045);
    padding: 1px 5px;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}
.z2c-post-body a:hover {
    background: var(--z2c-accent);
    color: #fff;
}
.z2c-post-body a:has(img),
.z2c-post-body a:has(img):hover {
    background: none;
    padding: 0;
    border-radius: 0;
    color: inherit;
}
.z2c-post-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.9em; }
.z2c-post-body th,.z2c-post-body td { border: 1px solid #e2e8f0; padding: 0.5em 0.75em; text-align: left; }
.z2c-post-body th { background: #f8f9fa; font-weight: 700; }

/* Tags */
.z2c-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 5%; }
.z2c-tag {
    font-size: 0.78em;
    color: #888;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}
.z2c-tag:hover { color: var(--z2c-accent); border-color: var(--z2c-accent); }

/* ── Comments ── */
.z2c-comments { border-top: 2px solid #eee; padding: 5% 8% 8%; }

.z2c-comments-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.75em;
    font-weight: 400;
    color: var(--z2c-nav-bg);
    margin-bottom: 5%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.z2c-count { font-size: 0.7em; color: #999; font-weight: 400; }
.z2c-comments-disabled { color: #999; font-style: italic; }

.z2c-comment-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 5%; }
.z2c-comment {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 1rem 1.25rem;
}
.z2c-comment-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.z2c-comment-author { font-weight: 700; font-size: 0.88em; color: var(--z2c-nav-bg); }
.z2c-comment-date { font-size: 0.75em; color: #999; }
.z2c-comment-body { font-size: 0.9em; line-height: 1.65; color: var(--z2c-text); }

/* Comment form */
.z2c-comment-form {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}
.z2c-form-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: var(--z2c-nav-bg);
    margin-bottom: 1.25rem;
}
.z2c-form-row { margin-bottom: 1rem; }
.z2c-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.z2c-label { display: block; font-size: 0.8em; font-weight: 700; margin-bottom: 4px; color: #666; }
.z2c-required { color: #e53e3e; }
.z2c-input,.z2c-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: var(--z2c-text);
    font-size: 0.9em;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.2s;
}
.z2c-input:focus,.z2c-textarea:focus { outline: none; border-color: var(--z2c-accent); }
.z2c-textarea { resize: vertical; min-height: 110px; }

/* Alerts */
.z2c-alert { padding: 0.75rem 1rem; border-radius: 4px; font-size: 0.88em; margin-bottom: 1rem; }
.z2c-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.z2c-alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Buttons */
.z2c-btn {
    display: inline-block;
    padding: 12px 20px;
    background: var(--z2c-nav-bg);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.z2c-btn:hover { background: var(--z2c-accent); color: #fff; }

/* 404 */
.z2c-404 { text-align: center; padding: 8% 8%; }
.z2c-404-code { font-size: 6em; font-weight: 900; color: #eee; line-height: 1; margin-bottom: 0.5rem; }
.z2c-404-msg { color: #999; font-size: 1.1em; margin-bottom: 2rem; }

.z2c-empty { color: #999; font-style: italic; padding: 2rem 0; }

/* Search form */
.z2c-search-form { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.z2c-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
}
.z2c-search-btn {
    padding: 10px 20px;
    background: var(--z2c-nav-bg);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    cursor: pointer;
}
.z2c-search-btn:hover { background: var(--z2c-accent); }

/* ── Mobile ── */
@media (max-width: 800px) {
    .z2c-wrap { flex-direction: column; max-width: 100%; }
    .z2c-sidebar { width: 100%; padding: 8% 5%; }
    .z2c-nav { border-radius: 8px; margin: 8% 0; padding: 5% 6%; }
    .z2c-widgets { padding: 0 5%; }
    .z2c-post-item-title { font-size: 1.3em; }
    .z2c-post-title { font-size: 1.6em; }
    .z2c-form-cols { grid-template-columns: 1fr; }
    .z2c-post-hero-wrap { margin: 5% 5% 0; }
    .z2c-post-inner { padding: 5%; }
    .z2c-posts { padding: 5%; }
}

/* Webmentions */
.z2c-webmentions { border-top: 2px solid #eee; padding: 5% 8% 3%; }
.z2c-wm-label { font-size: .75rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: .6rem; }
.z2c-wm-facepile-wrap { margin-bottom: 1.5rem; }
.z2c-wm-facepile { display: flex; flex-wrap: wrap; gap: .35rem; }
.z2c-wm-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px #eee; }
.z2c-wm-avatar-initial { display: inline-flex; align-items: center; justify-content: center; background: #e2e8f0; color: #64748b; font-size: .85rem; font-weight: 700; }
.z2c-wm-replies { margin-bottom: 1.5rem; }
.z2c-wm-reply { padding: .9rem 0; border-bottom: 1px solid #f1f5f9; }
.z2c-wm-reply:last-child { border-bottom: none; }
.z2c-wm-reply-author { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; font-size: .87rem; }
.z2c-wm-reply-author a { font-weight: 700; color: var(--z2c-nav-bg); text-decoration: none; }
.z2c-wm-reply-author a:hover { text-decoration: underline; }
.z2c-wm-date { color: #999; font-size: .75rem; margin-left: auto; }
.z2c-wm-reply-content { font-size: .9rem; line-height: 1.65; color: var(--z2c-text); }

/* ── Subscribe widget ── */
.z2c-widget--subscribe .z2c-widget-desc { font-size: .85rem; opacity: .75; margin-bottom: .6rem; }
.z2c-sub-inline-form { display: flex; flex-direction: column; gap: .5rem; }
.z2c-sub-inline-btn { align-self: flex-end; width: 110px; padding: .45rem .9rem; background: var(--z2c-accent); color: #fff; border: none; border-radius: 6px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: opacity .15s; text-align: center; }
.z2c-sub-inline-btn:hover { opacity: .85; }
.z2c-sub-done { font-size: .85rem; padding: .6rem .75rem; background: #d1fae5; color: #065f46; border-radius: 6px; }
.z2c-sub-email-err { font-size: .78rem; color: #ef4444; }

/* ── Subscribe modal ── */
.z2c-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.z2c-modal--open { display: flex; }
.z2c-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.z2c-modal-box { position: relative; background: #fff; color: #1e293b; border-radius: 12px; padding: 2rem 2rem 1.75rem; width: min(520px, 92vw); max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.z2c-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.4rem; line-height: 1; color: #94a3b8; cursor: pointer; padding: .2rem .4rem; border-radius: 4px; }
.z2c-modal-close:hover { color: #1e293b; background: #f1f5f9; }
.z2c-modal-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 .3rem; color: #0f172a; }
.z2c-modal-subtitle { font-size: .9rem; color: #64748b; margin: 0 0 1.25rem; }
.z2c-modal-field { margin-bottom: 1rem; }
.z2c-modal-field label { display: block; font-size: .85rem; font-weight: 600; color: #334155; margin-bottom: .35rem; }
.z2c-modal-optional { font-weight: 400; color: #94a3b8; }
.z2c-modal-input { width: 100%; padding: .5rem .75rem; border: 1.5px solid #cbd5e1; border-radius: 6px; font-size: .95rem; color: #1e293b; background: #f8fafc; box-sizing: border-box; }
.z2c-modal-input:focus { outline: none; border-color: var(--z2c-accent, #5e4df3); }
.z2c-modal-prefs { border: 1.5px solid #e2e8f0; border-radius: 8px; padding: .85rem 1rem; margin: 0 0 1rem; }
.z2c-modal-prefs legend { font-size: .82rem; font-weight: 600; color: #64748b; padding: 0 .35rem; text-transform: uppercase; letter-spacing: .06em; }
.z2c-modal-check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #334155; padding: .3rem 0; cursor: pointer; }
.z2c-modal-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--z2c-accent, #5e4df3); flex-shrink: 0; }
.z2c-modal-submit { width: 100%; padding: .65rem 1rem; background: var(--z2c-accent, #5e4df3); color: #fff; border: none; border-radius: 8px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: opacity .15s; margin-top: .25rem; }
.z2c-modal-submit:hover { opacity: .88; }
.z2c-sub-msg { font-size: .85rem; padding: .6rem .75rem; border-radius: 6px; margin-bottom: .75rem; }
.z2c-sub-msg--ok  { background: #d1fae5; color: #065f46; }
.z2c-sub-msg--err { background: #fee2e2; color: #991b1b; }
body.z2c-modal-lock { overflow: hidden; }

/* ── Hero banner ── */
@keyframes z2c-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

.z2c-hero {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #090b0f;
}

.z2c-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        #090b0f 25%,
        rgba(63, 255, 140, 0.045) 50%,
        #090b0f 75%
    );
    background-size: 200% 100%;
    animation: z2c-shimmer 2.2s ease-in-out infinite;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.z2c-hero.z2c-hero--loaded::before {
    opacity: 0;
    animation: none;
}

.z2c-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0;
    transition: opacity 0.65s ease;
    z-index: 2;
}

.z2c-hero--loaded .z2c-hero-img {
    opacity: 1;
}

.z2c-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to bottom, transparent, var(--z2c-content-bg));
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 800px) {
    .z2c-hero { height: 170px; }
}
