/*
Theme Name: Smart House
Theme URI: https://example.com/smart-house
Author: Smart House Team
Author URI: https://example.com
Description: A modern, clean and professional home renovation, interior design, home improvement and DIY ideas blog theme. Features a premium editorial design with dynamic post loading, category filtering, hero section, featured articles, newsletter integration and responsive layout.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, one-column, two-columns, three-columns
Text Domain: smart-house
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
    --primary: #0878e8;
    --primary-dark: #075fc0;
    --text: #102443;
    --muted: #68758a;
    --background: #f6f9fc;
    --border: #e7edf4;
    --white: #ffffff;
    --secondary-blue: #eaf6ff;
    --shadow: 0 10px 30px rgba(17, 42, 75, 0.08);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    width: min(1200px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 7px 16px rgba(8, 120, 232, 0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-small {
    padding: 12px 22px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    height: 76px;
    background: var(--white);
    border-bottom: 1px solid #edf1f6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #0878e8, #00b4d8, #a855f7);
    z-index: 999999;
    transition: width 0.1s ease-out;
}

/* Brand / Logo */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    white-space: nowrap;
}

.brand a,
.brand .brand-link,
.brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.brand .custom-logo,
.brand img {
    max-height: 44px;
    width: auto;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-brand .custom-logo,
.footer-brand img {
    max-height: 40px;
    width: auto;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 45% 45%;
    display: grid;
    place-items: center;
    background: #eaf4ff;
    color: var(--primary);
    border: 2px solid #d5eaff;
}

.brand-mark svg {
    width: 20px;
    height: 20px;
}


/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav ul li {
    position: relative;
}

.desktop-nav ul li a {
    font-size: 13px;
    font-weight: 500;
    color: #506078;
    padding: 29px 14px;
    display: block;
    position: relative;
    transition: color 0.25s ease;
}

.desktop-nav ul li a::after {
    content: "";
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #0878e8, #00c6ff);
    left: 50%;
    right: 50%;
    bottom: 0;
    border-radius: 3px 3px 0 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.desktop-nav ul li a:hover {
    color: var(--primary);
}

.desktop-nav ul li:hover > a::after {
    left: 14px;
    right: 14px;
    opacity: 1;
}

.desktop-nav ul li.current-menu-item > a,
.desktop-nav ul li.current_page_item > a,
.desktop-nav ul li.active > a {
    color: var(--primary);
    font-weight: 700;
}

.desktop-nav ul li.current-menu-item > a::after,
.desktop-nav ul li.current_page_item > a::after,
.desktop-nav ul li.active > a::after {
    content: "";
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #0878e8, #00c6ff);
    left: 14px;
    right: 14px;
    bottom: 0;
    border-radius: 3px 3px 0 0;
    opacity: 1;
}


/* Dropdown */
.desktop-nav ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -15px;
    width: 205px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 8px;
    z-index: 100;
}

.desktop-nav ul li:hover > ul.sub-menu,
.desktop-nav ul li.nav-dropdown.active > ul.sub-menu {
    display: block;
}

.desktop-nav ul li ul.sub-menu li {
    display: block;
}

.desktop-nav ul li ul.sub-menu li a {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 8px;
    display: block;
}

.desktop-nav ul li ul.sub-menu li a:hover {
    background: #f1f7ff;
    color: var(--primary);
}

.desktop-nav ul li ul.sub-menu li a::after {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn,
.search-toggle {
    border: 0;
    background: transparent;
    font-size: 26px;
    color: #233653;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.subscribe-btn {
    padding: 12px 22px;
}

.mobile-menu-btn,
.mobile-menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    color: var(--text);
}

/* Mobile Navigation */
.mobile-nav,
.mobile-nav-overlay {
    display: none;
}

.mobile-nav.open {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    box-shadow: var(--shadow);
    z-index: 999;
}

.mobile-nav-overlay.open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 36, 67, 0.5);
    z-index: 998;
}

.mobile-nav-inner {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--white);
    padding: 20px;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav a,
.mobile-nav-inner ul li a {
    display: block;
    padding: 13px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
}

.mobile-nav a:hover,
.mobile-nav-inner ul li a:hover {
    background: #f4f8fc;
    color: var(--primary);
}

.mobile-nav-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-inner ul li ul.sub-menu {
    padding-left: 15px;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: 0;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 490px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        #f6fbff 0%,
        rgba(246, 251, 255, 0.98) 27%,
        rgba(246, 251, 255, 0.65) 44%,
        rgba(246, 251, 255, 0.08) 72%,
        rgba(246, 251, 255, 0) 100%);
}

