/* =========================================================
   SB WORLD TIME WEATHER — PREMIUM RESPONSIVE REDESIGN
   Shortcodes unchanged:
   [sb_world_time_weather_en]
   [sb_world_time_weather_de]
   [sb_world_time_weather lang="en|de"]
========================================================= */

.sbwtw-section,
.sbwtw-section *{
  box-sizing:border-box;
}

.sbwtw-section{
  --sbwtw-green:#075f59;
  --sbwtw-green-2:#0f7d74;
  --sbwtw-deep:#0b3f3b;
  --sbwtw-dark:#112b27;
  --sbwtw-navy:#09233c;
  --sbwtw-gold:#c9a35d;
  --sbwtw-gold-2:#e6c879;
  --sbwtw-cream:#fbf6ec;
  --sbwtw-mint:#e7f5ee;
  --sbwtw-sand:#f2dfbb;
  --sbwtw-ink:#172925;
  --sbwtw-muted:#60706a;
  --sbwtw-white:#ffffff;

  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:clamp(44px,5vw,76px) 0;
  background:
    linear-gradient(135deg,#fbf6ec 0%,#eaf6f0 48%,#f3e2c1 100%);
  color:var(--sbwtw-ink);
  font-family:inherit;
}

/* Animated Islamic-geometric texture, no random circles */
.sbwtw-section:before{
  content:"";
  position:absolute;
  inset:-90px;
  z-index:-3;
  opacity:.58;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='118' viewBox='0 0 118 118'%3E%3Cpath d='M59 8L110 59L59 110L8 59Z M59 8V110 M8 59H110' fill='none' stroke='%23075f59' stroke-opacity='.10' stroke-width='1'/%3E%3Cpath d='M30 30H88V88H30Z M30 88L88 30 M30 30L88 88' fill='none' stroke='%23c9a35d' stroke-opacity='.085' stroke-width='1'/%3E%3C/svg%3E");
  background-size:118px 118px;
  animation:sbwtwPatternMove 34s linear infinite;
  pointer-events:none;
  mask-image:linear-gradient(180deg,transparent 0%,#000 13%,#000 88%,transparent 100%);
}

.sbwtw-section:after{
  content:"";
  position:absolute;
  top:-25%;
  bottom:-25%;
  left:-50%;
  width:42%;
  z-index:-2;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);
  transform:skewX(-18deg);
  animation:sbwtwLightSweep 9s ease-in-out infinite;
  pointer-events:none;
}

@keyframes sbwtwPatternMove{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(118px,59px,0)}
}

@keyframes sbwtwLightSweep{
  0%,38%{left:-55%;opacity:0}
  55%{opacity:.85}
  100%{left:120%;opacity:0}
}

.sbwtw-container{
  position:relative;
  width:100%;
  max-width:1500px;
  margin:0 auto;
  padding:0 clamp(14px,3vw,42px);
}

/* Header */
.sbwtw-header{
  position:relative;
  max-width:1030px;
  margin:0 auto 34px;
  padding:28px clamp(18px,4vw,52px) 30px;
  text-align:center;
  border-radius:30px;
  background:
    linear-gradient(135deg,rgba(255,253,246,.86),rgba(231,245,238,.88)),
    linear-gradient(90deg,rgba(201,163,93,.14),rgba(7,95,89,.10));
  border:1px solid rgba(255,255,255,.88);
  box-shadow:
    0 24px 58px rgba(31,55,50,.13),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(14px);
  overflow:hidden;
}

.sbwtw-header:before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:22px;
  border:1px solid rgba(7,95,89,.10);
  pointer-events:none;
}

.sbwtw-header:after{
  content:"";
  position:absolute;
  right:clamp(18px,4vw,54px);
  top:20px;
  width:88px;
  height:112px;
  opacity:.18;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='150' viewBox='0 0 120 150'%3E%3Cpath d='M22 132h78v10H22z' fill='%23075f59'/%3E%3Cpath d='M35 78h20v54H35zM65 48h20v84H65zM74 20h12v28H74z' fill='%23075f59' opacity='.78'/%3E%3Cpath d='M68 48h28v9H68zM78 8c7 6 7 13 0 20c-6-7-6-14 0-20Z' fill='%23c9a35d'/%3E%3C/svg%3E") center/contain no-repeat;
  filter:drop-shadow(0 18px 20px rgba(7,95,89,.18));
  pointer-events:none;
}

