/*
Theme Name: BoxToBox Bornova
Theme URI: https://bornova.bel.tr/
Author: Bornova Belediyesi Dijital Çözümler
Author URI: https://bornova.bel.tr/
Description: Bornova Belediyesi başvuru portalı için tasarlanmış modern, kart tabanlı (box-to-box) WordPress teması. Hızlı erişim kartları, başvuru kategorileri, duyurular ve mobil uyumlu modern tasarım içerir.
Version: 1.1.0
Requires at least: 6.0
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
Text Domain: boxtobox-bornova
Tags: municipality, government, modern, cards, blocks, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, full-width-template
*/

/* =========================================================
   1. CSS RESET & VARIABLES
   ========================================================= */
:root {
    --bb-primary: #0b6e4f;          /* Bornova Yeşili */
    --bb-primary-dark: #084d37;
    --bb-primary-light: #2ea884;
    --bb-secondary: #c8102e;        /* Vurgu kırmızısı */
    --bb-accent: #f5a623;
    --bb-bg: #f4f7f6;
    --bb-bg-alt: #ffffff;
    --bb-text: #1a2b27;
    --bb-text-soft: #5a6b66;
    --bb-border: #e2e8e6;
    --bb-shadow: 0 6px 24px rgba(11, 110, 79, 0.08);
    --bb-shadow-hover: 0 12px 36px rgba(11, 110, 79, 0.18);
    --bb-radius: 16px;
    --bb-radius-sm: 10px;
    --bb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --bb-font-display: 'Plus Jakarta Sans', var(--bb-font);
}

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

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

body {
    font-family: var(--bb-font);
    background: var(--bb-bg);
    color: var(--bb-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--bb-primary);
    text-decoration: none;
    transition: var(--bb-transition);
}

a:hover {
    color: var(--bb-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bb-font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--bb-text);
    margin-bottom: 0.6em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--bb-primary);
    color: #fff;
    padding: 12px 20px;
    z-index: 9999;
}
.skip-link:focus { top: 0; }

/* =========================================================
   2. TOP BAR
   ========================================================= */
.bb-topbar {
    background: var(--bb-primary-dark);
    color: #e9f5f0;
    font-size: 0.85rem;
    padding: 8px 0;
}
.bb-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.bb-topbar a { color: #e9f5f0; }
.bb-topbar a:hover { color: #fff; }
.bb-topbar-info { display: flex; gap: 18px; flex-wrap: wrap; }
.bb-topbar-info span svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.bb-topbar-social { display: flex; gap: 12px; }
.bb-topbar-social a {
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1); border-radius: 50%;
}
.bb-topbar-social a:hover { background: var(--bb-secondary); }
.bb-topbar-social svg { width: 13px; height: 13px; fill: currentColor; }

/* =========================================================
   3. HEADER
   ========================================================= */
.bb-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--bb-transition);
}
.bb-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 24px;
}
.bb-logo {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--bb-font-display);
    font-weight: 800; font-size: 1.25rem;
    color: var(--bb-text);
}
.bb-logo:hover { color: var(--bb-primary); }
.bb-logo-mark {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--bb-primary), var(--bb-primary-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 4px 14px rgba(11,110,79,0.3);
}
.bb-logo-text small {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--bb-text-soft);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.bb-nav { display: flex; align-items: center; gap: 6px; }
.bb-nav ul {
    display: flex; gap: 4px;
    list-style: none;
}
.bb-nav li { position: relative; }
.bb-nav a {
    display: block;
    padding: 10px 16px;
    color: var(--bb-text);
    font-weight: 500;
    border-radius: var(--bb-radius-sm);
    font-size: 0.95rem;
}
.bb-nav a:hover,
.bb-nav .current-menu-item > a {
    background: rgba(11,110,79,0.08);
    color: var(--bb-primary);
}
.bb-nav .sub-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--bb-radius-sm);
    box-shadow: var(--bb-shadow);
    padding: 8px;
    flex-direction: column;
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: var(--bb-transition);
}
.bb-nav li:hover > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.bb-nav .sub-menu li { width: 100%; }

