/*
Theme Name: Spolia Editorial
Theme URI: https://spoliamagazine.com/
Author: Spolia Magazine Design
Description: Premium editorial WordPress theme created for Spolia Magazine. Includes responsive magazine homepage, single articles, category and author archives, and five social links. Activate on staging and configure before publishing.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: spolia-editorial
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, custom-menu, featured-images, translation-ready, responsive-layout
*/
/* WordPress compatibility and fine alignment live below. Original approved design is in base.css, editorial.css, inner-pages.css. */
.theme-editorial .nav-items{list-style:none;padding:0;margin:0}
.theme-editorial .nav-items li{list-style:none;margin:0;padding:0}
.theme-editorial .nav-items .current-menu-item>a,
.theme-editorial .nav-items .current_page_item>a {color:var(--red)}
.theme-editorial .nav-items a[aria-current="page"]{color:var(--red)}
.theme-editorial img{height:auto}
.theme-editorial .masthead .brand img{height:112px;width:auto}
.theme-editorial .footer-logo img{height:auto;max-width:220px}
.theme-editorial .hero-visual img,.theme-editorial .story-image img{height:100%}
.theme-editorial .story-image:not(:has(img)),.theme-editorial .hero-visual:not(:has(img)){background:#e2d7ce}
.theme-editorial .story-image.placeholder-art,.theme-editorial .hero-visual.placeholder-art{
 background:linear-gradient(140deg,#bca49a 0%,#eee4d9 54%,#c3a5a1 100%);
 display:flex;align-items:center;justify-content:center;text-decoration:none}
.theme-editorial .story-image.placeholder-art::after,.theme-editorial .hero-visual.placeholder-art::after{content:'SPOLIA';font:500 42px 'EB Garamond',Georgia,serif;color:#9e2034;letter-spacing:.07em;opacity:.6}
.theme-editorial .hero-visual.placeholder-art::after{font-size:70px}
.theme-editorial .hero h1 a{text-decoration:none}
.theme-editorial .hero h1 a:hover{color:var(--red)}
.theme-editorial .hero h1{overflow-wrap:break-word}
.theme-editorial .hero .hero-img-label{pointer-events:none}
.theme-editorial .article-hero-figure img{height:clamp(350px,46vw,575px)}
.theme-editorial .post-hero-empty{height:75px;border-top:1px solid var(--line)}
.theme-editorial .article-prose .article-content>p:first-child{font-size:clamp(20px,2vw,26px);line-height:1.58}
.theme-editorial .article-prose img{height:auto;max-width:100%}
.theme-editorial .article-prose h2,.theme-editorial .article-prose h3,.theme-editorial .article-prose h4{scroll-margin-top:35px}
.theme-editorial .article-prose a{overflow-wrap:break-word}
.theme-editorial .article-prose .wp-block-image{margin:30px auto}
.theme-editorial .article-prose .wp-block-image figcaption{color:#736d69;font:400 12px/1.6 Inter,Arial,sans-serif;text-align:center}
.theme-editorial .article-prose .wp-block-table{overflow-x:auto}
.theme-editorial .article-prose table{border-collapse:collapse;width:100%;margin:22px auto;font-size:15px;display:block;overflow:auto}
.theme-editorial .article-prose td,.theme-editorial .article-prose th{padding:12px 14px;border:1px solid #d9d0c7;text-align:left}
.theme-editorial .article-prose th{background:#eee5dc}
.theme-editorial .article-prose iframe,.theme-editorial .article-prose video{max-width:100%}
.theme-editorial .article-prose .alignwide{max-width:100%}
.theme-editorial .article-prose .alignleft{float:left;margin:0 22px 16px 0;max-width:45%}
.theme-editorial .article-prose .alignright{float:right;margin:0 0 16px 22px;max-width:45%}
.theme-editorial .article-prose .aligncenter{margin-left:auto;margin-right:auto}
.theme-editorial .article-prose::after{content:'';display:table;clear:both}
.theme-editorial .wp-block-button__link{background:var(--red);color:#fff!important;border-radius:1px;padding:14px 22px;text-decoration:none}
.theme-editorial .article-prose blockquote:not(.editorial-pullquote){border-left:3px solid var(--red);padding-left:22px;font-style:italic;margin:36px 0}
.theme-editorial .article-prose blockquote p{font-size:1.14em}
.theme-editorial .breadcrumbs .breadcrumb-current{color:#626064}
.theme-editorial .article-sidebar .toc-list:empty::after{content:'Article sections will appear here';color:#877d79;font-size:12px}
.theme-editorial .sidebar-module .toc-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;line-height:1.5;border-top:1px solid #e4dcd3;padding:12px 0;text-decoration:none}
.theme-editorial .sidebar-module .toc-list a:hover{color:var(--red)}
.theme-editorial .sidebar-module .toc-list a span{font-size:10px;color:#8a7b74}
.theme-editorial .newsletter-action{display:flex;flex-wrap:wrap;align-items:center;gap:13px}
.theme-editorial .newsletter-action a{background:var(--red);color:#fff;padding:15px 19px;text-decoration:none;font-size:12px;font-weight:750}
.theme-editorial .newsletter-action .newsletter-disclaimer{font-size:11px;line-height:1.6;color:#665f5a}
.theme-editorial .newsletter-form form{display:flex;flex-wrap:wrap;gap:8px;max-width:460px}
.theme-editorial .newsletter-form input[type=email]{flex:1;min-width:200px;padding:14px;border:1px solid #b9aca3}
.theme-editorial .newsletter-form button,.theme-editorial .newsletter-form input[type=submit]{border:0;background:var(--red);color:#fff;padding:14px 17px;cursor:pointer;font-size:12px}
.theme-editorial .article-sidebar .sidebar-related a{line-height:1.45}
.theme-editorial .article-page-nav{margin:40px 0;border-top:1px solid #dbd4cc;padding-top:24px;font-size:14px}
.theme-editorial .article-page-nav a{color:var(--red);text-decoration:none}
.theme-editorial .pagination{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:32px}
.theme-editorial .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:39px;height:39px;border:1px solid #dacfc5;text-decoration:none;font-size:12px;padding:8px}
.theme-editorial .pagination .page-numbers.current,.theme-editorial .pagination a:hover{background:var(--red);color:#fff}
.theme-editorial .not-found{text-align:center;padding:105px 0}
.theme-editorial .not-found h1{font:500 clamp(56px,9vw,115px)/1 'EB Garamond',Georgia,serif;margin:12px 0}
.theme-editorial .not-found p{color:#666;line-height:1.7}
.theme-editorial .site-footer .socials{gap:16px}
.theme-editorial .author-monogram-large img{border-radius:50%;width:100%;height:100%;object-fit:cover}
.theme-editorial .author-profile h1,.theme-editorial .category-hero h1{overflow-wrap:anywhere}
.theme-editorial .post-byline small{line-height:1.6}
.theme-editorial .site-search label{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.theme-editorial .wp-caption{max-width:100%}
.theme-editorial .wp-caption-text{font-size:12px;color:#666}
.theme-editorial .screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}
.theme-editorial .screen-reader-text:focus{clip:auto!important;clip-path:none;background:#fff;color:#111;display:block;height:auto;width:auto;left:5px;top:5px;z-index:100000;padding:10px}
@media(max-width:760px){.theme-editorial .nav-items{align-items:stretch;gap:0}.theme-editorial .nav-items li{width:100%}.theme-editorial .nav-items a{display:block}.theme-editorial .masthead .brand img{height:80px}.theme-editorial .hero-visual img{height:100%}.theme-editorial .article-prose .alignleft,.theme-editorial .article-prose .alignright{float:none;max-width:100%;margin:20px auto}}
.theme-editorial .spolia-comments{padding:35px 0;clear:both}
.theme-editorial .spolia-comments h2,.theme-editorial .spolia-comments h3{font:500 35px/1.15 'EB Garamond',Georgia,serif}
.theme-editorial .spolia-comments ol{padding-left:25px}
.theme-editorial .spolia-comments .comment-body{border-top:1px solid #ded4cc;padding:24px 0}
.theme-editorial .spolia-comments textarea,.theme-editorial .spolia-comments input:not([type=submit]){max-width:100%;width:100%;border:1px solid #d3c9bf;padding:12px;background:#fff}
.theme-editorial .spolia-comments input[type=submit]{background:var(--red);color:white;border:0;padding:13px 25px;cursor:pointer}
.theme-editorial .spolia-comments label{display:block;font-size:12px;margin-bottom:7px}
.theme-editorial .category-hero .archive-description,.theme-editorial .category-hero .archive-description p{font:400 21px/1.45 Georgia,serif;color:#5A5552;max-width:680px;margin:0}
.theme-editorial .article-head .eyebrow a{color:inherit;text-decoration:none}
.theme-editorial .article-head .eyebrow a:hover{text-decoration:underline}
.theme-editorial .story-card .eyebrow a{text-decoration:none}
.theme-editorial .story-card .eyebrow a:hover{text-decoration:underline}
.theme-editorial .category-feature-meta a{color:inherit;text-decoration:none}
.theme-editorial .category-feature-meta a:hover{color:var(--red)}
.theme-editorial .article-prose .wp-block-cover{margin:30px auto}
.theme-editorial .article-prose .wp-block-embed{max-width:100%}

/* Spolia Daily (native newsletter form, progressive enhancement and status messages) */
.theme-editorial .newsletter-form .spolia-letter-form{display:block;max-width:500px}
.theme-editorial .newsletter-form .spolia-letter-input-row{display:flex;gap:0;width:100%}
.theme-editorial .newsletter-form .spolia-letter-input-row input[type=email]{flex:1;min-width:0;height:52px;padding:13px 15px;background:#fff;border:1px solid #b9aca3;border-right:0;border-radius:0;color:#1E242A;font:400 14px/1.3 Inter,Arial,sans-serif;outline-offset:2px}
.theme-editorial .newsletter-form .spolia-letter-input-row button{min-height:52px;min-width:116px;display:inline-flex;align-items:center;justify-content:center;background:#9E2034;border:1px solid #9E2034;color:#fff;padding:12px 19px;font:700 12px/1.2 Inter,Arial,sans-serif;cursor:pointer;transition:background .2s ease}
.theme-editorial .newsletter-form .spolia-letter-input-row button:hover,.theme-editorial .newsletter-form .spolia-letter-input-row button:focus-visible{background:#78172A}
.theme-editorial .newsletter-form .spolia-letter-consent{display:flex;align-items:flex-start;gap:9px;margin-top:13px;font:400 11px/1.6 Inter,Arial,sans-serif;color:#665F5A;cursor:pointer}
.theme-editorial .newsletter-form .spolia-letter-consent input[type=checkbox]{margin:3px 0 0;flex:none;width:15px;height:15px;accent-color:#9E2034}
.theme-editorial .newsletter-form .spolia-letter-consent a{color:#9E2034;text-decoration:underline}
.theme-editorial .newsletter-form .spolia-letter-fineprint{margin:8px 0 0;font:400 11px/1.55 Inter,Arial,sans-serif;color:#736962}
.theme-editorial .newsletter-form .spolia-letter-status{margin:0 0 14px;padding:13px 15px;font:500 12px/1.6 Inter,Arial,sans-serif;border:1px solid #b6aa9e;background:#FFFDF9;color:#3B3735}
.theme-editorial .newsletter-form .spolia-letter-status.is-success{border-color:#4F7257;background:#F0F6EF;color:#23452C}
.theme-editorial .newsletter-form .spolia-letter-status.is-error{border-color:#AD4C50;background:#FFF5F3;color:#752A34}
.theme-editorial .newsletter-form .spolia-letter-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important}
.theme-editorial .footer-bottom .copyright-site-link{color:inherit;text-decoration:underline;text-underline-offset:2px}
.theme-editorial .footer-bottom .copyright-site-link:hover,.theme-editorial .footer-bottom .copyright-site-link:focus-visible{color:#9E2034}
@media(max-width:500px){.theme-editorial .newsletter-form .spolia-letter-input-row{flex-wrap:wrap;gap:8px}.theme-editorial .newsletter-form .spolia-letter-input-row input[type=email]{flex-basis:100%;border-right:1px solid #b9aca3}.theme-editorial .newsletter-form .spolia-letter-input-row button{width:100%}}