.hero-content {
    position: relative;
    min-height: 490px;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: 650px;
    padding: 50px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #dcecff;
    border-radius: 30px;
    padding: 8px 13px;
    color: #42617f;
    font-size: 12px;
    font-weight: 600;
}

.eyebrow svg {
    flex-shrink: 0;
}

.eyebrow.blue {
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--primary);
    font-size: 10px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.04;
    letter-spacing: -1.8px;
    margin: 22px 0 12px;
    max-width: 600px;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(135deg, #0878e8 0%, #0284c7 45%, #00b4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-copy > p {
    font-size: 15px;
    line-height: 1.65;
    color: #53647b;
    max-width: 590px;
    margin: 0 0 17px;
}

/* Search Box */
.search-box {
    height: 54px;
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 10px 32px rgba(8, 120, 232, 0.14), 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid #e0edfb;
    display: flex;
    align-items: center;
    padding: 5px 6px 5px 18px;
    max-width: 540px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #0878e8;
    box-shadow: 0 12px 36px rgba(8, 120, 232, 0.22);
}

.search-icon {
    font-size: 23px;
    color: #0878e8;
    display: flex;
    align-items: center;
}

.search-box input[type="search"] {
    border: 0;
    outline: 0;
    flex: 1;
    padding: 0 12px;
    font-size: 13px;
    min-width: 0;
    background: transparent;
}

.search-box input[type="search"]::-webkit-search-decoration,
.search-box input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.search-box button[type="submit"] {
    height: 44px;
    border: 0;
    background: linear-gradient(135deg, #0878e8 0%, #0284c7 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 0 35px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(8, 120, 232, 0.35);
    transition: all 0.25s ease;
}

.search-box button[type="submit"]:hover {
    background: linear-gradient(135deg, #075fc0 0%, #0878e8 100%);
    box-shadow: 0 6px 20px rgba(8, 120, 232, 0.45);
    transform: translateY(-1px);
}

/* Popular Searches */
.popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    font-size: 10px;
    color: #637289;
}

.popular-searches a {
    border: 1px solid #dce6f0;
    background: var(--white);
    color: #5a6c82;
    border-radius: 15px;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.popular-searches a:hover {
    color: #0878e8;
    border-color: #0878e8;
    background: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(8, 120, 232, 0.15);
}


/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 25px;
}

.hero-stats > div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 16px;
}

.hero-stats small {
    font-size: 10px;
    color: #67768a;
    margin-top: 2px;
}

/* Hero Feature Card */
.hero-feature-card {
    position: absolute;
    right: 20px;
    bottom: 34px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 270px;
    padding: 9px;
    display: grid;
    grid-template-columns: 58px 1fr 28px;
    gap: 10px;
    align-items: center;
}

.hero-feature-card img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
}

.hero-feature-card b {
    font-size: 11px;
    display: block;
    margin-bottom: 4px;
}

.hero-feature-card span {
    font-size: 9px;
    line-height: 1.35;
    color: #718096;
    display: block;
}

