/*=========================================================
  WP Weather Engine
  Premium Frontend Styles
  Version 2.0
=========================================================*/


/*=========================================================
  CSS VARIABLES
=========================================================*/

:root{

--wpwe-primary:#2563eb;
--wpwe-primary-dark:#1d4ed8;

--wpwe-success:#22c55e;
--wpwe-warning:#f59e0b;
--wpwe-danger:#ef4444;

--wpwe-bg:#f5f7fb;
--wpwe-card:#ffffff;
--wpwe-border:#e5e7eb;

--wpwe-text:#111827;
--wpwe-text-light:#6b7280;

--wpwe-radius:18px;

--wpwe-shadow:
0 10px 30px rgba(15,23,42,.08);

--wpwe-transition:.30s ease;

}


/*=========================================================
  RESET
=========================================================*/

.wpwe-widget *,
.wpwe-search-wrap *{

box-sizing:border-box;

}

.wpwe-widget img,
.wpwe-search-wrap img{

max-width:100%;
height:auto;

display:block;

}

.wpwe-widget h1,
.wpwe-widget h2,
.wpwe-widget h3,
.wpwe-widget h4,
.wpwe-widget h5,
.wpwe-widget h6,
.wpwe-widget p{

margin:0;

}


/*=========================================================
  MAIN WIDGET
=========================================================*/

.wpwe-widget{

background:#ffffff;

border-radius:26px;

padding:28px;

box-shadow:

0 12px 40px rgba(15,23,42,.08),

0 2px 8px rgba(15,23,42,.05);

overflow:hidden;

}


/*=========================================================
  SEARCH AREA
=========================================================*/

.wpwe-search-wrap{

margin-bottom:28px;

}

.wpwe-search-form{

display:flex;

gap:12px;

flex-wrap:wrap;

}

.wpwe-search-input{

height:54px;

border-radius:16px;

padding:0 18px;

font-size:16px;

border:2px solid #e5e7eb;

transition:.3s;

}

.wpwe-search-input:focus{

border-color:#2563eb;

box-shadow:0 0 0 4px rgba(37,99,235,.12);

outline:none;

}

.wpwe-search-button{

height:54px;

padding:0 24px;

border-radius:16px;

font-weight:700;

background:#2563eb;

color:#fff;

transition:.3s;

}

.wpwe-search-button:hover{

background:#1d4ed8;

transform:translateY(-2px);

}


/*=========================================================
  COMMON SECTIONS
=========================================================*/

.wpwe-section{

margin-top:34px;

}

.wpwe-section-title{

font-size:26px;

font-weight:700;

color:#111827;

margin:40px 0 24px;

display:flex;

align-items:center;

gap:12px;

}

.wpwe-section-title::after{

content:"";

flex:1;

height:2px;

background:linear-gradient(
90deg,
#2563eb,
transparent
);

border-radius:20px;

}


/*=========================================================
  COMMON CARD STYLE
=========================================================*/

.wpwe-card,
.wpwe-hour-card,
.wpwe-forecast-card,
.wpwe-astro-item{

background:var(--wpwe-card);

border-radius:var(--wpwe-radius);

box-shadow:var(--wpwe-shadow);

transition:var(--wpwe-transition);

}

.wpwe-hour-card:hover,
.wpwe-forecast-card:hover,
.wpwe-astro-item:hover{

transform:translateY(-4px);

}


/*=========================================================
  COMMON GRID GAP
=========================================================*/

.wpwe-hourly-grid,
.wpwe-forecast-grid,
.wpwe-astro-grid{

gap:20px;

}


/*=========================================================
  LOADING / ERROR
=========================================================*/

.wpwe-error{

background:#fee2e2;

color:#991b1b;

padding:14px 18px;

border-radius:14px;

margin-top:20px;

}

.wpwe-success{

background:#dcfce7;

color:#166534;

padding:14px 18px;

border-radius:14px;

margin-top:20px;

}


/*=========================================================
  RESPONSIVE BASE
=========================================================*/

@media (max-width:768px){

.wpwe-widget{

padding:18px;

}

.wpwe-section-title{

font-size:20px;

}

.wpwe-search-form{

flex-direction:column;

}

.wpwe-search-button{

width:100%;

}

}

/*=========================================================
  CURRENT WEATHER CARD
=========================================================*/

.wpwe-current-card{

display:flex;

justify-content:space-between;

align-items:center;

background:linear-gradient(
135deg,
#2563eb,
#3b82f6
);

color:#fff;

border-radius:22px;

padding:28px;

margin-bottom:24px;

box-shadow:
0 15px 35px rgba(37,99,235,.25);

}

/*--------------------------------------
 Left Side
--------------------------------------*/

.wpwe-current-left{

display:flex;

flex-direction:column;

gap:18px;

}

.wpwe-location{

font-size:34px;

font-weight:700;

line-height:1.1;

}

.wpwe-region{

font-size:16px;

opacity:.90;

margin-top:4px;

}

/*--------------------------------------
 Temperature
--------------------------------------*/

.wpwe-temp-block{

display:flex;

flex-direction:column;

}

