/*
Theme Name: INTERSTORIS Blog
Theme URI: https://interstories.inkliksites.com/blog/
Description: Custom child theme for INTERSTORIS Russia blog, based on GeneratePress.
Author: INTERSTORIS
Author URI: https://interstoris.com
Template: generatepress
Version: 2.0.0
Text Domain: interstoris-blog
*/
/* Fix horizontal overflow / width issue */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.site-header,
.site-footer,
.blog-content-wrapper,
.single-post-full-width {
    max-width: 100%;
    overflow-x: hidden;
}


/* ============================================
   INTERSTORIS Blog — Custom Styles v2.0
   Testing 5 — Complete Redesign
   ============================================ */

:root {
    --primary: #17539e;
    --primary-dark: #0e3a6e;
    --accent: #db3131;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #f8f9fa;
    --white: #fff;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover: 0 6px 20px rgba(0,0,0,0.1);
}

/* ============================================
   GLOBAL
   ============================================ */
* { box-sizing: border-box; }

body {
    font-family: 'Nunito', 'Rubik', sans-serif;
    color: var(--text);
    background: var(--bg);
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   ITEM 1: HEADER — Blue strip + White menu bar
   ============================================ */

/* Blue top strip */
.top-strip {
    background: #17539e;
    padding: 5px 3%;
}
.top-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-strip-email {
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff !important;
    text-decoration: none !important;
}
.top-strip-email:hover {
    color: #cde0f7 !important;
}
.top-strip-enquiry {
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff !important;
    text-decoration: none !important;
}
.top-strip-enquiry:hover {
    color: #cde0f7 !important;
}

/* White menu bar */
.site-header {
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    max-width: 1200px;
    margin: 0 auto;
}
.site-header .site-logo img {
    max-height: 50px;
    width: auto;
}
.site-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}
.site-header nav ul li a {
    color: #333;
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s;
}
.site-header nav ul li a:hover {
    color: var(--primary);
    text-decoration: none;
}
.site-header nav ul li.menu-vacancy a {
    color: var(--accent) !important;
    font-weight: 700;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
}

/* ============================================
   BLOG ARCHIVE / LISTING
   ============================================ */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.blog-title {
    font-family: Nunito, sans-serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
}

/* ============================================
   ITEM 3: POST CARDS — Clean hierarchy
   Image → Category + Date → Title → Excerpt → Button
   ============================================ */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Card thumbnail */
.post-card-thumbnail {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.post-card-thumbnail img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.post-card:hover .post-card-thumbnail img {
    transform: scale(1.03);
}

/* Card body */
.post-card-body {
    padding: 20px 24px 24px;
}

/* Category + Date on same line */
.post-card-meta-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.post-card-category {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.5px;
}
.post-card-category:hover {
    color: var(--primary-dark);
}
.post-card-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Title — main focus */
.post-card-title {
    font-family: Nunito, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: var(--text);
}
.post-card-title a {
    color: var(--text);
    text-decoration: none;
}
.post-card-title a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Excerpt — 2-3 lines */
.post-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card-excerpt p {
    margin: 0;
}

/* Read More button — single, at bottom */
.read-more-btn {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    padding: 8px 0;
    transition: color 0.2s;
}
.read-more-btn:hover {
    color: var(--primary-dark);
    text-decoration: none !important;
}

/* ============================================
   ITEM 4: PAGINATION — Proper alignment
   ============================================ */
.pagination {
    margin-top: 30px;
    padding: 20px 0;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    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: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s;
}
.pagination a.page-numbers {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
}
.pagination a.page-numbers:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    text-decoration: none;
}
.pagination span.page-numbers.current {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}
.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    font-weight: 600;
}
.pagination .dots {
    border: none;
    background: none;
    color: var(--text-muted);
}

/* ============================================
   ITEM 5: SIDEBAR — Font fixes, icons, alignment
   ============================================ */
.blog-sidebar .widget {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.blog-sidebar .widget-title {
    font-family: Nunito, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.blog-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-sidebar .widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog-sidebar .widget ul li:last-child {
    border-bottom: none;
}
/* Arrow icon before each item */
.blog-sidebar .widget_categories ul li a,
.blog-sidebar .widget_archive ul li a {
    color: var(--text);
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex: 1;
}
.blog-sidebar .widget_categories ul li a::before,
.blog-sidebar .widget_archive ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--primary);
    margin-right: 8px;
    flex-shrink: 0;
}
.blog-sidebar .widget_categories ul li a:hover,
.blog-sidebar .widget_archive ul li a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Post count numbers — smaller, lighter */
.blog-sidebar .widget_categories ul li,
.blog-sidebar .widget_archive ul li {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    flex-wrap: wrap;
}

/* Nested subcategories */
.blog-sidebar .widget_categories ul.children {
    width: 100%;
    padding-left: 16px;
    margin-top: 4px;
}
.blog-sidebar .widget_categories ul.children li {
    border-bottom: 1px solid var(--border-light);
}
.blog-sidebar .widget_categories ul.children li:last-child {
    border-bottom: none;
}

