/*
Theme Name: IseoLakeAirfield
Theme URI: https://www.lakeiseoairfield.it
Author: IseoLakeAirfield
Author URI: https://www.lakeiseoairfield.it
Description: Tema ufficiale per IseoLakeAirfield – The most beautiful airfield in northern Italy! Aviosuperficie BG07 Costa Volpino sul Lago d'Iseo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lakeiseoairfield
Tags: aviation, airfield, blue, responsive, custom-menu, featured-images, widgetized-sidebar, footer-widgets
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #0080FF;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #005fcc;
}

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

ul, ol {
    list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 0.75em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.25em;
    color: #555555;
}

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

blockquote {
    border-left: 4px solid #0080FF;
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background: #f0f6ff;
    font-style: italic;
    color: #444;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 4px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #0080FF;
    color: #ffffff;
}

.btn-primary:hover {
    background: #005fcc;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #0080FF;
    border: 2px solid #0080FF;
}

.btn-outline:hover {
    background: #0080FF;
    color: #ffffff;
}

.btn-book {
    background: #0080FF;
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-book:hover {
    background: #005fcc;
    color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0080FF;
    line-height: 1.2;
}

/* Primary Navigation */
#primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

#primary-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

#primary-menu li {
    position: relative;
}

#primary-menu > li > a {
    display: block;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}

#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-page-ancestor > a {
    color: #0080FF;
}

/* Dropdown */
#primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    border-top: 3px solid #0080FF;
    z-index: 999;
}

#primary-menu li:hover > .sub-menu {
    display: block;
}

#primary-menu .sub-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, color 0.2s;
}

#primary-menu .sub-menu li a:hover {
    background: #f0f6ff;
    color: #0080FF;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e0e0e0;
    color: #555;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.social-links a:hover {
    border-color: #0080FF;
    color: #0080FF;
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* ============================================================
   PAGE HERO / BANNER
   ============================================================ */
