body.ahad-homepage .ahad-home-weather {
    position: relative;
    padding: 60px 0 118px;
}

body.ahad-homepage .ahad-home-weather::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 24%, rgba(110, 192, 255, 0.10), transparent 32%),
        radial-gradient(circle at 86% 18%, rgba(255, 200, 107, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(249, 252, 255, 0.92), rgba(244, 249, 255, 0.48));
    pointer-events: none;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="summer"]::before {
    background:
        radial-gradient(circle at 10% 24%, rgba(103, 204, 255, 0.14), transparent 32%),
        radial-gradient(circle at 86% 18%, rgba(255, 191, 94, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(252, 247, 235, 0.54));
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="autumn"]::before {
    background:
        radial-gradient(circle at 12% 26%, rgba(255, 196, 153, 0.16), transparent 32%),
        radial-gradient(circle at 85% 14%, rgba(203, 143, 84, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255, 247, 240, 0.95), rgba(252, 240, 232, 0.56));
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"]::before {
    background:
        radial-gradient(circle at 11% 21%, rgba(176, 213, 255, 0.16), transparent 32%),
        radial-gradient(circle at 88% 18%, rgba(227, 239, 255, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(239, 247, 255, 0.58));
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="spring"]::before {
    background:
        radial-gradient(circle at 12% 23%, rgba(164, 238, 207, 0.14), transparent 32%),
        radial-gradient(circle at 86% 18%, rgba(255, 210, 218, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(248, 255, 251, 0.95), rgba(245, 251, 248, 0.56));
}

body.ahad-homepage .ahad-home-weather .container {
    position: relative;
    z-index: 1;
}

body.ahad-homepage .ahad-home-weather__heading {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

body.ahad-homepage .ahad-home-weather__kicker {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(7, 20, 45, 0.54);
}

body.ahad-homepage .ahad-home-weather__title {
    margin: 0;
    font-size: clamp(1.95rem, 1.6rem + 1vw, 3.05rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
    color: #0a1630;
}

body.ahad-homepage .ahad-home-weather__copy {
    max-width: 560px;
    margin: 12px auto 0;
    font-size: 0.94rem;
    line-height: 1.62;
    color: rgba(10, 22, 48, 0.68);
}

body.ahad-homepage .ahad-home-weather__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 220px));
    justify-content: center;
    gap: 20px;
    max-width: 1020px;
    margin: 0 auto;
}

body.ahad-homepage .ahad-home-weather-card {
    --ahad-weather-base: #eef7ff;
    --ahad-weather-accent: #85d7ff;
    --ahad-weather-ink: #09162d;
    --ahad-weather-muted: rgba(9, 22, 45, 0.46);
    --ahad-weather-temp: rgba(255, 255, 255, 0.96);
    --ahad-weather-icon: rgba(255, 255, 255, 0.88);
    position: relative;
    min-height: 248px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.66) 16%, rgba(255, 255, 255, 0) 36%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 26%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.52) 42%, rgba(255, 255, 255, 0.16) 100%),
        linear-gradient(140deg, var(--ahad-weather-base) 0%, var(--ahad-weather-accent) 100%);
    box-shadow: 0 18px 38px rgba(8, 20, 42, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="summer"] .ahad-home-weather-card {
    box-shadow: 0 20px 40px rgba(201, 133, 44, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="autumn"] .ahad-home-weather-card {
    box-shadow: 0 20px 42px rgba(144, 88, 48, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"] .ahad-home-weather-card {
    box-shadow: 0 20px 42px rgba(86, 126, 170, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="spring"] .ahad-home-weather-card {
    box-shadow: 0 20px 42px rgba(86, 151, 120, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.ahad-homepage .ahad-home-weather-card::before {
    content: "";
    position: absolute;
    top: -18%;
    right: -10%;
    width: 56%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 72%);
    filter: blur(14px);
    opacity: 0.95;
    z-index: 0;
}

body.ahad-homepage .ahad-home-weather-card::after {
    content: "";
    position: absolute;
    left: -18%;
    bottom: -28%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 72%);
    filter: blur(24px);
    z-index: 0;
}

body.ahad-homepage .ahad-home-weather-card__scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer::before,
body.ahad-homepage .ahad-home-weather-card__scene-layer::after {
    content: "";
    position: absolute;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--sun {
    mix-blend-mode: screen;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--sun::before {
    top: 12%;
    left: -8%;
    width: 104px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 246, 214, 0.98) 0%, rgba(255, 214, 117, 0.92) 34%, rgba(255, 189, 73, 0.18) 62%, rgba(255, 189, 73, 0) 76%);
    box-shadow: 0 0 42px rgba(255, 197, 74, 0.42);
    animation: ahadWeatherSunPulse 6.4s ease-in-out infinite;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--sun::after {
    top: 6%;
    left: 10%;
    width: 152px;
    height: 86px;
    border-radius: 999px;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.58) 46%, rgba(255, 255, 255, 0) 100%);
    filter: blur(7px);
    opacity: 0.74;
    transform: rotate(-18deg);
    animation: ahadWeatherSunFlare 7.2s ease-in-out infinite;
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="clear-day"] .ahad-home-weather-card__scene-layer--sun,
body.ahad-homepage .ahad-home-weather[data-weather-mood="summer"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--sun {
    opacity: 1;
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="clear-night"] .ahad-home-weather-card__scene-layer--sun {
    opacity: 0.64;
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="clear-night"] .ahad-home-weather-card__scene-layer--sun::before {
    background: radial-gradient(circle, rgba(249, 252, 255, 0.92) 0%, rgba(205, 221, 255, 0.76) 42%, rgba(111, 148, 255, 0.08) 70%, rgba(111, 148, 255, 0) 80%);
    box-shadow: 0 0 34px rgba(117, 152, 255, 0.22);
    animation-duration: 8.2s;
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="clear-night"] .ahad-home-weather-card__scene-layer--sun::after {
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(208, 223, 255, 0.42) 46%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.5;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--rain::before,
body.ahad-homepage .ahad-home-weather-card__scene-layer--rain::after {
    inset: -34% 0 -14%;
    opacity: 0.74;
    animation: ahadWeatherRainFall 0.92s linear infinite;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.94) 58%, rgba(255, 255, 255, 0) 100%) 8% -18px / 2px 42px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 252, 255, 0.88) 54%, rgba(255, 255, 255, 0) 100%) 18% -42px / 2px 48px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 56%, rgba(255, 255, 255, 0) 100%) 30% -8px / 2px 38px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(244, 250, 255, 0.9) 58%, rgba(255, 255, 255, 0) 100%) 42% -28px / 2px 44px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0) 100%) 54% -12px / 2px 40px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(243, 249, 255, 0.9) 60%, rgba(255, 255, 255, 0) 100%) 66% -38px / 2px 48px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.88) 56%, rgba(255, 255, 255, 0) 100%) 78% -18px / 2px 42px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 251, 255, 0.88) 58%, rgba(255, 255, 255, 0) 100%) 90% -34px / 2px 46px repeat-y;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--rain::after {
    inset: -30% 0 -20%;
    opacity: 0.34;
    filter: blur(0.9px);
    animation: ahadWeatherRainMist 1.34s linear infinite -0.28s;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(217, 236, 255, 0.66) 60%, rgba(255, 255, 255, 0) 100%) 14% -26px / 3px 54px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(224, 241, 255, 0.58) 58%, rgba(255, 255, 255, 0) 100%) 38% -12px / 3px 48px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(217, 236, 255, 0.64) 60%, rgba(255, 255, 255, 0) 100%) 62% -40px / 3px 56px repeat-y,
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(224, 241, 255, 0.56) 58%, rgba(255, 255, 255, 0) 100%) 84% -18px / 3px 50px repeat-y;
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="rain"] .ahad-home-weather-card__scene-layer--rain,
body.ahad-homepage .ahad-home-weather-card[data-weather-theme="storm"] .ahad-home-weather-card__scene-layer--rain {
    opacity: 1;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--snow::before,
body.ahad-homepage .ahad-home-weather-card__scene-layer--snow::after {
    inset: -18% -8% -12%;
    background-image:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.96) 0 2px, transparent 2.5px),
        radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.92) 0 3px, transparent 3.5px),
        radial-gradient(circle at 54% 10%, rgba(255, 255, 255, 0.92) 0 2px, transparent 2.5px),
        radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.9) 0 3px, transparent 3.5px),
        radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.88) 0 2px, transparent 2.5px),
        radial-gradient(circle at 22% 44%, rgba(255, 255, 255, 0.92) 0 3px, transparent 3.5px),
        radial-gradient(circle at 64% 48%, rgba(255, 255, 255, 0.9) 0 2px, transparent 2.5px),
        radial-gradient(circle at 82% 58%, rgba(255, 255, 255, 0.92) 0 3px, transparent 3.5px);
    animation: ahadWeatherSnowDrift 11.5s linear infinite;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--snow::after {
    opacity: 0.52;
    filter: blur(1px);
    transform: scale(1.06);
    animation-duration: 16s;
    animation-delay: -4.2s;
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="snow"] .ahad-home-weather-card__scene-layer--snow,
body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--snow {
    opacity: 1;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"] .ahad-home-weather-card:not([data-weather-theme="snow"]) .ahad-home-weather-card__scene-layer--snow {
    opacity: 0.46;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--flash::before {
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0 8%, rgba(255, 255, 255, 0) 22%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.66) 0, rgba(255, 255, 255, 0) 48%);
    opacity: 0;
    animation: ahadWeatherLightning 4.8s ease-in-out infinite;
}