.sbwtw-eyebrow{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(201,163,93,.30);
  background:linear-gradient(135deg,#fff8e7,#edf7f2);
  color:var(--sbwtw-green);
  font-weight:950;
  font-size:11px;
  line-height:1;
  letter-spacing:.14em;
  text-transform:uppercase;
  box-shadow:0 12px 26px rgba(31,55,50,.08);
}

.sbwtw-eyebrow-icon{
  width:21px;
  height:21px;
  display:inline-grid;
  place-items:center;
  color:var(--sbwtw-gold);
  filter:drop-shadow(0 4px 7px rgba(201,163,93,.20));
}

.sbwtw-eyebrow-icon svg{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
}

.sbwtw-heading{
  position:relative;
  z-index:2;
  max-width:780px;
  margin:14px auto 10px;
  font-family:Georgia, 'Times New Roman', serif;
  font-size:clamp(32px,3.9vw,54px);
  line-height:1.06;
  letter-spacing:-.018em;
  color:var(--sbwtw-dark);
  font-weight:950;
  text-transform:none;
  text-shadow:0 2px 0 rgba(255,255,255,.72);
}

.sbwtw-heading span,
.sbwtw-heading em{
  color:var(--sbwtw-gold);
}

.sbwtw-subheading{
  position:relative;
  z-index:2;
  margin:0 auto;
  max-width:760px;
  color:#40524d;
  font-size:15.5px;
  line-height:1.68;
  font-weight:500;
}

/* Grid */
.sbwtw-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:20px;
  align-items:stretch;
}

/* Card */
.sbwtw-card{
  --card-accent:var(--sbwtw-gold);
  --card-accent-2:var(--sbwtw-green-2);
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border-radius:26px;
  background:linear-gradient(180deg,#fffaf0 0%,#f3efe5 100%);
  box-shadow:
    0 18px 42px rgba(31,55,50,.13),
    inset 0 1px 0 rgba(255,255,255,.90);
  border:1px solid rgba(7,95,89,.12);
  isolation:isolate;
  transform:translateZ(0);
  transition:transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.sbwtw-card:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 64px rgba(31,55,50,.22);
  border-color:rgba(201,163,93,.30);
}

.sbwtw-card:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:5px;
  z-index:5;
  background:linear-gradient(90deg,var(--card-accent-2),var(--card-accent),#efc878);
}

.sbwtw-card:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.32);
  z-index:6;
}

.sbwtw-card[data-city="makkah"],
.sbwtw-card[data-city="madinah"],
.sbwtw-card[data-city="istanbul"]{
  --card-accent:#d8b66a;
  --card-accent-2:#075f59;
}

.sbwtw-card[data-city="dubai"],
.sbwtw-card[data-city="tokyo"]{
  --card-accent:#e6c879;
  --card-accent-2:#0f7d74;
}

.sbwtw-card[data-city="london"],
.sbwtw-card[data-city="new-york"],
.sbwtw-card[data-city="berlin"]{
  --card-accent:#b88d3b;
  --card-accent-2:#09233c;
}

/* Top image */
.sbwtw-media{
  position:relative;
  min-height:154px;
  background-size:cover;
  background-position:center;
  background-color:#e8efe9;
  overflow:hidden;
}

.sbwtw-media::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.02) 0%,rgba(8,35,31,.38) 100%),
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.42),transparent 34%);
  z-index:1;
}

.sbwtw-card:hover .sbwtw-media{
  background-size:cover;
}

.sbwtw-media.has-image{
  transition:filter .32s ease;
}

.sbwtw-card:hover .sbwtw-media.has-image{
  filter:saturate(1.06) contrast(1.03);
}

.sbwtw-media.has-placeholder{
  display:grid;
  place-items:center;
  background:
    linear-gradient(135deg,rgba(255,248,231,.92),rgba(230,244,237,.84)),
    linear-gradient(120deg,rgba(201,163,93,.22),rgba(7,95,89,.14));
}

