/*
Theme Name: hyperwp
Theme URI:
Author:  hyperwp
Author URI:
Description: A simple, clean WordPress theme — culture, sports, community and local stories. English-first, RTL ready, with a static homepage template and a flexible Customizer.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
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: hyperwp
Tags: blog, news, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support
*/

/* =========================================================
   1. Root variables / Reset
   ========================================================= */
:root {
    /* Customizer-driven colors (overridden by inline <style> from PHP). */
    --sv-primary: #1c1c1c;
    --sv-secondary: #1c1c1ca6;

    /* Legacy variable aliases — kept for back-compat, but values now derive from --sv-* via inline override. */
    --quebec-blue: var(--sv-secondary);
    --quebec-blue-dark: var(--sv-primary);
    --quebec-blue-deep: var(--sv-primary);
    --quebec-blue-soft: #EAF1FF;
    --ice-bg: #F2F6FC;
    --white: #FFFFFF;
    --text-dark: var(--sv-primary);
    --text-muted: #5F6F89;
    --border: #DCE6F5;
    --shadow: 0 14px 34px rgba(11, 31, 58, 0.10);
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
.wlive-thumb {
    height: 160px !important;
    overflow: hidden;
    background: none !important; 
}
.wlive-thumb img {
    margin: 0 !important;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    display: block !important;
}
body a.sv-header__wa {
	text-decoration: none !important;
}
/* Force all top-level sections to behave as block, full-width, no inherited rounding */
body > .site-top,
body > .header,
body > .hero,
body > .quick-links,
body > .section,
body > .page-header,
body > .single-hero,
body > .main-content,
body > .footer {
    display: block;
    width: 100%;
    max-width: 100%;
    clear: both;
    border-radius: 0 !important;
    float: none !important;
    position: relative;
}

/* Prevent any plugin/builder from imposing rounded shapes on our section containers */
.site-top,
.header,
.page-header,
.single-hero,
.main-content,
.footer,
.section,
.quick-links,
.hero {
    border-radius: 0 !important;
}

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

a { color: inherit; }

p { margin: 0 0 1em; }

/* =========================================================
   2. Layout helpers
   ========================================================= */
.container {
    width: 100%;
    max-width: var(--container);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
}

/* =========================================================
   3. Top strip
   ========================================================= */
.site-top {
    background: var(--text-dark);
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    padding: 8px 0;
}
.site-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.site-top strong { color: var(--white); }

/* =========================================================
   4. Header / Navigation
   ========================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    box-shadow: 0 2px 18px rgba(11,31,58,0.08);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}
.brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--quebec-blue);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 31px;
    font-weight: 900;
    box-shadow: 0 9px 22px rgba(0,58,167,0.28);
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.brand-text strong {
    color: var(--quebec-blue-dark);
    font-size: 26px;
 
}
.brand-text span {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 26px;
}
.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 15px;
    position: relative;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--quebec-blue);
    transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.nav-cta a,
.nav .nav-cta > a {
    background: var(--quebec-blue);
    color: var(--white) !important;
    padding: 11px 17px;
    border-radius: 999px;
    box-shadow: 0 9px 20px rgba(0,58,167,0.20);
}
.nav-cta a::after { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--quebec-blue-dark);
    border-radius: 2px;
}

/* =========================================================
   5. Hero (homepage static)
   ========================================================= */
.hero {
    position: relative;
    min-height: 610px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sv-primary) 0%, var(--sv-secondary) 100%);
    color: var(--white);
}
.hero.hero-no-image {
    background: linear-gradient(135deg, var(--sv-primary) 0%, var(--sv-secondary) 100%);
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    background: rgba(255,255,255,0.88);
    pointer-events: none;
}
.hero::before {
    width: 100%;
    height: 26px;
    left: 0;
    top: 50%;
    opacity: 0.42;
}
.hero::after {
    width: 26px;
    height: 100%;
    top: 0;
    left: 50%;
    opacity: 0.42;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 78px 0;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.eyebrow span { font-size: 18px; line-height: 1; }
.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    margin: 22px 0 20px;
}
.hero p {
    font-size: 21px;
    max-width: 650px;
    margin: 0 0 34px;
    color: rgba(255,255,255,0.92);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--white);
    color: var(--quebec-blue-dark);
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}
.btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.05);
}

