/*
Theme Name: ManoWiki
Theme URI: https://manowiki.lt/
Author: ManoWiki
Description: Individuali ManoWiki.lt WordPress tema su dinaminiu pagrindiniu puslapiu, kategorijomis ir straipsnių blokais.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: manowiki
*/



/* =========================================================
   MANOWIKI
========================================================= */

:root {
    --mw-navy: #061326;
    --mw-navy-light: #0b1d36;
    --mw-green: #10b981;
    --mw-green-dark: #059669;
    --mw-blue: #2563eb;
    --mw-purple: #8b5cf6;
    --mw-orange: #f59e0b;

    --mw-text: #101828;
    --mw-muted: #667085;

    --mw-bg: #ffffff;
    --mw-soft: #f7f9fc;
    --mw-border: #e6e9ef;

    --mw-radius: 16px;
    --mw-container: 1440px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--mw-bg);
    color: var(--mw-text);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--mw-container));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(230,233,239,.8);
}

.header-inner {
    min-height: 86px;

    display: grid;
    grid-template-columns: auto minmax(300px, 520px) 1fr;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -1.7px;
    white-space: nowrap;
}

.logo span {
    color: var(--mw-green);
}

.header-search {
    position: relative;
}

.header-search input {
    width: 100%;
    height: 48px;

    padding: 0 52px 0 18px;

    border: 1px solid var(--mw-border);
    border-radius: 11px;

    background: #f8fafc;

    outline: none;
    transition: .2s;
}

.header-search input:focus {
    border-color: var(--mw-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16,185,129,.08);
}

.header-search button {
    position: absolute;
    right: 6px;
    top: 6px;

    width: 36px;
    height: 36px;

    border: 0;
    background: transparent;
    cursor: pointer;

    font-size: 18px;
}

.main-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;

    font-size: 14px;
    font-weight: 600;
}

.main-menu a {
    transition: .2s;
}

.main-menu a:hover {
    color: var(--mw-green);
}

.header-contact {
    padding: 13px 19px;

    background: var(--mw-navy);
    color: #fff;

    border-radius: 10px;
}

.header-contact:hover {
    background: var(--mw-green) !important;
    color: #fff !important;
}

.mobile-toggle {
    display: none;

    border: 0;
    background: none;

    font-size: 27px;
    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    margin-top: 25px;
}

.hero-box {
    min-height: 405px;

    position: relative;
    overflow: hidden;

    border-radius: 22px;

    background:
    radial-gradient(circle at 76% 45%, rgba(245,158,11,.20), transparent 32%),
    radial-gradient(circle at 55% 100%, rgba(16,185,129,.11), transparent 35%),
    linear-gradient(
        120deg,
        #061326 0%,
        #07162c 55%,
        #0d1726 100%
    );

    color: white;

    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;

    padding: 60px 65px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero h1 {
    font-size: clamp(39px, 4vw, 60px);
    line-height: 1.08;

    letter-spacing: -2.5px;

    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--mw-green);
}

.hero-description {
    max-width: 520px;

    font-size: 18px;
    color: #d9e2ef;

    margin-bottom: 27px;
}

.hero-search {
    max-width: 610px;

    display: flex;
    align-items: center;

    background: white;

    padding: 7px;

    border-radius: 11px;

    box-shadow: 0 12px 35px rgba(0,0,0,.16);
}

.hero-search input {
    flex: 1;

    border: 0;
    outline: 0;

    padding: 12px 14px;

    min-width: 0;
}

.hero-search button {
    border: 0;
    cursor: pointer;

    color: white;
    background: var(--mw-green);

    border-radius: 8px;

    padding: 12px 26px;

    font-weight: 700;
}

.hero-search button:hover {
    background: var(--mw-green-dark);
}

.hero-popular {
    margin-top: 18px;

    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    align-items: center;

    font-size: 12px;
}

.hero-popular strong {
    color: #fff;
}

.hero-tag {
    padding: 7px 12px;

    border-radius: 7px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.06);

    color: #e9eef6;

    transition: .2s;
}

