/*
Theme Name: AZ Clean Service
Theme URI: https://az-clean-service.com/
Author: AZクリーンサービス
Description: AZクリーンサービス専用のオリジナルテーマ。遺品整理・特殊清掃・日常清掃・エアコンクリーニング・ゴミ屋敷片付けのサービスサイト用。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azclean
*/

/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --secondary-color: #1e293b;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    --font-main: 'Noto Sans JP', sans-serif;

    --container-width: 1140px;
    --section-padding: 80px;
}

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

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary-color); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }

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

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; color: var(--secondary-color); }

p { margin: 0 0 1rem 0; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: var(--section-padding) 0; }
.section-padding.tight { padding: 50px 0; }
.bg-light { background-color: var(--bg-light); }

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background-color: var(--primary-color);
}
.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}
.section-title.left-align { text-align: left; }
.section-title.left-align::after { left: 0; transform: none; }
.sp-br { display: none; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo img, .footer-logo img { max-height: 46px; width: auto; object-fit: contain; }
.header-right { display: flex; align-items: center; }
.contact-info { text-align: right; margin-right: 20px; }
.contact-text { display: block; font-size: 0.8rem; color: var(--text-light); font-weight: 500; }
.contact-tel { display: block; font-size: 1.8rem; font-weight: 700; color: var(--primary-color); line-height: 1; }

.line-contact { margin-right: 20px; }
.btn-line {
    display: inline-flex; align-items: center; justify-content: center;
    background-color: var(--bg-white); color: #06C755; font-weight: 700;
    border-radius: 4px; padding: 8px 15px; gap: 8px;
    border: 2px solid #06C755;
    box-shadow: 0 4px 6px rgba(6, 199, 85, 0.1);
}
.btn-line:hover {
    background-color: rgba(6, 199, 85, 0.05); color: #06C755;
    transform: translateY(-2px); box-shadow: 0 6px 12px rgba(6, 199, 85, 0.2);
}
.btn-line img { border-radius: 4px; }

.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 44px; height: 44px; position: relative; padding: 10px;
}
.menu-toggle span {
    display: block; width: 100%; height: 2px; background-color: var(--secondary-color);
    position: absolute; left: 0; transition: all 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.global-nav { background-color: var(--bg-white); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.nav-list { display: flex; justify-content: space-between; }
.nav-list li { flex: 1; }
.nav-list a {
    display: block; text-align: center; color: var(--text-color);
    padding: 16px 6px; font-size: 0.875rem; font-weight: 500;
    position: relative; overflow: hidden;
}
.nav-list a::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background-color: var(--primary-color); transform: translateY(100%); transition: transform 0.3s ease;
}
.nav-list a:hover { background-color: var(--bg-light); color: var(--primary-dark); }
.nav-list a:hover::before { transform: translateY(0); }
.nav-list a[aria-current="page"] { color: var(--primary-dark); background-color: var(--bg-light); }
.nav-list a[aria-current="page"]::before { transform: translateY(0); }
.nav-list span { display: block; font-size: 0.7rem; font-weight: 400; color: var(--text-light); margin-top: 2px; }

/* ==========================================================================
   Hero Section (home)
   ========================================================================== */
.hero { position: relative; height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 1; }
.hero-bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.42) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 600px; padding: 20px 0; }
.hero-copy {
    font-size: 2.5rem; line-height: 1.4; margin-bottom: 20px; color: var(--secondary-color);
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1), 0px 0px 20px rgba(255, 255, 255, 0.9), 2px 2px 4px rgba(255, 255, 255, 0.8);
}
.hero-sub {
    font-size: 1.1rem; color: var(--text-color); font-weight: 500; margin-bottom: 28px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1), 1px 1px 4px rgba(255, 255, 255, 0.9);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: 30px; font-weight: 700; font-size: 1rem;
    border: 2px solid transparent;
}
.btn-primary { background-color: var(--primary-color); color: #fff; box-shadow: 0 4px 10px rgba(15, 118, 110, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background-color: var(--bg-white); color: var(--secondary-color); border-color: var(--border-color); }
.btn-ghost:hover { border-color: var(--primary-color); color: var(--primary-color); }

/* Page hero (sub pages) */
.page-hero { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 60px; background-color: #eaf6f5; }
.page-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; }
.page-hero-bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}
.page-hero-title {
    position: relative; z-index: 2; color: var(--primary-dark); font-size: 2.5rem; font-weight: 700;
    text-align: center; letter-spacing: 0.06em;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1), 0px 0px 20px rgba(255, 255, 255, 0.8);
}
.page-hero-sub {
    position: relative; z-index: 2; display: block; text-align: center; margin-top: 10px;
    color: var(--text-color); font-size: 0.95rem;
    text-shadow: 0px 0px 8px rgba(255,255,255,1), 0px 0px 14px rgba(255,255,255,0.9);
}