.bb-cta-btn {
    background: var(--bb-primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(11,110,79,0.3);
}
.bb-cta-btn:hover {
    background: var(--bb-primary-dark);
    color: #fff !important;
    transform: translateY(-2px);
}

.bb-mobile-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px; height: 44px;
    cursor: pointer;
    border-radius: 10px;
}
.bb-mobile-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--bb-text);
    margin: 5px auto;
    transition: var(--bb-transition);
}
.bb-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bb-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.bb-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   4. HERO
   ========================================================= */
.bb-hero {
    position: relative;
    background: linear-gradient(135deg, #0b6e4f 0%, #2ea884 60%, #4dd0a5 100%);
    color: #fff;
    padding: 80px 0 110px;
    overflow: hidden;
}
.bb-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.15) 0, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0, transparent 40%);
    pointer-events: none;
}
.bb-hero-inner {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.bb-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.bb-hero p.lead {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 32px;
}
.bb-hero-search {
    background: #fff;
    border-radius: 999px;
    padding: 8px;
    display: flex;
    box-shadow: 0 14px 40px rgba(0,0,0,0.15);
    max-width: 620px;
    margin: 0 auto;
}
.bb-hero-search input {
    flex: 1;
    border: 0; outline: 0;
    padding: 12px 22px;
    font-size: 1rem;
    background: transparent;
    color: var(--bb-text);
    font-family: inherit;
}
.bb-hero-search button {
    background: var(--bb-primary-dark);
    color: #fff;
    border: 0;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--bb-transition);
    display: inline-flex; align-items: center; gap: 6px;
}
.bb-hero-search button:hover { background: #062e22; }
.bb-hero-stats {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}
.bb-stat {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 22px 18px;
    border-radius: var(--bb-radius);
    text-align: center;
}
.bb-stat strong {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    font-family: var(--bb-font-display);
}
.bb-stat span { font-size: 0.9rem; opacity: 0.9; }

/* =========================================================
   5. SECTION GENERIC
   ========================================================= */
.bb-section {
    padding: 70px 0;
}
.bb-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.bb-section-head .eyebrow {
    display: inline-block;
    background: rgba(11,110,79,0.1);
    color: var(--bb-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.bb-section-head p { color: var(--bb-text-soft); font-size: 1.05rem; }

/* =========================================================
   6. SERVICE BOXES (Box to Box grid)
   ========================================================= */
.bb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.bb-box {
    background: #fff;
    border-radius: var(--bb-radius);
    padding: 28px;
    box-shadow: var(--bb-shadow);
    border: 1px solid var(--bb-border);
    transition: var(--bb-transition);
    position: relative;
    overflow: hidden;
    text-align: left;
    color: var(--bb-text);
    display: flex; flex-direction: column;
}
.bb-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--bb-primary), var(--bb-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.bb-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--bb-shadow-hover);
    border-color: transparent;
}
.bb-box:hover::before { transform: scaleX(1); }
.bb-box .icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(11,110,79,0.1), rgba(46,168,132,0.1));
    color: var(--bb-primary);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: var(--bb-transition);
}
.bb-box:hover .icon {
    background: linear-gradient(135deg, var(--bb-primary), var(--bb-primary-light));
    color: #fff;
    transform: scale(1.05);
}
.bb-box .icon svg { width: 28px; height: 28px; }
.bb-box h3 { font-size: 1.15rem; margin-bottom: 8px; }
.bb-box p { color: var(--bb-text-soft); font-size: 0.94rem; flex: 1; }
.bb-box .arrow {
    margin-top: 18px;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--bb-primary);
    font-weight: 600;
    font-size: 0.9rem;
}
.bb-box:hover .arrow { gap: 12px; }