.hero-tag:hover {
    background: var(--mw-green);
}


/* HERO ART */

.hero-art {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.manowiki-visual {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1.35 / 1;
    filter: drop-shadow(0 28px 40px rgba(0,0,0,.24));
}

.manowiki-visual svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.mw-orbit {
    fill: none;
    stroke: rgba(255,255,255,.14);
    stroke-width: 1.5;
    stroke-dasharray: 7 8;
}

.mw-node {
    fill: rgba(8,22,42,.92);
    stroke: rgba(255,255,255,.24);
    stroke-width: 1.5;
}

.mw-node-glow {
    fill: rgba(16,185,129,.09);
}

.mw-line {
    stroke: rgba(255,255,255,.18);
    stroke-width: 1.4;
    stroke-dasharray: 5 7;
}

.mw-book-page {
    fill: #fffdf7;
}

.mw-book-edge {
    fill: #e6e3da;
}

.mw-book-line {
    stroke: #c8c6be;
    stroke-width: 1.4;
    stroke-linecap: round;
    opacity: .72;
}

.mw-bulb-glow {
    fill: rgba(255,194,55,.13);
}

.mw-bulb {
    fill: url(#bulbGradient);
    stroke: rgba(255,246,202,.85);
    stroke-width: 2;
}

.mw-bulb-filament {
    fill: none;
    stroke: #fff8ce;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mw-bulb-base {
    fill: url(#baseGradient);
}

.mw-house-wall {
    fill: #f6eee0;
}

.mw-house-roof {
    fill: #3a526e;
}

.mw-house-window {
    fill: #7dd3fc;
}

.mw-car-body {
    fill: #4f78a8;
}

.mw-car-glass {
    fill: #bfe8ff;
}

.mw-car-wheel {
    fill: #101828;
}

.mw-leaf {
    fill: #22c55e;
}

.mw-pot {
    fill: #d97706;
}

.mw-pot-rim {
    fill: #f59e0b;
}

.mw-node-icon {
    fill: none;
    stroke: #fff;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mw-node-icon-green {
    stroke: #34d399;
}

.mw-node-icon-blue {
    stroke: #60a5fa;
}

.mw-node-icon-orange {
    stroke: #fbbf24;
}

.mw-node-icon-purple {
    stroke: #c084fc;
}

.manowiki-visual .float-a {
    animation: mwFloatA 5.6s ease-in-out infinite;
    transform-origin: center;
}

.manowiki-visual .float-b {
    animation: mwFloatB 6.4s ease-in-out infinite;
    transform-origin: center;
}

.manowiki-visual .float-a,
.manowiki-visual .float-b {
    transform-box: fill-box;
    transform-origin: center;
}

.manowiki-visual .pulse {
    animation: mwPulse 3.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes mwFloatA {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes mwFloatB {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes mwPulse {
    0%,100% { opacity: .75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
    .manowiki-visual .float-a,
    .manowiki-visual .float-b,
    .manowiki-visual .pulse {
        animation: none;
    }
}

/* =========================================================
   TRUST CARDS
========================================================= */

.trust-grid {
    margin-top: 25px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.trust-card {
    border: 1px solid var(--mw-border);

    border-radius: 15px;

    padding: 22px;

    display: flex;
    gap: 16px;
    align-items: center;

    background: white;

    transition: .25s;
}

.trust-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 14px 30px rgba(15,23,42,.07);
}

.trust-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;

    border-radius: 13px;

    display: grid;
    place-items: center;

    font-size: 24px;
}

.trust-card:nth-child(1) .trust-icon {
    background: #dcfce7;
}

.trust-card:nth-child(2) .trust-icon {
    background: #dbeafe;
}

.trust-card:nth-child(3) .trust-icon {
    background: #f3e8ff;
}

.trust-card:nth-child(4) .trust-icon {
    background: #ffedd5;
}

.trust-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.trust-card p {
    color: var(--mw-muted);
    font-size: 13px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding-top: 55px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: 27px;
    letter-spacing: -1px;
}

.section-link {
    color: var(--mw-green-dark);

    font-weight: 600;

    font-size: 14px;
}


/* =========================================================
   CATEGORIES
========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 17px;
}

.category-card {
    overflow: hidden;

    border: 1px solid var(--mw-border);

    border-radius: 16px;

    background: white;

    transition: .25s;

    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(15,23,42,.09);
}

.category-image {
    height: 140px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s;
}

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

.category-icon {
    position: absolute;

    top: 112px;
    left: 18px;

    width: 48px;
    height: 48px;

    border-radius: 12px;

    display: grid;
    place-items: center;

    background: white;

    box-shadow: 0 7px 25px rgba(0,0,0,.13);

    font-size: 21px;
}

.category-content {
    padding: 30px 17px 18px;
}

.category-content h3 {
    font-size: 15px;

    margin-bottom: 5px;
}

.category-content p {
    color: var(--mw-muted);

    font-size: 12px;
}


/* =========================================================
   ARTICLES
========================================================= */

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;

    gap: 50px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.article-card {
    display: grid;
    grid-template-columns: 180px 1fr;

    gap: 20px;

    align-items: center;
}

.article-image {
    height: 145px;

    border-radius: 14px;

    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;
}

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

.article-category {
    display: inline-block;

    color: #087b55;
    background: #dcfce7;

    border-radius: 6px;

    padding: 4px 8px;

    font-size: 10px;
    font-weight: 700;

    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 17px;

    line-height: 1.35;

    margin-bottom: 8px;
}

.article-card h3 a:hover {
    color: var(--mw-green-dark);
}

.article-card p {
    color: var(--mw-muted);

    font-size: 13px;

    margin-bottom: 10px;
}

.article-meta {
    color: #98a2b3;

    font-size: 11px;

    display: flex;
    gap: 12px;
}



/* =========================================================
   CATEGORY ARTICLE SECTIONS
========================================================= */

.category-articles-section{padding-top:64px}
.category-articles-section + .category-articles-section{padding-top:58px}

.category-articles-header{
    display:flex;justify-content:space-between;align-items:center;
    gap:24px;margin-bottom:24px
}
.category-articles-title-wrap{display:flex;align-items:center;gap:13px}
.category-articles-icon{
    width:46px;height:46px;display:grid;place-items:center;
    border-radius:13px;background:#ecfdf5;font-size:21px;flex:0 0 46px
}
.category-articles-header h2{
    font-size:29px;line-height:1.15;letter-spacing:-1.1px
}
.category-articles-link{
    color:var(--mw-green-dark);font-size:14px;font-weight:700;white-space:nowrap
}

.category-feature-layout{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(390px,.9fr);
    gap:26px;align-items:stretch
}

/* DIDELIS PAGRINDINIS STRAIPSNIS */
.category-featured-card{
    position:relative;min-height:455px;overflow:hidden;
    border-radius:20px;background:#0b1628;isolation:isolate;
    box-shadow:0 10px 30px rgba(15,23,42,.07)
}
.category-featured-image{position:absolute;inset:0;display:block}
.category-featured-image img{
    width:100%;height:100%;object-fit:cover;transition:transform .55s ease
}
.category-featured-card:after{
    content:"";position:absolute;inset:0;z-index:1;
    background:linear-gradient(to top,rgba(4,15,29,.96) 0%,rgba(4,15,29,.72) 38%,rgba(4,15,29,.08) 78%);
    pointer-events:none
}
.category-featured-card:hover .category-featured-image img{transform:scale(1.035)}
.category-featured-content{
    position:absolute;z-index:2;left:0;right:0;bottom:0;padding:34px;color:#fff
}
.category-featured-label,.category-side-label{
    display:inline-block;border-radius:7px;background:#dcfce7;color:#087b55;
    font-size:10px;font-weight:800;text-transform:uppercase
}
.category-featured-label{margin-bottom:13px;padding:6px 10px}
.category-featured-card h3{
    max-width:720px;margin:0 0 11px;font-size:clamp(25px,2.1vw,34px);
    line-height:1.16;letter-spacing:-.8px
}
.category-featured-card h3 a:hover{color:#d1fae5}
.category-featured-content p{max-width:690px;margin:0 0 15px;color:#d7e0eb;font-size:14px}
.category-featured-meta{
    display:flex;flex-wrap:wrap;gap:12px;color:#b7c3d1;font-size:11px
}

/* 3 MAŽESNI STRAIPSNIAI DEŠINĖJE */
.category-side-list{
    display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:14px
}
.category-side-card{
    display:grid;grid-template-columns:155px minmax(0,1fr);
    min-height:0;overflow:hidden;border:1px solid var(--mw-border);
    border-radius:15px;background:#fff;transition:.25s
}
.category-side-card:hover{
    transform:translateY(-2px);box-shadow:0 10px 28px rgba(15,23,42,.07)
}
.category-side-image{display:block;overflow:hidden;min-height:0;background:#eef2f7}
.category-side-image img{
    width:100%;height:100%;object-fit:cover;transition:transform .4s ease
}
.category-side-card:hover .category-side-image img{transform:scale(1.045)}
.category-side-body{
    min-width:0;padding:16px 17px;display:flex;flex-direction:column;justify-content:center
}
.category-side-label{align-self:flex-start;margin-bottom:8px;padding:4px 7px}
.category-side-card h3{margin:0 0 7px;font-size:15px;line-height:1.34}
.category-side-card h3 a:hover{color:var(--mw-green-dark)}
.category-side-card p{margin:0 0 9px;color:var(--mw-muted);font-size:12px;line-height:1.45}
.category-side-meta{display:flex;flex-wrap:wrap;gap:9px;color:#98a2b3;font-size:10px}

/* kas antrą kategoriją apverčiame, kad homepage neatrodytų monotoniškai */
.category-articles-section.editorial-reverse .category-featured-card{order:2}
.category-articles-section.editorial-reverse .category-side-list{order:1}
.category-articles-section.editorial-reverse .category-feature-layout{
    grid-template-columns:minmax(390px,.9fr) minmax(0,1.45fr)
}

@media(max-width:1100px){
    .category-feature-layout,
    .category-articles-section.editorial-reverse .category-feature-layout{grid-template-columns:1fr}
    .category-articles-section.editorial-reverse .category-featured-card,
    .category-articles-section.editorial-reverse .category-side-list{order:initial}
    .category-featured-card{min-height:390px}
    .category-side-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none}
    .category-side-card{grid-template-columns:1fr}
    .category-side-image{height:145px}
}
@media(max-width:760px){
    .category-articles-section{padding-top:50px}
    .category-articles-header{align-items:flex-start}
    .category-articles-header h2{font-size:24px}
    .category-featured-card{min-height:350px;border-radius:16px}
    .category-featured-content{padding:24px}
    .category-featured-card h3{font-size:25px}
    .category-side-list{grid-template-columns:1fr;gap:12px}
    .category-side-card{grid-template-columns:125px minmax(0,1fr)}
    .category-side-image{height:auto}
}
@media(max-width:520px){
    .category-articles-title-wrap{gap:10px}
    .category-articles-link{font-size:12px}
    .category-featured-card{min-height:320px}
    .category-featured-content p{display:none}
    .category-side-card{grid-template-columns:108px minmax(0,1fr)}
    .category-side-body{padding:13px}
    .category-side-card p{display:none}
}

/* =========================================================
   SIDEBAR
========================================================= */

.sidebar-box {
    border: 1px solid var(--mw-border);

    border-radius: 15px;

    padding: 23px;

    background: white;
}

.sidebar-title {
    font-size: 17px;
    margin-bottom: 14px;
}

.popular-list {
    list-style: none;
}

.popular-list li {
    display: grid;

    grid-template-columns: 28px 1fr;

    align-items: start;

    gap: 10px;

    padding: 10px 0;

    border-bottom: 1px solid #f0f2f5;
}

.popular-list li:last-child {
    border: 0;
}

.popular-number {
    color: #98a2b3;

    font-size: 13px;
    font-weight: 700;
}

.popular-list a {
    font-size: 13px;

    font-weight: 600;

    line-height: 1.4;
}

.popular-list a:hover {
    color: var(--mw-green);
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 70px 0;
}

.cta-box {
    padding: 50px;

    border-radius: 21px;

    background:
    linear-gradient(120deg,#071529,#102641);

    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.cta-box h2 {
    font-size: 32px;

    margin-bottom: 8px;

    letter-spacing: -1px;
}

.cta-box p {
    color: #c9d4e2;
}

.cta-button {
    white-space: nowrap;

    background: var(--mw-green);

    color: white;

    padding: 15px 25px;

    border-radius: 10px;

    font-weight: 700;
}

.cta-button:hover {
    background: var(--mw-green-dark);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--mw-navy);

    color: white;

    margin-top: 15px;

    padding: 65px 0 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 50px;
}

.footer-logo {
    display: inline-block;

    font-size: 30px;
    font-weight: 800;

    margin-bottom: 18px;

    letter-spacing: -1.5px;
}

.footer-logo span {
    color: var(--mw-green);
}

.footer-about {
    color: #aebccc;

    max-width: 370px;

    font-size: 14px;
}

.footer-title {
    font-size: 15px;

    margin-bottom: 18px;
}

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

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

.footer-links a {
    color: #aebccc;

    font-size: 14px;

    transition: .2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);

    padding: 22px 0;

    color: #8d9aac;

    font-size: 13px;
}

.footer-bottom-inner {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1200px) {

    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .header-search {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

}

@media (max-width: 900px) {

    .header-inner {
        min-height: 72px;
    }

    .main-menu {
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 25px;

        background: white;

        border-bottom: 1px solid var(--mw-border);
    }

    .main-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-box {
        grid-template-columns: 1fr;

        padding: 45px 35px;
    }

    .hero-art {
        display: none;
    }

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

    .content-layout {
        grid-template-columns: 1fr;
    }

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

}

@media (max-width: 650px) {

    .container {
        width: min(calc(100% - 28px), var(--mw-container));
    }

    .logo {
        font-size: 25px;
    }

    .hero {
        margin-top: 14px;
    }

    .hero-box {
        min-height: auto;

        padding: 35px 24px;

        border-radius: 16px;
    }

    .hero h1 {
        font-size: 37px;

        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-search {
        display: block;

        background: transparent;

        padding: 0;

        box-shadow: none;
    }

    .hero-search input {
        width: 100%;

        background: white;

        border-radius: 8px;

        margin-bottom: 9px;
    }

    .hero-search button {
        width: 100%;
    }

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

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

    .category-image {
        height: 120px;
    }

    .category-icon {
        top: 93px;
    }

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

    .article-image {
        height: 200px;
    }

    .cta-box {
        padding: 35px 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom-inner {
        flex-direction: column;
    }

}



/* WORDPRESS INTEGRATION */
body.admin-bar .site-header{top:32px}@media(max-width:782px){body.admin-bar .site-header{top:46px}}
.custom-logo-link{display:inline-flex;align-items:center}.custom-logo{max-height:54px;width:auto}
.main-menu,.main-menu ul,.footer-menu,.footer-menu ul{list-style:none;margin:0;padding:0}
.main-menu{display:flex;justify-content:flex-end;align-items:center;gap:28px}.main-menu>li>a{font-size:14px;font-weight:600}.main-menu>li:last-child>a{padding:13px 19px;background:var(--mw-navy);color:#fff;border-radius:10px}.main-menu>li:last-child>a:hover{background:var(--mw-green);color:#fff}
.search-form{position:relative}.search-form label{display:block}.search-form .search-field{width:100%;height:48px;padding:0 52px 0 18px;border:1px solid var(--mw-border);border-radius:11px;background:#f8fafc;outline:none}.search-form .search-field:focus{border-color:var(--mw-green);background:#fff;box-shadow:0 0 0 4px rgba(16,185,129,.08)}.search-form .search-submit{position:absolute;right:6px;top:6px;width:36px;height:36px;border:0;background:transparent;cursor:pointer;font-size:0}.search-form .search-submit::before{content:"🔍";font-size:18px}
.category-card .category-content{padding:18px 17px}.category-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#eef7f4,#e8eef8);color:#7d8a9b;font-weight:700;padding:16px;text-align:center}
.category-featured-image img,.category-side-image img,.category-image img{background:#eef2f7}.category-featured-card.no-image .category-featured-image,.category-side-card.no-image .category-side-image{background:linear-gradient(135deg,#edf7f4,#e9eef7)}
.footer-menu li{margin-bottom:10px}.footer-menu a{color:#aebccc;font-size:14px}.footer-menu a:hover{color:#fff}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
.archive-page,.single-page,.generic-page{padding:42px 0 78px}.archive-header,.single-header,.page-header{margin-bottom:30px}.archive-header h1,.single-header h1,.page-header h1{margin:0;font-size:clamp(38px,5vw,58px);line-height:1.06;letter-spacing:-2px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;color:#7a8798;font-size:13px}.breadcrumbs a:hover{color:var(--mw-green-dark)}
.archive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.archive-card{overflow:hidden;border:1px solid var(--mw-border);border-radius:16px;background:#fff;transition:.25s}.archive-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(15,23,42,.08)}.archive-card-image{height:190px;overflow:hidden;background:#eef2f7;display:block}.archive-card-image img{width:100%;height:100%;object-fit:cover}.archive-card-body{padding:20px}.archive-card h2{font-size:18px;line-height:1.35;margin:0 0 8px}.archive-card p{color:var(--mw-muted);font-size:13px}.archive-meta{margin-top:12px;color:#98a2b3;font-size:11px}
.pagination,.nav-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:32px}.page-numbers{min-width:42px;height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--mw-border);border-radius:10px;background:#fff;font-size:13px;font-weight:700}.page-numbers.current{background:var(--mw-green);border-color:var(--mw-green);color:#fff}
.single-cover{display: flex;justify-content: center;border-radius:22px;margin-bottom:34px;border-radius: 8px;overflow: hidden;}.single-cover img{display: block;height:100%;width: auto;max-height:620px;object-fit:contain;border-radius:8px;}.single-content{width:min(100%,820px);margin:0 auto;font-size:17px;line-height:1.78}.single-content h2{margin:42px 0 14px;font-size:31px}.single-content h3{margin:32px 0 12px;font-size:23px}.single-content p{margin:0 0 20px}.single-content ul,.single-content ol{padding-left:26px;margin:0 0 24px}.single-content li{margin:8px 0}.single-content li::marker{color:var(--mw-green-dark);font-weight:800}.single-content blockquote{margin:32px 0;padding:24px 28px;border-left:4px solid var(--mw-green);background:#f2fbf7;border-radius:0 14px 14px 0}.single-content table{width:100%;border-collapse:collapse;margin:28px 0}.single-content th,.single-content td{padding:12px 14px;border:1px solid var(--mw-border);text-align:left}.single-content th{background:#f7faf9}
.single-content img {
	border-radius:8px;
	height:auto;
}
@media(max-width:1200px){.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.main-menu{position:absolute;top:72px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;padding:25px;background:#fff;border-bottom:1px solid var(--mw-border)}.main-menu.active{display:flex}.main-menu>li:last-child>a{display:block;text-align:center}}
@media (max-width: 780px) {

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

    .single-content {
        font-size: 16px;
    }

    .single-content table,
    .single-content tbody,
    .single-content tr,
    .single-content td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .single-content thead {
        display: none;
    }

    .single-content tr {
        margin-bottom: 14px;
        padding: 12px 14px;
        border: 1px solid var(--mw-border);
        border-radius: 12px;
        background: #fff;
    }

    .single-content td {
        border: 0;
        border-bottom: 1px solid var(--mw-border);
        padding: 10px 0;
    }

    .single-content td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 1.3;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #009b68;
    }

    .single-content td:not([data-label])::before,
    .single-content td[data-label=""]::before {
        display: none;
    }
}
@media(max-width:540px){.archive-grid{grid-template-columns:1fr}.archive-card-image{height:220px}}
