/*
Theme Name: MarketRefer
Theme URI: https://www.marketrefer.com/
Author: MarketRefer
Description: Lightweight editorial theme with accessible navigation, affiliate disclosures and validated article AMP views.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: marketrefer
License: GPL-2.0-or-later
*/
:root{--ink:#173e35;--muted:#60736b;--paper:#fcfcf8;--mint:#20c997;--line:#dce6df;--soft:#edf4ed}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:17px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:4px}a:hover{color:#096b4d}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #148563;outline-offset:5px}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.wrap{width:min(1180px,88%);margin-inline:auto}.skip-link{position:absolute;left:20px;top:-100px;background:#fff;padding:12px;z-index:10}.skip-link:focus{top:10px}.site-header{border-bottom:1px solid var(--line);background:#fff}.header-inner{display:flex;gap:30px;align-items:center;justify-content:space-between;min-height:100px}.brand img{width:225px;height:auto}.desktop-nav ul,.footer-links{display:flex;gap:25px;list-style:none;padding:0;margin:0}.desktop-nav{font-size:14px;font-weight:600}.mobile-nav{display:none}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.18em;font-weight:700;color:#447363}.hero{padding:85px 0 65px;display:grid;grid-template-columns:1.45fr 1fr;gap:10%;align-items:center}.hero h1{font-size:clamp(44px,5.8vw,76px);line-height:1.06;letter-spacing:-.055em;margin:18px 0 25px;font-weight:650}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:#168663}.hero p{max-width:510px;color:var(--muted);font-size:18px}.hero-note{border-left:1px solid var(--line);padding-left:35px}.hero-note h2{font:400 29px/1.3 Georgia,serif;letter-spacing:-.02em}.hero-note p{font-size:15px}.button{display:inline-block;background:var(--ink);color:#fff;padding:12px 23px;border-radius:5px;text-decoration:none;font-size:14px;font-weight:600}.button:hover{background:#096b4d;color:#fff}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:25px 0}.section-head h2{font-size:30px;font-weight:550;letter-spacing:-.035em}.section-head p{font-size:14px;color:var(--muted)}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.post-card{min-width:0}.post-card .image-link{display:block;overflow:hidden;background:var(--soft);border-radius:10px}.post-card img,.image-placeholder{width:100%;aspect-ratio:4/3;object-fit:cover}.image-placeholder{display:flex;align-items:center;justify-content:center;color:#447363;font:italic 25px Georgia,serif}.post-card h2,.post-card h3{font-size:23px;line-height:1.3;letter-spacing:-.03em;margin:12px 0}.post-card h2 a,.post-card h3 a{text-decoration:none}.post-card p{font-size:15px;color:var(--muted);margin:12px 0}.card-category{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#447363;margin-top:20px}.card-meta{font-size:12px;color:var(--muted)}.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;margin:85px 0 55px;padding:35px 0;border-block:1px solid var(--line)}.principles h3{font-size:17px;margin:0 0 8px}.principles p{font-size:14px;color:var(--muted);margin:0}.site-footer{margin-top:70px;padding:40px 0;background:var(--soft);font-size:12px}.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:center}.footer-top img{width:170px}.footer-links{flex-wrap:wrap;gap:18px}.footer-note{margin-top:22px;color:var(--muted);max-width:850px}.article-wrap{width:min(760px,88%);margin:50px auto 0}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:25px}.article-header h1,.archive-header h1{font-size:clamp(36px,5vw,58px);line-height:1.13;letter-spacing:-.045em;margin:14px 0 24px}.byline{font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:12px}.disclosure{font-size:13px;border-left:3px solid #20c997;padding:12px 18px;background:var(--soft);margin:28px 0}.article-hero{margin:30px 0;border-radius:10px;overflow:hidden}.article-hero img{width:100%;aspect-ratio:16/10;object-fit:cover}.entry-content{overflow-wrap:anywhere}.entry-content h2{font-size:29px;line-height:1.3;letter-spacing:-.025em;margin:45px 0 16px}.entry-content h3{font-size:23px;line-height:1.4;margin-top:35px}.entry-content p,.entry-content ul,.entry-content ol{margin-bottom:24px}.entry-content li{margin-bottom:9px}.entry-content figure{margin:32px 0}.entry-content figcaption{font-size:12px;color:var(--muted)}.entry-content table{border-collapse:collapse;width:100%;font-size:14px}.entry-content td,.entry-content th{padding:12px;border:1px solid var(--line);text-align:left}.entry-content blockquote{border-left:3px solid var(--mint);margin:30px 0;padding:2px 22px;color:var(--muted)}.wp-block-table{overflow:auto}.toc{background:var(--soft);padding:18px 24px;border-radius:8px;margin:25px 0;font-size:14px}.toc summary{cursor:pointer;font-weight:650}.toc ol{padding-left:20px}.toc li{padding:5px 0}.post-navigation{margin:50px 0;border-top:1px solid var(--line);padding-top:25px;font-size:14px}.nav-links{display:flex;justify-content:space-between;gap:25px}.archive-header{padding:55px 0 30px}.pagination{margin:40px 0}.pagination .page-numbers{padding:8px 13px}.empty-state{background:var(--soft);border-radius:10px;padding:35px;margin:20px 0}.search-form{display:flex;gap:10px;max-width:550px}.search-form label{flex:1}.search-field{width:100%;border:1px solid var(--line);border-radius:4px;padding:10px;background:white;color:var(--ink)}.search-submit{border:0;border-radius:4px;padding:10px 20px;background:var(--ink);color:white}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.alignwide{max-width:100%}.aligncenter{margin-inline:auto}.wp-caption-text{font-size:12px}.sticky{border-top:3px solid var(--mint)}.bypostauthor{color:inherit}
@media(max-width:800px){.wrap{width:88%}.header-inner{min-height:82px}.brand img{width:195px}.desktop-nav{display:none}.mobile-nav{display:block;position:relative;font-size:14px}.mobile-nav summary{cursor:pointer;padding:8px}.mobile-nav ul{position:absolute;right:0;top:35px;z-index:3;list-style:none;background:white;border:1px solid var(--line);min-width:190px;padding:18px;box-shadow:0 10px 30px #173e3510}.mobile-nav li{padding:8px 0}.hero{padding:50px 0 35px;grid-template-columns:1fr;gap:25px}.hero-note{padding-left:20px}.hero h1{font-size:50px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.principles{margin-top:55px;grid-template-columns:1fr;gap:25px}.section-head{display:block}.footer-top{align-items:flex-start;flex-direction:column}.entry-content h2{font-size:26px}}@media(max-width:520px){.post-grid{grid-template-columns:1fr;gap:35px}.hero h1{font-size:45px}.article-wrap{margin-top:30px}.entry-content{font-size:16px}.article-header h1{font-size:38px}.search-form{flex-wrap:wrap}.footer-links{gap:15px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.article-summary{background:var(--soft);border-radius:8px;padding:20px 24px;margin:28px 0}.article-summary h2{font-size:17px;margin:0 0 8px}.article-summary p{font-size:16px;margin:0}

.footer-top{align-items:flex-start}.footer-links{max-width:760px;row-gap:12px}