.hero-card {
    display: none; /* Removed from template via Customizer simplification. */
    position: absolute;
    right: max(30px, calc((100vw - var(--container)) / 2));
    bottom: 44px;
    z-index: 3;
    width: 340px;
    background: rgba(255,255,255,0.94);
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
    border-top: 7px solid var(--quebec-blue);
}
.hero-card strong {
    color: var(--quebec-blue-dark);
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
}
.hero-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

/* =========================================================
   6. Quick links (homepage second section)
   ========================================================= */
.quick-links {
    margin-top: -46px;
    position: relative;
    z-index: 4;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.quick-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-decoration: none;
    min-height: 172px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.quick-card:hover {
    transform: translateY(-5px);
    border-color: var(--quebec-blue);
}
.quick-card.featured {
    background: var(--quebec-blue-dark);
    color: var(--white);
    border-color: var(--quebec-blue-dark);
}
.quick-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--quebec-blue-soft);
    color: var(--quebec-blue);
    display: grid;
    place-items: center;
    font-size: 29px;
    margin-bottom: 18px;
}
.quick-card.featured .quick-icon {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}
.quick-card h3 { margin: 0 0 6px; font-size: 20px; }
.quick-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}
.quick-card.featured p { color: rgba(255,255,255,0.78); }

/* =========================================================
   7. Generic section
   ========================================================= */
.section { padding: 86px 0; }
.section-white { background: var(--white); }
.section-blue {
    background: linear-gradient(135deg, var(--sv-primary) 0%, var(--sv-secondary) 100%);
    color: var(--white);
}
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}
.section-kicker {
    color: var(--quebec-blue);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 8px;
}
.section-blue .section-kicker { color: rgba(255,255,255,0.84); }
.section-title {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1px;
}
.section-desc {
    margin: 15px auto 0;
    color: var(--text-muted);
    font-size: 18px;
}
.section-blue .section-desc { color: rgba(255,255,255,0.78); }

/* =========================================================
   8. Article grid (used on home latest posts + archive + search)
   ========================================================= */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.18s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover { transform: translateY(-5px); }
.article-image {
    height: 210px;
    background-color: var(--quebec-blue-soft);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.article-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,31,92,0.34), transparent 60%);
}
.article-body { padding: 24px; }
body .category {
    display: inline-flex;
    background: var(--quebec-blue-soft);
    color: var(--quebec-blue-dark);
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 13px;
    text-decoration: none;
}
.article-body h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
    color: var(--text-dark);
}
.article-body h3 a {
    color: inherit;
    text-decoration: none;
}
.article-body h3 a:hover { color: var(--quebec-blue); }
.article-body p {
    color: var(--text-muted);
    margin: 0 0 18px;
    font-size: 15px;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--quebec-blue);
    font-weight: 900;
    margin-top: auto;
}

/* =========================================================
   9. Page header (archive / page / single)
   ========================================================= */
.page-header {
    color: var(--quebec-blue-dark);
    padding: 40px 0 40px;
    text-align: center;
}
.page-header h1 {
	color:var(--quebec-blue-dark);
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 32px);
 
    line-height: 1.05;
}
.page-header .crumbs,
.page-header .archive-description {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 16px;
}

/* Single post hero (with optional featured image) */
.single-hero {
    position: relative;
    background: var(--quebec-blue-dark);
    color: var(--white);
    padding: 90px 0 70px;
    overflow: hidden;
}
.single-hero.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--single-bg);
    opacity: 0.35;
    z-index: 0;
}
.single-hero .container { position: relative; z-index: 1; }
.single-hero .category { background: rgba(255,255,255,0.15); color: #fff; }
.single-hero h1 {
    margin: 12px 0 14px;
    font-size: clamp(30px, 4.5vw, 50px);
    line-height: 1.08;
    letter-spacing: -1px;
    max-width: 900px;
}
.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 700;
}
.single-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   10. Content / Typography for posts & pages
   ========================================================= */