.sbwtw-media.has-placeholder:before{
  background:
    linear-gradient(180deg,rgba(255,255,255,.10),rgba(7,95,89,.16)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='86' height='86' viewBox='0 0 86 86'%3E%3Cpath d='M43 6L80 43L43 80L6 43Z M6 43H80 M43 6V80' fill='none' stroke='%23075f59' stroke-opacity='.16'/%3E%3C/svg%3E") center/86px 86px;
}

.sbwtw-media.has-placeholder::after{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:18px;
  border:1px dashed rgba(7,95,89,.28);
  z-index:1;
  pointer-events:none;
}

.sbwtw-image-placeholder{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:134px;
  max-width:82%;
  padding:10px 15px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  color:var(--sbwtw-green);
  font-size:10.5px;
  line-height:1;
  font-weight:950;
  letter-spacing:.07em;
  text-transform:uppercase;
  text-align:center;
  box-shadow:0 12px 28px rgba(31,55,50,.10);
}

.sbwtw-city-icon{
  position:absolute;
  z-index:3;
  top:14px;
  left:14px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:linear-gradient(135deg,#fff8e7,#e8f6ef);
  color:var(--sbwtw-green);
  box-shadow:
    0 12px 24px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.68);
  border:1px solid rgba(255,255,255,.72);
}

.sbwtw-city-icon svg{
  width:21px;
  height:21px;
  fill:currentColor;
  display:block;
}

.sbwtw-live-badge{
  position:absolute;
  z-index:3;
  left:14px;
  bottom:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--card-accent),var(--sbwtw-gold-2));
  color:#17312d;
  font-size:10px;
  line-height:1;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.075em;
  box-shadow:0 11px 24px rgba(0,0,0,.20);
}

.sbwtw-live-badge:before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#075f59;
  box-shadow:0 0 0 5px rgba(7,95,89,.14);
  animation:sbwtwLivePulse 1.8s ease-in-out infinite;
}

@keyframes sbwtwLivePulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 5px rgba(7,95,89,.14)}
  50%{transform:scale(1.18);box-shadow:0 0 0 9px rgba(7,95,89,0)}
}

/* Body */
.sbwtw-card-body{
  position:relative;
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-width:0;
  padding:19px;
  color:#fff;
  background:
    radial-gradient(circle at 100% 0%,rgba(230,200,121,.20),transparent 33%),
    linear-gradient(180deg,var(--sbwtw-green) 0%,var(--sbwtw-deep) 46%,#092f2c 100%);
}

.sbwtw-card-body:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.16;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M36 8L64 36L36 64L8 36Z M8 36H64 M36 8V64' fill='none' stroke='%23ffffff' stroke-opacity='.38'/%3E%3C/svg%3E");
  background-size:72px 72px;
  pointer-events:none;
}

.sbwtw-card-head,
.sbwtw-stat-grid,
.sbwtw-sun-grid{
  position:relative;
  z-index:2;
}

.sbwtw-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  margin-bottom:14px;
}

.sbwtw-city-text{
  min-width:0;
}

.sbwtw-city-name{
  margin:0;
  color:#fff !important;
  font-size:clamp(20px,1.8vw,25px);
  line-height:1.08;
  font-weight:950;
  letter-spacing:.01em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
  text-shadow:0 8px 20px rgba(0,0,0,.22);
}

.sbwtw-country{
  margin:5px 0 0;
  color:rgba(255,255,255,.76) !important;
  font-size:12.5px;
  line-height:1.35;
  font-weight:650;
  overflow-wrap:anywhere;
}

.sbwtw-status-dot{
  flex:0 0 auto;
  width:12px;
  height:12px;
  margin-top:5px;
  border-radius:999px;
  background:var(--card-accent);
  box-shadow:0 0 0 5px rgba(201,163,93,.16);
  animation:sbwtwStatusGlow 2.2s ease-in-out infinite;
}

@keyframes sbwtwStatusGlow{
  0%,100%{box-shadow:0 0 0 5px rgba(201,163,93,.16)}
  50%{box-shadow:0 0 0 9px rgba(201,163,93,0)}
}

.sbwtw-stat-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:11px;
  min-width:0;
  margin-bottom:11px;
}

.sbwtw-stat-card{
  min-width:0;
  border-radius:17px;
  padding:13px 12px;
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 12px 24px rgba(0,0,0,.08);
  backdrop-filter:blur(12px);
}