.wpwe-temperature{

font-size:78px;

font-weight:700;

line-height:1;

letter-spacing:-2px;

}

.wpwe-condition{

font-size:22px;

font-weight:500;

margin-top:10px;

opacity:.95;

}

/*--------------------------------------
 Weather Icon
--------------------------------------*/

.wpwe-current-right{

display:flex;

align-items:center;

justify-content:center;

}

.wpwe-condition-icon{

width:130px;

height:130px;

filter:
drop-shadow(
0 8px 16px rgba(0,0,0,.20)
);

}

/*--------------------------------------
 Mobile
--------------------------------------*/

@media (max-width:768px){

.wpwe-current-card{

flex-direction:column;

text-align:center;

padding:24px;

gap:24px;

}

.wpwe-location{

font-size:28px;

}

.wpwe-temperature{

font-size:64px;

}

.wpwe-condition{

font-size:20px;

}

.wpwe-condition-icon{

width:110px;

height:110px;

}

}


/*=========================================================
  24-HOUR FORECAST
=========================================================*/

.wpwe-hourly{

margin-top:36px;

}

.wpwe-hourly-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(115px,1fr));

gap:18px;

}

.wpwe-hour-card{

background:#ffffff;

border-radius:18px;

padding:18px 12px;

text-align:center;

border:1px solid #eef2f7;

box-shadow:0 8px 20px rgba(0,0,0,.05);

transition:all .30s ease;

display:flex;

flex-direction:column;

justify-content:space-between;

min-height:230px;

}

.wpwe-hour-card:hover{

transform:translateY(-5px);

box-shadow:0 16px 32px rgba(0,0,0,.10);

}

.wpwe-hour-time{

font-size:15px;

font-weight:700;

color:#374151;

margin-bottom:12px;

}

.wpwe-hour-icon{

width:54px;

height:54px;

margin:0 auto 12px;

}

.wpwe-hour-temp{

font-size:28px;

font-weight:700;

color:#111827;

margin-bottom:8px;

}

.wpwe-hour-condition{

font-size:14px;

font-weight:600;

color:#6b7280;

min-height:36px;

display:flex;

align-items:center;

justify-content:center;

margin-bottom:14px;

line-height:1.35;

}

.wpwe-hour-extra{

display:flex;

flex-direction:column;

gap:8px;

margin-top:auto;

}

.wpwe-hour-extra span{

display:flex;

justify-content:center;

align-items:center;

gap:6px;

font-size:13px;

font-weight:600;

background:#f8fafc;

border-radius:10px;

padding:7px 6px;

color:#475569;

}

@media (max-width:768px){

.wpwe-hourly-grid{

grid-template-columns:repeat(2,1fr);

gap:14px;

}

.wpwe-hour-card{

min-height:210px;

padding:16px 10px;

}

.wpwe-hour-temp{

font-size:24px;

}

}

/*=========================================================
  3-DAY FORECAST (PREMIUM CARDS)
=========================================================*/

.wpwe-forecast{
margin-top:40px;
}

.wpwe-forecast-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:22px;
}

.wpwe-forecast-card{
background:#ffffff;
border-radius:20px;
padding:22px;
border:1px solid #eef2f7;
box-shadow:0 10px 28px rgba(0,0,0,.06);
transition:all .30s ease;
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
min-height:320px;
}

.wpwe-forecast-card:hover{
transform:translateY(-6px);
box-shadow:0 18px 38px rgba(0,0,0,.10);
}

.wpwe-forecast-day{
font-size:22px;
font-weight:700;
color:#111827;
margin-bottom:4px;
}

.wpwe-forecast-date{
font-size:14px;
color:#6b7280;
margin-bottom:14px;
}

.wpwe-forecast-icon{
width:72px;
height:72px;
margin:6px auto 14px;
}

.wpwe-forecast-condition{
font-size:16px;
font-weight:600;
color:#374151;
margin-bottom:18px;
min-height:40px;
display:flex;
align-items:center;
justify-content:center;
line-height:1.35;
}

.wpwe-forecast-temp{
display:flex;
align-items:center;
justify-content:center;
gap:18px;
margin-bottom:20px;
}

.wpwe-forecast-temp .high{
font-size:34px;
font-weight:700;
color:#ef4444;
display:flex;
align-items:center;
gap:4px;
}

.wpwe-forecast-temp .high::before{
content:"▲";
font-size:14px;
}

.wpwe-forecast-temp .low{
font-size:24px;
font-weight:600;
color:#2563eb;
display:flex;
align-items:center;
gap:4px;
}

.wpwe-forecast-temp .low::before{
content:"▼";
font-size:14px;
}

.wpwe-forecast-extra{
width:100%;
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin-top:auto;
}

.wpwe-forecast-extra div{
background:#f8fafc;
border-radius:12px;
padding:10px 8px;
font-size:13px;
font-weight:600;
color:#475569;
display:flex;
align-items:center;
justify-content:center;
gap:6px;
}

@media (max-width:768px){

.wpwe-forecast-grid{
grid-template-columns:1fr;
}

.wpwe-forecast-card{
min-height:auto;
}

}