.main-content { padding: 0 0 70px 0; }
.entry-wrap {
    padding: 5px;
    max-width: 1200px;
    margin: 0 auto;
}
.entry-content { font-size: 17px; color: var(--text-dark); }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--quebec-blue-dark);
    line-height: 1.2;
    margin: 1.6em 0 0.6em;
 
}
.entry-content h2 { font-size: 30px; }
.entry-content h3 { font-size: 24px; }
.entry-content a {
    color: var(--quebec-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.entry-content img {
    border-radius: var(--radius-md);
    margin: 1.4em 0;
}
.entry-content blockquote {
    border-left: 4px solid var(--quebec-blue);
    background: var(--ice-bg);
    margin: 1.6em 0;
    padding: 18px 22px;
    border-radius: 8px;
    color: var(--text-dark);
    font-style: italic;
}
.entry-content ul,
.entry-content ol { padding-left: 22px; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 8px; }
.entry-content code {
    background: var(--ice-bg);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9em;
}
.entry-content pre {
    background: var(--text-dark);
    color: #fff;
    padding: 18px;
    border-radius: var(--radius-md);
    overflow-x: auto;
}

/* =========================================================
   11. Pagination
   ========================================================= */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 50px 0 0;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--quebec-blue-dark);
    font-weight: 800;
    text-decoration: none;
    transition: all 0.18s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--quebec-blue);
    color: var(--white);
    border-color: var(--quebec-blue);
}

/* =========================================================
   12. Search results
   ========================================================= */
.search-results-list { display: grid; gap: 20px; max-width: 880px; margin: 0 auto; }
.search-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.search-item h2 { margin: 0 0 8px; font-size: 22px; }
.search-item h2 a { color: var(--quebec-blue-dark); text-decoration: none; }
.search-item h2 a:hover { color: var(--quebec-blue); }
.search-item p { margin: 0; color: var(--text-muted); }

/* =========================================================
   13. Footer
   ========================================================= */
.footer {
    background: var(--quebec-blue-dark);
    color: var(--white);
    padding: 56px 0 22px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
    gap: 30px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer h3,
.footer h4 { margin: 0 0 14px; }
.footer p,
.footer a {
    color: rgba(255,255,255,0.76);
    text-decoration: none;
    margin: 0 0 6px;
    font-size: 15px;
}
.footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 9px; }
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.footer-brand .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 27px;
    background: var(--white);
    color: var(--quebec-blue-dark);
    box-shadow: none;
}
.copyright {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    color: rgba(255,255,255,0.62);
    font-size: 14px;
}

/* =========================================================
   14. Responsive
   ========================================================= */
@media (max-width: 980px) {
    .nav { display: none; }
    .nav.nav-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
        align-items: stretch;
    }
    .nav.nav-open ul {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .hamburger { display: inline-flex; }
    .hero { min-height: auto; }
    .hero-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100% - 40px, 520px);
        margin: -40px auto 40px;
    }
    .quick-grid,
    .article-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .entry-wrap { padding: 30px; }
}

@media (max-width: 640px) {
    .container { padding-left: 14px; padding-right: 14px; }
    .site-top .container,
    .copyright {
        flex-direction: column;
        align-items: flex-start;
    }
    .brand-text strong { font-size: 22px; }
    .hero-content { padding: 62px 0 88px; }
    .hero p { font-size: 18px; }
    .hero::before { height: 18px; }
    .hero::after { width: 18px; }
    .quick-grid,
    .article-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .entry-wrap { padding: 22px; }
    .section { padding: 60px 0; }
}
/* =========================================================
   HEADER PATCH 07 — level-2 flyout opens right, caret points right (RTL)
   ========================================================= */