.sbwtw-stat-label{
  display:block;
  margin-bottom:7px;
  color:rgba(255,255,255,.66);
  font-size:9px;
  line-height:1.1;
  font-weight:950;
  letter-spacing:.075em;
  text-transform:uppercase;
}

.sbwtw-time{
  display:block;
  color:#fff;
  font-size:clamp(30px,2.7vw,38px);
  line-height:.95;
  font-weight:950;
  letter-spacing:-.055em;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.sbwtw-date{
  display:block;
  margin-top:8px;
  color:rgba(255,255,255,.78);
  font-size:11px;
  line-height:1.22;
  font-weight:750;
  overflow-wrap:anywhere;
}

.sbwtw-weather-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}

.sbwtw-weather-icon{
  display:block;
  width:34px;
  height:34px;
  margin-bottom:7px;
  color:var(--card-accent);
  filter:drop-shadow(0 7px 12px rgba(0,0,0,.18));
}

.sbwtw-weather-icon svg{
  width:34px;
  height:34px;
  display:block;
  fill:currentColor;
}

.sbwtw-temp{
  display:block;
  color:#fff;
  font-size:clamp(23px,2.2vw,30px);
  line-height:1;
  font-weight:950;
  letter-spacing:-.035em;
  white-space:nowrap;
}

.sbwtw-temp span{
  font-size:.64em;
  margin-left:2px;
  font-weight:900;
}

.sbwtw-condition{
  display:block;
  width:100%;
  margin-top:7px;
  color:rgba(255,255,255,.78);
  font-size:11px;
  line-height:1.25;
  font-weight:800;
  overflow-wrap:anywhere;
}

.sbwtw-sun-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
  min-width:0;
  margin-top:auto;
}

.sbwtw-sun-chip{
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px;
  border-radius:15px;
  background:rgba(255,255,255,.095);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
}

.sbwtw-sun-icon{
  flex:0 0 auto;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  color:var(--card-accent);
}

.sbwtw-sun-icon svg{
  width:18px;
  height:18px;
  fill:currentColor;
  display:block;
}

.sbwtw-sun-text{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:2px;
}

.sbwtw-sun-text span{
  color:rgba(255,255,255,.58);
  font-size:8px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:.065em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}

.sbwtw-sun-text strong{
  color:#fff;
  font-size:12px;
  line-height:1.1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

/* Footer */
.sbwtw-footer{
  position:relative;
  z-index:2;
  margin-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,253,246,.82),rgba(232,246,239,.82));
  border:1px solid rgba(7,95,89,.11);
  box-shadow:0 16px 38px rgba(31,55,50,.09);
  backdrop-filter:blur(10px);
}

.sbwtw-footer-left,
.sbwtw-footer-right{
  display:flex;
  align-items:center;
  min-width:0;
}

.sbwtw-footer-left{
  gap:13px;
}

.sbwtw-footer-icon{
  flex:0 0 auto;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg,var(--sbwtw-green),var(--sbwtw-green-2));
  color:var(--sbwtw-gold-2);
  box-shadow:0 12px 22px rgba(7,95,89,.18);
}

.sbwtw-footer-icon svg{
  width:21px;
  height:21px;
  fill:currentColor;
  display:block;
}

.sbwtw-footer-left strong{
  display:block;
  color:var(--sbwtw-green);
  font-size:12px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:.055em;
  text-transform:uppercase;
}

.sbwtw-footer-left span:not(.sbwtw-footer-icon){
  display:block;
  margin-top:4px;
  color:rgba(23,41,37,.70);
  font-size:12px;
  line-height:1.35;
  font-weight:650;
}

.sbwtw-footer-right{
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  color:rgba(23,41,37,.72);
  font-size:12px;
  line-height:1.35;
  font-weight:750;
  text-align:right;
}

.sbwtw-refresh-dot{
  flex:0 0 auto;
  width:11px;
  height:11px;
  border-radius:999px;
  background:var(--sbwtw-gold);
  box-shadow:0 0 0 5px rgba(201,163,93,.14);
}

.sbwtw-source{
  flex:0 0 100%;
  color:rgba(23,41,37,.52);
  font-size:10.5px;
  font-weight:750;
}

/* Tablet */
@media (max-width:1180px){
  .sbwtw-grid{
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
  }
}

@media (max-width:980px){
  .sbwtw-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }

  .sbwtw-media{
    min-height:140px;
  }
}

