/* /wp-content/themes/jahangardtour/style.css */
/* FULL REPLACE */

:root{
  --font-body: "IRANSansXFaNum","IRANSansX", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "IRANSansXFaNum","IRANSansX", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bg:#f6f8fb;
  --surface:#ffffff;
  --text:#0e1726;
  --muted:#5a6a86;
  --line: rgba(14,23,38,.10);

  --accent:#1778ff;
  --accent2:#12b981;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 22px 60px rgba(16,24,40,.10);
  --shadow-sm: 0 12px 28px rgba(16,24,40,.08);

  --c-asia:#2563eb;
  --c-europe:#7c3aed;
  --c-africa:#16a34a;
  --c-america:#f59e0b;
  --c-other:#0ea5e9;

  --cat: var(--accent);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(23,120,255,.10), transparent 58%),
    radial-gradient(900px 600px at 15% 0%, rgba(18,185,129,.09), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg));
  color:var(--text);
  line-height:2.05;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--accent)}
img{max-width:100%; height:auto; display:block}
hr{border:0; border-top:1px solid var(--line); margin:28px 0}

.container{width:min(1140px, calc(100% - 28px)); margin-inline:auto}

/* header */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(246,248,251,.82);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-heading);
  font-weight:900;
  letter-spacing:-.2px;
  white-space:nowrap;
}
.brand .logo{
  width:40px; height:40px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(23,120,255,.95), rgba(23,120,255,.22));
  box-shadow: 0 14px 30px rgba(23,120,255,.18);
}
.nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  justify-content:center;
}
.nav a{
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.86);
  color: var(--muted);
  box-shadow: 0 10px 22px rgba(16,24,40,.04);
}
.nav a:hover{
  border-color: rgba(23,120,255,.30);
  background: rgba(23,120,255,.06);
  color: var(--accent);
}
.header-actions{display:flex; align-items:center; gap:10px}
.search{
  display:flex; align-items:center; gap:10px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
}
.search input{
  border:0; outline:0; background:transparent;
  color: var(--text);
  width:190px;
  font-family: var(--font-body);
}
.search button{
  border:0; background:transparent;
  color: var(--muted);
  cursor:pointer;
}
.search button:hover{color: var(--accent)}

@media (max-width: 920px){
  .header-inner{flex-wrap:wrap}
  .nav{justify-content:flex-start}
  .search input{width:160px}
}

/* layout */
.section{padding:26px 0}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.section-head h2{
  margin:0;
  font-family: var(--font-heading);
  font-weight:900;
  font-size:20px;
  letter-spacing:-.3px;
}
.section-head a{
  color: var(--muted);
  border-bottom:1px dashed rgba(14,23,38,.22);
}
.section-head a:hover{color:var(--accent); border-color: rgba(23,120,255,.45)}

.grid{display:grid; grid-template-columns:repeat(12,1fr); gap:16px}
.col-8{grid-column: span 8}
.col-4{grid-column: span 4}
@media (max-width: 920px){ .col-8,.col-4{grid-column: span 12} }

/* cards */
.card{
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card .pad{padding:18px}

/* meta chips */
.meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color: var(--muted);
  font-size:13px;
}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.95);
  border:1px solid rgba(14,23,38,.08);
  color: var(--muted);
  box-shadow: 0 10px 22px rgba(16,24,40,.04);
}
.chip b{color:var(--text); font-weight:900}
.chip.cat{
  background: rgba(23,120,255,.08);
  border-color: rgba(23,120,255,.18);
}
.chip.cat b{color: rgba(23,120,255,.95)}

/* headings */
.h-title{
  margin:10px 0 10px;
  font-family: var(--font-heading);
  font-weight:900;
  letter-spacing:-.4px;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height:1.45;
}
.h-title.sm{font-size:18px}

/* hero */
.hero{padding:30px 0 14px}
.hero-grid{display:grid; grid-template-columns:1.35fr .65fr; gap:16px}
@media (max-width: 920px){ .hero-grid{grid-template-columns:1fr} }

.featured-thumb{display:block; position:relative}
.featured-thumb::after{
  content:"";
  position:absolute; inset:auto 0 0 0;
  height:52%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.22));
}
.featured-thumb img{
  width:100%;
  height:460px;
  object-fit:cover;
  border-radius:0;
}
@media (max-width: 920px){ .featured-thumb img{height:360px} }

