.place-hero { position:relative; overflow:hidden; background:var(--brand); color:white; }
.place-hero-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.45; }
.place-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(270deg,#163e4cbb,transparent); }
.place-hero-content { position:relative; z-index:1; padding-block:46px; }
.place-hero .eyebrow { color:#d4f1e6; }
.country-identity { display:flex; align-items:center; gap:24px; }
.country-identity h1 { font-size:64px; margin:0; }
.country-identity p { text-align:start; margin:4px 0 0; letter-spacing:3px; }
.place-flag { width:90px; height:60px; object-fit:contain; border-radius:6px; background:#fff; box-shadow:0 4px 18px #0002; }
.country-content { max-width:1320px; }
.country-content [data-section-nav] { gap:4px; padding:8px; scrollbar-width:none; overscroll-behavior-x:contain; }
.country-content [data-section-nav]::-webkit-scrollbar { display:none; }
.country-content [data-section-nav] a { min-height:44px; }
@media(min-width:1024px) {
    .country-content [data-section-nav] { flex-wrap:wrap; overflow:visible; gap:4px clamp(2px,.4vw,8px); padding:8px 0; }
    .country-content [data-section-nav] a { flex:1 0 auto; justify-content:center; gap:5px; padding:8px clamp(4px,.5vw,8px); font-size:clamp(13px,1.05vw,15px); }
    .country-content [data-section-nav] a img { width:18px; height:18px; }
}
@media(min-width:1024px) and (max-width:1199px) {
    .country-content [data-section-nav] { column-gap:2px; }
    .country-content [data-section-nav] a { padding-inline:2px; gap:4px; }
    .country-content [data-section-nav] a img { width:16px; height:16px; }
}
.country-breadcrumb { display:flex; gap:10px; flex-wrap:wrap; padding-block:20px; font-size:13px; color:var(--muted); }
.country-content>section { padding-block:38px; border-bottom:1px solid var(--border); }
.country-planning { display:grid; grid-template-columns:1fr; gap:40px; align-items:start; padding-block:38px; border-bottom:1px solid var(--border); }
.country-planning:has(>:only-child) { grid-template-columns:1fr; }
.country-planning>section { min-width:0; }
.country-planning-note { color:var(--muted); font-size:14px; }
.country-reasons-login { display:inline-flex; align-items:center; min-height:44px; margin-top:12px; }
.country-reason-picker { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-block:20px; }
.country-reason-picker label { flex-basis:100%; font-weight:700; }
.country-reason-picker select { flex:1 1 240px; min-width:0; max-width:100%; }
.country-reason-picker select,.country-reason-picker button { min-height:44px; padding:10px 14px; border:1px solid #395f6c; border-radius:8px; background:white; color:#395f6c; font:inherit; }
/* Keep the native select and Peyda text without deferred native text-box metric changes. */
.country-reason-picker select { appearance:none; padding-inline-end:36px; background-image:linear-gradient(45deg,transparent 50%,#395f6c 50%),linear-gradient(135deg,#395f6c 50%,transparent 50%); background-size:5px 5px; background-position:left 14px center,left 19px center; background-repeat:no-repeat; }
.country-reason-picker select:dir(ltr) { background-position:right 19px center,right 14px center; }
@media(forced-colors:active) { .country-reason-picker select { appearance:auto; padding-inline-end:14px; background-image:none; } }
.country-reason-picker button { cursor:pointer; white-space:normal; }
.country-reason-picker button:disabled { cursor:default; background:#f5f8f7; }
.country-reason-picker :focus-visible,.country-reasons li:focus { outline:3px solid #395f6c; outline-offset:4px; }
.country-reasons-empty { padding:20px; border:1px solid var(--border); border-radius:12px; background:#f5f8f7; line-height:2; }
.country-reason-vote { grid-column:2 / -1; font-size:13px; }
.country-reason-vote form { display:flex; flex-wrap:wrap; gap:10px; }
.country-reason-vote button { min-height:44px; padding:8px 20px; border:1px solid var(--primary); border-radius:8px; color:var(--primary); background:white; cursor:pointer; }
.country-reason-vote button:hover { background:#f0f7f4; }
.country-reason-vote button:focus-visible { outline:2px solid var(--primary); outline-offset:3px; }
.country-reason-vote small { display:block; color:var(--muted); margin-top:8px; }
.country-vote-message,.country-vote-completed { display:block; border-inline-start:3px solid var(--primary); padding:10px; background:#f0f7f4; }
.country-vote-message[hidden] { display:none; }
.country-reason-panel { height:36rem; max-height:80vh; min-height:24rem; display:flex; flex-direction:column; gap:12px; padding:16px; border:1px solid var(--border); border-radius:12px; }
.country-reason-panel .country-reason-picker { margin:0; gap:8px; }
.country-reason-panel .country-planning-note,.country-reason-panel .country-vote-message { margin:0; }
.country-reason-scroll { min-height:0; flex:1; overflow-y:auto; overflow-x:hidden; scrollbar-gutter:stable; padding:4px; }
.country-reason-scroll:focus-visible,.country-reasons-more:focus-visible { outline:3px solid #395f6c; outline-offset:2px; }
.country-reason-scroll .country-reasons { margin:0; }
.country-reasons > li[hidden] { display:none; }
.country-reason-origin { display:inline-block; margin-top:6px; padding:2px 8px; border-radius:5px; background:#eef3f4; color:#395f6c; font-size:12px; font-weight:400; }
.country-reasons-more { min-height:44px; padding:8px 16px; border:1px solid #395f6c; border-radius:8px; background:white; color:#395f6c; font:inherit; cursor:pointer; align-self:center; }
@media(max-width:900px) { .country-planning { grid-template-columns:1fr; } }
.country-content h2 { font-size:30px; margin:0 0 24px; }
.country-content h3 { font-size:20px; margin:0 0 14px; }
.country-content .eyebrow { font-size:13px; color:var(--primary); margin:0 0 8px; }
.country-section-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.country-overview { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:32px; align-items:start; }
.country-overview:has(>:only-child) { grid-template-columns:1fr; }
.country-main-introduction { margin:0; max-width:82ch; }
.country-media { min-width:0; }
.country-gallery { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:240px 135px 135px; gap:10px; }
.country-gallery figure { margin:0; position:relative; min-width:0; overflow:hidden; border-radius:12px; }
.country-gallery figure:first-child { grid-column:span 2; }
.country-gallery button { display:block; width:100%; height:100%; position:relative; }
.country-gallery img { width:100%; height:100%; object-fit:cover; }
.country-gallery figcaption { position:absolute; bottom:0; inset-inline:0; padding:24px 12px 8px; background:linear-gradient(transparent,#000b); color:white; font-size:12px; pointer-events:none; }
.country-gallery figure:last-child figcaption { display:none; }
.country-gallery-more { position:absolute; inset:0; display:grid; place-content:center; background:#133c4999; color:white; font-size:16px; font-weight:700; padding:12px; }
.country-gallery--1 { grid-template-rows:340px; }
.country-gallery--2 { grid-template-rows:240px 160px; }
.country-gallery--2 figure:last-child { grid-column:span 2; }
.country-gallery--3 { grid-template-rows:240px 160px; }
.country-gallery--4 { grid-template-rows:220px 130px 130px; }
.country-gallery--4 figure:last-child { grid-column:span 2; }
.country-essentials { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); margin:28px 0 0; background:#f0f7f4; border:1px solid #dce8e1; border-radius:12px; overflow:hidden; }
.country-essentials>div { padding:18px; border-inline-end:1px solid #dce8e1; }
.country-essentials dt,.country-facts dt { font-size:12px; color:var(--muted); }
.country-essentials dd { margin:8px 0 0; font-weight:700; overflow-wrap:anywhere; }
.country-essentials a,.country-facts a,.text-link { color:var(--primary); text-decoration:underline; text-underline-offset:4px; }
.country-cities .country-section-heading { align-items:flex-start; margin-block-end:24px; gap:12px 24px; }
.country-cities .country-section-heading h2 { margin:0; }
.country-cities .country-section-heading .text-link { display:inline-flex; align-items:center; min-height:44px; }
.country-fact-groups h3 { display:flex; align-items:center; gap:10px; }
.country-reasons { display:grid; gap:12px; padding:0; counter-reset:reason; list-style:none; }
.country-reasons li { counter-increment:reason; display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:18px; align-items:center; padding:20px 24px; border:1px solid var(--border); border-radius:12px; }
.country-reasons li::before { content:counter(reason,persian); display:grid; place-content:center; width:40px; height:40px; border-radius:50%; background:#e7f4ee; color:var(--primary); font-size:20px; }
.country-reasons h3 { margin:0; }
.country-reason-statistics { display:grid; gap:6px; font-size:12px; color:var(--muted); }
.country-reason-statistics strong { color:var(--brand); font-size:19px; }
.country-fact-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; align-items:start; }
.country-fact-groups article { min-width:0; background:#f5f8f7; padding:20px; border-radius:12px; }
.country-facts { margin:0; }
.country-facts>div { padding:12px 0; border-bottom:1px solid #dce7e1; }
.country-facts>div:last-child { border:0; }
.country-facts dd { margin:6px 0 0; font-size:15px; font-weight:600; overflow-wrap:anywhere; }
.country-geography { display:grid; grid-template-columns:minmax(240px,1fr) minmax(0,2fr); gap:32px; align-items:center; }
.country-geography:has(>:only-child) { grid-template-columns:1fr; }
.country-world-location { margin:0; text-align:center; background:#f5f8f7; border-radius:12px; padding:24px; }
.country-map-image { display:block; width:100%; max-height:330px; object-fit:contain; }
.country-world-location figcaption { color:var(--muted); font-size:13px; margin-top:16px; }
.country-interactive-map { margin-top:28px; border:1px solid var(--border); border-radius:12px; padding:20px; }
.country-map-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:16px; }
.country-map-heading h3 { margin:0; }
.country-map-scales { display:flex; gap:8px; }
.country-map-scales button { padding:8px 18px; min-height:44px; border:1px solid var(--border); border-radius:8px; background:white; color:var(--brand); }
.country-map-scales button[aria-pressed=true] { background:var(--brand); color:white; }
.country-map { width:100%; height:340px; border:0; border-radius:8px; }
.country-guides { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.country-guides a { display:flex; align-items:center; gap:14px; padding:20px; background:#f0f7f4; border:1px solid #dce8e1; border-radius:12px; }
.country-guides a>span:last-child { margin-inline-start:auto; color:var(--primary); }
.country-visa { margin-top:20px; padding:22px; border-inline-start:4px solid var(--primary); background:#f8faf7; }
.country-visa-types { display:flex; flex-wrap:wrap; gap:12px 32px; padding-inline-start:20px; margin-bottom:0; }
.country-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.country-cards article { min-width:0; border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.country-cards img { width:100%; height:215px; object-fit:cover; }
.country-cards article>div { padding:20px; }
.country-cards h3 { font-size:20px; }
.country-cards p { line-height:1.9; font-size:14px; color:var(--muted); }
.country-cards time { font-size:12px; color:var(--muted); }
.country-editorial { max-width:84ch; margin-inline:auto; }
@media(min-width:1200px) {
    .country-editorial { max-width:min(70rem,92%); }
    .country-editorial .rich-content { max-width:none; }
}
.country-text-section { padding-block:24px; border-bottom:1px solid var(--border); }
.country-text-section h3 { font-size:24px; }
.country-table-wrap { overflow-x:auto; }
.country-rate-table { border-collapse:collapse; width:100%; text-align:start; }
.country-rate-table th,.country-rate-table td { padding:14px; border-bottom:1px solid var(--border); text-align:start; }
.country-rate-table caption { text-align:start; padding-bottom:14px; color:var(--muted); }
.country-rate-table thead { background:#f0f7f4; }
@media(max-width:1100px) {
    .country-fact-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .country-essentials { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:800px) {
    .country-overview,.country-geography { grid-template-columns:1fr; }
    .country-guides,.country-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .country-gallery { grid-template-columns:2fr 1fr 1fr; grid-template-rows:160px 160px; }
    .country-gallery figure:first-child { grid-column:auto; grid-row:span 2; }
    .country-gallery--1,.country-gallery--2 { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:280px; }
    .country-gallery--1 figure:first-child { grid-column:span 2; grid-row:auto; }
    .country-gallery--2 figure:first-child,.country-gallery--2 figure:last-child { grid-column:auto; grid-row:auto; }
    .country-gallery--3 { grid-template-columns:2fr 1fr; }
    .country-gallery--4 figure:last-child { grid-column:span 2; }
}
@media(max-width:600px) {
    .place-hero-content { padding-block:30px; }
    .country-identity h1 { font-size:44px; }
    .country-identity { gap:16px; }
    .place-flag { width:72px; height:48px; }
    .country-content>section { padding-block:28px; }
    .country-content h2 { font-size:25px; }
    .country-essentials { grid-template-columns:1fr 1fr; }
    .country-essentials>div { padding:14px; }
    .country-fact-groups,.country-guides,.country-cards { grid-template-columns:1fr; }
    .country-gallery { grid-template-columns:1fr 1fr; grid-template-rows:220px 125px 125px; }
    .country-gallery figure:first-child { grid-column:span 2; grid-row:auto; }
    .country-gallery--1 { grid-template-rows:260px; }
    .country-gallery--2 { grid-template-rows:220px 160px; }
    .country-gallery--2 figure:first-child,.country-gallery--2 figure:last-child { grid-column:span 2; }
    .country-gallery--3 { grid-template-rows:220px 140px; }
    .country-gallery--4 { grid-template-rows:220px 125px 125px; }
    .country-reasons li { grid-template-columns:36px 1fr; padding:16px; gap:12px; }
    .country-reason-statistics { grid-column:2; }
    .country-reasons h3 { font-size:19px; }
    .country-map { height:290px; }
    .country-interactive-map { padding:14px; }
    .country-rate-table th,.country-rate-table td { padding:10px; font-size:13px; }
}
/* اندازه عنوان در عرض باریک، جابه‌جایی آزموده‌شده هنگام بارگیری قلم را کاهش می‌دهد. */
/* Reduce the measured narrow-title reflow during font loading. */
@media(max-width:359px) {
    .country-identity h1 { font-size:32px; }
}

.country-reasons-expand summary{cursor:pointer;min-height:44px;padding:12px 16px;border:1px solid #395f6c;border-radius:8px;color:#395f6c;font-weight:700}
.country-reasons-expand summary:focus-visible{outline:3px solid #395f6c;outline-offset:4px}
.country-reasons-expand .country-reasons{counter-reset:reason 5}
.country-reasons li{overflow-wrap:anywhere;min-width:0}
.country-seasons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-block:24px}
.country-season{min-width:0;display:grid;grid-template-rows:auto 1fr}
.country-season h3{color:#395f6c;font-size:20px}
.country-season h3 span{font-size:13px;font-weight:400}
.country-season-months{display:grid;grid-auto-rows:1fr;gap:10px;padding:0;list-style:none;margin:0}
.country-month{padding:16px;border:1px solid #d9dfe2;border-radius:10px;background:#f5f7f8;color:#42535c;min-width:0}
.country-month>div{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.country-month strong{font-size:18px}
.country-month small{display:block;width:fit-content;margin-block:5px;font-size:13px}
.country-month-state{display:block;font-size:12px;line-height:1.8}
.country-month-recommended{background:#eef7f0;border-color:#82af8b;color:#245331}
.country-month-adjacent{background:#fff8e9;border-color:#d0ae68;color:#735111}
.country-month-now{border:1px solid currentColor;border-radius:5px;padding:1px 7px;font-size:12px;font-weight:700}
.country-month[aria-current=date]{outline:2px solid #395f6c;outline-offset:2px}
.country-current-message{border-inline-start:3px solid #395f6c;padding:12px 16px;background:#f1f6f7;color:#395f6c}
.country-month-legend{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin-block:20px;font-size:13px;color:#42535c}
/* ردیف‌های ماه بین فصل‌ها مشترک‌اند؛ یادداشت بلند بدون برش اندازهٔ ردیف را افزایش می‌دهد. */
/* Share month rows across seasons, allowing longer notes to grow every row without clipping. */
@media(min-width:768px){
    .country-seasons{grid-template-rows:auto repeat(3,minmax(0,1fr));row-gap:10px}
    .country-season{grid-row:span 4;grid-template-rows:subgrid}
    .country-season-months{grid-row:span 3;grid-template-rows:subgrid}
}
@media(max-width:767px){.country-seasons{grid-template-columns:1fr;grid-auto-rows:1fr;gap:24px}.country-season-months{grid-template-columns:1fr}.country-month-legend{display:grid}.country-reasons li{grid-template-columns:36px minmax(0,1fr)}.country-reason-statistics{grid-column:2 / -1}}

.country-month-notes { list-style:none; padding:0; margin:12px 0 0; border-block-start:1px solid currentColor; font-size:13px; line-height:1.9; }
.country-month-notes li { padding-block-start:10px; overflow-wrap:anywhere; }
.country-fact-groups > .country-airport-panel { grid-column:1 / -1; min-width:0; border:1px solid var(--border); border-radius:14px; padding:20px; background:#f5f8f7; }
.country-airport-scroll { max-height:22rem; overflow-y:auto; overflow-x:hidden; scrollbar-gutter:stable; border-radius:8px; }
.country-airport-scroll:focus-visible { outline:3px solid #395f6c; outline-offset:4px; }
.country-airport-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; list-style:none; margin:0; padding:4px; }
.country-airport-list li { min-width:0; padding:12px; border:1px solid var(--border); border-radius:8px; background:white; line-height:1.9; overflow-wrap:anywhere; unicode-bidi:plaintext; }
@media(max-width:1023px) { .country-airport-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .country-airport-list { grid-template-columns:minmax(0,1fr); } }
.country-month-notes span { display:block; }
.country-month-notes .curated-fact-note,.country-travel-month-list .curated-fact-note { white-space:pre-line; margin-block:6px 0; }
.country-travel-month-list { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:16px; }
.country-travel-month-list li { padding:18px; border:1px solid var(--border); border-radius:10px; background:#f5f8f7; line-height:1.9; overflow-wrap:anywhere; }