body.ahad-homepage .ahad-home-weather-card__scene-layer--flash::after {
    top: 18%;
    left: 18%;
    width: 44px;
    height: 88px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(180, 219, 255, 0.86) 100%);
    clip-path: polygon(42% 0%, 68% 0%, 48% 34%, 74% 34%, 30% 100%, 42% 56%, 18% 56%);
    filter: blur(0.5px) drop-shadow(0 0 14px rgba(255, 255, 255, 0.68));
    opacity: 0;
    transform: rotate(8deg);
    animation: ahadWeatherLightningBolt 4.8s ease-in-out infinite;
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="storm"] .ahad-home-weather-card__scene-layer--flash {
    opacity: 1;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="summer"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season,
body.ahad-homepage .ahad-home-weather[data-weather-mood="autumn"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season,
body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season {
    opacity: 1;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="summer"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::before,
body.ahad-homepage .ahad-home-weather[data-weather-mood="summer"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::after {
    border-radius: 999px;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.62) 48%, rgba(255, 255, 255, 0) 100%);
    filter: blur(7px);
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="summer"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::before {
    top: 18%;
    right: -18%;
    width: 154px;
    height: 42px;
    transform: rotate(-18deg);
    animation: ahadWeatherSummerSheen 6.4s ease-in-out infinite;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="summer"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::after {
    left: -16%;
    bottom: 16%;
    width: 132px;
    height: 30px;
    transform: rotate(-16deg);
    opacity: 0.72;
    animation: ahadWeatherSummerSheen 7.8s ease-in-out infinite -2.1s;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="autumn"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::before,
body.ahad-homepage .ahad-home-weather[data-weather-mood="autumn"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::after {
    background: linear-gradient(135deg, rgba(255, 214, 112, 0.98) 0%, rgba(211, 110, 44, 0.92) 100%);
    border-radius: 100% 0 100% 0;
    box-shadow: 0 10px 18px rgba(138, 82, 39, 0.16);
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="autumn"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::before {
    top: 20%;
    right: 14%;
    width: 34px;
    height: 18px;
    animation: ahadWeatherLeafDrift 8s ease-in-out infinite;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="autumn"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::after {
    left: 12%;
    bottom: 18%;
    width: 26px;
    height: 14px;
    opacity: 0.9;
    animation: ahadWeatherLeafDrift 9.2s ease-in-out infinite -3.1s;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::before,
body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::after {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.44) 0%, rgba(207, 229, 249, 0.24) 48%, rgba(207, 229, 249, 0) 78%);
    filter: blur(10px);
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::before {
    top: -12%;
    right: -12%;
    width: 120px;
    aspect-ratio: 1;
    animation: ahadWeatherFrostGlow 8.8s ease-in-out infinite;
}

body.ahad-homepage .ahad-home-weather[data-weather-mood="winter"] .ahad-home-weather-card .ahad-home-weather-card__scene-layer--season::after {
    left: -8%;
    bottom: -10%;
    width: 98px;
    aspect-ratio: 1;
    opacity: 0.8;
    animation: ahadWeatherFrostGlow 10.4s ease-in-out infinite -3.4s;
}

body.ahad-homepage .ahad-home-weather-card__noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.38;
    pointer-events: none;
    mix-blend-mode: soft-light;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, rgba(255, 255, 255, 0) 1px 4px);
}

body.ahad-homepage .ahad-home-weather-card__meta,
body.ahad-homepage .ahad-home-weather-card__temperature-wrap,
body.ahad-homepage .ahad-home-weather-card__footer,
body.ahad-homepage .ahad-home-weather-card__icon {
    position: relative;
    z-index: 3;
}

body.ahad-homepage .ahad-home-weather-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

body.ahad-homepage .ahad-home-weather-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ahad-weather-ink);
}

body.ahad-homepage .ahad-home-weather-card__location {
    margin-left: auto;
    max-width: 64%;
    text-align: right;
}

body.ahad-homepage .ahad-home-weather-card__city {
    margin: 0;
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(0.78rem, 0.74rem + 0.24vw, 1rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ahad-weather-ink);
}

body.ahad-homepage .ahad-home-weather-card__region {
    margin: 5px 0 0;
    font-size: 0.75rem;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ahad-weather-muted);
}

body.ahad-homepage .ahad-home-weather-card__icon {
    position: absolute;
    top: 58px;
    left: 12px;
    width: 88px;
    height: 88px;
    color: var(--ahad-weather-icon);
    opacity: 0.94;
    filter: drop-shadow(0 12px 18px rgba(255, 255, 255, 0.18));
    transform: translateZ(0);
}

body.ahad-homepage .ahad-home-weather-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.ahad-homepage .ahad-home-weather-card__temperature-wrap {
    padding-top: 64px;
}

body.ahad-homepage .ahad-home-weather-card__temperature {
    margin: 0;
    font-size: clamp(3.4rem, 2.85rem + 1.55vw, 4.9rem);
    font-weight: 700;
    line-height: 0.84;
    letter-spacing: -0.08em;
    color: var(--ahad-weather-temp);
    text-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

body.ahad-homepage .ahad-home-weather-card__temperature-unit {
    display: inline-block;
    margin-left: 0.12em;
    font-size: 0.34em;
    line-height: 1;
    letter-spacing: -0.01em;
    vertical-align: top;
    transform: translateY(0.28em);
}

body.ahad-homepage .ahad-home-weather-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding-top: 8px;
}

body.ahad-homepage .ahad-home-weather-card__condition,
body.ahad-homepage .ahad-home-weather-card__range {
    margin: 0;
}

body.ahad-homepage .ahad-home-weather-card__condition {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--ahad-weather-ink);
}

body.ahad-homepage .ahad-home-weather-card__range {
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: right;
    color: var(--ahad-weather-ink);
    opacity: 0.88;
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="clear-day"] {
    --ahad-weather-base: #ffe09a;
    --ahad-weather-accent: #f4a85f;
    --ahad-weather-ink: #162541;
    --ahad-weather-muted: rgba(22, 37, 65, 0.48);
    --ahad-weather-temp: #fffdf4;
    --ahad-weather-icon: rgba(255, 248, 226, 0.88);
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="clear-night"] {
    --ahad-weather-base: #172650;
    --ahad-weather-accent: #4e74d3;
    --ahad-weather-ink: #f4f7ff;
    --ahad-weather-muted: rgba(244, 247, 255, 0.72);
    --ahad-weather-temp: #ffffff;
    --ahad-weather-icon: rgba(242, 246, 255, 0.84);
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="clouds-day"] {
    --ahad-weather-base: #eef7ff;
    --ahad-weather-accent: #83d2ff;
    --ahad-weather-ink: #09162d;
    --ahad-weather-muted: rgba(9, 22, 45, 0.48);
    --ahad-weather-temp: rgba(255, 255, 255, 0.96);
    --ahad-weather-icon: rgba(255, 255, 255, 0.9);
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="clouds-night"] {
    --ahad-weather-base: #23375c;
    --ahad-weather-accent: #5c90d6;
    --ahad-weather-ink: #f3f7ff;
    --ahad-weather-muted: rgba(243, 247, 255, 0.72);
    --ahad-weather-temp: #ffffff;
    --ahad-weather-icon: rgba(255, 255, 255, 0.82);
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="fog"] {
    --ahad-weather-base: #f1f4f7;
    --ahad-weather-accent: #c9d3dc;
    --ahad-weather-ink: #16202d;
    --ahad-weather-muted: rgba(22, 32, 45, 0.5);
    --ahad-weather-temp: #16202d;
    --ahad-weather-icon: rgba(255, 255, 255, 0.74);
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="rain"] {
    --ahad-weather-base: #d7edff;
    --ahad-weather-accent: #4ea9dc;
    --ahad-weather-ink: #0e1c35;
    --ahad-weather-muted: rgba(14, 28, 53, 0.48);
    --ahad-weather-temp: #f8fcff;
    --ahad-weather-icon: rgba(255, 255, 255, 0.9);
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="snow"] {
    --ahad-weather-base: #edf6ff;
    --ahad-weather-accent: #99c6eb;
    --ahad-weather-ink: #10213c;
    --ahad-weather-muted: rgba(16, 33, 60, 0.52);
    --ahad-weather-temp: #fbfdff;
    --ahad-weather-icon: rgba(251, 253, 255, 0.94);
}

body.ahad-homepage .ahad-home-weather-card[data-weather-theme="storm"] {
    --ahad-weather-base: #cad5e4;
    --ahad-weather-accent: #6a7f99;
    --ahad-weather-ink: #08111d;
    --ahad-weather-muted: rgba(8, 17, 29, 0.52);
    --ahad-weather-temp: #f8fbff;
    --ahad-weather-icon: rgba(255, 255, 255, 0.8);
}

body.ahad-homepage .ahad-home-weather-card.has-error {
    --ahad-weather-base: #eef3f7;
    --ahad-weather-accent: #cad6e0;
    --ahad-weather-ink: #15212f;
    --ahad-weather-muted: rgba(21, 33, 47, 0.52);
    --ahad-weather-temp: #15212f;
    --ahad-weather-icon: rgba(255, 255, 255, 0.7);
}

body.ahad-homepage .ahad-home-weather-card.is-loading .ahad-home-weather-card__temperature,
body.ahad-homepage .ahad-home-weather-card.is-loading .ahad-home-weather-card__condition,
body.ahad-homepage .ahad-home-weather-card.is-loading .ahad-home-weather-card__range {
    animation: ahadWeatherPulse 1.45s ease-in-out infinite;
}

@keyframes ahadWeatherPulse {
    0%,
    100% {
        opacity: 0.46;
    }

    50% {
        opacity: 0.94;
    }
}

@keyframes ahadWeatherSunPulse {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.84;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes ahadWeatherSunFlare {
    0%,
    100% {
        transform: rotate(-18deg) translate3d(0, 0, 0) scale(0.96);
        opacity: 0.44;
    }

    50% {
        transform: rotate(-14deg) translate3d(10px, -3px, 0) scale(1.08);
        opacity: 0.82;
    }
}

@keyframes ahadWeatherRainFall {
    0% {
        transform: translate3d(0, -18%, 0);
    }

    100% {
        transform: translate3d(0, 28%, 0);
    }
}

@keyframes ahadWeatherRainMist {
    0% {
        transform: translate3d(0, -10%, 0);
    }

    100% {
        transform: translate3d(0, 24%, 0);
    }
}

@keyframes ahadWeatherSnowDrift {
    0% {
        transform: translate3d(0, -12%, 0);
    }

    50% {
        transform: translate3d(12px, 16%, 0);
    }

    100% {
        transform: translate3d(-8px, 42%, 0);
    }
}

@keyframes ahadWeatherLightning {
    0%,
    78%,
    100% {
        opacity: 0;
    }

    80%,
    84% {
        opacity: 0.82;
    }

    82%,
    86% {
        opacity: 0.18;
    }
}

@keyframes ahadWeatherLightningBolt {
    0%,
    78%,
    100% {
        opacity: 0;
        transform: rotate(8deg) scale(0.92);
    }

    80%,
    84% {
        opacity: 0.96;
        transform: rotate(8deg) scale(1.02);
    }

    82%,
    86% {
        opacity: 0.2;
        transform: rotate(8deg) scale(0.98);
    }
}

@keyframes ahadWeatherSummerSheen {
    0%,
    100% {
        transform: rotate(-18deg) translate3d(0, 0, 0);
        opacity: 0.34;
    }

    50% {
        transform: rotate(-14deg) translate3d(-10px, -8px, 0);
        opacity: 0.74;
    }
}

@keyframes ahadWeatherLeafDrift {
    0%,
    100% {
        transform: rotate(12deg) translate3d(0, 0, 0);
    }

    35% {
        transform: rotate(34deg) translate3d(-14px, 14px, 0);
    }

    65% {
        transform: rotate(2deg) translate3d(10px, 30px, 0);
    }
}

@keyframes ahadWeatherFrostGlow {
    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.38;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.76;
    }
}

@media (max-width: 991.98px) {
    body.ahad-homepage .ahad-home-weather {
        padding: 44px 0 88px;
    }

    body.ahad-homepage .ahad-home-weather__grid {
        grid-template-columns: repeat(auto-fit, minmax(190px, 210px));
        gap: 16px;
    }

    body.ahad-homepage .ahad-home-weather-card {
        min-height: 232px;
        padding: 16px 16px 14px;
    }

    body.ahad-homepage .ahad-home-weather-card__icon {
        top: 54px;
        width: 78px;
        height: 78px;
    }

    body.ahad-homepage .ahad-home-weather-card__temperature-wrap {
        padding-top: 58px;
    }

    body.ahad-homepage .ahad-home-weather-card__scene-layer--sun::before {
        width: 92px;
    }

    body.ahad-homepage .ahad-home-weather-card__scene-layer--sun::after {
        width: 132px;
    }
}

@media (max-width: 767.98px) {
    body.ahad-homepage .ahad-home-weather__heading {
        max-width: 560px;
        margin-bottom: 24px;
    }

    body.ahad-homepage .ahad-home-weather__copy {
        font-size: 0.88rem;
        max-width: 500px;
    }

    body.ahad-homepage .ahad-home-weather__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 520px;
        gap: 14px;
    }

    body.ahad-homepage .ahad-home-weather-card {
        min-height: 214px;
        border-radius: 24px;
    }

    body.ahad-homepage .ahad-home-weather-card__badge {
        padding: 5px 8px;
        font-size: 0.56rem;
    }

    body.ahad-homepage .ahad-home-weather-card__location {
        max-width: 60%;
    }

    body.ahad-homepage .ahad-home-weather-card__region {
        font-size: 0.68rem;
    }

    body.ahad-homepage .ahad-home-weather-card__icon {
        top: 58px;
        left: 12px;
        width: 70px;
        height: 70px;
    }

    body.ahad-homepage .ahad-home-weather-card__temperature-wrap {
        padding-top: 60px;
    }

    body.ahad-homepage .ahad-home-weather-card__footer {
        gap: 10px;
        align-items: flex-end;
        flex-direction: row;
    }

    body.ahad-homepage .ahad-home-weather-card__range {
        text-align: right;
    }

    body.ahad-homepage .ahad-home-weather-card__scene-layer--sun::before {
        width: 84px;
    }

    body.ahad-homepage .ahad-home-weather-card__scene-layer--sun::after {
        width: 120px;
        height: 68px;
    }
}

@media (max-width: 479.98px) {
    body.ahad-homepage .ahad-home-weather {
        padding: 34px 0 72px;
    }

    body.ahad-homepage .ahad-home-weather__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 290px;
    }

    body.ahad-homepage .ahad-home-weather-card {
        min-height: 220px;
    }

    body.ahad-homepage .ahad-home-weather-card__city {
        font-size: 0.82rem;
    }

    body.ahad-homepage .ahad-home-weather-card__temperature {
        font-size: 3.2rem;
    }

    body.ahad-homepage .ahad-home-weather-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    body.ahad-homepage .ahad-home-weather-card__range {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ahad-homepage .ahad-home-weather-card.is-loading .ahad-home-weather-card__temperature,
    body.ahad-homepage .ahad-home-weather-card.is-loading .ahad-home-weather-card__condition,
    body.ahad-homepage .ahad-home-weather-card.is-loading .ahad-home-weather-card__range {
        animation: none;
    }

    body.ahad-homepage .ahad-home-weather-card__scene-layer,
    body.ahad-homepage .ahad-home-weather-card__scene-layer::before,
    body.ahad-homepage .ahad-home-weather-card__scene-layer::after {
        animation: none !important;
        transition: none !important;
    }
}