/* =========================================================
   SUN & MOON — COMPACT PREMIUM CARDS
   ========================================================= */

.wpwe-astronomy {
    margin-top: 36px;
    margin-bottom: 28px;
}

.wpwe-astro-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

/* IMPORTANT:
   The PHP template uses .wpwe-astro-card,
   NOT .wpwe-astro-item.
*/
.wpwe-astro-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 110px;

    padding: 14px 10px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.wpwe-astro-card:hover {
    transform: translateY(-4px);
    border-color: #d7deea;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

/* Icon */
.wpwe-astro-card .wpwe-astro-icon {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 9px;
}

/* Label */
.wpwe-astro-card .wpwe-astro-label {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    white-space: nowrap;
}

/* Value */
.wpwe-astro-card .wpwe-astro-value {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

/* Keep all astronomy values visually consistent */
.wpwe-astro-card .wpwe-sunrise,
.wpwe-astro-card .wpwe-sunset,
.wpwe-astro-card .wpwe-moonrise,
.wpwe-astro-card .wpwe-moonset,
.wpwe-astro-card .wpwe-moon-phase,
.wpwe-astro-card .wpwe-moon-illumination {
    color: #111827;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .wpwe-astro-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .wpwe-astro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .wpwe-astro-card {
        min-height: 100px;
        padding: 13px 8px;
    }

    .wpwe-astro-card .wpwe-astro-icon {
        font-size: 27px;
        margin-bottom: 7px;
    }

    .wpwe-astro-card .wpwe-astro-label {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .wpwe-astro-card .wpwe-astro-value {
        font-size: 16px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .wpwe-astro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .wpwe-astro-card {
        min-height: 94px;
        padding: 11px 6px;
    }

    .wpwe-astro-card .wpwe-astro-icon {
        font-size: 25px;
    }

    .wpwe-astro-card .wpwe-astro-label {
        font-size: 10px;
    }

    .wpwe-astro-card .wpwe-astro-value {
        font-size: 14px;
    }

}

/*====================================================
Responsive Layout
====================================================*/

/* Tablet */

@media (max-width:1024px){

.wpwe-widget{

padding:22px;

}

.wpwe-forecast-list{

grid-template-columns:repeat(3,1fr);

}

.wpwe-astro-grid{

grid-template-columns:repeat(3,1fr);

}

}

/* Mobile */

@media (max-width:768px){

.wpwe-widget{

padding:18px;

border-radius:18px;

}

.wpwe-current-card{

flex-direction:column;

align-items:flex-start;

gap:20px;

}

.wpwe-current-right{

align-self:flex-end;

}

.wpwe-temperature{

font-size:48px;

}

.wpwe-forecast-list{

grid-template-columns:1fr;

}

.wpwe-astro-grid{

grid-template-columns:repeat(2,1fr);

}

.wpwe-hourly-scroll{

gap:10px;

padding-bottom:6px;

}

.wpwe-hour-card{

min-width:88px;

}

}

/* Small phones */

@media (max-width:480px){

.wpwe-widget{

padding:14px;

}

.wpwe-location{

font-size:28px;

}

.wpwe-temperature{

font-size:42px;

}

.wpwe-astro-grid{

grid-template-columns:1fr 1fr;

}

.wpwe-hour-card{

min-width:82px;

}

}

.wpwe-current-card,
.wpwe-hour-card,
.wpwe-forecast-card,
.wpwe-astro-item{

    animation:wpweFade .45s ease both;

}

@keyframes wpweFade{

    from{

        opacity:0;
        transform:translateY(8px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

.wpwe-hour-card,
.wpwe-forecast-card,
.wpwe-astro-item{

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}

.wpwe-hour-card:hover,
.wpwe-forecast-card:hover,
.wpwe-astro-item:hover{

    transform:translateY(-4px);

}

.wpwe-temperature{

    transition:transform .25s ease;

}

.wpwe-current-card:hover .wpwe-temperature{

    transform:scale(1.05);

}

.wpwe-condition-icon{

    transition:transform .3s ease;

}

.wpwe-current-card:hover .wpwe-condition-icon{

    transform:rotate(8deg) scale(1.08);

}

.wpwe-hourly-list{

    scroll-behavior:smooth;

}

.wpwe-hourly-list::-webkit-scrollbar{

    height:8px;

}

.wpwe-hourly-list::-webkit-scrollbar-track{

    background:#edf2f7;
    border-radius:20px;

}

.wpwe-hourly-list::-webkit-scrollbar-thumb{

    background:#2563eb;
    border-radius:20px;

}

.wpwe-hourly-list::-webkit-scrollbar-thumb:hover{

    background:#1d4ed8;

}

.wpwe-forecast-card img{

    transition:transform .3s ease;

}

.wpwe-forecast-card:hover img{

    transform:scale(1.12);

}

.wpwe-astro-item img{

    transition:transform .3s ease;

}

.wpwe-astro-item:hover img{

    transform:rotate(10deg) scale(1.12);

}

.wpwe-widget{

    animation:wpweLoad .4s ease;

}

@keyframes wpweLoad{

    from{

        opacity:0;
        transform:translateY(12px);

    }

    to{

        opacity:1;
        transform:none;

    }

}

/*====================================================
AIR QUALITY
====================================================*/

.wpwe-air-quality{

margin-top:40px;

}

.wpwe-aqi-card{

background:#ffffff;

border-radius:20px;

padding:24px;

box-shadow:0 10px 30px rgba(0,0,0,.06);

border-left:8px solid #22c55e;

}

.wpwe-aqi-score{

font-size:28px;

font-weight:700;

margin-bottom:8px;

}

.wpwe-aqi-message{

color:#6b7280;

margin-bottom:22px;

line-height:1.6;

}

.wpwe-aqi-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:16px;

}

.wpwe-aqi-grid div{

background:#f8fafc;

padding:18px;

border-radius:14px;

text-align:center;

}

.wpwe-aqi-grid span{

display:block;

font-size:13px;

color:#64748b;

margin-bottom:8px;

}

.wpwe-aqi-grid strong{

font-size:20px;

font-weight:700;

color:#111827;

}

/* AQI COLORS */

.wpwe-aqi-good{

border-left-color:#16a34a;

}

.wpwe-aqi-moderate{

border-left-color:#eab308;

}

.wpwe-aqi-sensitive{

border-left-color:#f97316;

}

.wpwe-aqi-unhealthy{

border-left-color:#ef4444;

}

.wpwe-aqi-very-unhealthy{

border-left-color:#9333ea;

}

.wpwe-aqi-hazardous{

border-left-color:#7f1d1d;

}

@media(max-width:768px){

.wpwe-aqi-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:480px){

.wpwe-aqi-grid{

grid-template-columns:1fr;

}

}

/*--------------------------------------------------------------
# Weather Charts
--------------------------------------------------------------*/

.wpwe-chart-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    height: 300px;
    box-sizing: border-box;
}

.wpwe-chart-card h4 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 600;
}

.wpwe-chart-card canvas {
    width: 100% !important;
    height: 220px !important;
    display: block;
}

.wpwe-chart-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.wpwe-chart-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.wpwe-chart-card {
    position: relative;
}

@media (max-width: 768px) {

    .wpwe-chart-container {
        height: 260px;
    }

}

/* =========================================================
   3-DAY FORECAST CARDS
   ========================================================= */

.wpwe-forecast-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 16px;
}

.wpwe-forecast-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    min-height: 300px;
    padding: 20px 16px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-sizing: border-box;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.wpwe-forecast-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

/* Day */
.wpwe-forecast-day {
    width: 100%;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    color: #1f2937;
}

/* Date */
.wpwe-forecast-date {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.3;
    color: #6b7280;
}

/* Weather icon */
.wpwe-forecast-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 12px 0 6px;
}

/* Condition */
.wpwe-forecast-condition {
    min-height: 38px;
    max-width: 180px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;

    color: #374151;
}

/* Temperature */
.wpwe-forecast-temp {
    margin-top: 10px;

    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;

    color: #111827;
}

/* Forecast information */
.wpwe-forecast-extra {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    margin-top: 18px;

    border-top: 1px solid #edf0f2;
    padding-top: 13px;

    gap: 9px 8px;
}

.wpwe-forecast-extra > div {
    padding: 7px 4px;

    border-radius: 8px;
    background: #f8fafc;

    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;

    color: #475569;
}

/* Rain */
.wpwe-forecast-extra > div:nth-child(1) {
    color: #1976d2;
}

/* Wind */
.wpwe-forecast-extra > div:nth-child(2) {
    color: #388e3c;
}

/* Humidity */
.wpwe-forecast-extra > div:nth-child(3) {
    color: #0288d1;
}

/* UV */
.wpwe-forecast-extra > div:nth-child(4) {
    color: #d97706;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .wpwe-forecast-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .wpwe-forecast-card {
        min-height: 285px;
        padding: 16px 10px;
    }

    .wpwe-forecast-day {
        font-size: 15px;
    }

    .wpwe-forecast-icon {
        width: 62px;
        height: 62px;
    }

    .wpwe-forecast-temp {
        font-size: 22px;
    }

    .wpwe-forecast-extra > div {
        font-size: 10px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .wpwe-forecast-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wpwe-forecast-card {
        min-height: auto;
        padding: 18px 16px;
    }

    .wpwe-forecast-icon {
        width: 70px;
        height: 70px;
    }

    .wpwe-forecast-condition {
        min-height: auto;
    }

    .wpwe-forecast-temp {
        font-size: 24px;
    }

    .wpwe-forecast-extra {
        max-width: 360px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .wpwe-forecast-card {
        padding: 15px 12px;
    }

    .wpwe-forecast-extra {
        gap: 6px;
    }

    .wpwe-forecast-extra > div {
        font-size: 9px;
        padding: 6px 3px;
    }

}

/* =========================================================
   CURRENT WEATHER DETAILS
   ========================================================= */

.wpwe-current-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 18px;
}

.wpwe-current-detail {
    padding: 12px 10px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-sizing: border-box;
}

.wpwe-current-detail-label {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1.3;
    color: #64748b;
}

.wpwe-current-detail strong {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    color: #1f2937;
}

@media (max-width: 700px) {

    .wpwe-current-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 380px) {

    .wpwe-current-details {
        gap: 7px;
    }

    .wpwe-current-detail {
        padding: 10px 7px;
    }

    .wpwe-current-detail-label {
        font-size: 10px;
    }

    .wpwe-current-detail strong {
        font-size: 14px;
    }

}

/*=========================================================
  SUN & MOON — COMPACT RESPONSIVE LAYOUT
=========================================================*/

.wpwe-astro-grid{

grid-template-columns:repeat(6,minmax(0,1fr));

gap:12px;

}


.wpwe-astro-item{

min-width:0;

padding:14px 10px;

min-height:110px;

}


.wpwe-astro-label{

font-size:13px;

margin-bottom:7px;

white-space:nowrap;

}


.wpwe-astro-value{

font-size:20px;

}


.wpwe-sunrise,
.wpwe-sunset,
.wpwe-moonrise,
.wpwe-moonset,
.wpwe-moon-phase,
.wpwe-moon-illumination{

color:#111827;

}


/* Tablet */

@media (max-width:1024px){

.wpwe-astro-grid{

grid-template-columns:repeat(3,minmax(0,1fr));

gap:14px;

}

}


/* Mobile */

@media (max-width:768px){

.wpwe-astro-grid{

grid-template-columns:repeat(2,minmax(0,1fr));

gap:12px;

}

.wpwe-astro-item{

padding:14px 8px;

min-height:105px;

}

.wpwe-astro-label{

font-size:12px;

}

.wpwe-astro-value{

font-size:18px;

}

}

.wpwe-hidden {
    display: none !important;
}

/* =========================================================
   WEATHER ALERTS — SEVERITY BASED DESIGN
   ========================================================= */

/* Alerts section */
.wpwe-alerts-section {
    margin-top: 36px;
    margin-bottom: 36px;
}

.wpwe-alerts-section .wpwe-section-title {
    margin-bottom: 18px;
}

/* Alert list */
.wpwe-alerts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---------------------------------------------------------
   Base alert card
   --------------------------------------------------------- */

.wpwe-alert-card {
    position: relative;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-left: 6px solid #64748b;

    border-radius: 16px;

    padding: 20px 22px;

    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.wpwe-alert-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.10);
}