.hero-feature-card a {
    width: 27px;
    height: 27px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-feature-card a:hover {
    background: var(--primary-dark);
}

/* ==========================================================================
   Category Strip
   ========================================================================== */
.category-strip {
    background: var(--white);
    border-bottom: 1px solid #edf1f6;
}

.category-scroll {
    display: flex;
    gap: 8px;
    padding: 15px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #e2eaf2;
    border-radius: 14px;
    padding: 12px 18px;
    color: #2c3e55;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 36, 67, 0.04);
}

.category-pill svg {
    flex-shrink: 0;
    color: #0878e8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.category-pill:hover {
    color: #0878e8;
    border-color: #0878e8;
    background: #f4f9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(8, 120, 232, 0.16);
}

.category-pill:hover svg {
    transform: scale(1.15);
}

.category-pill.active {
    background: linear-gradient(135deg, #0878e8 0%, #00a8e8 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(8, 120, 232, 0.35);
}

.category-pill.active svg {
    color: #ffffff;
}

/* Specific Category Pill Color Accents */
.cat-pill-home-renovation:hover { border-color: #0878e8; color: #0878e8; }
.cat-pill-home-decor:hover { border-color: #ea580c; color: #ea580c; }
.cat-pill-home-decor:hover svg { color: #ea580c; }
.cat-pill-home-improvement:hover { border-color: #059669; color: #059669; }
.cat-pill-home-improvement:hover svg { color: #059669; }
.cat-pill-diy-projects:hover { border-color: #6366f1; color: #6366f1; }
.cat-pill-diy-projects:hover svg { color: #6366f1; }
.cat-pill-interior-design:hover { border-color: #d946ef; color: #d946ef; }
.cat-pill-interior-design:hover svg { color: #d946ef; }
.cat-pill-outdoor-garden:hover { border-color: #16a34a; color: #16a34a; }
.cat-pill-outdoor-garden:hover svg { color: #16a34a; }
.cat-pill-kitchen:hover { border-color: #c2410c; color: #c2410c; }
.cat-pill-kitchen:hover svg { color: #c2410c; }
.cat-pill-bathroom:hover { border-color: #0284c7; color: #0284c7; }
.cat-pill-bathroom:hover svg { color: #0284c7; }
.cat-pill-living-room:hover { border-color: #7c3aed; color: #7c3aed; }
.cat-pill-living-room:hover svg { color: #7c3aed; }

/* ==========================================================================
   Featured Section
   ========================================================================== */
.featured-section {
    background: linear-gradient(135deg, #eef7ff 0%, #e0f2fe 50%, #f4f0ff 100%);
    padding: 28px 0;
}

.featured {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 315px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(8, 120, 232, 0.08);
    border: 1px solid #dcebfa;
}

.featured-copy {
    padding: 34px 36px;
    background: linear-gradient(110deg, #ffffff 0%, #f4faff 100%);
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, #0878e8 0%, #00b4d8 100%);
    color: var(--white);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(8, 120, 232, 0.25);
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0878e8 0%, #00b4d8 100%);
    color: var(--white);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(8, 120, 232, 0.25);
}


.featured h2,
.featured-content h2 {
    font-size: 30px;
    line-height: 1.12;
    margin: 16px 0 13px;
    letter-spacing: -0.7px;
}

.featured p,
.featured-content p {
    font-size: 13px;
    line-height: 1.6;
    color: #64748a;
    margin-bottom: 18px;
}

.featured-image,
.featured-image-wrapper {
    position: relative;
    min-height: 315px;
}

.featured-image img,
.featured-image-wrapper img,
.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.slider-dots span,
.slider-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.65;
}

.slider-dots span.active,
.slider-dots .dot.active {
    background: var(--primary);
    opacity: 1;
}

/* Featured Article (alternate class names) */
.featured-article {
    background: #eef7ff;
    padding: 22px 0;
}

.featured-article .container > div,
.featured-content {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 315px;
    overflow: hidden;
    border-radius: 12px;
}

/* ==========================================================================
   Articles Section
   ========================================================================== */
.articles-section {
    padding: 36px 0 50px;
    background: var(--white);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: 26px;
    margin: 0 0 4px;
    letter-spacing: -0.6px;
}

.section-heading p {
    margin: 0;
    color: #748197;
    font-size: 12px;
}

.sort {
    font-size: 11px;
    color: #637086;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.sort select {
    border: 1px solid #dfe7f0;
    border-radius: 9px;
    padding: 9px 12px;
    color: #31435d;
    background: var(--white);
    outline: 0;
    cursor: pointer;
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Article Card */
.article-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 6px 20px rgba(25, 50, 80, 0.055);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.article-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0878e8, #00c6ff, #a855f7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.article-card:hover::before {
    opacity: 1;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(8, 120, 232, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: #dbeafe;
}

.card-image {
    height: 166px;
    position: relative;
    overflow: hidden;
}

.card-image a {
    display: block;
    height: 100%;
}

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

.article-card:hover .card-image img {
    transform: scale(1.06);
}

.card-tag {
    position: absolute;
    left: 12px;
    bottom: 10px;
    background: linear-gradient(135deg, #0878e8, #0284c7);
    color: var(--white);
    border-radius: 14px;
    padding: 5px 12px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-transform: capitalize;
}

/* Category-specific tag colors */
.card-tag-home-renovation { background: linear-gradient(135deg, #0878e8, #0284c7); }
.card-tag-home-decor { background: linear-gradient(135deg, #ea580c, #f97316); }
.card-tag-home-improvement { background: linear-gradient(135deg, #059669, #10b981); }
.card-tag-diy-projects { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.card-tag-interior-design { background: linear-gradient(135deg, #d946ef, #ec4899); }
.card-tag-outdoor-garden { background: linear-gradient(135deg, #15803d, #22c55e); }
.card-tag-kitchen { background: linear-gradient(135deg, #c2410c, #f97316); }
.card-tag-bathroom { background: linear-gradient(135deg, #0284c7, #06b6d4); }
.card-tag-living-room { background: linear-gradient(135deg, #7c3aed, #9333ea); }


.card-body {
    padding: 14px;
}

.card-body h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 8px;
    font-weight: 700;
}

.card-body h3 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.card-body h3 a:hover {
    color: var(--primary);
}

.meta {
    display: flex;
    gap: 13px;
    color: #748197;
    font-size: 9px;
    margin-bottom: 9px;
    align-items: center;
}

.meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.card-body > p {
    color: #69788d;
    font-size: 10.5px;
    line-height: 1.55;
    margin: 0 0 10px;
}

.read-more {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    transition: opacity 0.2s;
}

.read-more:hover {
    opacity: 0.8;
}

/* Empty State */
.empty-state {
    display: none;
    text-align: center;
    color: #718096;
    padding: 40px;
    font-size: 14px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination,
.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 28px;
}

.page-btn,
.pagination a,
.pagination span.current,
.pagination-wrapper .page-numbers {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #dfe7f0;
    background: var(--white);
    color: #52637b;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn.active,
.page-btn:hover,
.pagination span.current,
.pagination a:hover,
.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-wrapper ul {
    display: flex;
    gap: 7px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper ul li {
    display: inline;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section,
.newsletter-cta {
    padding: 0 0 22px;
}

.newsletter,
.newsletter-container {
    display: grid;
    grid-template-columns: 38% 62%;
    background: #eaf6ff;
    border: 1px solid #d6eaff;
    border-radius: 12px;
    overflow: hidden;
    min-height: 245px;
}

.newsletter-image {
    min-height: 245px;
    background-size: cover;
    background-position: center;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.newsletter-copy,
.newsletter-content {
    padding: 32px 38px;
    background: linear-gradient(100deg, #eef9ff, #dff2ff);
}

.newsletter-copy h2,
.newsletter-content h2 {
    font-size: 24px;
    line-height: 1.15;
    margin: 12px 0 8px;
}

.newsletter-copy p,
.newsletter-content p {
    font-size: 11px;
    line-height: 1.55;
    color: #65768b;
    max-width: 500px;
}

.newsletter-form {
    display: flex;
    background: var(--white);
    border: 1px solid #d9e6f2;
    border-radius: 10px;
    padding: 4px;
    max-width: 520px;
    margin-top: 12px;
}

.newsletter-form input[type="email"] {
    border: 0;
    outline: 0;
    flex: 1;
    padding: 10px 12px;
    font-size: 11px;
    min-width: 0;
    background: transparent;
}

.newsletter-form .btn {
    padding: 10px 20px;
}

.newsletter-copy small,
.newsletter-content .privacy-text {
    display: block;
    color: #728198;
    font-size: 9px;
    margin-top: 8px;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-section {
    padding: 16px 0 32px;
}

.benefits,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.benefit,
.benefit-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    box-shadow: 0 4px 15px rgba(16, 36, 67, 0.03);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefit:hover,
.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16, 36, 67, 0.08);
}

.benefit > span,
.icon-wrapper {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease;
}

.benefit:hover > span {
    transform: scale(1.1);
}

.benefit-blue > span {
    background: #eff6ff;
    color: #0878e8;
    border: 1.5px solid #bfdbfe;
    box-shadow: 0 4px 12px rgba(8, 120, 232, 0.15);
}

.benefit-coral > span {
    background: #fff7ed;
    color: #ea580c;
    border: 1.5px solid #fed7aa;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
}

.benefit-emerald > span {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.benefit-purple > span {
    background: #faf5ff;
    color: #7c3aed;
    border: 1.5px solid #e9d5ff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.benefit b,
.benefit-item h3 {
    font-size: 11px;
    display: block;
    margin: 0 0 3px;
    font-weight: 700;
}

.benefit small,
.benefit-item p {
    font-size: 9.5px;
    line-height: 1.4;
    color: #748197;
    margin: 0;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid #e8edf3;
    background: var(--white);
}

.footer-grid,
.footer-columns {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.25fr 1.3fr;
    gap: 45px;
    padding: 35px 0;
}

.footer-inner {
    padding: 0;
}

.footer-brand p,
.footer-desc {
    font-size: 10px;
    line-height: 1.55;
    color: #718096;
    max-width: 250px;
    margin-top: 10px;
}

.footer-grid h4,
.footer-columns h4,
.footer-heading {
    font-size: 11px;
    margin: 3px 0 10px;
    font-weight: 700;
}

.footer-grid > div:not(.footer-brand) > a,
.footer-columns > div:not(.col-1) a,
.footer-menu li a,
.footer-categories li a {
    display: block;
    font-size: 10px;
    color: #69788c;
    margin: 7px 0;
    transition: color 0.2s;
}

.footer-grid > div:not(.footer-brand) > a:hover,
.footer-columns > div:not(.col-1) a:hover,
.footer-menu li a:hover,
.footer-categories li a:hover {
    color: var(--primary);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Social Icons */
.socials,
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.socials a,
.social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f2f6fa;
    display: grid;
    place-items: center;
    font-size: 11px;
    color: #40526c;
    transition: all 0.25s ease;
    border: 1px solid #e7edf4;
}

.socials a[aria-label="Facebook"]:hover,
.social-icons a[aria-label="Facebook"]:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
    transform: translateY(-2px);
}

.socials a[aria-label="Instagram"]:hover,
.social-icons a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
    transform: translateY(-2px);
}

.socials a[aria-label="Pinterest"]:hover,
.social-icons a[aria-label="Pinterest"]:hover {
    background: #e60023;
    color: #ffffff;
    border-color: #e60023;
    box-shadow: 0 4px 12px rgba(230, 0, 35, 0.35);
    transform: translateY(-2px);
}

.socials a[aria-label="YouTube"]:hover,
.social-icons a[aria-label="YouTube"]:hover {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
    transform: translateY(-2px);
}

.socials a[aria-label="Twitter"]:hover,
.social-icons a[aria-label="Twitter"]:hover {
    background: #1da1f2;
    color: #ffffff;
    border-color: #1da1f2;
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.35);
    transform: translateY(-2px);
}

.social-icons a svg,
.socials a svg {
    width: 14px;
    height: 14px;
}


/* Footer Subscribe Form */
.footer-form,
.footer-subscribe-form {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.footer-form input,
.footer-subscribe-form input[type="email"] {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 9px;
    font-size: 10px;
    min-width: 0;
}

.footer-form button,
.footer-subscribe-form button[type="submit"] {
    border: 0;
    background: var(--primary);
    color: var(--white);
    width: 40px;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-subscribe-form .btn {
    border-radius: 0;
    padding: 9px 15px;
}

.privacy-check,
.privacy-label {
    font-size: 9px;
    color: #68788d;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    width: 100%;
}

.privacy-label input[type="checkbox"] {
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e9eef4;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    font-size: 9px;
    color: #7a8799;
}

.footer-bottom a {
    color: #7a8799;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--primary);
}

.footer-legal {
    display: flex;
    gap: 14px;
}

.footer-bottom span {
    padding: 0 7px;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-top,
.back-to-top,
#back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    display: none;
    z-index: 999;
    box-shadow: var(--shadow);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.back-top.show,
.back-to-top.show,
#back-to-top.show {
    display: flex;
}

.back-top:hover,
.back-to-top:hover,
#back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast,
.toast-notification,
#toast,
#toast-notification {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 20px);
    background: var(--text);
    color: var(--white);
    padding: 11px 17px;
    border-radius: 9px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 2000;
    white-space: nowrap;
}

.toast.show,
.toast-notification.show,
#toast.show,
#toast-notification.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ==========================================================================
   Single Post
   ========================================================================== */
.single .site-main > .container {
    max-width: 820px;
    padding-top: 30px;
    padding-bottom: 40px;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.breadcrumbs a {
    color: var(--primary);
    transition: opacity 0.2s;
}

.breadcrumbs a:hover {
    opacity: 0.8;
}

.breadcrumbs .current {
    color: var(--muted);
}

/* Entry Header */
.entry-header {
    margin-bottom: 24px;
}

.category-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    border-radius: 14px;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 12px;
    text-decoration: none;
}

.entry-title {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 10px 0 16px;
    font-weight: 800;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 10px;
    align-items: center;
}

.entry-excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: #53647b;
    margin-bottom: 20px;
}

/* Post Thumbnail */
.post-thumbnail {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Entry Content */
.entry-content {
    font-size: 16px;
    line-height: 1.75;
    color: #2d3748;
}

.entry-content h2 {
    font-size: 26px;
    margin: 32px 0 14px;
    letter-spacing: -0.5px;
}

.entry-content h3 {
    font-size: 20px;
    margin: 26px 0 12px;
}

.entry-content h4 {
    font-size: 17px;
    margin: 22px 0 10px;
}

.entry-content p {
    margin: 0 0 18px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 18px 24px;
    list-style: disc;
}

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

.entry-content li {
    margin-bottom: 6px;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 20px 0;
    padding: 16px 24px;
    background: #f8fbff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a5568;
}

.entry-content blockquote p {
    margin-bottom: 0;
}

.entry-content img {
    border-radius: 8px;
    height: auto;
}

.entry-content a {
    color: var(--primary);
    text-decoration: underline;
}

.entry-content a:hover {
    text-decoration: none;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--background);
    border-radius: 12px;
    margin: 36px 0;
    border: 1px solid var(--border);
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.author-info .author-name {
    font-size: 14px;
    margin: 0 0 6px;
    font-weight: 700;
}

.author-info .author-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    margin: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s;
}

.post-navigation a:hover .nav-title {
    color: var(--primary);
}

/* ==========================================================================
   Single Post Layout & Sticky TOC Sidebar
   ========================================================================== */
.single-post-container .container {
    max-width: 1140px;
    padding-top: 32px;
    padding-bottom: 50px;
}

.post-main-header {
    max-width: 820px;
    margin-bottom: 24px;
}

.header-cat-meta {
    margin: 12px 0 8px;
}

.single-post-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 10px 0 14px;
    color: var(--text);
}

.single-post-excerpt {
    font-size: 16px;
    color: #556987;
    line-height: 1.6;
    margin-bottom: 18px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    color: #64748b;
    font-size: 12px;
}

.posted-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.posted-author img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.posted-author strong {
    color: var(--text);
    display: block;
    font-size: 13px;
}

.posted-author small {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.meta-sep {
    color: #cbd5e1;
}

.single-post-featured-image {
    margin: 24px 0 36px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 36, 67, 0.08);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* 2-Column Content Layout (Laptop / Desktop) */
.single-content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .single-content-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .single-post-sidebar {
        display: block;
    }
}

.single-content-main {
    min-width: 0;
}

.single-entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
}

.single-entry-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 40px 0 16px;
    letter-spacing: -0.5px;
    color: var(--text);
    padding-top: 10px;
}

.single-entry-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 12px;
    color: var(--text);
}

/* Sticky Sidebar on Laptop */
.single-post-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .single-post-sidebar {
        display: block;
    }
}

.sticky-sidebar-container {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* TOC Sidebar Card */
.toc-sidebar-card {
    background: #ffffff;
    border: 1.5px solid #e2eaf2;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(16, 36, 67, 0.04);
}

.toc-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f7;
}

.toc-card-header h4 {
    font-size: 13.5px;
    font-weight: 800;
    margin: 0;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin: 3px 0;
}

.toc-item.toc-h3 {
    padding-left: 14px;
    font-size: 11.5px;
}

.toc-link {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #556987;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.2s ease;
    border-left: 2.5px solid transparent;
}

.toc-link:hover {
    color: #0878e8;
    background: #f0f7ff;
    padding-left: 12px;
}

.toc-link.active {
    color: #0878e8;
    background: #eff6ff;
    border-left-color: #0878e8;
    font-weight: 700;
}

/* Article Highlights Card */
.post-info-card {
    background: linear-gradient(135deg, #f8fbff 0%, #edf6ff 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 14px;
    padding: 18px 20px;
}

.post-info-card h5 {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0369a1;
    margin: 0 0 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.hl-icon {
    font-size: 16px;
}

.highlight-item small {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.highlight-item strong {
    font-size: 12.5px;
    color: #1e293b;
}

/* Mobile TOC Box */
.mobile-toc-box {
    margin: 0 0 24px;
    border: 1px solid #d9e6f2;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fbff;
}

@media (min-width: 1024px) {
    .mobile-toc-box {
        display: none !important;
    }
}

.toc-header {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f0f7ff;
}

.toc-title {
    font-size: 13px;
    color: var(--text);
}

.toc-toggle-icon {
    font-size: 10px;
    color: #0878e8;
    transition: transform 0.2s ease;
}

.mobile-toc-box.open .toc-toggle-icon {
    transform: rotate(180deg);
}

.toc-nav-mobile {
    display: none;
    padding: 12px 18px;
    border-top: 1px solid #e2eaf2;
    background: #ffffff;
}

.mobile-toc-box.open .toc-nav-mobile {
    display: block;
}

/* Author Card Graphics & Verified Badge */
.single-author-card {
    border-left: 4px solid #0878e8;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(16, 36, 67, 0.04);
}

.author-header-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Related Posts Section (Same Category) */
.related-posts-section {
    margin: 50px 0 30px;
    padding-top: 36px;
    border-top: 1px solid #edf2f7;
}

.related-section-header {
    margin-bottom: 24px;
}

.related-section-header .tag {
    margin-bottom: 8px;
}

.related-section-header h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 6px 0 4px;
    letter-spacing: -0.5px;
    color: var(--text);
}

.related-section-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}


/* ==========================================================================
   Page Template
   ========================================================================== */
.page .site-main > .container {
    max-width: 820px;
    padding-top: 30px;
    padding-bottom: 40px;
}

/* ==========================================================================
   Contact Page & Contact Form 7 (WPCF7) Styling
   ========================================================================== */
.contact-page-wrapper .container {
    max-width: 1140px;
    padding-top: 36px;
    padding-bottom: 50px;
}

.contact-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.contact-title {
    font-size: 38px;
    font-weight: 800;
    margin: 10px 0 10px;
    letter-spacing: -1px;
}

.contact-subtitle {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 36px;
    align-items: start;
}

/* Contact Info Panel */
.contact-info-panel .contact-card {
    background: linear-gradient(135deg, #f8fbff 0%, #edf6ff 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 16px;
    padding: 34px 28px;
    box-shadow: 0 8px 24px rgba(8, 120, 232, 0.06);
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text);
}

.contact-card > p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.method-email .method-icon {
    background: #eff6ff;
    color: #0878e8;
    border: 1.5px solid #bfdbfe;
}

.method-phone .method-icon {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
}

.method-location .method-icon {
    background: #faf5ff;
    color: #7c3aed;
    border: 1.5px solid #e9d5ff;
}

.contact-method-item strong {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-method-item a,
.contact-method-item span {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.contact-method-item a:hover {
    color: #0878e8;
}

.contact-response-badge {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: #0369a1;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(16, 36, 67, 0.06);
}

.contact-form-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}

.form-intro-text {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 24px;
}

.contact-page-intro {
    margin-bottom: 20px;
}

/* Form Fields */
.form-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row-2 {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label,
.wpcf7-form label {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.form-group label .required,
.wpcf7-form .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13.5px;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: #0878e8;
    box-shadow: 0 0 0 3px rgba(8, 120, 232, 0.15);
}

.btn-submit,
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    padding: 13px 28px;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, #0878e8 0%, #0284c7 100%);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(8, 120, 232, 0.28);
    transition: all 0.25s ease;
}

.btn-submit:hover,
.wpcf7-submit:hover {
    background: linear-gradient(135deg, #075fc0 0%, #0878e8 100%);
    box-shadow: 0 8px 22px rgba(8, 120, 232, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   Contact Form 7 (WPCF7) Specific Styles
   ========================================================================== */
.wpcf7 {
    margin-top: 10px;
}

.wpcf7-form p {
    margin: 0 0 16px;
}

.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 11.5px;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    background: #ecfdf5 !important;
    border: 1.5px solid #10b981 !important;
    color: #065f46 !important;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
    background: #fef2f2 !important;
    border: 1.5px solid #ef4444 !important;
    color: #991b1b !important;
}

.wpcf7-spinner {
    margin-left: 10px;
}


/* ==========================================================================
   Archive / Category
   ========================================================================== */
.archive-header,
.search-header {
    padding: 30px 0 20px;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.archive-header .container,
.search-header .container {
    max-width: 1200px;
}

.archive-title,
.search-title {
    font-size: 28px;
    margin: 0 0 8px;
    font-weight: 800;
}

.archive-description,
.search-info {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* ==========================================================================
   Search Page
   ========================================================================== */
.search-results .articles-section {
    padding-top: 30px;
}

.search-form-inline {
    max-width: 500px;
    margin: 20px 0;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.no-results p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: 80px 20px;
}

.error-404 .error-code {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -20px;
}

.error-404 h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.error-404 p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.error-404 .search-box {
    margin: 20px auto;
}

.error-404 .btn {
    margin-top: 16px;
}

/* ==========================================================================
   Comments
   ========================================================================== */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.comments-title {
    font-size: 22px;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.comment-list .comment .children {
    padding-left: 30px;
    list-style: none;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author img {
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: 700;
    font-size: 13px;
}

.comment-metadata {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 8px;
}

.comment-content {
    font-size: 14px;
    line-height: 1.6;
}

.comment-reply-link {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
}

.comment-respond {
    margin-top: 30px;
}

.comment-reply-title {
    font-size: 20px;
    margin-bottom: 16px;
}

.comment-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .submit {
    background: var(--primary);
    color: var(--white);
    border: 0;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form .submit:hover {
    background: var(--primary-dark);
}

/* ==========================================================================
   Sidebar / Widgets
   ========================================================================== */
.widget-area {
    padding-top: 30px;
}

.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 14px;
    margin: 0 0 12px;
    font-weight: 700;
}

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

.widget ul li {
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid var(--border);
}

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

.widget ul li a {
    color: var(--text);
    transition: color 0.2s;
}

.widget ul li a:hover {
    color: var(--primary);
}

/* ==========================================================================
   AJAX Search Results Dropdown
   ========================================================================== */
.ajax-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.ajax-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ajax-search-results li {
    border-bottom: 1px solid var(--border);
}

.ajax-search-results li:last-child {
    border-bottom: 0;
}

.ajax-search-results a {
    display: block;
    padding: 12px 16px;
    transition: background 0.2s;
}

.ajax-search-results a:hover,
.ajax-search-results a:focus {
    background: #f4f8fc;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--white);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--text);
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */
.wp-caption {
    max-width: 100%;
    margin-bottom: 18px;
}

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

.wp-caption-text {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    padding-top: 8px;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
}

.page-links {
    clear: both;
    margin: 20px 0;
    font-size: 13px;
}

.page-links a {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    margin: 0 4px;
}

/* ==========================================================================
   Responsive – Tablet (max-width: 950px)
   ========================================================================== */
@media (max-width: 950px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn,
    .mobile-menu-toggle {
        display: flex;
    }

    .hero-copy {
        width: 62%;
    }

    .hero-feature-card {
        right: 20px;
        width: 245px;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured,
    .featured-content,
    .featured-article .container > div {
        grid-template-columns: 1fr 1fr;
    }

    .benefits,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid,
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Responsive – Mobile (max-width: 700px)
   ========================================================================== */
@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1200px);
    }

    .site-header,
    .header-inner {
        height: 66px;
    }

    .header-actions .btn,
    .header-actions .subscribe-btn {
        display: none;
    }

    .mobile-nav.open {
        top: 66px;
    }

    .hero {
        min-height: 690px;
    }

    .hero-image {
        background-position: 65% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
            rgba(246, 251, 255, 0.98) 0%,
            rgba(246, 251, 255, 0.88) 45%,
            rgba(246, 251, 255, 0.35) 100%);
    }

    .hero-content {
        min-height: 690px;
        align-items: flex-start;
    }

    .hero-copy {
        width: 100%;
        padding: 50px 0 25px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-feature-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        display: none;
    }

    .hero-stats {
        gap: 18px;
        flex-wrap: wrap;
    }

    .featured,
    .featured-content,
    .featured-article .container > div {
        grid-template-columns: 1fr;
    }

    .featured-copy {
        padding: 25px;
    }

    .featured-image,
    .featured-image-wrapper {
        min-height: 230px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .newsletter,
    .newsletter-container {
        grid-template-columns: 1fr;
    }

    .newsletter-image {
        height: 190px;
        min-height: 190px;
    }

    .benefits,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-info-panel .contact-card {
        padding: 24px 20px;
    }

    .contact-title {
        font-size: 30px;
    }

    .entry-title {
        font-size: 28px;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .post-navigation .nav-links {
        flex-direction: column;
    }

    .post-navigation .nav-next {
        text-align: left;
    }
}

/* ==========================================================================
   Responsive – Small Mobile (max-width: 460px)
   ========================================================================== */
@media (max-width: 460px) {
    .footer-grid,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 34px;
    }

    .search-box {
        height: 50px;
    }

    .search-box button[type="submit"] {
        padding: 0 20px;
    }

    .entry-title {
        font-size: 24px;
    }

    .error-404 .error-code {
        font-size: 80px;
    }
}
