/* =========================================================
   OFFICINA - Shared stylesheet
   Used by: index.html (landing page), editorial.html, and
   all other standard content pages.
   ========================================================= */

/* ---------- Reset ---------- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");   

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    line-height: 1.5;
    background: #fff;
}

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

/* In-body links appear blue */
.content a,
a.link {
    color: #2173d9;
}

.content a:hover,
a.link:hover {
    text-decoration: underline;
}

/* ---------- HEADER ---------- */
.site-header {
    background: #111;
    color: #fff;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

.logo img {
    height: 28px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: #cfcfcf;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.current {
    color: #fff;
    font-weight: 600;
}

/* ---------- HERO (landing page only) ---------- */
.hero {
    background: linear-gradient(180deg, #2a5459 0%, #1f4247 100%);
    color: #fff;
    text-align: center;
    padding: 50px 20px 60px;
}

.hero-logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 30px;
    display: block;
}

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
}

/* ---------- SERVICES (landing page only) ---------- */
.services {
    background: #fff;
    padding: 55px 20px 60px;
    text-align: center;
}

.services h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.services .intro {
    max-width: 700px;
    margin: 0 auto 45px;
    font-size: 16px;
    line-height: 1.6;
}

.service-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.service {
    width: 240px;
    text-align: center;
}

.service .icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: block;
}

.service h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service h3 a {
    color: #111;
}

.service h3 a:hover {
    color: #2a5459;
}

.service ul {
    list-style: none;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.separator {
    text-align: center;
    font-size: 16px;
    margin: 40px auto 30px;
    max-width: 700px;
}

/* ---------- STANDARD CONTENT PAGE ---------- */
/* Use <main class="content"> for any non-landing page. */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 30px 70px;
}

.content .page-icon {
    height: 140px;
    display: block;
    margin: 0 auto 30px;
}

.content h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 18px;
}

.content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 26px 0 14px;
}

.content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.content strong {
    font-weight: 700;
}

.content ul,
.content ol {
    margin: 0 0 18px 22px;
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- TABLES ---------- */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.6;
}

.content th,
.content td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
}

.content th {
    font-weight: 700;
    background: #f6f6f6;
    border-bottom: 2px solid #2a5459;
}

.content tbody tr:hover {
    background: #fafafa;
}

.content table caption {
    caption-side: bottom;
    font-size: 13px;
    color: #666;
    font-style: italic;
    padding-top: 8px;
    text-align: left;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #1a1a1a;
    color: #bbb;
    padding: 18px 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.site-footer ul {
    list-style: none;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer a {
    font-size: 12px;
    color: #bbb;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 700px) {
    .site-header {
        flex-direction: column;
        gap: 12px;
        padding: 14px 20px;
    }

    .main-nav ul {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1,
    .content h1 {
        font-size: 22px;
    }

    .service-row {
        gap: 30px;
    }

    .site-footer ul {
        gap: 18px;
    }

    .content {
        padding: 30px 20px 50px;
    }
}

/* ---------- BLOG POSTS ---------- */
.post-meta {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin: -25px 0 35px;   /* pulls up closer to the h1 */
    letter-spacing: 0.5px;
}

.post-meta time {
    font-weight: 500;
}

.post-content p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.post-content blockquote {
    border-left: 3px solid #2a5459;
    padding: 4px 0 4px 20px;
    margin: 24px 0 24px 10px;
    font-style: italic;
    color: #555;
}

.post-content figure {
    margin: 30px 0;
    text-align: center;
}

.post-content figure img {
    max-width: 100%;
    height: auto;
}

.post-content figcaption {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.post-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.post-taxonomy {
    font-size: 13px;
    color: #666;
}

/* ---------- BLOG INDEX ---------- */
.post-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

.post-item {
    padding: 25px 0;
    border-bottom: 1px solid #e5e5e5;
}

/* ... other post-item rules ... */

.post-item p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* ---------- BLOG INDEX TAGS ---------- */

.post-list-tags {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.post-list-tags a {
    color: #888;
}

.post-list-tags a:hover {
    color: #2a5459;
    text-decoration: underline;
}

/* ---------- TAG CLOUD ---------- */
.tag-cloud {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.tag-cloud-item {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    background: #f6f6f6;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    transition: background 0.2s, color 0.2s;
}

.tag-cloud-item:hover {
    background: #2a5459;
    color: #fff;
    text-decoration: none;
}

.tag-count {
    color: #888;
    font-size: 12px;
    margin-left: 4px;
}

.tag-cloud-item:hover .tag-count {
    color: #cde;
}

.tag-group {
    max-width: 700px;
    margin: 0 auto 40px;
}

.tag-group h2 {
    font-size: 22px;
    border-bottom: 2px solid #2a5459;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

@media (max-width: 700px) {
    /* ... your existing rules ... */
    
    .content table {
        display: block;
        overflow-x: auto;
        font-size: 14px;
    }
}