/* Remove empty widget cards (item 2) */
.blog-sidebar .widget:empty,
.blog-sidebar .widget_recent_comments,
.blog-sidebar .widget_recent_entries,
.blog-sidebar .widget_meta {
    display: none !important;
}

/* Search Widget */
.search-form {
    display: flex;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    font-family: Nunito, sans-serif;
    outline: none;
}
.search-form input[type="search"]:focus {
    border-color: var(--primary);
}
.search-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.2s;
}
.search-form button:hover {
    background: var(--primary-dark);
}

/* ============================================
   ITEM 6: SEARCH RESULTS — Horizontal list, no sidebar
   ============================================ */
.search-results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 15px;
}
.search-results-main {
    width: 100%;
}
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.search-result-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
}
.search-result-item:hover {
    box-shadow: var(--shadow-hover);
}
.search-result-image {
    flex-shrink: 0;
    width: 220px;
    min-height: 180px;
    overflow: hidden;
    line-height: 0;
}
.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.search-result-content {
    flex: 1;
    padding: 18px 20px 18px 0;
    display: flex;
    flex-direction: column;
}
.search-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-muted);
}
.search-result-date {
    font-size: 12px;
    color: var(--text-muted);
}
.search-result-sep {
    color: var(--border);
}
.search-result-cat {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none !important;
}
.search-result-title {
    font-family: Nunito, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px 0;
}
.search-result-title a {
    color: var(--text);
    text-decoration: none;
}
.search-result-title a:hover {
    color: var(--primary);
}
.search-result-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.search-result-excerpt p {
    margin: 0;
}

/* ============================================
   ITEMS 7 & 8: SINGLE POST — Full width, no sidebar
   ============================================ */
.single-post-full-width {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 15px;
    display: block;
}
.single-post-full-width .single-post-content {
    background: var(--white);
    border-radius: 8px;
    padding: 32px 40px;
    box-shadow: var(--shadow);
}

/* Featured image at top */
.entry-featured-image {
    margin: -32px -40px 28px -40px;
    line-height: 0;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.entry-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Title */
.entry-title {
    font-family: Nunito, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Date & Category */
.entry-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.entry-meta i {
    margin-right: 4px;
}
.entry-meta a {
    color: var(--primary);
    text-decoration: none;
}
.entry-meta a:hover {
    text-decoration: underline;
}
.entry-sep {
    color: var(--border);
}

/* Content */
.entry-content {
    font-family: Nunito, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
/* Desktop heading sizes for single post */
.entry-content h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 28px;
    margin-bottom: 12px;
}
.entry-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 24px;
    margin-bottom: 10px;
}
.entry-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 20px;
    margin-bottom: 8px;
}
.entry-content h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-top: 18px;
    margin-bottom: 8px;
}
.entry-content h5 {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-top: 16px;
    margin-bottom: 6px;
}
.entry-content p {
    margin-bottom: 16px;
}
.entry-content ul, .entry-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

/* ============================================
   ITEM 9: SHARE ICONS — Telegram, VK, OK
   ============================================ */
.entry-share {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 15px;
}
.entry-share strong {
    font-size: 14px;
    color: var(--text);
}
.share-icons {
    display: flex;
    gap: 10px;
}
.share-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 16px;
    color: #fff;
    text-decoration: none !important;
    transition: transform 0.2s, opacity 0.2s;
}
.share-icons a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
.share-telegram {
    background: #0088cc;
}
.share-vk {
    background: #4a76a8;
}
.share-ok {
    background: #ee8208;
}

/* ============================================
   ITEM 10: RELATED POSTS — Redesigned cards
   ============================================ */