/* Mobile: two cards per row to reduce long scrolling */
@media (max-width:560px){
  .sbwtw-section{
    padding:34px 0;
  }

  .sbwtw-container{
    padding:0 12px;
  }

  .sbwtw-header{
    margin-bottom:18px;
    padding:22px 14px 23px;
    border-radius:24px;
  }

  .sbwtw-header:before{
    inset:8px;
    border-radius:18px;
  }

  .sbwtw-header:after{
    width:56px;
    height:72px;
    right:14px;
    top:12px;
    opacity:.12;
  }

  .sbwtw-eyebrow{
    padding:8px 11px;
    font-size:9.5px;
    letter-spacing:.10em;
  }

  .sbwtw-eyebrow-icon{
    width:18px;
    height:18px;
  }

  .sbwtw-heading{
    font-size:26px;
    line-height:1.07;
    margin:12px auto 8px;
  }

  .sbwtw-subheading{
    font-size:13px;
    line-height:1.48;
  }

  .sbwtw-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .sbwtw-card{
    border-radius:18px;
  }

  .sbwtw-card:before{
    height:4px;
  }

  .sbwtw-media{
    min-height:86px;
  }

  .sbwtw-media.has-placeholder::after{
    inset:9px;
    border-radius:13px;
  }

  .sbwtw-image-placeholder{
    min-width:90px;
    padding:7px 9px;
    font-size:8px;
  }

  .sbwtw-city-icon{
    top:8px;
    left:8px;
    width:28px;
    height:28px;
    border-radius:10px;
  }

  .sbwtw-city-icon svg{
    width:14px;
    height:14px;
  }

  .sbwtw-live-badge{
    left:8px;
    bottom:8px;
    padding:4px 7px;
    font-size:7.5px;
    gap:4px;
  }

  .sbwtw-live-badge:before{
    width:5px;
    height:5px;
  }

  .sbwtw-card-body{
    padding:11px;
  }

  .sbwtw-card-head{
    margin-bottom:9px;
    gap:8px;
  }

  .sbwtw-city-name{
    font-size:15.5px;
    line-height:1.05;
  }

  .sbwtw-country{
    font-size:9.8px;
    margin-top:4px;
  }

  .sbwtw-status-dot{
    width:8px;
    height:8px;
    box-shadow:0 0 0 3px rgba(201,163,93,.14);
  }

  .sbwtw-stat-grid{
    grid-template-columns:1fr;
    gap:8px;
    margin-bottom:8px;
  }

  .sbwtw-stat-card{
    padding:9px;
    border-radius:12px;
  }

  .sbwtw-stat-label{
    font-size:7px;
    margin-bottom:4px;
  }

  .sbwtw-time{
    font-size:24px;
  }

  .sbwtw-date{
    font-size:8.7px;
    margin-top:5px;
  }

  .sbwtw-weather-icon,
  .sbwtw-weather-icon svg{
    width:24px;
    height:24px;
  }

  .sbwtw-weather-icon{
    margin-bottom:5px;
  }

  .sbwtw-temp{
    font-size:20px;
  }

  .sbwtw-condition{
    font-size:8.8px;
    margin-top:5px;
  }

  .sbwtw-sun-grid{
    grid-template-columns:1fr;
    gap:7px;
  }

  .sbwtw-sun-chip{
    padding:7px 8px;
    border-radius:11px;
    gap:7px;
  }

  .sbwtw-sun-icon,
  .sbwtw-sun-icon svg{
    width:15px;
    height:15px;
  }

  .sbwtw-sun-text span{
    font-size:6.8px;
  }

  .sbwtw-sun-text strong{
    font-size:9.8px;
  }

  .sbwtw-footer{
    margin-top:16px;
    padding:12px;
    border-radius:18px;
    flex-direction:column;
    align-items:flex-start;
  }

  .sbwtw-footer-right{
    justify-content:flex-start;
    text-align:left;
  }
}

/* Very small phones: one card row for readability */
@media (max-width:380px){
  .sbwtw-grid{
    grid-template-columns:1fr;
  }

  .sbwtw-media{
    min-height:112px;
  }

  .sbwtw-stat-grid,
  .sbwtw-sun-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .sbwtw-time{
    font-size:26px;
  }
}