/* ==========================================================================
   Services grid (also reused for trust cards)
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    background-color: var(--bg-white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); color: var(--text-color);
    display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .card-img img { transform: scale(1.05); }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { font-size: 1.25rem; margin-bottom: 15px; color: var(--primary-dark); }
.card-content p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 20px; flex-grow: 1; }
.btn-arrow { display: inline-flex; align-items: center; font-weight: 500; color: var(--primary-color); margin-top: auto; }

.trust-card { padding: 34px 26px; text-align: center; }
.trust-card h3 { color: var(--primary-dark); font-size: 1.2rem; margin-bottom: 14px; }
.trust-card p { color: var(--text-light); font-size: 0.95rem; }

/* ==========================================================================
   Message / split image+text blocks
   ========================================================================== */
.message-inner { display: flex; gap: 50px; align-items: center; }
.message-inner.reverse { flex-direction: row-reverse; }
.message-img { flex: 1; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.message-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.message-text { flex: 1; }
.message-text .lead { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 1.2rem; }
.message-text p { color: var(--text-color); }
.photo-caption { margin-top: 8px; font-size: 12px; color: var(--text-light); text-align: center; }

.content-box { background-color: var(--bg-light); border-radius: 8px; padding: 34px; }
.content-box .lead { font-weight: 700; color: var(--primary-dark); font-size: 1.15rem; margin-bottom: 16px; }

/* ==========================================================================
   Concern list / Service detail cards (shared card look)
   ========================================================================== */
.service-details { margin-bottom: 20px; }
.service-item {
    background-color: var(--bg-white); border-radius: 8px; padding: 26px 30px; margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); border-left: 5px solid var(--primary-color);
}
.service-item h3 { color: var(--primary-dark); font-size: 1.15rem; margin-bottom: 10px; display: flex; align-items: center; }
.service-item h3::before {
    content: ''; display: inline-block; width: 8px; height: 8px;
    background-color: var(--primary-color); border-radius: 50%; margin-right: 14px; flex-shrink: 0;
}
.service-item p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