.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}
.related-posts > h3 {
    font-family: Nunito, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 20px 0;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Related card */
.related-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.related-card-thumbnail {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 160px;
}
.related-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.related-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.related-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.related-card-cat {
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}
.related-card-date {
    color: var(--text-muted);
}
.related-card-title {
    font-family: Nunito, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card-title a {
    color: var(--text);
    text-decoration: none;
}
.related-card-title a:hover {
    color: var(--primary);
}
.related-card-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.related-card-body .read-more-btn {
    margin-top: auto;
    font-size: 12px;
}

/* ============================================
   ITEM 11: FOOTER — Match main Russian website exactly
   ============================================ */
.site-footer {
    background: #2D2D2D;
    color: #fff;
    padding: 54px 50px 0 50px;
    font-family: Nunito, sans-serif;
}
.site-footer .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.footer-widgets {
    display: grid;
    grid-template-columns: 18% 20% 20% 22% 12%;
    gap: 30px;
    gap: 25px;
    padding-bottom: 30px;
    background: transparent !important;
}
/* Override GeneratePress defaults in footer */
.site-footer,
.site-footer .container,
.site-footer .footer-widgets,
.site-footer .footer-widget {
    background-color: #2D2D2D !important;
}
.site-footer .footer-mid,
.site-footer .footer-bottom {
    background-color: #2D2D2D !important;
}
.site-footer .footer-copyright {
    background-color: #333 !important;
}
.footer-widget h4 {
    font-family: Nunito, sans-serif;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 28px;
    text-transform: uppercase;
}
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.footer-widget ul li {
    padding: 2px 0;
    text-align: left;
}
.footer-widget ul li a {
    font-family: Nunito, sans-serif;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
}
.footer-widget ul li a:hover {
    color: #4387E3;
    text-decoration: none;
}

/* QR codes */
.footer-qr {
    display: block;
    max-width: 120px;
    margin: 10px 10px 5px 0;
}

/* Social links */
.footer-social {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 40px;
}
.footer-social a {
    display: inline-block;
    width: 42px;
    height: 42px;
    border: 1px solid #707070;
    border-radius: 50%;
    color: #707070;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    margin-right: 5px;
    text-decoration: none !important;
}
.footer-social a:hover {
    color: #fff;
}

/* Footer mid sections */
.footer-mid {
    padding: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    text-align: center;
}
.footer-mid a {
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
}
.footer-mid a:hover {
    color: #4387E3;
}
.footer-blink-btn {
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #fff;
    cursor: pointer;
    animation: blinker 1s ease-in-out infinite alternate;
}
@keyframes blinker {
    50% { opacity: 0; }
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
}
.footer-gst {
    margin-bottom: 10px;
}
.footer-payments {
    margin-bottom: 10px;
}
.footer-payments img {
    height: 30px;
    margin: 0 5px;
    vertical-align: middle;
}

/* Copyright */
.footer-copyright {
    background: #333;
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
.footer-copyright a {
    color: #fff;
    text-decoration: none;
}
.footer-copyright a:hover {
    color: #4387E3;
}

/* No results */
.no-results {
    font-size: 16px;
    color: var(--text-light);
    padding: 40px 0;
}


/* ============================================
   ITEM 12: MOBILE RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    .single-post-full-width .single-post-content {
        padding: 24px 28px;
    }
    .entry-featured-image {
        margin: -24px -28px 24px -28px;
    }
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .site-footer .container {
        padding: 0 20px;
    }
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Top strip */
    .top-strip {
        padding: 5px 10px;
    }
    .top-strip-inner {
        font-size: 12px;
    }
    .top-strip-email,
    .top-strip-enquiry {
        font-size: 12px;
    }

    /* Header */
    .mobile-menu-toggle {
        display: block;
    }
    .site-header nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 0;
    }
    .site-header nav ul.active {
        display: flex;
    }
    .site-header nav ul li {
        border-bottom: 1px solid var(--border-light);
    }
    .site-header nav ul li:last-child {
        border-bottom: none;
    }
    .site-header nav ul li a {
        display: block;
        padding: 12px 0;
    }
    .site-header .container {
        flex-wrap: wrap;
        position: relative;
    }

    /* Blog container */
    .blog-container {
        padding: 20px 12px;
        gap: 20px;
    }
    .blog-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    /* Post cards */
    .post-card-thumbnail img {
        height: 200px;
    }
    .post-card-body {
        padding: 16px 18px 20px;
    }
    .post-card-title {
        font-size: 18px;
    }

    /* Search results */
    .search-results-container {
        padding: 20px 12px;
    }
    .search-result-item {
        flex-direction: column;
    }
    .search-result-image {
        width: 100%;
        height: 200px;
        min-height: auto;
    }
    .search-result-content {
        padding: 16px 18px;
    }

    /* Single post */
    .single-post-full-width {
        padding: 20px 12px;
    }
    .single-post-full-width .single-post-content {
        padding: 20px;
    }
    .entry-featured-image {
        margin: -20px -20px 20px -20px;
    }
    .entry-title {
        font-size: 24px;
    }
    .entry-content {
        font-size: 14px;
    }
    /* Mobile heading sizes for single post */
    .entry-content h1 {
        font-size: 24px;
        font-weight: 700;
    }
    .entry-content h2 {
        font-size: 18px;
        font-weight: 700;
    }
    .entry-content h3 {
        font-size: 16px;
        font-weight: 600;
    }
    .entry-content h4 {
        font-size: 14px;
        font-weight: 500;
    }
    .entry-content h5 {
        font-size: 12px;
        font-weight: 500;
    }

    /* Share */
    .entry-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Related posts */
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Pagination */
    .pagination .nav-links {
        gap: 4px;
    }
    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .site-footer {
        padding: 14px 0 0;
    }
    .site-footer .container {
        padding: 0 10px 0 20px;
    }
    .footer-widget h4 {
        margin-bottom: 10px;
    }
    .footer-social {
        margin: 10px 0 30px 0;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .top-strip-enquiry {
        display: none;
    }
    .post-card-thumbnail img {
        height: 160px;
    }
    .entry-title {
        font-size: 20px;
    }
    .related-card-thumbnail {
        height: 140px;
    }
}