/* ---------------------------------------------------------
   Alert header
   --------------------------------------------------------- */

.wpwe-alert-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 10px;
}

.wpwe-alert-icon {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 17px;
    font-weight: 700;

    background: #f1f5f9;
}

.wpwe-alert-title-wrap {
    min-width: 0;
}

.wpwe-alert-title {
    display: block;

    font-size: 18px;
    line-height: 1.35;

    font-weight: 700;

    color: #172033;
}

.wpwe-alert-event {
    margin-top: 3px;

    font-size: 14px;
    line-height: 1.4;

    color: #64748b;
}

/* ---------------------------------------------------------
   Severity + urgency
   --------------------------------------------------------- */

.wpwe-alert-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin: 8px 0 14px;
}

.wpwe-alert-badge,
.wpwe-alert-urgency {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 4px 11px;

    border-radius: 999px;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 700;
}

.wpwe-alert-urgency {
    background: #f1f5f9;
    color: #475569;

    border: 1px solid #e2e8f0;
}

/* ---------------------------------------------------------
   Affected area
   --------------------------------------------------------- */

.wpwe-alert-area {
    margin: 10px 0 12px;

    font-size: 14px;
    line-height: 1.55;

    color: #475569;
}

.wpwe-alert-area strong {
    color: #1e293b;
}

