/*
Theme Name: Milesora
Theme URI: https://milesora.com/
Author: Milesora
Description: A premium editorial WordPress theme for points, miles, hotels, cards, travel diaries, and destination publishing.
Version: 3.4.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: milesora
Tags: blog, news, translation-ready, custom-logo, featured-images, block-styles, wide-blocks
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--navy:#0f172a;--gold:#c9a227;--violet:#6d4aff;--ink:#182033;--muted:#64748b;--line:#e2e8f0;--soft:#f7f8fb;--white:#fff;--content:760px;--wide:1180px;--shadow:0 12px 35px rgba(15,23,42,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,"Noto Sans SC",system-ui,-apple-system,sans-serif;line-height:1.7}body.admin-bar .site-header{top:32px}a{color:var(--navy);text-decoration-thickness:.08em;text-underline-offset:.18em}a:hover{color:#8f741b}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto!important;width:auto;height:auto;background:#fff;padding:12px;z-index:100000}.container{width:min(calc(100% - 40px),var(--wide));margin-inline:auto}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.header-inner{min-height:76px;display:flex;align-items:center;gap:28px}.custom-logo{max-height:42px;width:auto}.brand{font-weight:850;font-size:1.45rem;letter-spacing:.12em;text-decoration:none;color:var(--navy)}.primary-nav{margin-left:auto}.menu{display:flex;gap:22px;list-style:none;margin:0;padding:0}.menu a{font-size:.88rem;font-weight:650;text-decoration:none}.language-switcher{display:flex;align-items:center;gap:7px;padding-left:20px;border-left:1px solid var(--line);font-size:.82rem;white-space:nowrap}.language-switcher a{font-weight:650;text-decoration:none}.language-switcher .active{color:#9b7b17}.menu-toggle{display:none;margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:6px;padding:8px 12px;font-weight:700}.hero{padding:88px 0 72px;background:linear-gradient(120deg,#fff 35%,#f2f5fb)}.hero-inner{max-width:820px}.eyebrow,.card-kicker{color:#8f741b;text-transform:uppercase;letter-spacing:.12em;font-size:.74rem;font-weight:800}.hero h1{font-size:clamp(2.7rem,7vw,5.6rem);line-height:1.02;letter-spacing:-.055em;margin:.14em 0}.hero p{font-size:clamp(1.05rem,2vw,1.3rem);color:var(--muted);max-width:650px}.button,.wp-block-button__link{display:inline-block;background:var(--navy);color:#fff!important;padding:12px 20px;border-radius:5px;font-weight:750;text-decoration:none;border:0}.button:hover,.wp-block-button__link:hover{background:#27334a}.button.gold{background:var(--gold);color:var(--navy)!important}.section{padding:76px 0}.section.alt{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section-title{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2;letter-spacing:-.035em;margin:0}.section-title:after{content:"";display:block;width:44px;border-bottom:3px solid var(--gold);padding-top:13px}.grid{display:grid;gap:24px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.category-card,.post-card{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:var(--shadow)}.category-card{padding:26px;min-height:175px;display:flex;flex-direction:column;justify-content:flex-end;text-decoration:none;position:relative}.category-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--gold)}.category-card h3{font-size:1.45rem;margin:0}.category-card p{color:var(--muted);font-size:.9rem;margin:.3em 0 0}.post-card img{aspect-ratio:16/10;object-fit:cover}.post-card-body{padding:21px}.post-card h3{font-size:1.2rem;line-height:1.35;margin:.35em 0}.post-card h3 a{text-decoration:none}.post-meta{display:flex;flex-wrap:wrap;gap:7px 16px;color:var(--muted);font-size:.82rem}.post-excerpt{color:#536075;font-size:.93rem}.feature{display:grid;grid-template-columns:1.25fr 1fr;min-height:430px;background:var(--navy);color:#fff;border-radius:12px;overflow:hidden}.feature img{width:100%;height:100%;object-fit:cover}.feature-content{padding:clamp(30px,5vw,60px);align-self:center}.feature h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.15;margin:.25em 0}.feature a{color:#fff}.deals-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.deal-item{padding:24px;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:6px;background:#fff}.newsletter{background:var(--navy);color:#fff;padding:58px 0}.newsletter-inner{display:flex;justify-content:space-between;align-items:center;gap:35px}.newsletter h2{margin:0;font-size:2rem}.newsletter p{color:#cbd5e1}.newsletter-form{display:flex;min-width:min(100%,460px)}.newsletter-form input{flex:1;min-width:0;padding:13px;border:0;border-radius:5px 0 0 5px}.newsletter-form button{border-radius:0 5px 5px 0}.site-main{min-height:55vh}.content-header{padding:65px 0 38px;text-align:center}.content-header h1{font-size:clamp(2.3rem,6vw,4rem);line-height:1.1;letter-spacing:-.045em;margin:.2em auto;max-width:980px}.archive-description{max-width:700px;margin:auto;color:var(--muted)}.archive-grid{padding-bottom:80px}.article-wrap{width:min(calc(100% - 40px),var(--content));margin:auto}.single-header{padding:65px 0 35px}.single-header h1{font-size:clamp(2.4rem,6vw,4.5rem);line-height:1.08;letter-spacing:-.05em;margin:.2em 0}.dek{font-size:1.2rem;color:var(--muted)}.featured-image{width:min(calc(100% - 40px),1100px);margin:0 auto 55px;border-radius:10px;overflow:hidden}.featured-image img{width:100%;max-height:680px;object-fit:cover}.entry-content{font-size:1.06rem}.entry-content h2,.entry-content h3,.entry-content h4{scroll-margin-top:100px;line-height:1.25;color:var(--navy);letter-spacing:-.025em}.entry-content h2{font-size:2rem;margin-top:2.2em}.entry-content h3{font-size:1.5rem;margin-top:1.8em}.entry-content p{margin:1.35em 0}.entry-content blockquote{border-left:4px solid var(--gold);margin:2em 0;padding:.5em 1.5em;background:var(--soft)}.entry-content .alignwide{width:min(1100px,calc(100vw - 40px));max-width:none;margin-left:50%;transform:translateX(-50%)}.entry-content .alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}.callout{border:1px solid var(--line);border-left:5px solid var(--violet);padding:19px 22px;margin:2em 0;border-radius:5px;background:#f8f7ff}.callout strong:first-child{display:block;margin-bottom:4px}.callout-important{border-left-color:#2563eb;background:#eff6ff}.callout-tip{border-left-color:#16a34a;background:#f0fdf4}.callout-warning{border-left-color:#ea580c;background:#fff7ed}.callout-deal{border-left-color:var(--gold);background:#fffbea}.affiliate-disclosure{border:1px solid #e8d68f;background:#fffdf4;padding:18px 22px;border-radius:5px;font-size:.9rem}.author-box{display:flex;gap:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;margin:55px 0}.author-box img{border-radius:50%}.related{margin:55px 0}.comments-area{margin:55px auto;width:min(calc(100% - 40px),var(--content))}.comment-list{padding-left:22px}.comment-body{border-bottom:1px solid var(--line);padding:20px 0}.comment-form label{display:block;font-weight:700}.comment-form input,.comment-form textarea,.search-form input{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:4px}.search-form{display:flex;gap:8px;max-width:560px}.search-form .search-submit{width:auto}.pagination{margin-top:35px}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{padding:7px 12px;border:1px solid var(--line);text-decoration:none}.page-numbers.current{background:var(--navy);color:#fff}.not-found{text-align:center;padding:100px 0}.site-footer{background:#080f20;color:#cbd5e1;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:35px}.footer-brand{color:#fff}.footer-menu{list-style:none;padding:0;margin:0}.footer-menu li{margin:.5em 0}.site-footer a{color:#e2e8f0;text-decoration:none}.footer-bottom{margin-top:40px;padding-top:20px;border-top:1px solid #27334a;font-size:.85rem}.skip-link:focus{position:fixed;top:8px;left:8px}.no-results{padding:30px;background:var(--soft)}
@media(max-width:960px){.primary-nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:20px}.primary-nav.open{display:block}.primary-nav .menu{flex-direction:column}.menu-toggle{display:block}.language-switcher{margin-left:0}.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3,.deals-list{grid-template-columns:repeat(2,1fr)}.feature{grid-template-columns:1fr}.feature img{max-height:360px}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body.admin-bar .site-header{top:0}.container{width:min(calc(100% - 28px),var(--wide))}.header-inner{gap:12px;min-height:68px}.language-switcher{order:2;border:0;padding:0;font-size:.74rem}.menu-toggle{order:3;padding:6px 9px}.primary-nav{top:68px}.hero{padding:60px 0}.section{padding:55px 0}.grid-4,.grid-3,.deals-list{grid-template-columns:1fr}.newsletter-inner{align-items:flex-start;flex-direction:column}.newsletter-form{width:100%;min-width:0}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.single-header{padding-top:45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Version 1.1 refinements */
body{overflow-wrap:break-word}body.menu-open{overflow:hidden}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--violet);outline-offset:3px}.language-switcher{padding:7px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff}.language-switcher:before{content:"◉";color:var(--gold);font-size:.75rem}.language-switcher:hover{border-color:var(--gold)}.hero-v11{overflow:hidden;background:var(--soft);position:relative}.hero-v11:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(201,162,39,.35);border-radius:50%;right:-120px;top:-180px}.hero-v11 .hero-inner{position:relative;z-index:1}.hero-v11 h1 span{display:block}.hero-copy{margin-bottom:26px}.hero-note{font-size:.95rem!important}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.button.secondary{background:#fff;color:var(--navy)!important;border:1px solid var(--navy)}.category-card{transition:transform .18s ease,border-color .18s ease}.category-card:hover{transform:translateY(-3px);border-color:var(--gold)}.category-icon{width:42px;height:42px;margin-bottom:auto;color:var(--gold)}.post-card-media{aspect-ratio:16/10;background:#e9edf4}.post-card-media img{width:100%;height:100%;object-fit:cover}.post-card-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#94a3b8;font-weight:800;letter-spacing:.08em}.entry-content table{width:100%;border-collapse:collapse;margin:2em 0;font-size:.95rem}.entry-content th,.entry-content td{padding:12px 14px;border:1px solid var(--line);text-align:left}.entry-content th{background:var(--soft);color:var(--navy)}.entry-content .wp-block-table{overflow-x:auto}.is-style-milesora-important,.is-style-milesora-tip,.is-style-milesora-warning,.is-style-milesora-deal{border:1px solid var(--line);border-left:5px solid var(--violet);padding:19px 22px;margin:2em 0;border-radius:6px}.is-style-milesora-important{border-left-color:#2563eb;background:#eff6ff}.is-style-milesora-tip{border-left-color:#15803d;background:#f0fdf4}.is-style-milesora-warning{border-left-color:#c2410c;background:#fff7ed}.is-style-milesora-deal{border-left-color:var(--gold);background:#fffbea}.is-style-milesora-disclosure{border:1px solid #e8d68f;background:#fffdf4;padding:18px 22px;border-radius:6px;font-size:.9rem}.author-box-content{min-width:0}.author-box p{margin:.25em 0}.author-box.no-bio{align-items:center}.footer-disclosure{max-width:650px;color:#94a3b8;font-size:.85rem;margin-top:25px}.social-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.social-links a{border:1px solid #334155;border-radius:5px;padding:6px 10px}.not-found-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:28px 0}.search-count{color:var(--muted)}.newsletter-integration{min-width:min(100%,460px)}.newsletter-placeholder{border:1px solid #475569;border-radius:6px;padding:14px;color:#e2e8f0}.footer-grid{grid-template-columns:1.6fr repeat(3,1fr)}
@media(max-width:960px){.primary-nav{max-height:calc(100vh - 76px);overflow:auto}.language-switcher{margin-left:auto}.menu-toggle{margin-left:0}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.language-switcher{font-size:.69rem;gap:4px;padding:5px 7px}.language-switcher:before{display:none}.brand{font-size:1rem}.hero-actions .button{width:100%;text-align:center}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}

/* Version 2.0 premium publication system */
.header-inner{min-height:58px;gap:20px}.site-branding{flex:0 0 auto}.brand-logo,.footer-logo{display:block}.brand-logo img{width:190px;height:auto}.custom-logo{max-height:34px}.primary-nav{margin-left:auto}.menu{gap:18px}.menu a{font-size:.8rem}.header-actions{display:flex;align-items:center;gap:8px}.search-toggle,.menu-toggle{width:40px;height:40px;padding:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--navy);cursor:pointer}.search-toggle svg,.language-menu summary svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}.menu-toggle{display:none}.menu-bars,.menu-bars:before,.menu-bars:after{width:18px;height:2px;background:currentColor;display:block;position:relative}.menu-bars:before,.menu-bars:after{content:"";position:absolute;left:0}.menu-bars:before{top:-6px}.menu-bars:after{top:6px}.language-menu{position:relative;font-size:.79rem}.language-menu summary{list-style:none;min-height:40px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--navy);font-weight:700;cursor:pointer}.language-menu summary::-webkit-details-marker{display:none}.language-menu summary:hover,.language-menu[open] summary{border-color:var(--gold)}.chevron{font-size:1rem}.language-dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:170px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 45px rgba(15,23,42,.14);z-index:120}.language-dropdown a,.language-dropdown .trp-language-switcher>div>a{display:block;padding:9px 11px;border-radius:5px;text-decoration:none;font-weight:650}.language-dropdown a:hover,.language-dropdown a:focus,.language-dropdown a.active{background:var(--soft);color:#8f741b}.language-dropdown .trp-language-switcher{width:auto;height:auto}.language-dropdown .trp-language-switcher>div{position:static;width:auto;border:0;background:none;padding:0}.header-search{position:absolute;left:0;right:0;top:100%;padding:18px 0;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(15,23,42,.06)}.header-search .search-form{margin-left:auto}.hero-v2{padding:clamp(80px,10vw,140px) 0;background:#f8fafc;overflow:hidden}.hero-layout{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:30px}.hero-v2 .hero-inner{max-width:720px}.hero-v2 h1{font-size:clamp(3.4rem,7.3vw,6.8rem)}.hero-v2 h1 span{display:block}.hero-graphic svg{width:100%;height:auto;fill:none;stroke:#cbd5e1;stroke-width:1.5}.hero-graphic .route{stroke:#c9a227;stroke-dasharray:7 8}.hero-graphic circle{fill:#c9a227;stroke:none}.hero-graphic .wing{fill:#0f172a;stroke:#0f172a}.hero-graphic .gold-line{stroke:#c9a227;stroke-width:3}.category-card-v2{min-height:260px;padding:30px;box-shadow:none}.category-card-v2:before{width:0;height:3px;transition:width .22s ease}.category-card-v2:hover:before{width:100%}.category-card-v2:hover{transform:translateY(-6px);box-shadow:0 20px 42px rgba(15,23,42,.1)}.category-card-v2 .category-icon{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.6}.category-number{position:absolute;right:24px;top:20px;color:#cbd5e1;font-size:.75rem;font-weight:800}.category-link{margin-top:18px;font-size:.8rem;font-weight:800;color:#8f741b}.feature-v2{grid-template-columns:1.35fr .85fr;min-height:520px}.feature-media{min-height:360px;background:#1e293b}.feature-v2 .feature-content{padding:clamp(34px,5vw,64px)}.feature-v2 h3{font-size:clamp(2rem,4vw,3.3rem);line-height:1.12;margin:.3em 0}.feature-v2 h3 a{color:#fff;text-decoration:none}.deals-layout{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:18px}.deals-layout .deal-item:last-child{grid-column:2/4}.featured-deal{grid-row:span 2;background:var(--navy);color:#fff;padding:34px}.featured-deal h3{font-size:clamp(1.5rem,3vw,2.3rem)}.featured-deal a{color:#fff}.featured-deal .post-meta,.featured-deal .post-excerpt{color:#cbd5e1}.expiry{padding:2px 7px;border:1px solid currentColor;border-radius:4px}.site-footer{padding-top:65px}.footer-top{display:flex;justify-content:space-between;gap:40px;padding-bottom:40px;border-bottom:1px solid #27334a}.footer-logo img{width:205px;height:auto}.footer-newsletter{max-width:380px}.footer-newsletter a{color:var(--gold)}.footer-grid{grid-template-columns:repeat(4,1fr);margin-top:38px}.entry-content{font-size:1.1rem;line-height:1.78}.entry-content blockquote{font-size:1.2rem;padding:1.2em 1.6em;border-radius:0 7px 7px 0}.single-header{padding-top:82px}.single-header .post-meta{margin-top:22px}
@media(max-width:1100px){.menu{gap:12px}.menu a{font-size:.75rem}.brand-logo img{width:165px}.header-inner{gap:12px}.language-menu summary{padding-inline:8px}}
@media(max-width:960px){.header-inner{min-height:58px}.brand-logo img{width:150px}.primary-nav{top:58px;max-height:calc(100vh - 58px);padding:26px}.primary-nav .menu{gap:4px}.primary-nav .menu a{display:block;padding:11px;font-size:1rem}.menu-toggle{display:grid}.search-toggle{display:none}.language-menu{margin-left:auto}.hero-layout{grid-template-columns:1fr}.hero-graphic{position:absolute;right:-100px;top:90px;width:460px;opacity:.13;pointer-events:none}.hero-v2 .hero-inner{position:relative;z-index:1}.feature-v2{grid-template-columns:1fr}.deals-layout{grid-template-columns:1fr 1fr}.featured-deal{grid-column:1/-1;grid-row:auto}.deals-layout .deal-item:last-child{grid-column:auto}.footer-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:680px){.container{width:min(calc(100% - 32px),var(--wide))}.brand-logo img{width:118px}.header-actions{gap:6px}.language-menu summary{min-height:42px;padding:0 9px}.language-menu summary svg{width:17px}.language-menu .chevron{display:none}.menu-toggle{width:42px;height:42px}.hero-v2{padding:72px 0 68px}.hero-v2 h1{font-size:clamp(3.1rem,17vw,5rem)}.hero-v2 .hero-copy{font-size:1.05rem}.hero-graphic{width:360px;right:-170px;top:80px}.section{padding:60px 0}.section-head{align-items:flex-start;flex-direction:column}.category-card-v2{min-height:220px}.feature-v2{min-height:0}.feature-v2 .feature-content{padding:32px 24px}.deals-layout{grid-template-columns:1fr}.deals-layout .deal-item:last-child{grid-column:auto}.newsletter{padding:52px 0}.footer-top{flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}.single-header{padding-top:52px}.single-header h1{font-size:clamp(2.35rem,12vw,3.7rem)}.entry-content{font-size:1.03rem}.button{min-height:46px}.post-card-body{padding:19px}}

/* Community header links */
.primary-nav .milesora-header-community--register>a,.primary-nav .milesora-header-community--post>a{padding:8px 12px;border:1px solid var(--gold);border-radius:7px;background:var(--gold);color:var(--navy)!important}.primary-nav .milesora-header-community--register>a:hover,.primary-nav .milesora-header-community--post>a:hover{background:#b8921f;border-color:#b8921f}.primary-nav .milesora-header-community--logout>a{color:var(--muted)}
@media(max-width:960px){.primary-nav .milesora-header-community>a{min-height:44px;display:flex;align-items:center}.primary-nav .milesora-header-community--register>a,.primary-nav .milesora-header-community--post>a{justify-content:center;margin-top:5px}}


/* Version 3.0.2 decorative travel motifs */
.category-card-v2{overflow:hidden;isolation:isolate;padding-bottom:76px}
.category-card-v2>*{position:relative;z-index:2}
.category-card-v2:after{content:"";position:absolute;z-index:1;left:0;right:0;bottom:0;height:66px;background-color:#f8fafc;background-repeat:no-repeat;background-position:center bottom;background-size:100% 100%;border-top:1px solid rgba(226,232,240,.9);opacity:.92;transition:transform .22s ease,opacity .22s ease}
.category-card-v2:hover:after{transform:translateY(-3px);opacity:1}
.category-card--hotels:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 72'%3E%3Cpath d='M0 61h360M20 61V37h38v24M29 37V25h20v12M84 61V20h52v41M98 31h8m13 0h8M98 44h8m13 0h8M158 61V34h34v27M211 61V15h66v46M226 29h10m15 0h10M226 43h10m15 0h10M300 61V40h38v21' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M0 61h360' stroke='%23c9a227' stroke-width='3'/%3E%3C/svg%3E")}
.category-card--airlines:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 72'%3E%3Cpath d='M14 57C94 8 188 70 344 16' fill='none' stroke='%23c9a227' stroke-width='2.5' stroke-dasharray='6 7'/%3E%3Ccircle cx='14' cy='57' r='4' fill='%23c9a227'/%3E%3Ccircle cx='344' cy='16' r='4' fill='%23c9a227'/%3E%3Cpath d='m199 44 52-30-21 28-8 24-8-2 3-21-15 7z' fill='%230f172a'/%3E%3C/svg%3E")}
.category-card--credit-cards:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 72'%3E%3Crect x='24' y='13' width='104' height='48' rx='8' fill='none' stroke='%230f172a' stroke-width='2'/%3E%3Cpath d='M24 28h104M38 45h25' stroke='%23c9a227' stroke-width='3'/%3E%3Crect x='93' y='40' width='20' height='12' rx='2' fill='none' stroke='%230f172a' stroke-width='2'/%3E%3Cpath d='M164 56c25-35 48-35 73 0s50 35 99-9' fill='none' stroke='%23c9a227' stroke-width='2.5' stroke-dasharray='5 6'/%3E%3Ccircle cx='164' cy='56' r='4' fill='%230f172a'/%3E%3Ccircle cx='336' cy='47' r='4' fill='%230f172a'/%3E%3C/svg%3E")}
.category-card--travel:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 72'%3E%3Cpath d='M20 58c34-28 57-28 91 0 34-37 63-41 102-5 37-28 68-28 127 1' fill='none' stroke='%230f172a' stroke-width='2'/%3E%3Cpath d='M35 50 65 20l29 30M190 50l30-37 34 37' fill='none' stroke='%23c9a227' stroke-width='2.5'/%3E%3Cpath d='M281 18h50v35h-50zM292 28h28M292 38h21' fill='none' stroke='%230f172a' stroke-width='2'/%3E%3C/svg%3E")}

.post-card-media,.feature-media{position:relative;overflow:hidden}
.post-card-media:after,.feature-media:after{content:"";position:absolute;left:0;right:0;bottom:0;height:42px;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(15,23,42,.62)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 42'%3E%3Cpath d='M0 32C100 8 174 45 273 18s190 21 327-8' fill='none' stroke='%23ffffff' stroke-opacity='.7' stroke-width='1.6' stroke-dasharray='6 7'/%3E%3Ccircle cx='30' cy='27' r='3' fill='%23c9a227'/%3E%3Ccircle cx='560' cy='12' r='3' fill='%23c9a227'/%3E%3C/svg%3E") center bottom/100% 42px no-repeat}
.post-card:hover .post-card-media:after{height:48px}

/* Give framed header controls a subtle travel-detail baseline. */
.language-menu summary,.search-toggle,.menu-toggle{position:relative;overflow:hidden}
.language-menu summary:after,.search-toggle:after,.menu-toggle:after{content:"";position:absolute;left:8px;right:8px;bottom:3px;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:.45}

@media(max-width:680px){.category-card-v2{padding-bottom:68px}.category-card-v2:after{height:58px}.post-card-media:after,.feature-media:after{height:34px;background-size:100% 34px}}
@media(prefers-reduced-motion:reduce){.category-card-v2:after{transition:none}}

/* ===== Milesora Mobile Comfort UI v3.1.2 ===== */
@media (max-width:680px){
  html{font-size:15px;-webkit-text-size-adjust:100%}
  body{font-size:15px;line-height:1.68;background:#fff}
  .container,.article-wrap,.comments-area{width:calc(100% - 28px)}

  /* Header */
  .site-header{box-shadow:0 1px 12px rgba(15,23,42,.05)}
  .header-inner{min-height:56px;gap:8px}
  .brand-logo img{width:112px;max-height:30px}
  .custom-logo{max-height:30px;max-width:126px}
  .header-actions{gap:5px}
  .language-menu summary,.menu-toggle{width:auto;min-width:38px;height:38px;min-height:38px;border-radius:9px}
  .language-menu summary{padding:0 8px;font-size:.72rem;gap:4px}
  .menu-toggle{width:38px}
  .primary-nav{top:56px;padding:12px 14px 18px;background:rgba(255,255,255,.99);box-shadow:0 14px 28px rgba(15,23,42,.08)}
  .primary-nav .menu{gap:1px}
  .primary-nav .menu a{padding:10px 9px;font-size:.94rem;line-height:1.35;border-radius:8px}
  .primary-nav .menu a:active{background:var(--soft)}

  /* Home hero */
  .hero-v2{padding:48px 0 44px;min-height:auto}
  .hero-v2 .eyebrow{font-size:.66rem;letter-spacing:.1em}
  .hero-v2 h1{font-size:clamp(2.45rem,13vw,3.6rem);line-height:1.02;letter-spacing:-.052em;margin:.2em 0 .22em}
  .hero-v2 .hero-copy{font-size:1rem;line-height:1.62;margin:0 0 10px;max-width:92%}
  .hero-note{font-size:.82rem!important;line-height:1.55;margin:0 0 20px;max-width:92%}
  .hero-actions{gap:9px}
  .hero-actions .button{width:auto;min-height:42px;padding:10px 15px;border-radius:8px;font-size:.86rem}
  .hero-graphic{width:290px;right:-150px;top:44px;opacity:.09}

  /* Section rhythm */
  .section{padding:42px 0}
  .section-head{gap:10px;margin-bottom:20px}
  .section-head>a{font-size:.82rem;font-weight:700}
  .section-title{font-size:1.55rem;line-height:1.22;letter-spacing:-.03em}
  .section-title:after{width:34px;padding-top:9px;border-bottom-width:2px}
  .grid{gap:14px}

  /* Category cards: compact two-column app-like layout */
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-card-v2{min-height:154px;padding:18px 16px 54px;border-radius:12px}
  .category-card-v2 .category-icon{width:30px;height:30px;margin-bottom:22px}
  .category-card-v2 h3{font-size:1.02rem;line-height:1.25}
  .category-card-v2 p{font-size:.76rem;line-height:1.5;margin-top:5px}
  .category-number{right:14px;top:13px;font-size:.65rem}
  .category-link{display:none}
  .category-card-v2:after{height:45px;background-size:100% 45px}

  /* Article cards */
  .grid-3{grid-template-columns:1fr}
  .post-card{display:grid;grid-template-columns:112px minmax(0,1fr);border-radius:12px;box-shadow:0 7px 20px rgba(15,23,42,.055)}
  .post-card-media{aspect-ratio:auto;height:100%;min-height:118px}
  .post-card-media img{height:100%}
  .post-card-media:after{display:none}
  .post-card-body{padding:13px 14px;min-width:0}
  .post-card .card-kicker{font-size:.62rem;letter-spacing:.08em}
  .post-card h3{font-size:1rem;line-height:1.38;margin:.28em 0 .42em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .post-card .post-meta{font-size:.7rem;gap:4px 8px}
  .post-card .post-excerpt{display:none}

  /* Featured report */
  .feature-v2{border-radius:14px}
  .feature-media{min-height:210px;max-height:230px}
  .feature-v2 .feature-content{padding:24px 20px 26px}
  .feature-v2 h3{font-size:1.62rem;line-height:1.2;margin:.35em 0}
  .feature-v2 .feature-content p{font-size:.88rem;line-height:1.65;color:#d7deea}
  .feature-v2 .button{min-height:40px;padding:9px 14px;font-size:.84rem;border-radius:8px}

  /* Deals */
  .deals-layout{gap:12px}
  .deal-item,.featured-deal{padding:18px;border-radius:11px}
  .deal-item h3{font-size:1rem;line-height:1.4;margin:.35em 0}
  .featured-deal h3{font-size:1.35rem}
  .deal-item .post-meta{font-size:.72rem}

  /* Newsletter and footer */
  .newsletter{padding:40px 0}
  .newsletter h2{font-size:1.45rem;line-height:1.3}
  .newsletter p{font-size:.86rem;line-height:1.6}
  .newsletter-inner{gap:22px}
  .newsletter-placeholder{font-size:.82rem}
  .footer-top{gap:24px;padding-bottom:28px}
  .footer-logo img{width:160px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px 18px;margin-top:28px}
  .site-footer{padding:42px 0 22px;font-size:.84rem}
  .footer-bottom{margin-top:28px;font-size:.74rem}

  /* Archive, search and category pages */
  .content-header{padding:38px 0 24px;text-align:left}
  .content-header h1{font-size:2rem;line-height:1.16;letter-spacing:-.04em;margin:.15em 0}
  .archive-description{font-size:.88rem;line-height:1.65;margin:0}
  .archive-grid{padding-bottom:48px}
  .pagination{margin-top:25px}
  .page-numbers{padding:7px 10px;border-radius:7px;font-size:.82rem}

  /* Single article */
  .single-header{padding:38px 0 24px}
  .single-header h1{font-size:2rem;line-height:1.18;letter-spacing:-.042em;margin:.25em 0}
  .single-header .post-meta{font-size:.74rem;margin-top:14px;gap:5px 10px}
  .dek{font-size:1rem;line-height:1.6}
  .featured-image{width:calc(100% - 28px);margin-bottom:30px;border-radius:12px}
  .entry-content{font-size:.98rem;line-height:1.78}
  .entry-content p{margin:1.05em 0}
  .entry-content h2{font-size:1.48rem;margin-top:1.75em}
  .entry-content h3{font-size:1.2rem;margin-top:1.55em}
  .entry-content h4{font-size:1.05rem}
  .entry-content blockquote{font-size:1rem;line-height:1.72;padding:.9em 1em;margin:1.45em 0}
  .entry-content ul,.entry-content ol{padding-left:1.35em}
  .entry-content li{margin:.4em 0}
  .entry-content table{font-size:.8rem;white-space:nowrap}
  .entry-content th,.entry-content td{padding:9px 10px}
  .callout,.is-style-milesora-important,.is-style-milesora-tip,.is-style-milesora-warning,.is-style-milesora-deal,.affiliate-disclosure,.is-style-milesora-disclosure{padding:14px 15px;margin:1.35em 0;font-size:.86rem}
  .author-box{gap:13px;margin:38px 0;padding:20px 0;font-size:.84rem}
  .author-box img{width:52px;height:52px}
  .related{margin:38px 0}

  /* Comments and forms */
  .comments-area{margin-top:38px;margin-bottom:38px}
  .comment-list{padding-left:0;list-style:none}
  .comment-body{padding:16px 0;font-size:.88rem}
  .comment-form input,.comment-form textarea,.search-form input,
  input[type=text],input[type=email],input[type=url],input[type=password],input[type=search],select,textarea{
    font-size:16px!important;border-radius:9px!important;padding:11px 12px!important;max-width:100%
  }
  textarea{min-height:130px}
  .button,.wp-block-button__link,button,input[type=submit]{border-radius:8px;min-height:42px;font-size:.88rem}

  /* Common forum/plugin compatibility */
  #bbpress-forums,.bbpress-wrapper,.wpforo-wrap,#wpforo,#af-wrapper,.forum-wrap,.forum-container{font-size:.88rem;line-height:1.55}
  #bbpress-forums ul,#bbpress-forums li,.wpforo-wrap ul,.wpforo-wrap li{max-width:100%}
  #bbpress-forums .bbp-header,#bbpress-forums .bbp-footer{font-size:.74rem}
  #bbpress-forums .bbp-forum-info,#bbpress-forums .bbp-topic-title{width:auto;min-width:0}
  #bbpress-forums .bbp-forum-topic-count,#bbpress-forums .bbp-forum-reply-count,
  #bbpress-forums .bbp-topic-voice-count,#bbpress-forums .bbp-topic-reply-count{font-size:.72rem}
  .wpforo-wrap .wpf-head-bar,.wpforo-wrap .wpf-button,.wpforo-wrap .wpf-field{border-radius:8px}
  .forum-card,.topic-item,.post-item{padding:13px!important;margin-bottom:10px!important;border-radius:11px!important}

  /* Avoid horizontal overflow */
  pre,code{max-width:100%}
  pre{overflow:auto;font-size:.78rem}
  iframe,video{max-width:100%}
}

@media (max-width:380px){
  .grid-4{gap:10px}
  .category-card-v2{padding-inline:13px}
  .category-card-v2 p{font-size:.72rem}
  .post-card{grid-template-columns:96px minmax(0,1fr)}
  .hero-v2 h1{font-size:2.35rem}
}

/* ===== Compact Mobile Forum Feed v3.1.3 ===== */
@media (max-width:680px){
  /* Forum page vertical rhythm */
  body.page-template-default .forum-wrap,
  body.page-template-default .forum-container,
  body[class*="forum"] main,
  body[class*="forum"] .site-main,
  .forum-wrap,.forum-container,[class*="forum-page"],[class*="forum-shell"]{
    font-size:14px!important;
    line-height:1.5!important;
  }

  /* Compact forum intro/header */
  .forum-wrap>h1,.forum-container>h1,[class*="forum"]>h1,
  [class*="forum-header"] h1,[class*="forum-hero"] h1{
    font-size:1.55rem!important;
    line-height:1.2!important;
    margin:.15em 0 .4em!important;
    letter-spacing:-.03em!important;
  }
  [class*="forum-header"] p,[class*="forum-hero"] p,
  .forum-wrap>.description,.forum-container>.description{
    font-size:.86rem!important;
    line-height:1.5!important;
    margin:0 0 14px!important;
  }

  /* Post action button */
  .forum-wrap .button,.forum-container .button,
  [class*="forum"] a[class*="new-topic"],[class*="forum"] a[class*="post-button"],
  [class*="forum"] button[class*="post"]{
    min-height:38px!important;
    padding:8px 14px!important;
    border-radius:999px!important;
    font-size:.86rem!important;
    line-height:1.2!important;
  }

  /* Board tabs: one-row horizontal scroller, smaller pills */
  [class*="forum"] [class*="tabs"],
  [class*="forum"] [class*="filters"],
  [class*="forum"] [class*="boards"],
  .forum-tabs,.board-tabs,.topic-filters{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    margin:14px 0 16px!important;
    padding:0 0 3px!important;
  }
  [class*="forum"] [class*="tabs"]::-webkit-scrollbar,
  [class*="forum"] [class*="filters"]::-webkit-scrollbar,
  [class*="forum"] [class*="boards"]::-webkit-scrollbar{display:none}
  [class*="forum"] [class*="tab"],
  [class*="forum"] [class*="filter"],
  [class*="forum"] [class*="board-pill"],
  .forum-tabs a,.board-tabs a,.topic-filters a{
    flex:0 0 auto!important;
    min-height:34px!important;
    padding:7px 12px!important;
    border-radius:999px!important;
    font-size:.82rem!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }

  /* Each topic becomes a dense feed row */
  .topic-item,.post-item,.forum-card,
  [class*="topic-card"],[class*="topic-item"],[class*="forum-post"],[class*="forum-topic"]{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    column-gap:10px!important;
    row-gap:5px!important;
    padding:14px 0!important;
    margin:0!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
    border-top:0!important;
    border-bottom:1px solid var(--line)!important;
    box-shadow:none!important;
    background:#fff!important;
    min-height:0!important;
  }

  /* Avatar */
  .topic-item img[class*="avatar"],.post-item img[class*="avatar"],.forum-card img[class*="avatar"],
  [class*="topic-card"] img[class*="avatar"],[class*="forum-post"] img[class*="avatar"],
  .topic-item .avatar,.post-item .avatar,.forum-card .avatar{
    grid-column:1!important;
    grid-row:1 / span 3!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:50%!important;
    margin:0!important;
    object-fit:cover!important;
  }

  /* Metadata line */
  .topic-item [class*="meta"],.post-item [class*="meta"],.forum-card [class*="meta"],
  [class*="topic-card"] [class*="meta"],[class*="forum-post"] [class*="meta"],
  .topic-item .author,.post-item .author,.forum-card .author{
    grid-column:2!important;
    font-size:.72rem!important;
    line-height:1.35!important;
    color:var(--muted)!important;
    margin:0!important;
  }

  /* Topic title */
  .topic-item h2,.topic-item h3,.post-item h2,.post-item h3,.forum-card h2,.forum-card h3,
  [class*="topic-card"] h2,[class*="topic-card"] h3,[class*="forum-post"] h2,[class*="forum-post"] h3,
  [class*="topic-title"]{
    grid-column:2!important;
    font-size:1.05rem!important;
    line-height:1.32!important;
    letter-spacing:-.015em!important;
    font-weight:750!important;
    margin:0!important;
    padding:0!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .topic-item h2 a,.topic-item h3 a,.post-item h2 a,.post-item h3 a,.forum-card h2 a,.forum-card h3 a,
  [class*="topic-title"] a{text-decoration:none!important}

  /* Preview: maximum two compact lines */
  .topic-item [class*="excerpt"],.topic-item [class*="preview"],.post-item [class*="excerpt"],
  .post-item [class*="preview"],.forum-card [class*="excerpt"],.forum-card [class*="preview"],
  [class*="topic-card"] p,[class*="forum-post"] p{
    grid-column:2!important;
    font-size:.84rem!important;
    line-height:1.48!important;
    color:#475569!important;
    margin:1px 0 0!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  /* Counts/actions */
  .topic-item [class*="count"],.topic-item [class*="stats"],.post-item [class*="count"],
  .post-item [class*="stats"],.forum-card [class*="count"],.forum-card [class*="stats"],
  [class*="topic-card"] [class*="actions"],[class*="forum-post"] [class*="actions"]{
    grid-column:2!important;
    font-size:.7rem!important;
    line-height:1.3!important;
    color:var(--muted)!important;
    margin:2px 0 0!important;
  }

  /* Remove inherited oversized spacing inside feed rows */
  .topic-item>*:first-child,.post-item>*:first-child,.forum-card>*:first-child{margin-top:0!important}
  .topic-item>*:last-child,.post-item>*:last-child,.forum-card>*:last-child{margin-bottom:0!important}
  [class*="topic-card"] hr,[class*="forum-post"] hr{display:none!important}

  /* Forum list container gets a clean edge-to-edge feed */
  [class*="topic-list"],[class*="forum-list"],.topic-list,.forum-list{
    gap:0!important;
    border-top:1px solid var(--line)!important;
  }
}

@media (max-width:380px){
  .topic-item,.post-item,.forum-card,
  [class*="topic-card"],[class*="topic-item"],[class*="forum-post"],[class*="forum-topic"]{
    grid-template-columns:30px minmax(0,1fr)!important;
    column-gap:9px!important;
    padding:12px 0!important;
  }
  .topic-item img[class*="avatar"],.post-item img[class*="avatar"],.forum-card img[class*="avatar"],
  .topic-item .avatar,.post-item .avatar,.forum-card .avatar{width:30px!important;height:30px!important;min-width:30px!important}
  .topic-item h2,.topic-item h3,.post-item h2,.post-item h3,.forum-card h2,.forum-card h3,
  [class*="topic-title"]{font-size:1rem!important}
}


/* ===== v3.1.4: Mobile site search ===== */
.search-field-wrap{position:relative;display:block;flex:1;min-width:0}
.search-field-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;color:#64748b;pointer-events:none}
.search-form .search-field-wrap input{padding-left:42px}
.search-results-form{display:flex;justify-content:center;margin-top:22px}
.search-results-header .search-form{margin-inline:auto;width:min(100%,620px)}

@media(max-width:960px){
  .search-toggle{display:grid!important}
  .header-actions{gap:6px}
  .header-search{position:fixed;top:58px;left:0;right:0;padding:12px 0 14px;z-index:105;box-shadow:0 14px 30px rgba(15,23,42,.12)}
  .header-search .container{width:min(calc(100% - 24px),var(--wide))}
  .header-search .search-form{max-width:none;width:100%;gap:7px}
  .header-search .search-form input{height:44px;border-radius:10px;font-size:16px;background:#f8fafc}
  .header-search .search-submit{height:44px;padding:0 15px;border-radius:10px;white-space:nowrap;font-size:14px}
  .search-results-header{padding-top:34px;padding-bottom:22px}
  .search-results-header h1{font-size:1.65rem;line-height:1.25;letter-spacing:-.025em}
  .search-results-form{margin-top:16px}
  .search-results-form .search-form{width:100%;max-width:none}
  .search-results-form .search-form input{height:44px;font-size:16px}
  .search-results-form .search-submit{height:44px;padding:0 14px}
}

@media(max-width:380px){
  .brand-logo img{width:132px}
  .language-menu summary{padding-inline:9px}
  .language-menu summary .chevron{display:none}
  .search-toggle,.menu-toggle{width:38px;height:38px}
}

/* ===== Milesora v3.2: desktop search and live suggestions ===== */
.desktop-header-search{flex:0 1 330px;min-width:220px;margin-left:auto}
.desktop-header-search .milesora-search-shell{width:100%}
.desktop-header-search .search-form{display:flex;max-width:none;width:100%;gap:0}
.desktop-header-search .search-field-wrap{flex:1;min-width:0}
.desktop-header-search .search-form input{height:40px;border-radius:999px;padding-right:18px;background:#f8fafc;border-color:#dbe3ee;font-size:.84rem;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.desktop-header-search .search-form input:focus{outline:0;background:#fff;border-color:#b8921f;box-shadow:0 0 0 3px rgba(184,146,31,.14)}
.desktop-header-search .search-submit{display:none}
.desktop-header-search .milesora-popular-searches{display:none}
.desktop-header-search+.header-actions{flex:0 0 auto}
.desktop-header-search .search-field-icon{left:14px;width:17px;height:17px}
.milesora-search-shell{position:relative}
.milesora-search-suggestions{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:180;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 45px rgba(15,23,42,.16);padding:6px;overflow:hidden}
.milesora-search-suggestion,.milesora-search-all{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:8px;color:var(--navy);text-decoration:none}
.milesora-search-suggestion:hover,.milesora-search-suggestion:focus,.milesora-search-all:hover,.milesora-search-all:focus{background:var(--soft);outline:0}
.milesora-search-suggestion-title{font-size:.86rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.milesora-search-suggestion small{flex:0 0 auto;font-size:.68rem;color:var(--muted)}
.milesora-search-all{border-top:1px solid var(--line);border-radius:0;margin-top:3px;padding-top:11px;font-size:.78rem;font-weight:750;color:#8f741b}
.milesora-search-empty{padding:14px 11px;color:var(--muted);font-size:.8rem}
.milesora-popular-searches{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:9px;font-size:.72rem;color:var(--muted)}
.milesora-popular-searches a{padding:3px 8px;border-radius:999px;background:var(--soft);text-decoration:none;color:#475569}
.milesora-popular-searches a:hover{color:#8f741b}
.header-search .milesora-search-shell{max-width:760px;margin-left:auto}
.header-search .milesora-popular-searches{justify-content:flex-end}

@media (min-width:961px){
  .header-inner{gap:16px}
  .primary-nav{margin-left:0}
  .search-toggle{display:none!important}
}
@media (max-width:1180px) and (min-width:961px){
  .desktop-header-search{flex-basis:250px;min-width:180px}
  .menu{gap:10px}
  .menu a{font-size:.73rem}
}
@media (max-width:960px){
  .desktop-header-search{display:none}
  .header-search .milesora-popular-searches{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  .header-search .milesora-popular-searches::-webkit-scrollbar{display:none}
  .header-search .milesora-popular-searches a{white-space:nowrap}
  .milesora-search-suggestions{position:fixed;top:116px;left:12px;right:12px;max-height:min(420px,60vh);overflow:auto}
}


/* Milesora five-tier experience system */
.milesora-level-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:800;line-height:1.2;white-space:nowrap;border:1px solid transparent;vertical-align:middle}.milesora-xp-count{font-size:.76rem;color:var(--muted);margin-left:7px}.milesora-level-silver{color:#475569;background:#f1f5f9;border-color:#cbd5e1}.milesora-level-gold{color:#785b00;background:#fff8d8;border-color:#e7ca66}.milesora-level-platinum{color:#31445d;background:#edf4f8;border-color:#aebfca}.milesora-level-diamond{color:#3d4fa0;background:#eef0ff;border-color:#bbc2ff}.milesora-level-ambassador{color:#6b2b76;background:#faefff;border-color:#d9a9e4}.author-level{margin-top:5px}.milesora-level-progress{margin-top:9px;max-width:300px}.milesora-level-progress-bar{height:6px;border-radius:999px;background:#e5e7eb;overflow:hidden}.milesora-level-progress-bar span{display:block;height:100%;border-radius:inherit;background:var(--gold)}.milesora-level-progress small{display:block;margin-top:4px;color:var(--muted);font-size:.72rem}.comment-author{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.comment-author img{border-radius:50%}.comment-metadata{font-size:.75rem;color:var(--muted);margin:3px 0 10px 56px}.milesora-member-level{padding:18px;border:1px solid var(--line);border-radius:9px;background:#fff}.milesora-member-level .milesora-level-progress{max-width:none}
@media(max-width:600px){.milesora-level-badge{font-size:.67rem;padding:2px 7px}.milesora-xp-count{font-size:.7rem}.author-level .milesora-level-progress{max-width:230px}.comment-metadata{margin-left:0}}

/* ===== v3.4.0: Mobile header actions anchored to the right ===== */
.header-inner{
  width:100%;
}
.site-branding{
  min-width:0;
  flex:0 1 auto;
}
.header-actions{
  margin-left:auto;
  flex:0 0 auto;
  justify-content:flex-end;
}

@media (max-width:960px){
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }
  .primary-nav{
    margin-left:0;
  }
  .header-actions{
    margin-left:auto!important;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
  }
  .language-menu{
    margin-left:0!important;
  }
  .search-toggle,
  .menu-toggle{
    flex:0 0 auto;
  }
}

@media (max-width:680px){
  .header-inner{
    gap:8px;
  }
  .site-branding{
    margin-right:8px;
  }
  .brand-logo img{
    max-width:118px;
  }
  .header-actions{
    margin-left:auto!important;
    gap:6px;
  }
  .language-menu summary{
    max-width:128px;
    white-space:nowrap;
  }
}

@media (max-width:390px){
  .brand-logo img{
    width:108px;
  }
  .header-actions{
    gap:5px;
  }
  .language-menu summary{
    padding-inline:7px;
    font-size:.69rem;
  }
  .search-toggle,
  .menu-toggle{
    width:38px;
    height:38px;
  }
}