.page-hero {
    position: relative;
    height: 230px;
    background-image: url('https://lakeiseoairfield.it/wp-content/uploads/2020/07/slide-1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.42);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.page-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.breadcrumb {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb .separator {
    margin: 0 6px;
}

/* ============================================================
   HOME HERO / SLIDER AREA
   ============================================================ */
.home-hero {
    background: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.home-hero .hero-video-wrap {
    max-width: 860px;
    margin: 0 auto 40px;
}

.home-hero .hero-video-wrap iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* ============================================================
   HOME NEWS / POSTS AREA
   ============================================================ */
.home-news {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #0080FF;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0080FF;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ============================================================
   HOME CONTENT BLOCKS
   ============================================================ */
.home-content {
    padding: 0 0 60px;
}

.content-block {
    padding: 50px 0;
    border-bottom: 1px solid #f0f0f0;
}

.content-block:last-child {
    border-bottom: none;
}

.content-block h2 {
    font-size: 1.8rem;
    color: #0080FF;
    text-align: center;
    margin-bottom: 30px;
}

.content-block .video-embed {
    max-width: 760px;
    margin: 0 auto;
}

.content-block .video-embed iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Petition box */
.petition-box {
    background: linear-gradient(135deg, #e8f3ff 0%, #f0f8ff 100%);
    border: 2px solid #0080FF;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 30px auto;
    max-width: 800px;
}

.petition-box h3 {
    color: #0080FF;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.petition-box p {
    color: #333;
    margin-bottom: 20px;
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.site-content {
    padding: 60px 0;
}

.entry-content {
    max-width: 900px;
    margin: 0 auto;
}

.entry-content h2,
.entry-content h3 {
    color: #0080FF;
    margin: 1.5em 0 0.75em;
}

.entry-content p {
    margin-bottom: 1.4em;
    color: #444;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1.4em;
    color: #444;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.4em;
}

.entry-content img {
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin: 1.5em auto;
}

.entry-content figure {
    margin: 2em 0;
    text-align: center;
}

.entry-content figcaption {
    font-size: 0.875rem;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
}

.entry-content table th {
    background: #0080FF;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
}

.entry-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-content table tr:hover td {
    background: #f5f9ff;
}

.entry-content .wp-block-embed iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 6px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 90px;
}

.widget {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0080FF;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0080FF;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 0.9rem;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #333;
}

.widget ul li a:hover {
    color: #0080FF;
}

/* ============================================================
   CARDS / POST GRID
   ============================================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
}

.post-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.post-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.post-card:hover .post-card-thumb img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 20px;
}

.post-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0080FF;
    margin-bottom: 8px;
}

.post-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.post-card-title a {
    color: inherit;
}

.post-card-title a:hover {
    color: #0080FF;
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ============================================================
   DOVE SIAMO (MAP)
   ============================================================ */
.map-embed {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 30px;
}

/* ============================================================
   CHI SIAMO - TEAM
   ============================================================ */
.team-photo {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    margin-bottom: 30px;
}

/* ============================================================
   REGISTRO DI VOLO
   ============================================================ */
.flight-log-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

.flight-log-table th {
    background: #0080FF;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.flight-log-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
}

.flight-log-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.flight-log-table tr:hover td {
    background: #f0f6ff;
}

/* ============================================================
   SERVIZI
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #0080FF;
    box-shadow: 0 8px 28px rgba(0,128,255,0.12);
    transform: translateY(-3px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #e8f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
    color: #0080FF;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* ============================================================
   CONTATTI / CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    color: #0080FF;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: #e8f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0080FF;
    font-size: 1rem;
}

.contact-item-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

.contact-item-text strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 2px;
}

/* Contact Form */
.contact-form-wrap h3 {
    color: #0080FF;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d4ddde;
    border-radius: 7px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0080FF;
    box-shadow: 0 0 0 3px rgba(0,128,255,0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.error-404-number {
    font-size: 10rem;
    font-weight: 900;
    color: #e8e8e8;
    line-height: 1;
    text-align: center;
    user-select: none;
}

.error-404-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.error-404-content p {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0080FF;
    margin-bottom: 24px;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comments-title {
    font-size: 1.5rem;
    color: #0080FF;
    margin-bottom: 24px;
}

.comment-form-wrap {
    margin-top: 40px;
}

.comment-form-wrap h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .site-logo img {
    height: 50px;
    filter: brightness(0) invert(1) opacity(0.85);
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: #0080FF;
    color: #0080FF;
}

.footer-widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,128,255,0.4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #999;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0080FF;
}

.footer-contact-item {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-contact-item strong {
    color: #ddd;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.footer-bottom a {
    color: #888;
    font-size: 0.8rem;
}

.footer-bottom a:hover {
    color: #0080FF;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #0080FF;
    border-color: #0080FF;
    color: #fff;
}

/* ============================================================
   SEARCH FORM
   ============================================================ */
.search-form {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
}

.search-field {
    flex: 1;
    padding: 12px 14px;
    border: 1.5px solid #d4ddde;
    border-right: none;
    border-radius: 7px 0 0 7px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
}

.search-submit {
    padding: 12px 20px;
    background: #0080FF;
    color: #fff;
    border: none;
    border-radius: 0 7px 7px 0;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.search-submit:hover {
    background: #005fcc;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-blue { color: #0080FF; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.py-60 { padding: 60px 0; }
.hidden { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }

    #primary-menu > li > a {
        padding: 8px 8px;
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .header-inner { height: 60px; }

    #primary-nav { display: none; }
    #primary-nav.is-open { display: block; position: absolute; top: 60px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.1); padding: 10px 0 20px; z-index: 999; }
    #primary-menu { flex-direction: column; align-items: flex-start; gap: 0; padding: 0 20px; }
    #primary-menu > li > a { padding: 10px 0; font-size: 0.9rem; }
    #primary-menu .sub-menu { position: static; box-shadow: none; border-top: none; padding-left: 16px; }
    #primary-menu li:hover > .sub-menu { display: none; }
    #primary-menu li.is-open > .sub-menu { display: block; }

    .menu-toggle { display: flex; }

    .posts-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-grid { grid-template-columns: 1fr; }
    .error-404-wrap { grid-template-columns: 1fr; }
    .error-404-number { font-size: 6rem; }
    .page-hero-title { font-size: 1.8rem; }
    .comment-form .form-row { grid-template-columns: 1fr; }

    .header-right .social-links { display: none; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .page-hero { height: 180px; }
    .page-hero-title { font-size: 1.5rem; }
    .container { padding: 0 16px; }
}