/* ---------------------------------------------------------
   Description
   --------------------------------------------------------- */

.wpwe-alert-text {
    font-size: 15px;
    line-height: 1.7;

    color: #334155;

    white-space: normal;
}

/* ---------------------------------------------------------
   Safety information
   --------------------------------------------------------- */

.wpwe-alert-instruction {
    margin-top: 16px;

    padding: 13px 15px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    font-size: 14px;
    line-height: 1.65;

    color: #475569;
}

.wpwe-alert-instruction strong {
    display: block;

    margin-bottom: 5px;

    color: #1e293b;
}

/* ---------------------------------------------------------
   Effective / expiry times
   --------------------------------------------------------- */

.wpwe-alert-times {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 16px;
    padding-top: 13px;

    border-top: 1px solid #e5e7eb;

    font-size: 13px;
    line-height: 1.5;

    color: #64748b;
}

.wpwe-alert-times strong {
    color: #334155;
    margin-right: 4px;
}

/* =========================================================
   EXTREME
   ========================================================= */

.wpwe-alert-card.wpwe-alert-extreme {
    border-left-color: #991b1b;

    background:
        linear-gradient(
            90deg,
            #fff1f2 0%,
            #ffffff 28%
        );
}

.wpwe-alert-extreme .wpwe-alert-icon {
    background: #991b1b;
    color: #ffffff;
}

.wpwe-alert-extreme .wpwe-alert-title {
    color: #7f1d1d;
}