/* posts grid */
.post-grid{display:grid; grid-template-columns:repeat(12,1fr); gap:16px}
.post-card{
  grid-column: span 4;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  position:relative;
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (max-width: 920px){ .post-card{grid-column: span 6} }
@media (max-width: 560px){ .post-card{grid-column: span 12} }

.post-card::before{
  content:"";
  position:absolute; inset:0 0 auto 0;
  height:4px;
  background: var(--cat);
}
.post-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16,24,40,.12);
}

.post-card .thumb{
  aspect-ratio: 16/10;
  overflow:hidden;
  position:relative;
}
.post-card .thumb::after{
  content:"";
  position:absolute; inset:auto 0 0 0;
  height:56%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.28));
}
.post-card .thumb img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:0;
  transform: scale(1.01);
  transition: transform .35s ease;
}
.post-card:hover .thumb img{transform: scale(1.06)}
.post-card .body{padding:14px 14px 16px}

.post-card h3{
  margin:10px 0 8px;
  font-family: var(--font-heading);
  font-weight:900;
  font-size:16px;
  line-height:1.9;
  letter-spacing:-.2px;
}
.post-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:2.05;
}

/* archive hero */
.archive-hero{
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(23,120,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.86));
}
.archive-hero .topline{height:5px; background: var(--cat)}

/* sidebar */
.sidebar .widget{
  margin-bottom:16px;
  padding:16px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
}
.sidebar .widget-title{
  margin:0 0 10px;
  font-family: var(--font-heading);
  font-weight:900;
  font-size:15px;
  color: var(--text);
}
.sidebar ul{list-style:none; padding:0; margin:0}
.sidebar li{padding:8px 0; border-top:1px solid var(--line)}
.sidebar li:first-child{border-top:0}
.sidebar a{color:var(--muted)}
.sidebar a:hover{color:var(--accent)}

/* pagination */
.pagination{margin-top:18px}
.pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 12px;
  margin:0 6px 6px 0;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.94);
  color: var(--muted);
  box-shadow: 0 10px 22px rgba(16,24,40,.04);
}
.pagination .current{
  color: var(--text);
  border-color: rgba(23,120,255,.22);
  background: rgba(23,120,255,.10);
}

/* single */
.single-wrap{padding:26px 0 34px}
.single-title{
  margin:6px 0 12px;
  font-family: var(--font-heading);
  font-weight:900;
  letter-spacing:-.5px;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height:1.5;
}
.single-meta{color:var(--muted); display:flex; flex-wrap:wrap; gap:8px; font-size:13px}
.single-cover{margin:16px 0}
.single-cover img{border-radius: var(--radius)}
.entry-content{color:var(--text); font-size:16px; line-height:2.25}
.entry-content p{margin:0 0 14px}
.entry-content a{color:var(--accent); border-bottom:1px dashed rgba(23,120,255,.35)}
.entry-content a:hover{border-color: rgba(18,185,129,.50); color:var(--accent2)}
.entry-content h2,.entry-content h3,.entry-content h4{
  font-family: var(--font-heading);
  font-weight:900;
  line-height:1.8;
  margin:26px 0 10px;
}
.entry-content ul,.entry-content ol{padding-inline-start: 22px}
.entry-content blockquote{
  margin:18px 0;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.92);
}
.pager{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.pager a{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color:var(--muted);
}
.pager a:hover{color:var(--text); border-color: rgba(23,120,255,.25)}

/* footer */
.site-footer{
  border-top:1px solid var(--line);
  padding:24px 0;
  color: var(--muted);
  margin-top:24px;
  background: rgba(255,255,255,.70);
}

/* Gutenberg */
.wp-block-image img{border-radius: var(--radius-sm)}
.wp-block-cover{border-radius: var(--radius); overflow:hidden}

/* /wp-content/themes/jahangardtour/style.css */
/* ADD: logo image sizing */

/* /wp-content/themes/jahangardtour/style.css */
/* ADD (if missing): logo sizing */

.site-logo-img{
  width:210px;
  height:auto;
  display:block;
  border-radius:0;
}

@media (max-width: 920px){
  .site-logo-img{width:160px}
}