/* Heebo applied broadly */
body,
button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.sv-menu a, .sv-topbar__link {
	font-family: 'Arimo', sans-serif;
}

.sv-topbar {
	background: #fff;
	border-bottom: 1px solid #eee;
}
.sv-topbar__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 8px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sv-topbar__link {
	color: #222;
	text-decoration: none;
	font-size: 15px;
}
.sv-topbar__link:hover { opacity: .7; }

.sv-header {
	background: #fff;
	border-bottom: 1px solid #eee;
}
.sv-header__logorow {
	max-width: 1280px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.sv-header__brand { display: block; }
.sv-header__brand img {
	display: block;
	height: 90px;
	width: auto;
}
.sv-header__wa {
	position: absolute;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: #25d366;
	border-radius: 50%;
}
.sv-header__wa i {
	font-size: 24px;
	color: #fff;
}

/* full-width menu bar below logo */
.sv-header__nav {
	width: 100%;
	background: #fff;
	border-top: 1px solid #eee;
}
.sv-menu {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1280px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 8px;
}
.sv-menu li { position: relative; }
.sv-menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 14px;
	color: #222;
	text-decoration: none;
	font-size: 15px;
	white-space: nowrap;
}
/* top-level font +2px */
.sv-menu > li > a {
	font-size: 17px;
}
.sv-menu > li > a:hover { color: #f0a500; }

/* caret indicators */
.sv-caret {
	width: 0; height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	display: inline-block;
}
.sv-caret--side {
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-right: 5px solid currentColor;  /* points right (RTL flyout opens right) */
	border-left: 0;
}

/* level 1 dropdown */
.sv-submenu {
	list-style: none;
	margin: 0;
	padding: 6px 0;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	display: none;
	z-index: 1000;
}
.sv-menu .sv-has-children:hover > .sv-submenu { display: block; }
.sv-submenu a {
	padding: 9px 16px;
	font-size: 14px;
	white-space: normal;
	color: #333;
	justify-content: space-between;
}
.sv-submenu a:hover { background: #f7f7f7; color: #f0a500; }

/* level 2 flyout — opens to the RIGHT of the level-1 item (RTL) */
.sv-submenu--2 {
	top: 0;
	right: 100%;
	left: auto;
	min-width: 240px;
}

.sv-header__burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 6px;
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
}
.sv-header__burger span {
	display: block;
	width: 26px;
	height: 3px;
	background: #222;
	border-radius: 2px;
}

@media (max-width: 900px) {
	.sv-topbar { display: none; }
	.sv-header__burger { display: flex; }
	.sv-header__brand img { height: 64px; }
	.sv-header__wa { left: 16px; width: 38px; height: 38px; }
	.sv-header__wa i { font-size: 22px; }
	.sv-header__logorow { padding: 14px 16px; }
	.sv-header__burger { right: 16px; }

	.sv-header__nav { display: none; }
	.sv-header__nav.is-open { display: block; }
	.sv-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-width: none;
	}
	.sv-menu a { justify-content: center; }
	/* accordion submenus on mobile */
	.sv-submenu, .sv-submenu--2 {
		position: static;
		display: none;
		border: 0;
		box-shadow: none;
		min-width: 0;
		background: #fafafa;
	}
	.sv-menu .sv-has-children.is-expanded > .sv-submenu { display: block; }
	.sv-submenu .sv-has-children.is-expanded > .sv-submenu--2 { display: block; }
	.sv-caret--side { transform: rotate(90deg); }
}
/* BEGIN HEADER PATCH */
/* =========================================================
   HEADER PATCH 01 — all white, centered logo, no topbar, one dropdown (RTL)
   ========================================================= */
body,
button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.sv-menu a {
	font-family: 'Arimo', sans-serif;
}