.wpwe-alert-extreme .wpwe-alert-badge {
    background: #991b1b;
    color: #ffffff;
}

/* =========================================================
   SEVERE
   ========================================================= */

.wpwe-alert-card.wpwe-alert-severe {
    border-left-color: #dc2626;

    background:
        linear-gradient(
            90deg,
            #fef2f2 0%,
            #ffffff 28%
        );
}

.wpwe-alert-severe .wpwe-alert-icon {
    background: #dc2626;
    color: #ffffff;
}

.wpwe-alert-severe .wpwe-alert-title {
    color: #b91c1c;
}

.wpwe-alert-severe .wpwe-alert-badge {
    background: #dc2626;
    color: #ffffff;
}

/* =========================================================
   MODERATE
   ========================================================= */

.wpwe-alert-card.wpwe-alert-moderate {
    border-left-color: #d97706;

    background:
        linear-gradient(
            90deg,
            #fffbeb 0%,
            #ffffff 28%
        );
}

.wpwe-alert-moderate .wpwe-alert-icon {
    background: #f59e0b;
    color: #ffffff;
}

.wpwe-alert-moderate .wpwe-alert-title {
    color: #92400e;
}

.wpwe-alert-moderate .wpwe-alert-badge {
    background: #f59e0b;
    color: #ffffff;
}

/* =========================================================
   MINOR
   ========================================================= */

.wpwe-alert-card.wpwe-alert-minor {
    border-left-color: #2563eb;

    background:
        linear-gradient(
            90deg,
            #eff6ff 0%,
            #ffffff 28%
        );
}

.wpwe-alert-minor .wpwe-alert-icon {
    background: #2563eb;
    color: #ffffff;
}

.wpwe-alert-minor .wpwe-alert-title {
    color: #1d4ed8;
}

.wpwe-alert-minor .wpwe-alert-badge {
    background: #2563eb;
    color: #ffffff;
}

/* =========================================================
   NORMAL / UNKNOWN SEVERITY
   ========================================================= */

.wpwe-alert-card.wpwe-alert-normal {
    border-left-color: #64748b;
}

.wpwe-alert-normal .wpwe-alert-icon {
    background: #64748b;
    color: #ffffff;
}

.wpwe-alert-normal .wpwe-alert-badge {
    background: #64748b;
    color: #ffffff;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .wpwe-alerts-section {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .wpwe-alert-card {
        padding: 17px 16px;
        border-left-width: 5px;
        border-radius: 14px;
    }

    .wpwe-alert-title {
        font-size: 16px;
    }

    .wpwe-alert-event {
        font-size: 13px;
    }

    .wpwe-alert-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .wpwe-alert-area {
        font-size: 13px;
    }

    .wpwe-alert-instruction {
        font-size: 13px;
        padding: 11px 12px;
    }

    .wpwe-alert-times {
        flex-direction: column;
        gap: 5px;
    }
}

/* =========================================================
   WEATHER ALERTS — GLOBAL UI
   Applies automatically to every location/country.
   ========================================================= */

.wpwe-alerts-section {
    width: 100%;
    max-width: 100%;
    margin: 32px 0;
    box-sizing: border-box;
}

.wpwe-alerts-section .wpwe-section-title {
    width: 100%;
    margin: 0 0 18px;
    box-sizing: border-box;
}

.wpwe-alerts-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   Alert Card
   --------------------------------------------------------- */

.wpwe-alert-card {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 22px;
    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 6px solid #64748b;
    border-radius: 16px;

    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.07);

    color: #334155;
    line-height: 1.6;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.wpwe-alert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(15, 23, 42, 0.11);
}

/* ---------------------------------------------------------
   Severity colors
   --------------------------------------------------------- */

.wpwe-alert-card.wpwe-alert-extreme {
    border-left-color: #dc2626;
}

.wpwe-alert-card.wpwe-alert-severe {
    border-left-color: #ef4444;
}

.wpwe-alert-card.wpwe-alert-moderate {
    border-left-color: #f59e0b;
}

.wpwe-alert-card.wpwe-alert-minor {
    border-left-color: #16a34a;
}

.wpwe-alert-card.wpwe-alert-normal {
    border-left-color: #64748b;
}

/* ---------------------------------------------------------
   Alert Header
   --------------------------------------------------------- */

.wpwe-alert-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0 0 10px;
    box-sizing: border-box;
}

.wpwe-alert-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    line-height: 1;

    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
}

.wpwe-alert-title-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.wpwe-alert-title {
    display: block;
    margin: 0;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;

    color: #111827;
    overflow-wrap: anywhere;
}

.wpwe-alert-event {
    margin-top: 2px;

    font-size: 13px;
    line-height: 1.4;

    color: #64748b;
}

/* ---------------------------------------------------------
   Severity / urgency badges
   --------------------------------------------------------- */

.wpwe-alert-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    width: 100%;
    margin: 0 0 14px;
}

.wpwe-alert-badge,
.wpwe-alert-urgency {
    display: inline-flex;
    align-items: center;

    min-height: 24px;
    padding: 3px 9px;

    border-radius: 999px;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;

    background: #f1f5f9;
    color: #475569;
}

