/* ParsSkin Weather — self-contained RTL components, compatible with original site shell */
.wx-shell { direction: rtl; align-items: start; margin-top: 24px; margin-bottom: 34px; }
.wx-shell *, .wx-shell *:before, .wx-shell *:after { box-sizing: border-box; }
.wx-main { min-width: 0; color: #1b2942; font-family: Tahoma, "Noto Sans Arabic", sans-serif; line-height: 1.85; }
.wx-main h1, .wx-main h2, .wx-main h3, .wx-main p { margin-top: 0; }
.wx-main h1 { font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.6; margin-bottom: 8px; }
.wx-main h2 { font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.55; margin-bottom: 14px; }
.wx-main h3 { font-size: 1rem; margin-bottom: 11px; }
.wx-main a { color: #2563a6; }
.wx-main a:focus-visible, .wx-main button:focus-visible, .wx-main input:focus-visible, .wx-main select:focus-visible { outline: 3px solid #f0a43b; outline-offset: 3px; }
.wx-main [hidden] { display: none !important; }
.wx-main .wx-panel { padding: clamp(18px, 3vw, 28px); border: 1px solid #e5ebf5; background: #fff; border-radius: 22px; box-shadow: 0 14px 36px rgba(21,49,86,.055); margin: 20px 0; }
.wx-hero { background: #134277; background-image: linear-gradient(110deg,rgba(13,41,83,.96),rgba(18,96,158,.86)),url('/weather/assets/sky-blue.webp'); background-size: cover; background-position: center; color: #fff; border-radius: 25px; padding: clamp(26px, 4vw, 46px); min-height: 330px; overflow: hidden; position: relative; display: flex; align-items: center; isolation: isolate; }
.wx-hero-text { position: relative; z-index: 2; max-width: 700px; width: 100%; }
.wx-hero h1 { color: #fff; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,.06); }
.wx-hero p { color: #e2effb; max-width: 550px; font-size: .95rem; }
.wx-chip { display: inline-flex; background: rgba(255,255,255,.14); color: #f0f7ff; font-size: .81rem; border: 1px solid rgba(255,255,255,.26); padding: 3px 13px; border-radius: 50px; margin-bottom: 15px; }
.wx-hero-art { position: absolute; z-index: 1; left: 8%; top: 12%; width: 220px; height: 230px; pointer-events: none; opacity: .8; }
.wx-sun { width: 140px; height: 140px; background: #ffd584; box-shadow: 0 0 70px #ffda8180; border-radius: 50%; position: absolute; left: 35px; top: 5px; }
.wx-cloud { position: absolute; background: #fff; opacity: .85; width: 145px; height: 38px; border-radius: 90px; filter: drop-shadow(0 5px 12px #164d7088); }
.wx-cloud:before, .wx-cloud:after { content: ''; background: inherit; position: absolute; border-radius: 50%; }
.wx-cloud:before { width: 71px; height: 71px; top: -39px; right: 17px; }
.wx-cloud:after { width: 50px; height: 50px; top: -24px; left: 14px; }
.wx-cloud-a { top: 118px; left: -2px; }
.wx-cloud-b { top: 174px; left: 91px; transform: scale(.7); opacity: .48; }
.wx-picker { margin-top: 26px; max-width: 600px; }
.wx-picker > label, .wx-search-label { display: block; font-size: .88rem; margin-bottom: 8px; font-weight: bold; }
.wx-picker-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.wx-picker select { flex: 1 1 215px; border: none; border-radius: 13px; min-height: 48px; background: #fff; color: #1b2942; padding: 0 12px; font-family: inherit; font-size: .95rem; }
.wx-main button { background: #ffc96c; color: #1a3554; border: 0; border-radius: 13px; padding: 11px 24px; font: bold .95rem Tahoma, sans-serif; cursor: pointer; }
.wx-main button:hover { background: #ffe2a8; }
.wx-intro h2 { margin-bottom: 18px; }
.wx-popular { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.wx-popular a { color: #263a51; border: 1px solid #e7eef5; text-decoration: none; border-radius: 15px; padding: 15px 10px; display: flex; flex-direction: column; gap: 2px; align-items: center; background: #f9fbfe; transition: transform .18s, box-shadow .18s; }
.wx-popular a:hover { transform: translateY(-2px); box-shadow: 0 7px 20px #193d6712; }
.wx-popular a small { font-size: .73rem; color: #657b93; }
.wx-city-emoji { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; }
.wx-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wx-heading h2 { margin-bottom: 9px; }
.wx-eyebrow { display: block; font-size: .76rem; font-weight: bold; color: #497da8; margin-bottom: 5px; }
.wx-count { background: #ecf7ff; color: #215d8c; padding: 5px 12px; border-radius: 50px; font-size: .8rem; white-space: nowrap; }
.wx-search-label { color: #4e5d6f; }
#wx-city-search { width: 100%; border: 1px solid #d4e2ee; background: #fbfdff; color: #1b2942; font-size: .95rem; border-radius: 12px; padding: 12px 16px; font-family: inherit; margin-bottom: 20px; }
.wx-prov-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.wx-province { background: #fafcff; border: 1px solid #e9eef6; border-radius: 15px; padding: 15px; }
.wx-province h3 { color: #254c77; }
.wx-city-links { display: flex; flex-wrap: wrap; gap: 7px; }
.wx-city-links a { text-decoration: none; font-size: .82rem; color: #385b83; background: #edf4fa; border-radius: 50px; padding: 3px 11px; }
.wx-city-links a:hover { background: #dbeefa; }
.wx-info { color: #42576d; font-size: .9rem; }
.wx-info p:last-child { margin-bottom: 0; }
.wx-breadcrumb { font-size: .78rem; color: #698095; padding: 0 3px 12px; display: flex; gap: 9px; flex-wrap: wrap; }
.wx-breadcrumb a { text-decoration: none; }
.wx-city-hero { min-height: 295px; }
.wx-city-hero.wx-theme-rain { background-image: linear-gradient(110deg,rgba(17,37,65,.95),rgba(44,88,126,.86)), url('/weather/assets/sky-rain.webp'); }
.wx-city-hero.wx-theme-cloud { background-image: linear-gradient(110deg,rgba(16,55,81,.93),rgba(53,105,129,.80)), url('/weather/assets/sky-cloud.webp'); }
.wx-city-hero.wx-theme-snow { background-image: linear-gradient(110deg,rgba(14,47,92,.90),rgba(67,125,164,.75)), url('/weather/assets/sky-snow.webp'); }
.wx-city-hero.wx-theme-storm { background-image: linear-gradient(110deg,rgba(20,27,55,.97),rgba(55,71,108,.83)), url('/weather/assets/sky-rain.webp'); }
.wx-current { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 17px; }
.wx-current-icon { flex: 0 0 72px; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.wx-current-temp { font-size: clamp(2.5rem,5vw,4rem); line-height: 1.2; font-weight: 800; }
.wx-current-description { font-size: 1rem; color: #e7f5ff; }
.wx-updated { font-size: .78rem !important; margin-bottom: 0; margin-top: 18px; }
.wx-notice { border-radius: 12px; padding: 12px 14px; background: #ffffff1a; max-width: 530px; }
.wx-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 18px 0 22px; }
.wx-stat { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5ebf5; border-radius: 16px; padding: 15px; gap: 5px; box-shadow: 0 8px 20px #17395a09; }
.wx-stat > .wx-stat-icon { display: flex; align-items: center; justify-content: flex-start; height: 36px; }.wx-stat small { color: #657b90; }.wx-stat strong { color: #1a426a; font-size: .96rem; }
.wx-hourly { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 11px; scrollbar-width: thin; }
.wx-hour { flex: 0 0 89px; text-align: center; border: 1px solid #e5edf6; background: #f7fbfe; padding: 12px 7px; border-radius: 15px; display: flex; flex-direction: column; gap: 6px; }
.wx-hour > span:first-child { color: #5d758c; font-size: .82rem; }
.wx-hour-icon { display:flex;align-items:center;justify-content:center;height:40px; }.wx-hour strong { font-size: 1.2rem; }.wx-hour small { font-size: .67rem; color: #4c7998; direction: ltr; }
.wx-footnote { margin: 14px 0 0; color: #6c7b88; font-size: .75rem; line-height: 1.9; }
.wx-weekly { display: flex; flex-direction: column; }
.wx-day { display: grid; grid-template-columns: 1.6fr 50px 1.25fr 1fr; gap: 10px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #e8edf4; }
.wx-day:last-child { border-bottom: 0; }
.wx-day-name { display: flex; flex-direction: column; }.wx-day-name small { color: #75889b; font-size: .75rem; }
.wx-day-icon { display:flex;align-items:center;justify-content:center; }.wx-day-desc { color: #53687b; font-size: .86rem; }
.wx-day-temp { white-space: nowrap; text-align: left; direction: rtl; }.wx-day-temp span { color: #91a2b2; font-size: .75rem; }
.wx-advice { display: flex; align-items: flex-start; gap: 18px; background: #fffaf3 !important; border-color: #f5e7d0 !important; }
.wx-advice-icon { display: grid; place-items: center; background: #ffeed3; width: 66px; height: 66px; border-radius: 18px; flex-shrink: 0; }
.wx-advice p { color: #385065; }.wx-advice small { color: #877c6c; font-size: .74rem; }
.wx-sun-times > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #466079; }
.wx-rating p { color: #5b6f82; font-size: .9rem; }.wx-rating .wx-rating-sum { color: #805d22; background: #fff6e7; border-radius: 10px; padding: 8px 12px; }
.wx-rate-form fieldset { border: 0; padding: 0; margin: 10px 0; }.wx-rate-form legend { font-size: .85rem; font-weight: bold; margin-bottom: 8px; }
.wx-star-options { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.wx-star-options label { cursor: pointer; }.wx-star-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wx-star-options span { display: inline-block; border: 1px solid #edcf87; border-radius: 10px; padding: 6px 12px; color: #946400; background: #fffcf3; }
.wx-star-options input:checked + span { background: #ffdc8c; border-color: #bd8000; font-weight: bold; }
.wx-star-options input:focus-visible + span { outline: 3px solid #2d609d; outline-offset: 2px; }
.wx-rating-feedback { font-weight: bold; color: #236b44 !important; margin-top: 10px; }
.wx-nearby { display: flex; flex-wrap: wrap; gap: 9px; }.wx-nearby a { color: #325d82; text-decoration: none; background: #f2f7fc; border: 1px solid #e4edf6; border-radius: 50px; padding: 6px 14px; font-size: .88rem; }.wx-nearby a:hover { background: #e5f3ff; }
.wx-source { font-size: .74rem; line-height: 2; color: #778594; padding: 0 8px 12px; }
@media (max-width: 1100px) { .wx-popular { grid-template-columns: repeat(3,1fr); } .wx-stats { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 780px) { .wx-hero-art { opacity: .18; left: -20px; } .wx-prov-list { grid-template-columns: 1fr; } .wx-popular { grid-template-columns: repeat(2,1fr); } .wx-day { grid-template-columns: 1.5fr 38px 1.15fr 1fr; gap: 4px; }.wx-day-desc { font-size: .76rem; } }
@media (max-width: 440px) { .wx-main .wx-panel { padding: 15px; } .wx-hero { padding: 23px; min-height: 300px; } .wx-heading { flex-wrap: wrap; }.wx-stat { padding: 10px; }.wx-day { grid-template-columns: 1.6fr 34px 1fr; }.wx-day-desc { display: none; }.wx-advice-icon { width: 45px; height: 45px; }.wx-advice { gap: 10px; } }
@media (prefers-reduced-motion:reduce) { .wx-popular a { transition:none; } }


/* Version 1.3: self-hosted, font-independent vector weather illustrations. */
.wx-shell .wx-svg-icon { display:block; flex:none; max-width:100%; object-fit:contain; vertical-align:middle; border:0; background:transparent; }
.wx-shell .wx-icon-hero { width:72px; height:72px; filter:drop-shadow(0 5px 7px rgba(8,31,54,.18)); }
.wx-shell .wx-icon-stat { width:36px; height:36px; }
.wx-shell .wx-icon-forecast { width:38px; height:38px; }
.wx-shell .wx-day-icon .wx-icon-forecast { width:42px; height:42px; }
.wx-shell .wx-icon-advice { width:45px; height:45px; }
.wx-shell .wx-icon-pin { width:28px; height:28px; }
.wx-shell .wx-icon-sun { width:23px; height:23px; }
.wx-shell .wx-icon-star { width:22px; height:22px; display:inline-block; }
.wx-shell .wx-icon-vote { width:17px; height:17px; display:inline-block; }
.wx-shell .wx-sun-label { display:inline-flex; gap:7px; align-items:center; }
.wx-shell .wx-star-options span { display:inline-flex; align-items:center; gap:5px; }
.wx-shell .wx-rating-sum { display:flex; align-items:center; flex-wrap:wrap; gap:5px; }
@media (max-width:440px) {
  .wx-current-icon, .wx-shell .wx-icon-hero { width:58px; height:58px; flex-basis:58px; }
  .wx-current { gap:9px; }
  .wx-shell .wx-icon-stat { width:32px; height:32px; }
  .wx-shell .wx-day-icon .wx-icon-forecast { width:32px; height:32px; }
  .wx-shell .wx-icon-advice { width:32px; height:32px; }
}
