.switch-home { margin-top: -1rem; }
    .home-hero { border-radius: 28px; overflow: hidden; background: linear-gradient(135deg,#07111f,#123c5a 55%,#0f766e); color:#fff; box-shadow:0 18px 50px rgba(15,23,42,.18); }
    .home-slide { min-height: 380px; position:relative; display:flex; align-items:center; }
    .home-slide::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(2,6,23,.92),rgba(2,6,23,.38),rgba(2,6,23,.08)); }
    .slide-content { position:relative; z-index:2; max-width:760px; padding:58px; }
    .home-pill { display:inline-flex; align-items:center; gap:.4rem; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); backdrop-filter:blur(8px); padding:.5rem 1rem; border-radius:999px; }
    .home-card { border:0; border-radius:22px; box-shadow:0 10px 35px rgba(15,23,42,.08); height:100%; overflow:hidden; }
    .home-card-img { height:190px; object-fit:cover; background:linear-gradient(135deg,#e2e8f0,#cbd5e1); }
    .section-title { font-weight:900; }
    .section-subtitle { color:#64748b; }
    .calendar-box { border-radius:22px; background:linear-gradient(135deg,#ecfeff,#f8fafc); border:1px solid #cffafe; }
    .calendar-time { font-variant-numeric:tabular-nums; direction:ltr; display:inline-block; }
    .occasion-item { border-radius:16px; background:#fff; border:1px solid #e2e8f0; padding:14px 16px; }
    .occasion-holiday { border-color:#fecaca; background:#fff7f7; }
    .property-meta { font-size:.82rem; color:#64748b; }
    .price { font-weight:900; }
    .carousel-indicators [data-bs-target] { width:9px; height:9px; border-radius:50%; }
    @media(max-width:767px){ .home-slide{min-height:460px}.slide-content{padding:34px 24px}.home-slide h1{font-size:2rem} }

/* کارود - Hero صفحه اصلی */
.switch-master-key{position:relative;overflow:hidden;border-radius:32px;min-height:690px;padding:34px;background:radial-gradient(circle at 25% 45%,rgba(245,158,11,.12),transparent 30%),linear-gradient(135deg,#03191c 0%,#063d3d 52%,#062a2e 100%);box-shadow:0 24px 70px rgba(2,20,22,.25);color:#fff;isolation:isolate}
.switch-master-key:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,12,15,.94) 0%,rgba(2,28,30,.74) 44%,rgba(2,15,18,.16) 100%);z-index:-1}
.switch-master-key:after{content:"";position:absolute;left:-10%;right:-10%;bottom:112px;height:2px;background:linear-gradient(90deg,transparent,#f59e0b,#fde68a,#f59e0b,transparent);box-shadow:0 0 30px #f59e0b;opacity:.7;z-index:1}
.master-key-content{position:relative;z-index:3;display:grid;grid-template-columns:1fr 1.15fr;align-items:center;min-height:535px;max-width:1280px;margin:0 auto}
.master-key-copy{padding:35px 20px 35px 55px;text-align:right;direction:rtl}
.master-key-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 17px;border:1px solid rgba(245,158,11,.45);background:rgba(245,158,11,.09);color:#ffd166;border-radius:999px;font-weight:800;box-shadow:0 0 24px rgba(245,158,11,.12)}
.master-key-copy h1{font-size:clamp(3rem,6vw,6rem);line-height:.98;font-weight:900;letter-spacing:-2px;margin:24px 0 14px;text-shadow:0 6px 30px rgba(0,0,0,.35)}
.master-key-copy h1 strong{color:#ffbd32;text-shadow:0 0 30px rgba(245,158,11,.4)}
.master-key-copy p{font-size:1.25rem;color:#d8eeee;margin-bottom:24px}
.master-key-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start}
.master-key-btn{display:inline-flex;align-items:center;gap:9px;padding:12px 20px;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#fff;text-decoration:none;background:rgba(255,255,255,.07);backdrop-filter:blur(10px);font-weight:800;transition:.25s}
.master-key-btn:hover{transform:translateY(-3px);color:#fff;border-color:#f59e0b;box-shadow:0 10px 30px rgba(245,158,11,.2)}
.master-key-btn-primary{background:linear-gradient(135deg,#f59e0b,#d97706);border-color:#ffc857;color:#151515;box-shadow:0 8px 25px rgba(245,158,11,.25)}
.master-key-btn-primary:hover{color:#111;box-shadow:0 12px 35px rgba(245,158,11,.4)}
.master-key-links{display:flex;gap:20px;margin-top:22px;flex-wrap:wrap}.master-key-links a{color:#d4eeee;text-decoration:none;font-weight:700}.master-key-links a:hover{color:#ffb72b}
.master-key-art{position:relative;height:530px;display:flex;align-items:center;justify-content:center;overflow:visible}
.master-key-image{position:relative;z-index:4;width:min(650px,100%);height:560px;object-fit:cover;object-position:center 43%;border-radius:34px;mix-blend-mode:screen;filter:saturate(1.15) contrast(1.06) drop-shadow(0 0 28px rgba(245,158,11,.22));animation:keyFloat 4.5s ease-in-out infinite}
.master-key-platform{position:absolute;z-index:2;bottom:22px;width:310px;height:55px;border-radius:50%;background:radial-gradient(ellipse,#ffb300 0%,rgba(245,158,11,.35) 32%,transparent 70%);box-shadow:0 0 55px rgba(245,158,11,.55);animation:platformPulse 2.1s ease-in-out infinite}
.master-key-fire{position:absolute;z-index:3;border-radius:50%;filter:blur(10px);background:radial-gradient(circle,rgba(255,196,54,.95),rgba(255,101,0,.55) 42%,transparent 72%);mix-blend-mode:screen;animation:firePulse 1.15s ease-in-out infinite alternate}
.fire-a{width:230px;height:230px;top:70px;left:42%;transform:rotate(18deg)}.fire-b{width:160px;height:280px;top:110px;left:34%;animation-delay:.25s}.fire-c{width:190px;height:190px;top:145px;right:13%;animation-delay:.5s}
.master-key-spark{position:absolute;z-index:5;width:6px;height:18px;border-radius:999px;background:#ffd166;box-shadow:0 0 12px #ff9f00;opacity:0;animation:sparkFly 2.4s linear infinite}.spark-1{left:36%;top:28%;animation-delay:.2s}.spark-2{left:57%;top:19%;animation-delay:.8s}.spark-3{left:68%;top:39%;animation-delay:1.4s}.spark-4{left:30%;top:52%;animation-delay:1.8s}.spark-5{left:76%;top:54%;animation-delay:2s}.spark-6{left:47%;top:11%;animation-delay:1.1s}
.master-key-services{position:relative;z-index:6;display:grid;grid-template-columns:repeat(5,1fr);gap:14px;max-width:1280px;margin:0 auto}.master-key-services a{min-height:94px;padding:15px 17px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(3,27,29,.78);backdrop-filter:blur(14px);color:#fff;text-decoration:none;display:grid;grid-template-columns:48px 1fr;grid-template-rows:1fr 1fr;column-gap:10px;align-items:center;transition:.25s}.master-key-services a:hover{transform:translateY(-5px);border-color:#f59e0b;box-shadow:0 14px 30px rgba(245,158,11,.18)}.master-key-services span{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#0f766e,#14b8a6);font-size:1.3rem}.master-key-services b{font-size:1rem}.master-key-services small{color:#a9c9c8}
@keyframes keyFloat{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-12px) rotate(.4deg)}}
@keyframes platformPulse{0%,100%{transform:scale(.92);opacity:.7}50%{transform:scale(1.08);opacity:1}}
@keyframes firePulse{0%{transform:scale(.9) translateY(8px);opacity:.45}100%{transform:scale(1.15) translateY(-8px);opacity:.9}}
@keyframes sparkFly{0%{transform:translate(0,20px) rotate(20deg) scale(.4);opacity:0}20%{opacity:1}100%{transform:translate(30px,-100px) rotate(70deg) scale(1);opacity:0}}
@media(max-width:991px){.switch-master-key{min-height:0;padding:20px}.master-key-content{grid-template-columns:1fr;min-height:0}.master-key-copy{padding:30px 15px 0;text-align:center}.master-key-actions,.master-key-links{justify-content:center}.master-key-art{height:390px;order:-1}.master-key-image{height:430px;width:520px}.master-key-services{grid-template-columns:repeat(2,1fr)}.master-key-services a:last-child{grid-column:1/-1}}
@media(max-width:575px){.switch-master-key{border-radius:22px;padding:12px}.master-key-copy h1{font-size:3.25rem}.master-key-copy p{font-size:1rem}.master-key-art{height:310px}.master-key-image{height:345px}.master-key-services{grid-template-columns:1fr}.master-key-services a:last-child{grid-column:auto}.master-key-services a{min-height:82px}}

/* تصاویر ثبت‌شده در پنل مدیریت؛ بدون carousel و جایگزین کلید در ناحیه تصویری */
.admin-media-showcase{height:530px;overflow:visible}
.admin-media-collage{position:relative;width:min(650px,100%);height:500px;margin:auto;display:flex;align-items:center;justify-content:center}
.admin-media-frame{position:absolute;overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:28px;background:#062b2d;box-shadow:0 22px 55px rgba(0,0,0,.35);transition:transform .35s ease,box-shadow .35s ease}
.admin-media-frame img{display:block;width:100%;height:100%;object-fit:cover}
.admin-media-frame span{position:absolute;right:16px;bottom:14px;left:16px;padding:9px 12px;border-radius:14px;background:rgba(2,18,20,.72);backdrop-filter:blur(8px);color:#fff;font-weight:800;text-align:right;direction:rtl}
.admin-media-frame-0{width:72%;height:76%;right:10%;top:8%;z-index:3;transform:rotate(0deg)}
.admin-media-frame-1{width:39%;height:48%;left:0;bottom:4%;z-index:2;transform:rotate(-6deg)}
.admin-media-frame-2{width:37%;height:44%;right:0;bottom:1%;z-index:1;transform:rotate(6deg)}
.admin-media-frame:hover{transform:translateY(-8px) rotate(0deg) scale(1.02);z-index:8;box-shadow:0 30px 70px rgba(245,158,11,.22)}
@media(max-width:991px){.admin-media-showcase{height:390px}.admin-media-collage{height:370px;width:min(560px,100%)}.admin-media-frame-0{width:70%;height:72%;right:15%;top:5%}.admin-media-frame-1{width:40%;height:45%;left:2%;bottom:3%}.admin-media-frame-2{width:38%;height:42%;right:2%;bottom:1%}}
@media(max-width:575px){.admin-media-showcase{height:300px}.admin-media-collage{height:285px}.admin-media-frame{border-radius:18px}.admin-media-frame-0{width:74%;height:76%;right:13%}.admin-media-frame-1{width:43%;height:43%;left:0}.admin-media-frame-2{width:41%;height:40%;right:0}.admin-media-frame span{font-size:.72rem;padding:6px 8px;right:8px;left:8px;bottom:8px}}


/* کارود – اسلاید اول برند: تصویر ثابت، فقط آتش و انعکاس نور روی آب متحرک */
.seven-bridge-slide{position:relative;min-height:690px;overflow:hidden;background:#07151d;isolation:isolate}
.seven-bridge-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block;z-index:0}
.seven-bridge-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,10,16,.05),transparent 42%,rgba(2,8,14,.08));z-index:1;pointer-events:none}
.seven-bridge-flame-glow{position:absolute;z-index:2;left:0;top:3%;width:43%;height:78%;pointer-events:none;background:radial-gradient(ellipse at 35% 58%,rgba(255,119,0,.30) 0%,rgba(255,76,0,.14) 28%,transparent 65%);filter:blur(18px);mix-blend-mode:screen;animation:sevenFlameGlow 1.05s ease-in-out infinite alternate}
.seven-bridge-water-shimmer{position:absolute;z-index:2;left:0;right:0;bottom:0;height:39%;pointer-events:none;background:linear-gradient(100deg,transparent 0%,rgba(255,116,0,.02) 18%,rgba(255,176,42,.22) 34%,rgba(255,211,91,.08) 48%,rgba(255,116,0,.20) 63%,transparent 82%);background-size:210% 100%;mix-blend-mode:screen;opacity:.78;animation:sevenWaterShimmer 3.4s linear infinite}
.seven-bridge-embers{position:absolute;z-index:3;inset:0;pointer-events:none;overflow:hidden}
.seven-bridge-embers i{position:absolute;width:4px;height:9px;border-radius:999px;background:#ffd166;box-shadow:0 0 12px #ff8a00;opacity:0;animation:sevenEmber 2.7s linear infinite}
.seven-bridge-embers i:nth-child(1){left:10%;bottom:34%;animation-delay:.1s}.seven-bridge-embers i:nth-child(2){left:18%;bottom:48%;animation-delay:.8s}.seven-bridge-embers i:nth-child(3){left:24%;bottom:30%;animation-delay:1.5s}.seven-bridge-embers i:nth-child(4){left:29%;bottom:57%;animation-delay:2.1s}.seven-bridge-embers i:nth-child(5){left:35%;bottom:39%;animation-delay:1.2s}.seven-bridge-embers i:nth-child(6){left:15%;bottom:65%;animation-delay:2.4s}.seven-bridge-embers i:nth-child(7){left:41%;bottom:44%;animation-delay:1.8s}.seven-bridge-embers i:nth-child(8){left:7%;bottom:52%;animation-delay:.55s}
.seven-bridge-hotspots{position:absolute;z-index:6;inset:0;pointer-events:none;}
.seven-bridge-hotspot{position:absolute;display:block;pointer-events:auto;border-radius:50%;text-decoration:none;outline:none;background:transparent;transition:transform .18s ease,background .18s ease,box-shadow .18s ease;}
.seven-bridge-hotspot span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.seven-bridge-hotspot:hover{background:rgba(255,255,255,.08);box-shadow:0 0 0 3px rgba(255,255,255,.18),0 0 22px rgba(255,193,7,.25);transform:scale(1.05);}
.seven-bridge-hotspot:focus-visible{background:rgba(255,255,255,.12);box-shadow:0 0 0 4px rgba(255,255,255,.9),0 0 24px rgba(255,193,7,.45);}
/* مختصات دکمه‌های داخل تصویر 1664×936؛ فقط برای نسخه وب */
.hotspot-store{left:12.5%;top:67.2%;width:13%;height:14%;aspect-ratio:auto;}
.hotspot-city{left:27.2%;top:67.2%;width:13%;height:14%;aspect-ratio:auto;}
.hotspot-villa{left:42.4%;top:67.2%;width:13%;height:14%;aspect-ratio:auto;}
.hotspot-car{left:58.0%;top:67.2%;width:13%;height:14%;aspect-ratio:auto;}
.hotspot-property{left:73.5%;top:67.2%;width:13%;height:14%;aspect-ratio:auto;}

@keyframes sevenFlameGlow{0%{opacity:.55;transform:scale(.98) translate3d(0,2px,0)}100%{opacity:.95;transform:scale(1.04) translate3d(5px,-3px,0)}}
@keyframes sevenWaterShimmer{0%{background-position:115% 0;transform:translateX(-1%);opacity:.42}50%{opacity:.85}100%{background-position:-15% 0;transform:translateX(1%);opacity:.50}}
@keyframes sevenEmber{0%{opacity:0;transform:translate3d(0,16px,0) scale(.7) rotate(0deg)}18%{opacity:.9}100%{opacity:0;transform:translate3d(24px,-150px,0) scale(1.1) rotate(20deg)}}
@media(max-width:991px){.seven-bridge-hotspots{display:none!important}.seven-bridge-slide{min-height:560px}.seven-bridge-image{object-position:center center}.seven-bridge-flame-glow{width:52%;height:72%}}
@media(max-width:575px){
 .seven-bridge-slide{min-height:520px;background:#07151d;overflow:hidden}
 .seven-bridge-slide:before{content:"";position:absolute;inset:-18px;background-image:url('/images/karood-hero-sunset.png?v=20261004');background-size:cover;background-position:center;filter:blur(16px);transform:scale(1.08);opacity:.72;z-index:-1}
 .seven-bridge-image{object-fit:contain!important;object-position:center center!important;background:transparent!important}
 .seven-bridge-hotspots{display:block!important;z-index:8}
 .seven-bridge-hotspot{border-radius:18px}
 .seven-bridge-hotspot span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .seven-bridge-hotspot:hover{background:rgba(255,255,255,.08)}
 .seven-bridge-hotspot:focus-visible{background:rgba(255,255,255,.12)}
 .hotspot-store{left:12.5%;top:67.2%;width:13%;height:14%;aspect-ratio:auto}
 .hotspot-city{left:27.2%;top:67.2%;width:13%;height:14%;aspect-ratio:auto}
 .hotspot-villa{left:42.4%;top:67.2%;width:13%;height:14%;aspect-ratio:auto}
 .hotspot-car{left:58.0%;top:67.2%;width:13%;height:14%;aspect-ratio:auto}
 .hotspot-property{left:73.5%;top:67.2%;width:13%;height:14%;aspect-ratio:auto}
 .seven-bridge-flame-glow{width:68%;height:68%}
 .seven-bridge-water-shimmer{height:34%;opacity:.7}
 .seven-bridge-embers i{width:3px;height:7px}
}

/* Hero اسلایدی جدید: کارود ثابت + حداکثر ۷ اسلاید محتوایی، تغییر هر ۵ ثانیه */
.switch-hero-carousel{padding:0;min-height:0;background:transparent;box-shadow:none;overflow:visible}
.switch-hero-inner{border-radius:32px;overflow:hidden;box-shadow:0 24px 70px rgba(2,20,22,.25)}
.switch-hero-carousel .carousel-item{min-height:690px}
.switch-master-key-slide{position:relative;min-height:690px;padding:34px;background:radial-gradient(circle at 25% 45%,rgba(245,158,11,.12),transparent 30%),linear-gradient(135deg,#03191c 0%,#063d3d 52%,#062a2e 100%);color:#fff;isolation:isolate}
.switch-master-key-slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,12,15,.94) 0%,rgba(2,28,30,.74) 44%,rgba(2,15,18,.16) 100%);z-index:0}
.switch-master-key-slide:after{content:"";position:absolute;left:-10%;right:-10%;bottom:112px;height:2px;background:linear-gradient(90deg,transparent,#f59e0b,#fde68a,#f59e0b,transparent);box-shadow:0 0 30px #f59e0b;opacity:.7;z-index:1}
.switch-master-key-slide .master-key-content{position:relative;z-index:3}
.switch-content-slide{position:relative;min-height:690px;display:flex;align-items:center;color:#fff}
.switch-content-slide-overlay{position:absolute;inset:0;background:radial-gradient(circle at 75% 35%,rgba(20,184,166,.18),transparent 28%);z-index:0}
.switch-content-slide-content{position:relative;z-index:2;width:min(760px,88%);margin-right:auto;margin-left:auto;padding:60px;direction:rtl;text-align:right}
.switch-content-slide-content h2{text-shadow:0 8px 35px rgba(0,0,0,.35)}
.switch-content-slide-content .lead{max-width:650px}
.switch-hero-carousel .carousel-control-prev,.switch-hero-carousel .carousel-control-next{z-index:7;width:8%;opacity:1}
.switch-hero-carousel .carousel-control-prev-icon,.switch-hero-carousel .carousel-control-next-icon{width:42px;height:42px;border-radius:50%;background-color:rgba(255,255,255,.86);background-size:55%;background-repeat:no-repeat;background-position:center;box-shadow:0 3px 12px rgba(0,0,0,.45)}
.switch-hero-carousel .carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23111827' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E")}
.switch-hero-carousel .carousel-control-next-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23111827' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E")}

@media(max-width:991px){
 .switch-hero-carousel .carousel-item,.switch-master-key-slide,.switch-content-slide{min-height:560px}
 .switch-master-key-slide{padding:20px}
 .switch-content-slide-content{padding:38px 28px;width:92%}
}
@media(max-width:575px){
 .switch-hero-inner{border-radius:22px;overflow:hidden}
 .switch-hero-carousel .carousel-item,.switch-master-key-slide,.switch-content-slide{min-height:520px;max-width:100%;overflow:hidden}
 .switch-master-key-slide{padding:12px}
 .switch-master-key-slide:after{bottom:86px;left:0;right:0}
 .switch-master-key-slide .master-key-content{display:flex;flex-direction:column;align-items:stretch;min-height:496px;width:100%;max-width:100%;gap:4px}
 .switch-master-key-slide .master-key-art{order:-1;height:245px;width:100%;max-width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center}
 .switch-master-key-slide .master-key-image{width:min(92vw,340px);max-width:100%;height:270px;object-fit:contain;object-position:center;mix-blend-mode:normal;filter:saturate(1.06) contrast(1.02) drop-shadow(0 0 18px rgba(245,158,11,.18));}
 .switch-master-key-slide .master-key-fire{transform:scale(.72);opacity:.55}
 .switch-master-key-slide .master-key-platform{width:220px;height:34px;bottom:7px}
 .switch-master-key-slide .master-key-copy{padding:8px 8px 20px;text-align:center;width:100%;max-width:100%;overflow-wrap:anywhere}
 .switch-master-key-slide .master-key-badge{font-size:.78rem;padding:7px 11px;max-width:100%}
 .switch-master-key-slide .master-key-copy h1{font-size:clamp(2.15rem,10vw,2.8rem);line-height:1.04;letter-spacing:-.5px;margin:13px 0 10px}
 .switch-master-key-slide .master-key-copy p{font-size:.94rem;line-height:1.7;margin-bottom:14px}
 .switch-master-key-slide .master-key-actions,.switch-master-key-slide .master-key-links{justify-content:center;gap:8px}
 .switch-master-key-slide .master-key-btn{padding:9px 14px;font-size:.82rem}
 .switch-master-key-slide .master-key-links{margin-top:12px;font-size:.82rem}
 .switch-content-slide-content{padding:30px 22px;width:94%;max-width:100%;overflow-wrap:anywhere}
 .switch-content-slide-content h2{font-size:2rem}
 .switch-hero-carousel .carousel-control-prev,.switch-hero-carousel .carousel-control-next{width:14%}
 .switch-hero-carousel .carousel-control-prev-icon,.switch-hero-carousel .carousel-control-next-icon{width:38px;height:38px}
}
.switch-hero-carousel:before,.switch-hero-carousel:after{display:none!important}
.switch-hero-carousel .master-key-services{margin-top:14px}

.hoshizeh-slide-pill{display:inline-flex;align-items:center;gap:8px}.hoshizeh-mini-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#0f766e;box-shadow:0 4px 14px rgba(15,118,110,.25)}.hoshizeh-mini-avatar svg{width:34px;height:34px}
@media(max-width:575px){.hoshizeh-slide-pill{font-size:.78rem;padding:6px 10px}.hoshizeh-mini-avatar{width:30px;height:30px}.hoshizeh-mini-avatar svg{width:30px;height:30px}}

/* اصلاح نمایش اسلاید اول کارود در موبایل: تصویر پل کامل دیده شود و برش نخورد */
@media(max-width:575px){
 /* همه اسلایدرهای صفحه اصلی در موبایل دقیقاً هم‌اندازه اسلاید اول */
 .switch-hero-inner .carousel-item{
   min-height:0;
   height:auto;
   width:100%;
   aspect-ratio:1672 / 941;
   overflow:hidden;
 }
 .switch-hero-inner .carousel-item .seven-bridge-slide,
 .switch-hero-inner .carousel-item .switch-master-key-slide,
 .switch-hero-inner .carousel-item .switch-content-slide{
   min-height:0;
   width:100%;
   height:100%;
   overflow:hidden;
 }
 .switch-hero-inner .carousel-item:first-child .seven-bridge-slide{
   background:#07151d;
 }
 .switch-hero-inner .carousel-item .seven-bridge-image{
   width:100%;
   height:100%;
   object-fit:contain;
   object-position:center;
 }
 .switch-hero-inner .carousel-item:first-child .seven-bridge-flame-glow{height:70%;width:65%}
 .switch-hero-inner .carousel-item:first-child .seven-bridge-water-shimmer{height:32%}
 .switch-hero-inner .carousel-item .switch-master-key-slide{
   padding:12px;
 }
 .switch-hero-inner .carousel-item .switch-master-key-slide .master-key-content{
   min-height:100%;
 }
 .switch-hero-inner .carousel-item .switch-content-slide-content{
   max-height:100%;
   overflow-y:auto;
 }
}

/* Mobile slider hard-lock: every hero slide must exactly match the first 7-pel slide */
@media (max-width: 575px) {
    .switch-hero-inner {
        width: 100%;
        height: calc(100vw * 941 / 1672);
        aspect-ratio: 1672 / 941;
        overflow: hidden !important;
    }

    .switch-hero-inner .carousel-item,
    .switch-hero-inner .carousel-item.active,
    .switch-hero-inner .carousel-item-next,
    .switch-hero-inner .carousel-item-prev {
        width: 100%;
        height: calc(100vw * 941 / 1672) !important;
        min-height: 0 !important;
        max-height: calc(100vw * 941 / 1672) !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }

    .switch-hero-inner .carousel-item > .seven-bridge-slide,
    .switch-hero-inner .carousel-item > .switch-master-key-slide,
    .switch-hero-inner .carousel-item > .switch-content-slide {
        width: 100%;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }

    .switch-hero-inner .carousel-item .switch-content-slide-content {
        max-height: 100% !important;
        height: auto;
        overflow: hidden !important;
        box-sizing: border-box;
    }
}

/* شماره‌بندی اسلایدر اصلی: دقیقاً زیر تصاویر و در مرکز */
.switch-hero-number-indicators{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    width:100%;
    margin:10px auto 0;
    direction:ltr;
    position:relative;
    z-index:8;
}
.switch-hero-number-indicator{
    appearance:none;
    border:1px solid rgba(15,118,110,.28);
    background:rgba(255,255,255,.94);
    color:#334155;
    width:30px;
    height:30px;
    min-width:30px;
    padding:0;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:.82rem;
    font-weight:800;
    line-height:1;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(15,23,42,.12);
    transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.switch-hero-number-indicator:hover,
.switch-hero-number-indicator:focus-visible,
.switch-hero-number-indicator.active{
    background:#f59e0b;
    border-color:#f59e0b;
    color:#fff;
    box-shadow:0 3px 10px rgba(245,158,11,.3);
}
.switch-hero-number-indicator:hover{transform:translateY(-1px)}
.switch-hero-number-indicator:focus-visible{outline:2px solid #f59e0b;outline-offset:2px}
@media(max-width:575px){
    .switch-hero-number-indicators{gap:6px;margin-top:8px}
    .switch-hero-number-indicator{width:27px;height:27px;min-width:27px;font-size:.75rem}
}

/* تقویم امروز و دمای کوچک اهواز */
.ahvaz-weather-mini{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid rgba(15,118,110,.12);background:rgba(248,250,252,.9);border-radius:14px;direction:rtl}
.ahvaz-weather-icon{font-size:1.05rem;line-height:1}
.ahvaz-weather-mini strong{font-size:.8rem}
.ahvaz-weather-temp{margin-inline-start:auto;font-size:1.05rem;font-weight:900;white-space:nowrap}
.ahvaz-weather-range{font-size:.68rem;color:#64748b;white-space:nowrap}
@media(max-width:575px){.ahvaz-weather-mini{gap:6px;padding:7px 8px}.ahvaz-weather-range{font-size:.62rem}}


/* Mobile hero slides 2..8: جلوگیری از بیرون‌زدگی دکمه و بهبود مقیاس محتوا */
@media (max-width: 575px){
  .switch-hero-inner{
    height:clamp(410px,118vw,520px) !important;
    aspect-ratio:auto !important;
  }
  .switch-hero-inner .carousel-item,
  .switch-hero-inner .carousel-item.active,
  .switch-hero-inner .carousel-item-next,
  .switch-hero-inner .carousel-item-prev{
    height:clamp(410px,118vw,520px) !important;
    max-height:none !important;
  }
  .switch-hero-inner .carousel-item .switch-content-slide{
    min-height:0 !important;
    height:100% !important;
    align-items:center;
    padding:18px 14px !important;
  }
  .switch-hero-inner .carousel-item .switch-content-slide-content{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:20px 16px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    text-align:right;
  }
  .switch-hero-inner .carousel-item .switch-content-slide-content h2{
    font-size:clamp(1.45rem,7vw,2rem) !important;
    line-height:1.35 !important;
    margin-top:.65rem !important;
    margin-bottom:.55rem !important;
    overflow-wrap:anywhere;
  }
  .switch-hero-inner .carousel-item .switch-content-slide-content .lead{
    font-size:.88rem !important;
    line-height:1.8 !important;
    margin-top:.45rem !important;
    margin-bottom:.8rem !important;
    max-width:100% !important;
    overflow-wrap:anywhere;
  }
  .switch-hero-inner .carousel-item .switch-content-slide-content a.btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    max-width:100% !important;
    min-width:0 !important;
    white-space:normal !important;
    overflow-wrap:anywhere;
    box-sizing:border-box !important;
    padding:.55rem 1rem !important;
    margin-inline:0 !important;
    line-height:1.35 !important;
  }
  .switch-hero-carousel .carousel-control-prev,.switch-hero-carousel .carousel-control-next{width:11% !important;}
  .switch-hero-carousel .carousel-control-prev-icon,.switch-hero-carousel .carousel-control-next-icon{width:32px !important;height:32px !important;}
  .switch-hero-number-indicators{position:relative;z-index:8;margin-top:8px !important;}
  .switch-hero-number-indicator{width:25px !important;height:25px !important;min-width:25px !important;}
}

/* Final mobile hero normalization: one stable height for every slide */
@media (max-width: 575px){
  .switch-hero-inner{
    width:100% !important;
    height:auto !important;
    aspect-ratio:1672 / 941 !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
  }
  .switch-hero-inner .carousel-item,
  .switch-hero-inner .carousel-item.active,
  .switch-hero-inner .carousel-item-next,
  .switch-hero-inner .carousel-item-prev{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
  }
  .switch-hero-inner .carousel-item > .seven-bridge-slide,
  .switch-hero-inner .carousel-item > .switch-master-key-slide,
  .switch-hero-inner .carousel-item > .switch-content-slide{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }
  .switch-hero-inner .carousel-item .seven-bridge-image{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
  }
  .switch-hero-inner .carousel-item .switch-content-slide-content{
    width:92% !important;
    max-width:92% !important;
    max-height:100% !important;
    height:auto !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    padding:24px 18px !important;
  }
  .switch-hero-inner .carousel-item .switch-content-slide-content h2{
    font-size:clamp(1.35rem,6.8vw,1.9rem) !important;
    line-height:1.3 !important;
  }
  .switch-hero-inner .carousel-item .switch-content-slide-content .lead{
    font-size:.82rem !important;
    line-height:1.7 !important;
  }
  .switch-hero-inner .carousel-item .switch-master-key-slide .master-key-content{
    min-height:0 !important;
    height:100% !important;
  }
  .switch-hero-inner .carousel-item .switch-master-key-slide .master-key-art{
    height:38% !important;
    min-height:0 !important;
  }
  .switch-hero-inner .carousel-item .switch-master-key-slide .master-key-copy{
    padding:6px 8px 12px !important;
  }
}


/* Mobile home: replace hero slider with direct navigation and latest records. */
@media (max-width: 767.98px){
  .switch-home .switch-hero-carousel{display:none!important;}
  .karood-mobile-latest{display:block;margin:0 0 1.15rem;padding:0 .15rem;}
  .karood-mobile-latest-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:0 0 .7rem;}
  .karood-mobile-latest-head h2{font-size:1.08rem;font-weight:900;margin:0;color:#0f172a;}
  .karood-mobile-latest-head p{font-size:.72rem;color:#64748b;margin:.18rem 0 0;}
  .karood-mobile-latest-head a{font-size:.72rem;font-weight:900;text-decoration:none;white-space:nowrap;color:#0369a1;}
  .karood-mobile-latest-list{display:flex;flex-direction:column;gap:.55rem;}
  .karood-mobile-latest-card{display:flex;gap:.7rem;align-items:center;text-decoration:none;color:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:.55rem;box-shadow:0 5px 16px rgba(15,23,42,.06);min-width:0;}
  .karood-mobile-latest-card img{width:92px;height:82px;object-fit:cover;border-radius:11px;flex:0 0 92px;background:#f1f5f9;}
  .karood-mobile-latest-info{min-width:0;flex:1;}
  .karood-mobile-latest-badge{font-size:.62rem;font-weight:800;color:#0369a1;margin-bottom:.18rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .karood-mobile-latest-info h3{font-size:.86rem;font-weight:900;margin:0 0 .18rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#111827;}
  .karood-mobile-latest-info p{font-size:.68rem;line-height:1.5;color:#475569;margin:0 0 .2rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .karood-mobile-latest-info small{font-size:.6rem;color:#94a3b8;}
  .karood-mobile-empty{padding:1rem;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;color:#64748b;font-size:.8rem;}
}
@media (min-width:768px){.karood-mobile-latest{display:none!important;}}

/* Mobile home/app top tools: richer header without restoring the mobile slider */
.karood-mobile-top-tools{display:none}
@media (max-width:767.98px){
  .karood-mobile-top-tools{display:block;padding:.65rem .75rem .8rem;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border-bottom:1px solid #e2e8f0;box-shadow:0 7px 20px rgba(15,23,42,.07)}
  .karood-mobile-top-brand-row{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-bottom:.65rem}
  .karood-mobile-top-brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:#0f172a;min-width:0}
  .karood-mobile-top-brand>span:last-child{display:flex;flex-direction:column;line-height:1.15}
  .karood-mobile-top-brand b{font-size:1rem;font-weight:900}
  .karood-mobile-top-brand small{font-size:.58rem;color:#64748b;margin-top:.18rem;white-space:nowrap}
  .karood-mobile-top-logo{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#eff6ff;border:1px solid #dbeafe;flex:0 0 38px}
  .karood-mobile-top-logo svg{width:34px;height:34px}
  .karood-mobile-top-actions{display:flex;align-items:center;gap:.35rem}
  .karood-mobile-top-actions a{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#fff;border:1px solid #e2e8f0;text-decoration:none;font-size:1rem;box-shadow:0 4px 12px rgba(15,23,42,.06)}
  .karood-mobile-top-search{display:flex;align-items:center;gap:.45rem;width:100%;padding:.62rem .7rem;background:#fff;border:1px solid #cbd5e1;border-radius:14px;box-shadow:0 5px 15px rgba(15,23,42,.06);box-sizing:border-box}
  .karood-mobile-top-search>span:first-child{font-size:1rem;line-height:1}
  .karood-mobile-top-search input[type=search]{border:0;outline:0;background:transparent;min-width:0;flex:1;font-family:inherit;font-size:.78rem;color:#0f172a}
  .karood-mobile-top-search input::placeholder{color:#64748b;opacity:1}
  .karood-mobile-location{font-size:.62rem!important;color:#0369a1;white-space:nowrap;border-right:1px solid #e2e8f0;padding-right:.45rem}
  .karood-mobile-quick-categories{display:flex;gap:.48rem;overflow-x:auto;scrollbar-width:none;padding:.65rem .05rem .05rem;direction:rtl}
  .karood-mobile-quick-categories::-webkit-scrollbar{display:none}
  .karood-mobile-quick-categories a{flex:0 0 auto;display:flex;align-items:center;gap:.3rem;padding:.48rem .62rem;border-radius:999px;background:#fff;border:1px solid #e2e8f0;color:#0f172a;text-decoration:none;box-shadow:0 3px 10px rgba(15,23,42,.05)}
  .karood-mobile-quick-categories a span{font-size:.9rem;line-height:1}
  .karood-mobile-quick-categories a b{font-size:.65rem;white-space:nowrap;font-weight:900}
  .karood-mobile-quick-categories a:active{transform:translateY(1px);background:#eff6ff}
}
@media (max-width:767.98px){
  .switch-hero-carousel{display:none!important}
}

/* نکته روز: نوار فشرده زیر باکس هوای اهواز (حداکثر ۲ خط؛ با «بیشتر» باز می‌شود) */
.daily-tip{display:flex;align-items:flex-start;gap:.5rem;margin-top:.6rem;padding:.45rem .6rem;border-radius:12px;background:#ecfdf5;border:1px solid #a7f3d0;color:#064e3b;font-size:.8rem;line-height:1.7}
.daily-tip-icon{font-size:1.05rem;line-height:1.7;flex:0 0 auto}
.daily-tip-text{margin:0;flex:1 1 auto;min-width:0;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.daily-tip-open .daily-tip-text{-webkit-line-clamp:unset;line-clamp:unset;display:block;overflow:visible}
.daily-tip-btn{flex:0 0 auto;border:0;background:transparent;color:#047857;font-size:.72rem;font-weight:800;padding:0 .2rem;line-height:1.7;cursor:pointer}
.daily-tip-heat{background:#fff7ed;border-color:#fdba74;color:#7c2d12}
.daily-tip-heat .daily-tip-btn{color:#c2410c}