/* Severity badge colors */

.wpwe-alert-extreme .wpwe-alert-badge {
    background: #fee2e2;
    color: #b91c1c;
}

.wpwe-alert-severe .wpwe-alert-badge {
    background: #fee2e2;
    color: #dc2626;
}

.wpwe-alert-moderate .wpwe-alert-badge {
    background: #fef3c7;
    color: #b45309;
}

.wpwe-alert-minor .wpwe-alert-badge {
    background: #dcfce7;
    color: #15803d;
}

.wpwe-alert-normal .wpwe-alert-badge {
    background: #e2e8f0;
    color: #475569;
}

/* Urgency */

.wpwe-alert-urgency {
    background: #f8fafc;
    color: #64748b;
}

/* ---------------------------------------------------------
   Affected Area
   --------------------------------------------------------- */

.wpwe-alert-area {
    width: 100%;
    margin: 0 0 13px;
    padding: 10px 12px;

    box-sizing: border-box;

    background: #f8fafc;
    border-radius: 10px;

    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.wpwe-alert-area strong {
    color: #334155;
}

/* ---------------------------------------------------------
   Alert Description
   --------------------------------------------------------- */

.wpwe-alert-text {
    width: 100%;
    margin: 0 0 14px;

    font-size: 14px;
    line-height: 1.65;

    color: #374151;

    overflow-wrap: anywhere;
    word-break: normal;
}

/* ---------------------------------------------------------
   Safety Information
   --------------------------------------------------------- */

.wpwe-alert-instruction {
    width: 100%;
    margin: 0 0 15px;
    padding: 12px 14px;

    box-sizing: border-box;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;

    font-size: 13px;
    line-height: 1.6;

    color: #475569;
}

.wpwe-alert-instruction strong {
    display: block;
    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 700;

    color: #334155;
}

/* ---------------------------------------------------------
   Effective / Expiry
   --------------------------------------------------------- */

.wpwe-alert-times {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;

    width: 100%;
    margin-top: 12px;
    padding-top: 12px;

    border-top: 1px solid #e5e7eb;

    font-size: 12px;
    line-height: 1.5;

    color: #64748b;
}

.wpwe-alert-times > div {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

.wpwe-alert-times strong {
    color: #475569;
}

/* ---------------------------------------------------------
   Simple AJAX-rendered alert fallback
   This also covers alerts created by frontend JS.
   --------------------------------------------------------- */

.wpwe-alerts-section .wpwe-alert-card:not(
    .wpwe-alert-extreme,
    .wpwe-alert-severe,
    .wpwe-alert-moderate,
    .wpwe-alert-minor,
    .wpwe-alert-normal
) {
    border-left-color: #64748b;
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .wpwe-alerts-section {
        margin: 26px 0;
    }

    .wpwe-alerts-list {
        gap: 13px;
    }

    .wpwe-alert-card {
        padding: 17px 16px;
        border-left-width: 5px;
        border-radius: 14px;
    }

    .wpwe-alert-head {
        gap: 9px;
    }

    .wpwe-alert-icon {
        width: 27px;
        height: 27px;
        font-size: 15px;
    }

    .wpwe-alert-title {
        font-size: 15px;
    }

    .wpwe-alert-event {
        font-size: 12px;
    }

    .wpwe-alert-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .wpwe-alert-area {
        font-size: 12px;
    }

    .wpwe-alert-instruction {
        font-size: 12px;
        padding: 10px 11px;
    }

    .wpwe-alert-times {
        gap: 6px 16px;
        font-size: 11px;
    }
}

/* ---------------------------------------------------------
   Small phones
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .wpwe-alert-card {
        padding: 15px 13px;
        border-left-width: 4px;
        border-radius: 12px;
    }

    .wpwe-alert-title {
        font-size: 14px;
    }

    .wpwe-alert-text {
        font-size: 12px;
    }

    .wpwe-alert-area {
        padding: 8px 10px;
    }

    .wpwe-alert-times {
        display: block;
    }

    .wpwe-alert-times > div {
        display: block;
        margin-bottom: 4px;
    }
}

/* =========================================================
   SUN & MOON — POLISHED CARD STYLE
   Task #3 — Part A
   Append only. Do not remove existing Sun & Moon CSS.
   ========================================================= */

.wpwe-astronomy {
    width: 100%;
    margin: 28px 0 32px;
    box-sizing: border-box;
}

/* Section heading */
.wpwe-astronomy .wpwe-section-title {
    margin-bottom: 16px;
}

/* Six-metric grid */
.wpwe-astronomy-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;

    width: 100%;
    box-sizing: border-box;
}

/* Individual metric card */
.wpwe-astro-item {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 112px;

    padding: 15px 10px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-shadow:
        0 3px 10px rgba(15, 23, 42, 0.05);

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

/* Hover */
.wpwe-astro-item:hover {
    transform: translateY(-2px);

    border-color: #dbe3ec;

    box-shadow:
        0 7px 18px rgba(15, 23, 42, 0.09);
}

/* Icon */
.wpwe-astro-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-bottom: 8px;

    border-radius: 50%;

    background: #f8fafc;

    font-size: 18px;
    line-height: 1;
}

/* Metric label */
.wpwe-astro-label {
    display: block;

    margin: 0 0 4px;

    font-size: 11px;
    line-height: 1.3;

    font-weight: 600;

    color: #64748b;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    max-width: 100%;
}

/* Metric value */
.wpwe-astro-value {
    display: block;

    margin: 0;

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    color: #1e293b;

    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   Sun metrics
   --------------------------------------------------------- */

.wpwe-astro-item:has(.wpwe-sunrise),
.wpwe-astro-item:has(.wpwe-sunset) {
    background:
        linear-gradient(
            180deg,
            #fffaf0 0%,
            #ffffff 100%
        );
}

/* ---------------------------------------------------------
   Moon metrics
   --------------------------------------------------------- */

.wpwe-astro-item:has(.wpwe-moonrise),
.wpwe-astro-item:has(.wpwe-moonset),
.wpwe-astro-item:has(.wpwe-moon-phase),
.wpwe-astro-item:has(.wpwe-moon-illumination) {
    background:
        linear-gradient(
            180deg,
            #f8faff 0%,
            #ffffff 100%
        );
}

/* ---------------------------------------------------------
   Make the actual values stand out
   --------------------------------------------------------- */

.wpwe-sunrise,
.wpwe-sunset,
.wpwe-moonrise,
.wpwe-moonset,
.wpwe-moon-phase,
.wpwe-moon-illumination {
    display: block;

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    color: #1e293b;
}

/* Illumination percentage */
.wpwe-moon-illumination {
    font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .wpwe-astronomy-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .wpwe-astro-item {
        min-height: 108px;
    }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 640px) {

    .wpwe-astronomy {
        margin: 24px 0 28px;
    }

    .wpwe-astronomy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .wpwe-astro-item {
        min-height: 100px;
        padding: 13px 9px;

        border-radius: 12px;
    }

    .wpwe-astro-icon {
        width: 30px;
        height: 30px;

        margin-bottom: 6px;

        font-size: 16px;
    }

    .wpwe-astro-label {
        font-size: 10px;
    }

    .wpwe-astro-value,
    .wpwe-sunrise,
    .wpwe-sunset,
    .wpwe-moonrise,
    .wpwe-moonset,
    .wpwe-moon-phase,
    .wpwe-moon-illumination {
        font-size: 13px;
    }
}

/* ---------------------------------------------------------
   Very small phones
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .wpwe-astronomy-grid {
        gap: 8px;
    }

    .wpwe-astro-item {
        min-height: 94px;
        padding: 11px 7px;
    }

    .wpwe-astro-icon {
        width: 27px;
        height: 27px;
        font-size: 14px;
    }

    .wpwe-astro-label {
        font-size: 9px;
    }

    .wpwe-astro-value,
    .wpwe-sunrise,
    .wpwe-sunset,
    .wpwe-moonrise,
    .wpwe-moonset,
    .wpwe-moon-phase,
    .wpwe-moon-illumination {
        font-size: 12px;
    }
}

/* =========================================================
   WEATHER TOMORROW - SUN & MOON POLISH
   Converts the six Sun & Moon metrics into compact cards
   while keeping them in one row on desktop.
   ========================================================= */

.wpwe-section-astronomy {
    margin-top: 28px;
    margin-bottom: 28px;
}

/* Sun & Moon heading */
.wpwe-section-astronomy h2 {
    margin-bottom: 18px;
}

/* Main Sun & Moon metrics container */
.wpwe-section-astronomy > div {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

/* Individual metric/card */
.wpwe-section-astronomy > div > div {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    padding: 14px 10px 15px;
    min-height: 92px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

/* Small hover effect */
.wpwe-section-astronomy > div > div:hover {
    transform: translateY(-2px);
    border-color: #d5def0;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.08);
}

/* Icons */
.wpwe-section-astronomy > div > div:first-child,
.wpwe-section-astronomy > div > div:nth-child(2),
.wpwe-section-astronomy > div > div:nth-child(3),
.wpwe-section-astronomy > div > div:nth-child(4),
.wpwe-section-astronomy > div > div:nth-child(5),
.wpwe-section-astronomy > div > div:nth-child(6) {
    line-height: 1.3;
}

/* Labels such as Sunrise, Sunset, Moonrise, etc. */
.wpwe-section-astronomy > div > div > *:first-child {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 5px;
}

/* Main values */
.wpwe-section-astronomy > div > div > *:last-child {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Make the actual emoji/icon slightly larger */
.wpwe-section-astronomy > div > div img,
.wpwe-section-astronomy > div > div svg {
    width: 25px;
    height: 25px;
    margin-bottom: 7px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .wpwe-section-astronomy > div {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .wpwe-section-astronomy > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .wpwe-section-astronomy > div > div {
        min-height: 88px;
        padding: 12px 8px;
    }

    .wpwe-section-astronomy > div > div > *:last-child {
        font-size: 14px;
    }
}