.sv-header {
	background: #fff;
	border-bottom: 1px solid #eee;
}
.sv-header__logorow {
	max-width: 1280px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.sv-header__brand { display: block; }
.sv-header__brand img {
	display: block;
	height: 70px;
	width: auto;
}

/* full-width menu bar below logo — WHITE bg, wraps to 2 rows if needed */
.sv-header__nav {
	width: 100%;
	background: #fff;
	border-top: 1px solid #eee;
}
.sv-menu {
	list-style: none;
	margin: 0 auto;
	padding: 6px 0;
	max-width: 1280px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 6px;
}
.sv-menu li { position: relative; }
.sv-menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	color: var(--sv-primary);
	text-decoration: none;
	font-size: 15px;
	white-space: nowrap;
}
.sv-menu > li > a:hover { color: var(--sv-secondary); }

.sv-caret {
	width: 0; height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	display: inline-block;
}

/* dropdown */
.sv-submenu {
	list-style: none;
	margin: 0;
	padding: 6px 0;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	display: none;
	z-index: 1000;
}
.sv-menu .sv-has-children:hover > .sv-submenu { display: block; }
.sv-submenu a {
	padding: 9px 16px;
	font-size: 14px;
	white-space: normal;
	color: var(--sv-primary);
}
.sv-submenu a:hover { background: #f7f7f7; color: var(--sv-secondary); }

.sv-header__burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 6px;
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
}
.sv-header__burger span {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--sv-primary);
	border-radius: 2px;
}

@media (max-width: 900px) {
	.sv-header__burger { display: flex; }
	.sv-header__brand img { height: 54px; }
	.sv-header__logorow { padding: 14px 16px; }
	.sv-header__burger { right: 16px; }
	.sv-header__nav { display: none; }
	.sv-header__nav.is-open { display: block; }
	.sv-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-width: none;
	}
	.sv-menu a { justify-content: center; }
	.sv-submenu {
		position: static;
		display: none;
		border: 0;
		box-shadow: none;
		min-width: 0;
		background: #fafafa;
	}
	.sv-menu .sv-has-children.is-expanded > .sv-submenu { display: block; }
}
/* END HEADER PATCH */
/* BEGIN FOOTER PATCH */
/* =========================================================
   FOOTER PATCH 01 — hipster content (no newsletter), WHITE bg (RTL)
   ========================================================= */
.sv-footer {
	background: #fff;
	color: var(--sv-primary);
	font-family: 'Arimo', sans-serif;
	direction: rtl;
	text-align: right;
	border-top: 1px solid #eee;
}
.sv-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}
.sv-footer__col {
	flex: 1 1 220px;
	min-width: 200px;
}
.sv-footer__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--sv-primary);
}
.sv-footer__col p {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--sv-secondary);
}
.sv-footer__col a {
	color: var(--sv-primary);
	text-decoration: none;
}
.sv-footer__col a:hover { color: var(--sv-secondary); text-decoration: underline; }
.sv-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sv-footer__list li { margin: 0 0 10px; }
.sv-footer__list a { font-size: 14px; }
.sv-footer__social {
	display: flex;
	gap: 12px;
}
.sv-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--sv-primary);
	border-radius: 50%;
	color: var(--sv-primary);
}
.sv-footer__social a:hover {
	background: var(--sv-primary);
	color: #fff;
}
.sv-footer__bottom {
	border-top: 1px solid #eee;
}
.sv-footer__bottom-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px 24px;
	font-size: 12px;
	color: #999;
	text-align: center;
}

@media (max-width: 900px) {
	.sv-footer__inner {
		flex-direction: column;
		gap: 32px;
		padding: 32px 16px;
	}
	.sv-footer__col { flex: 1 1 100%; }
}
/* END FOOTER PATCH */
/* BEGIN OVERRIDE PATCH */
/* === OVERRIDE PATCH 01 — entry-content links use site primary === */
.entry-content a { color: var(--sv-primary); }
.entry-content a:hover { color: var(--sv-secondary); }
/* END OVERRIDE PATCH */