/* Quick action boxes — variant */
.bb-quick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.bb-quick a {
    background: #fff;
    padding: 22px;
    border-radius: var(--bb-radius-sm);
    border: 1px solid var(--bb-border);
    color: var(--bb-text);
    display: flex; align-items: center; gap: 14px;
    transition: var(--bb-transition);
    font-weight: 600;
}
.bb-quick a:hover {
    background: var(--bb-primary);
    color: #fff;
    border-color: var(--bb-primary);
    transform: translateY(-3px);
    box-shadow: var(--bb-shadow-hover);
}
.bb-quick .qicon {
    width: 42px; height: 42px;
    background: rgba(11,110,79,0.1);
    color: var(--bb-primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: var(--bb-transition);
}
.bb-quick a:hover .qicon { background: rgba(255,255,255,0.2); color: #fff; }
.bb-quick svg { width: 22px; height: 22px; }

/* =========================================================
   7. NEWS / DUYURULAR
   ========================================================= */
.bb-news-bg { background: #fff; }
.bb-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}
.bb-news-card {
    background: var(--bb-bg);
    border-radius: var(--bb-radius);
    overflow: hidden;
    transition: var(--bb-transition);
    display: flex; flex-direction: column;
}
.bb-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bb-shadow-hover);
}
.bb-news-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bb-primary), var(--bb-primary-light));
    overflow: hidden; position: relative;
}
.bb-news-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.bb-news-card:hover .bb-news-thumb img { transform: scale(1.06); }
.bb-news-thumb .badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--bb-secondary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.bb-news-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.bb-news-meta {
    color: var(--bb-text-soft);
    font-size: 0.82rem;
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 12px;
}
.bb-news-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.bb-news-card h3 a { color: var(--bb-text); }
.bb-news-card h3 a:hover { color: var(--bb-primary); }
.bb-news-card p { color: var(--bb-text-soft); font-size: 0.92rem; flex: 1; }
.bb-news-card .more {
    margin-top: 14px;
    color: var(--bb-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* =========================================================
   8. CTA STRIP
   ========================================================= */
.bb-cta-strip {
    background: linear-gradient(120deg, var(--bb-primary) 0%, var(--bb-primary-dark) 100%);
    color: #fff;
    border-radius: var(--bb-radius);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    box-shadow: var(--bb-shadow-hover);
}
.bb-cta-strip h2 { color: #fff; margin-bottom: 8px; }
.bb-cta-strip p { opacity: 0.95; margin: 0; }
.bb-cta-strip .btn {
    background: #fff;
    color: var(--bb-primary);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    white-space: nowrap;
}
.bb-cta-strip .btn:hover {
    background: var(--bb-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   9. CONTENT (single, page)
   ========================================================= */
.bb-content {
    background: #fff;
    border-radius: var(--bb-radius);
    padding: 48px;
    box-shadow: var(--bb-shadow);
    margin-bottom: 32px;
}
.bb-content h1 { margin-bottom: 16px; }
.bb-content .meta {
    color: var(--bb-text-soft);
    font-size: 0.9rem;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bb-border);
}
.bb-content blockquote {
    border-left: 4px solid var(--bb-primary);
    padding: 16px 24px;
    background: var(--bb-bg);
    border-radius: var(--bb-radius-sm);
    margin: 24px 0;
    color: var(--bb-text-soft);
}
.bb-content ul, .bb-content ol { padding-left: 1.4em; margin-bottom: 1em; }
.bb-content img { border-radius: var(--bb-radius-sm); margin: 16px 0; }

.bb-page-hero {
    background: linear-gradient(135deg, var(--bb-primary), var(--bb-primary-dark));
    color: #fff;
    padding: 60px 0 70px;
    text-align: center;
}
.bb-page-hero h1 { color: #fff; margin-bottom: 8px; }
.bb-breadcrumb {
    font-size: 0.9rem;
    opacity: 0.85;
}
.bb-breadcrumb a { color: #fff; opacity: 0.85; }
.bb-breadcrumb a:hover { opacity: 1; }
.bb-breadcrumb .sep { margin: 0 8px; }

/* =========================================================
   10. FORM (Comments / başvuru)
   ========================================================= */
.bb-form, .comment-form {
    display: grid;
    gap: 14px;
}
.bb-form label, .comment-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bb-text);
}
.bb-form input, .bb-form textarea, .bb-form select,
.comment-form input, .comment-form textarea, .comment-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--bb-border);
    border-radius: var(--bb-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    transition: var(--bb-transition);
}
.bb-form input:focus, .bb-form textarea:focus, .bb-form select:focus,
.comment-form input:focus, .comment-form textarea:focus {
    outline: 0;
    border-color: var(--bb-primary);
    box-shadow: 0 0 0 4px rgba(11,110,79,0.12);
}
.bb-form button, .comment-form .submit {
    background: var(--bb-primary);
    color: #fff;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--bb-transition);
    width: max-content;
}
.bb-form button:hover, .comment-form .submit:hover {
    background: var(--bb-primary-dark);
    transform: translateY(-2px);
}

/* =========================================================
   11. SIDEBAR / WIDGETS
   ========================================================= */
.bb-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}
.bb-sidebar .widget {
    background: #fff;
    border-radius: var(--bb-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--bb-shadow);
}
.bb-sidebar .widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bb-primary);
    display: inline-block;
}
.bb-sidebar ul { list-style: none; }
.bb-sidebar li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bb-border);
}
.bb-sidebar li:last-child { border-bottom: 0; }