.concern-item { border-left-color: #f59e0b; }
.concern-item h3::before { background-color: #f59e0b; }

/* ==========================================================================
   Flow steps
   ========================================================================== */
.flow-steps { position: relative; }
.step-item {
    display: flex; margin-bottom: 26px; background-color: var(--bg-white); border-radius: 8px;
    padding: 28px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); position: relative;
}
.step-number {
    flex-shrink: 0; width: 56px; height: 56px; background-color: var(--primary-color); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; font-weight: 700; margin-right: 26px; border: 4px solid var(--primary-light);
}
.step-content h3 { color: var(--secondary-color); font-size: 1.2rem; margin-bottom: 8px; }
.step-content p { color: var(--text-color); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   Company & Information
   ========================================================================== */
.two-column-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.company-table { width: 100%; border-collapse: collapse; background-color: var(--bg-white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); border-radius: 8px; overflow: hidden; }
.company-table th, .company-table td { padding: 15px 20px; border-bottom: 1px solid var(--border-color); }
.company-table th { width: 30%; background-color: var(--bg-light); font-weight: 500; text-align: left; color: var(--secondary-color); }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.note { font-size: 0.85rem; color: var(--text-light); margin-top: 10px; }

.info-box { background-color: var(--bg-white); padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); }
.news-list li { padding: 15px 0; border-bottom: 1px dashed var(--border-color); display: flex; align-items: flex-start; }
.news-list li:first-child { padding-top: 0; }
.news-list li:last-child { border-bottom: none; padding-bottom: 0; }
.news-date { font-family: monospace; color: var(--primary-color); font-weight: 500; margin-right: 20px; min-width: 80px; }
.news-title { color: var(--text-color); line-height: 1.5; }

/* LINE QR Section */
.line-qr-section { margin-top: 50px; background-color: rgba(6, 199, 85, 0.05); border: 1px solid rgba(6, 199, 85, 0.2); border-radius: 8px; padding: 30px; }
.line-qr-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.qr-text h3 { color: #06C755; font-size: 1.4rem; margin-bottom: 10px; }
.qr-text p { margin-bottom: 20px; }
.btn-line-large { padding: 12px 25px; font-size: 1.1rem; border-radius: 30px; }
.qr-image { background-color: var(--bg-white); padding: 10px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); flex-shrink: 0; }
.qr-image img { width: 150px; height: 150px; border-radius: 4px; object-fit: cover; }

/* CTA banner */
.cta-banner { background-color: var(--secondary-color); border-radius: 8px; padding: 50px 30px; text-align: center; }
.cta-banner h2 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 22px; }
.cta-banner .tel { color: #fff; font-size: 1.8rem; font-weight: 700; margin-bottom: 22px; }
.cta-banner .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-banner .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form { background-color: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); margin-bottom: 50px; }
.form-group { margin-bottom: 25px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.form-label .required { color: #ef4444; font-size: 0.75em; font-weight: 700; margin-left: 6px; vertical-align: middle; background:#fef2f2; padding:2px 7px; border-radius:5px; }
.form-label .optional { color: var(--text-light); font-size: 0.75em; margin-left: 6px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 4px; font-family: inherit; font-size: 1rem; background: #fff; }
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1); }
textarea.form-control { resize: vertical; min-height: 150px; }
.radio-group label { margin-right: 18px; cursor: pointer; font-size: 0.95rem; }
.form-submit { text-align: center; margin-top: 40px; }
.btn-submit {
    display: inline-block; background-color: var(--primary-color); color: #fff; border: none;
    padding: 15px 50px; font-size: 1.1rem; font-weight: 700; border-radius: 30px; cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.3);
}
.btn-submit:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(15, 118, 110, 0.4); }
.form-note { font-size: 0.85rem; color: var(--text-light); text-align: center; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.alert-error { background:#fef2f2; border:1px solid #fecaca; color:#b91c1c; padding:16px 20px; border-radius:8px; margin-bottom:24px; font-size:0.95rem; }

.privacy-box { background-color: var(--bg-light); border: 1px solid #e2e8f0; padding: 20px; max-height: 200px; overflow-y: auto; border-radius: 4px; font-size: 0.85rem; line-height: 1.7; margin-bottom: 24px; }
.privacy-box p { margin-bottom: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background-color: var(--bg-light); color: var(--text-color); padding: 60px 0 20px; border-top: 1px solid #94a3b8; }
.footer-inner { display: flex; justify-content: space-between; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid #94a3b8; }
.footer-info { max-width: 400px; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { max-height: 42px; width: auto; }
.address { color: var(--text-color); margin-bottom: 15px; }
.footer-contact { background-color: var(--bg-white); padding: 15px; border-radius: 4px; border: 1px solid var(--border-color); }
.footer-tel { display: block; font-size: 1.8rem; font-weight: 700; color: var(--primary-color); margin-bottom: 5px; }
.footer-hours { font-size: 0.85rem; color: var(--text-light); margin: 0 0 15px; }
.footer-line-btn { width: 100%; }
.footer-nav ul { column-count: 2; column-gap: 40px; }
.footer-nav li { margin-bottom: 15px; break-inside: avoid; }
/* 「›」は絶対配置にしない。2段組み(column-count)の段の境目でマークが消えたり
   位置がずれるため、インラインで並べる方式にしている */
.footer-nav a { color: var(--text-color); display: inline-flex; align-items: baseline; gap: 7px; }
.footer-nav a::before { content: '›'; color: var(--primary-color); flex-shrink: 0; }
.footer-nav a:hover { color: var(--primary-color); }
.copyright { text-align: center; color: var(--text-light); font-size: 0.85rem; }

/* ==========================================================================
   ページの先頭へ戻るボタン
   ========================================================================== */
.back-to-top {
    position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border: none; border-radius: 50%; padding: 0;
    background-color: var(--primary-color); color: #fff;
    font-size: 1.35rem; line-height: 1; cursor: pointer; z-index: 900;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.3s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background-color: var(--primary-dark); color: #fff; }
.back-to-top:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 991px) {
    :root { --section-padding: 60px; }
    .hero { height: 500px; }
    .hero-copy { font-size: 2rem; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .message-inner, .message-inner.reverse, .two-column-layout { flex-direction: column; gap: 32px; }
    .two-column-layout { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 40px; }
}

@media screen and (max-width: 767px) {
    .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; font-size: 1.2rem; }
    :root { --section-padding: 56px; }
    .header-inner { padding: 16px 20px; }
    .logo img, .footer-logo img { max-height: 40px; }
    .contact-info, .line-contact { display: none; }
    .menu-toggle { display: block; z-index: 1000; }
    .global-nav {
        position: fixed; top: 0; right: -100%; width: 82%; max-width: 340px; height: 100vh;
        background-color: var(--bg-white); border: none;
        box-shadow: -8px 0 30px rgba(15, 23, 42, 0.12);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999;
        display: flex; align-items: center; justify-content: center;
        overflow-y: auto;
    }
    .global-nav.active { right: 0; }
    .nav-list { flex-direction: column; width: 100%; }
    .nav-list a {
        text-align: left; color: var(--secondary-color);
        border-bottom: 1px solid var(--border-color); padding: 22px 30px; font-size: 1.05rem; font-weight: 700;
    }
    .nav-list li:first-child a { border-top: 1px solid var(--border-color); }
    .nav-list a::before { top: 0; bottom: auto; left: 0; width: 4px; height: 100%; }
    .nav-list a:hover, .nav-list a[aria-current="page"] { background-color: var(--bg-light); }
    .nav-list span { text-align: left; }

    .hero { height: auto; padding: 70px 0 60px; }
    .hero-bg::after { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 100%); }
    .hero-content { padding: 0 5px; }
    .hero-copy { font-size: 1.75rem; line-height: 1.5; margin-bottom: 24px; }
    .hero-sub { margin-bottom: 8px; }
    .sp-br { display: block; }

    .service-grid { grid-template-columns: 1fr; gap: 22px; }
    .message-img { order: -1; }
    .form-grid-2 { grid-template-columns: 1fr; }

    .company-table th, .company-table td { display: block; width: 100%; }
    .company-table th { background-color: var(--bg-light); border-bottom: none; padding-bottom: 5px; }
    .company-table td { padding-top: 5px; margin-bottom: 10px; }
    .company-table tr:last-child td { border-bottom: 1px solid var(--border-color); margin-bottom: 0; }

    .line-qr-inner { flex-direction: column; text-align: center; }
    .qr-text h3 { font-size: 1.2rem; }
    .qr-image { margin: 0 auto; }

    .page-hero { height: 220px; margin-bottom: 40px; }
    .page-hero-title { font-size: 1.9rem; }
    .page-hero-sub { font-size: 0.9rem; padding: 0 24px; }

    .step-item { flex-direction: column; padding: 24px; }
    .step-number { margin-bottom: 16px; width: 48px; height: 48px; font-size: 1.15rem; }

    .contact-form { padding: 24px; }
    .footer-nav ul { column-count: 1; }
    .cta-banner { padding: 36px 20px; }
}


/* ==========================================================================
   WordPress 用の追加スタイル
   ========================================================================== */
.wp-block-image img { border-radius: 8px; }
.alignwide, .alignfull { max-width: 100%; }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
    width: 1px; word-wrap: normal !important;
}
.admin-bar .global-nav.active { top: 32px; }

/* Contact Form 7 */
.wpcf7 form .wpcf7-response-output {
    margin: 24px 0 0; padding: 16px 20px; border-radius: 8px;
    border: 1px solid var(--border-color); font-size: 0.95rem;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.wpcf7 form.sent .wpcf7-response-output { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.wpcf7-not-valid-tip { color: #b91c1c; font-size: 0.85rem; margin-top: 6px; display: block; }
.wpcf7-spinner { display: block; margin: 14px auto 0; }
.wpcf7 .form-control { display: block; }

/* News list */
.news-archive-list { max-width: 820px; margin: 0 auto; }
.news-archive-list li a { color: var(--text-color); }
.news-archive-list li a:hover { color: var(--primary-color); }
.post-body { max-width: 820px; margin: 0 auto; }
.post-body h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.post-body h3 { font-size: 1.2rem; margin: 1.6rem 0 0.8rem; color: var(--primary-dark); }
.post-meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; text-align: center; }
.back-link { text-align: center; margin-top: 40px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px; border-radius: 6px;
    border: 1px solid var(--border-color); background: #fff; color: var(--text-color);
}
.pagination .page-numbers.current { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