/* =========================================================
   12. PAGINATION
   ========================================================= */
.bb-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 32px 0;
}
.bb-pagination a, .bb-pagination span {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--bb-border);
    font-weight: 600;
    color: var(--bb-text);
}
.bb-pagination .current,
.bb-pagination a:hover {
    background: var(--bb-primary);
    color: #fff;
    border-color: var(--bb-primary);
}

/* =========================================================
   13. FOOTER
   ========================================================= */
.bb-footer {
    background: #062e22;
    color: #cfe5dc;
    padding: 70px 0 0;
    margin-top: 60px;
}
.bb-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bb-footer h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.bb-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--bb-primary-light);
}
.bb-footer ul { list-style: none; }
.bb-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.bb-footer a { color: #cfe5dc; }
.bb-footer a:hover { color: #fff; padding-left: 4px; }
.bb-footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex; gap: 8px;
}
.bb-footer-contact svg {
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--bb-primary-light);
}
.bb-footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #8aa89e;
}

/* =========================================================
   14. UTIL & RESPONSIVE
   ========================================================= */
.bb-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bb-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--bb-transition);
    border: 0; cursor: pointer; font-family: inherit;
}
.bb-btn:hover { background: var(--bb-primary-dark); color: #fff; transform: translateY(-2px); }
.bb-btn-outline {
    background: transparent;
    border: 2px solid var(--bb-primary);
    color: var(--bb-primary);
}
.bb-btn-outline:hover { background: var(--bb-primary); color: #fff; }

.text-center { text-align: center; }
.mt-3 { margin-top: 24px; }

@media (max-width: 1024px) {
    .bb-footer-grid { grid-template-columns: 1fr 1fr; }
    .bb-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .bb-mobile-toggle { display: block; }
    .bb-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 85%; max-width: 360px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        z-index: 99;
        overflow-y: auto;
    }
    .bb-nav.active { right: 0; }
    .bb-nav ul { flex-direction: column; gap: 4px; width: 100%; }
    .bb-nav a { padding: 14px 16px; }
    .bb-nav .sub-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; padding: 0 0 0 16px;
    }
    .bb-cta-btn { margin-top: 8px; text-align: center; }
}

@media (max-width: 720px) {
    .bb-section { padding: 50px 0; }
    .bb-hero { padding: 60px 0 80px; }
    .bb-hero-search { flex-direction: column; border-radius: var(--bb-radius); padding: 12px; gap: 8px; }
    .bb-hero-search button { width: 100%; justify-content: center; }
    .bb-cta-strip { grid-template-columns: 1fr; padding: 32px; text-align: center; }
    .bb-cta-strip .btn { justify-self: center; }
    .bb-content { padding: 28px; }
    .bb-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .bb-topbar-info { font-size: 0.78rem; }
}

/* WordPress core compatibility */
.alignleft { float: left; margin: 5px 20px 20px 0; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.aligncenter { display: block; margin: 20px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.85rem; color: var(--bb-text-soft); text-align: center; padding-top: 8px; }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%); height: 1px; width: 1px;
    margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.sticky { display: block; }
.bypostauthor { display: block; }
