/* ================================================================
   London Weather — Main Stylesheet
   ================================================================ */

:root {
  --sky-dark:    #0B2447;
  --sky-mid:     #19376D;
  --sky-light:   #1565C0;
  --accent:      #4FC3F7;
  --accent-warm: #FFB74D;
  --rain:        #42A5F5;
  --sun:         #FDD835;
  --snow:        #E3F2FD;
  --text:        #1a1a2e;
  --text-light:  #6c757d;
  --bg-light:    #f0f4f8;
  --card-shadow: 0 4px 20px rgba(0,0,0,.08);
  --radius:      16px;
  --radius-sm:   10px;
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: #f5f7fa;
  line-height: 1.65;
}

h1,h2,h3,h4,h5 { font-weight: 700; }
.font-lora { font-family: 'Lora', serif; }

a { color: var(--sky-light); text-decoration: none; }
a:hover { color: var(--sky-dark); text-decoration: underline; }

/* ── Cookie Banner ────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(11,36,71,.97);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 1rem 0;
  border-top: 1px solid rgba(79,195,247,.3);
}

/* ── Header / Navbar ──────────────────────────────────────────── */
.site-header {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky-mid) 100%);
  padding-bottom: .75rem;
}

.navbar { padding-top: .9rem; padding-bottom: .9rem; }
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: 8px;
  transition: all .2s;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.brand-name  { font-weight: 800; font-size: 1.2rem; color: #fff; line-height: 1.2; }
.brand-tagline { font-size: .7rem; color: rgba(255,255,255,.6); }
.brand-icon  { font-size: 2.2rem; filter: drop-shadow(0 2px 8px rgba(79,195,247,.5)); }

/* Ad zones in header */
.ad-placeholder { border-radius: var(--radius-sm); }

/* ── Hero Weather Card ────────────────────────────────────────── */
.weather-hero {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky-mid) 50%, var(--sky-light) 100%);
  color: #fff;
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.weather-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.current-temp  { font-size: 6rem; font-weight: 800; line-height: 1; }
.weather-icon  { font-size: 5rem; filter: drop-shadow(0 4px 15px rgba(255,255,255,.3)); }
.weather-desc  { font-size: 1.3rem; font-weight: 500; opacity: .9; }
.feels-like    { font-size: .95rem; opacity: .7; }

.weather-stat-item {
  text-align: center;
  padding: .75rem;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}
.weather-stat-item .stat-val { font-size: 1.3rem; font-weight: 700; }
.weather-stat-item .stat-lbl { font-size: .72rem; opacity: .7; text-transform: uppercase; letter-spacing: .05em; }

/* ── Cards ────────────────────────────────────────────────────── */
.card-weather {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: none;
  overflow: hidden;
}

/* ── 7-Day Forecast Strip ─────────────────────────────────────── */
.forecast-day {
  text-align: center;
  padding: 1rem .5rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
  cursor: pointer;
}
.forecast-day:hover, .forecast-day.active {
  background: linear-gradient(135deg, var(--sky-dark), var(--sky-mid));
  color: #fff;
}
.forecast-day .day-icon  { font-size: 2rem; }
.forecast-day .day-name  { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.forecast-day .day-high  { font-size: 1.1rem; font-weight: 700; }
.forecast-day .day-low   { font-size: .85rem; opacity: .6; }
.forecast-day .day-precip{ font-size: .7rem; color: var(--rain); }

/* ── Hourly Chart ─────────────────────────────────────────────── */
.hourly-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.hourly-item {
  min-width: 65px;
  text-align: center;
  padding: .6rem .4rem;
}
.hourly-item .hour-time  { font-size: .7rem; font-weight: 600; color: var(--text-light); }
.hourly-item .hour-icon  { font-size: 1.5rem; }
.hourly-item .hour-temp  { font-size: .95rem; font-weight: 700; }
.hourly-item .hour-rain  { font-size: .7rem; color: var(--rain); }

/* ── UV Meter ─────────────────────────────────────────────────── */
.uv-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #4CAF50, #FFEB3B, #FF9800, #F44336, #9C27B0);
}
.uv-indicator {
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--sky-dark);
  position: relative; top: -11px;
  transition: left .5s;
}

/* ── Sunrise/Sunset ───────────────────────────────────────────── */
.sun-arc {
  position: relative;
  height: 80px;
  overflow: hidden;
}
.sun-arc-path {
  position: absolute; width: 120%; left: -10%;
  height: 140px; top: 0;
  border: 2px dashed rgba(255,213,0,.4);
  border-bottom: none;
  border-radius: 50% 50% 0 0;
}

/* ── Blog Cards ───────────────────────────────────────────────── */
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .25s, box-shadow .25s;
  background: #fff;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.blog-card-body { padding: 1.5rem; }
.blog-category-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .7rem;
  border-radius: 20px;
  background: var(--sky-light);
  color: #fff;
  margin-bottom: .75rem;
}
.blog-card-title { font-family: 'Lora', serif; font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card-excerpt { font-size: .88rem; color: var(--text-light); }
.blog-card-meta { font-size: .78rem; color: var(--text-light); border-top: 1px solid #eee; padding-top: .75rem; margin-top: .75rem; }

/* ── Blog Article ─────────────────────────────────────────────── */
.article-header {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky-mid) 100%);
  color: #fff;
  padding: 4rem 0 3rem;
}
.article-body h2, .article-body h3 { margin-top: 2rem; }
.article-body p  { font-size: 1.05rem; line-height: 1.8; }
.article-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 1.5rem 0; }

/* ── Section headers ──────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.5rem;
}
.section-header h2 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
}
.section-divider {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--sky-dark);
  color: #fff;
  margin-top: 4rem;
}
.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 0; }
.footer-tagline { font-size: .75rem; color: rgba(255,255,255,.4); }

/* ── Badges ───────────────────────────────────────────────────── */
.badge-sky { background: var(--sky-light); color: #fff; }
.badge-rain { background: var(--rain); color: #fff; }
.badge-sun  { background: var(--sun); color: #333; }

/* ── Weather map ──────────────────────────────────────────────── */
#weather-map { height: 500px; border-radius: var(--radius); overflow: hidden; }

/* ── Admin ────────────────────────────────────────────────────── */
.admin-sidebar {
  background: var(--sky-dark);
  min-height: 100vh;
  width: 260px;
  position: fixed; left: 0; top: 0; bottom: 0;
  overflow-y: auto;
  z-index: 1000;
}
.admin-content {
  margin-left: 260px;
  padding: 2rem;
  min-height: 100vh;
}
.admin-nav-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.25rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  border-radius: 8px;
  margin: .1rem .75rem;
  transition: all .2s;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}
.admin-nav-link i { width: 20px; text-align: center; }
.admin-section-label {
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  color: rgba(255,255,255,.3);
  padding: 1rem 1.5rem .3rem;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}
.stat-card .stat-number { font-size: 2.5rem; font-weight: 800; }
.stat-card .stat-label  { color: var(--text-light); font-size: .85rem; }

/* ── Forms ────────────────────────────────────────────────────── */
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,195,247,.2);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .current-temp  { font-size: 4rem; }
  .weather-icon  { font-size: 3.5rem; }
  .admin-sidebar { transform: translateX(-100%); transition: transform .3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
}

/* ── Sticky Sidebar ───────────────────────────────────────────── */
/* JS sets position:fixed inline — CSS only handles base state    */
.sidebar-sticky {
  position: relative;
  width: 100%;
}

/* Placeholder: hidden by default, JS sets display:block when fixed */
.sidebar-placeholder {
  display: none;
}

/* Mobile: force normal flow, override any inline styles JS may set */
@media (max-width: 991.98px) {
  .sidebar-sticky {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }
  .sidebar-placeholder {
    display: none !important;
    height: 0 !important;
  }
}

/* ── SEO Content Blocks ───────────────────────────────────────── */
.seo-content p {
  font-size: .82rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0;
}
.seo-content a {
  color: var(--sky-light);
  text-decoration: none;
  font-weight: 500;
}
.seo-content a:hover { text-decoration: underline; }

/* ── Ad Zone (clean — no phantom space) ──────────────────────── */
.ad-zone { line-height: 0; }
.ad-zone ins { display: block; }

.rounded-xl  { border-radius: var(--radius) !important; }
.rounded-lg  { border-radius: var(--radius-sm) !important; }
.bg-sky-dark { background: var(--sky-dark); }
.bg-sky      { background: linear-gradient(135deg,var(--sky-dark),var(--sky-mid)); }
.text-sky    { color: var(--sky-light); }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }
.shadow-card { box-shadow: var(--card-shadow); }

/* ════════════════════════════════════════════════════════════════
   Amazon UK Product Feed Widget
   ════════════════════════════════════════════════════════════════ */
.amazon-widget {
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #fff;
  /* NO overflow:hidden — would break sticky sidebar */
}

.amazon-widget-header {
  background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
}

.amazon-product-list {
  border-radius: 0;
}

.amazon-product-item {
  padding: .85rem .9rem;
  transition: background .15s;
  border-color: #f0f0f0 !important;
}
.amazon-product-item:hover { background: #fafcfe; }

/* Image container */
.amz-img-wrap {
  width: 80px;
  min-width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden; /* OK here — img container, not sticky ancestor */
  position: relative;
  background: #fafafa;
  text-decoration: none;
}
.amz-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.amz-img-placeholder {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f5; border-radius: 8px; font-size: 2rem;
}
.amz-badge {
  position: absolute; top: 3px; left: 3px;
  background: #CC0C39; color: #fff;
  font-size: .58rem; font-weight: 700;
  padding: 2px 4px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.3;
}

/* Title */
.amz-title {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #0F1111;
  line-height: 1.4;
  margin-bottom: .2rem;
  text-decoration: none;
}
.amz-title:hover { color: #C7511F; text-decoration: none; }

.amz-brand {
  font-size: .72rem;
  color: #565959;
  margin-bottom: .2rem;
}

/* Stars */
.amz-rating {
  display: flex; align-items: center;
  gap: 1px; margin-bottom: .25rem;
}
.star { font-size: .8rem; line-height: 1; }
.star.full, .star.half { color: #FF9900; }
.star.empty { color: #ddd; }
.amz-review-count { font-size: .68rem; color: #007185; margin-left: 2px; }

/* Price block */
.amz-price-block {
  display: flex; align-items: baseline;
  gap: .4rem; margin-bottom: .15rem;
}
.amz-price {
  font-size: 1.05rem; font-weight: 800;
  color: #0F1111; letter-spacing: -.02em;
}
.amz-orig-price {
  font-size: .78rem; color: #565959;
  text-decoration: line-through;
}
.amz-price-na { font-size: .82rem; color: #888; font-style: italic; }

/* Discount label */
.amz-discount-label {
  font-size: .72rem; font-weight: 600;
  color: #CC0C39; margin-bottom: .3rem;
  display: flex; align-items: center; gap: .3rem;
  flex-wrap: wrap;
}
.amz-pct-off {
  background: #CC0C39; color: #fff;
  padding: 1px 5px; border-radius: 4px;
  font-size: .65rem; font-weight: 700;
}

/* Action row: Logo + Buy Now */
.amz-action-row {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: .5rem; margin-top: .45rem;
}
.amz-logo-wrap {
  display: inline-flex; align-items: baseline;
  background: #fff;
  border: 1px solid #d5d9d9;
  border-radius: 6px;
  padding: 3px 7px;
  gap: 0;
}
.amz-logo-text {
  font-family: 'Arial Black', sans-serif;
  font-size: .78rem;
  font-weight: 900;
  color: #FF9900;
  letter-spacing: -.03em;
  line-height: 1;
}
.amz-dot-in {
  font-size: .62rem;
  font-weight: 700;
  color: #232F3E;
  margin-left: 1px;
  line-height: 1;
  align-self: flex-end;
  padding-bottom: 1px;
}

/* BUY NOW button — matches Amazon yellow */
.amz-buy-btn {
  background: linear-gradient(to bottom, #FFD814 0%, #F8BD20 100%);
  border: 1px solid #FFA41C;
  border-radius: 8px;
  color: #0F1111 !important;
  font-size: .7rem;
  font-weight: 800;
  padding: 5px 10px;
  text-decoration: none !important;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: filter .15s, transform .15s;
  cursor: pointer;
  display: inline-block;
  line-height: 1.4;
}
.amz-buy-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255,160,0,.35);
  color: #0F1111 !important;
}

/* Prime */
.amz-prime-badge {
  display: flex; align-items: center; gap: .3rem;
  margin-top: .25rem;
}

/* Widget footer */
.amz-widget-footer {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .5rem .75rem;
}
.amz-widget-footer small {
  font-size: .68rem; color: #888; line-height: 1.4;
}
.amz-widget-footer a { color: #555; }
.amz-widget-footer a:hover { color: #232F3E; }

/* ════════════════════════════════════════════════════════════════
   Deals Page — Product Cards (reference image layout)
   ════════════════════════════════════════════════════════════════ */
.deal-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.deal-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

/* Badge top-left */
.deal-badge-wrap {
  position: absolute; top: 8px; left: 8px; z-index: 2;
}
.deal-badge-pct {
  background: #2e7d32; color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: 3px 7px; border-radius: 5px;
  letter-spacing: .04em;
}
.deal-badge-tag {
  background: #CC0C39; color: #fff;
  font-size: .65rem; font-weight: 700;
  padding: 3px 7px; border-radius: 5px;
}

/* Wishlist icon top-right */
.deal-wishlist {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  cursor: pointer;
}

/* Product image — fixed height, no duplicate display property */
.deal-img-link {
  display: flex;                        /* single display declaration */
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  text-align: center;
  padding: .75rem;
  height: 180px;                        /* fixed height — Chrome needs this, not min-height */
  overflow: hidden;
  flex-shrink: 0;
}
.deal-img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 156px;                    /* padding subtracted */
  object-fit: contain;
  transition: transform .25s;
  display: block;
}
.deal-card:hover .deal-img { transform: scale(1.04); }
.deal-img-placeholder {
  font-size: 3.5rem; color: #bbb;
  padding: 1.5rem 0;
}

/* Info section */
.deal-info {
  padding: .75rem .85rem;
  display: flex; flex-direction: column; flex: 1;
  border-top: 1px solid #f0f0f0;
}

/* Title */
.deal-title {
  font-size: .82rem; font-weight: 700;
  color: #0F1111; line-height: 1.4;
  text-decoration: none; display: block;
  margin-bottom: .25rem;
}
.deal-title:hover { color: #C7511F; }

.deal-brand {
  font-size: .72rem; color: #777;
  margin-bottom: .3rem;
}

/* Discount label row (like "57% Off ₹2999") */
.deal-off-label {
  font-size: .78rem; font-weight: 700;
  color: #2e7d32; margin-bottom: .2rem;
  display: flex; align-items: center; gap: .4rem;
}
.deal-was {
  font-size: .72rem; font-weight: 400;
  color: #999; text-decoration: line-through;
}

/* Price row */
.deal-price-row { margin-bottom: .3rem; }
.deal-price {
  font-size: 1.15rem; font-weight: 800;
  color: #0F1111; letter-spacing: -.02em;
}
.deal-price-na { font-size: .85rem; color: #999; font-style: italic; }

/* Stars */
.deal-rating {
  display: flex; align-items: center; gap: 1px;
  margin-bottom: .35rem; font-size: .78rem;
}
.dstar.full, .dstar.half { color: #FF9900; }
.dstar.empty { color: #ddd; }
.deal-revcount { font-size: .68rem; color: #555; margin-left: 3px; }

/* Meta row (time + thumbs) */
.deal-meta {
  display: flex; justify-content: space-between;
  align-items: center; font-size: .72rem; color: #aaa;
  margin-bottom: .5rem; margin-top: auto; padding-top: .4rem;
  border-top: 1px solid #f5f5f5;
}
.deal-time { font-size: .7rem; }
.deal-actions { display: flex; align-items: center; gap: 2px; }

/* Footer: amazon logo + shop now */
.deal-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: .5rem;
  padding-top: .4rem;
}
.deal-amz-logo {
  display: inline-flex; align-items: baseline; gap: 0;
  border: 1px solid #d5d9d9; border-radius: 5px;
  padding: 2px 6px; background: #fff;
}
.deal-amz-text {
  font-family: 'Arial Black', sans-serif;
  font-size: .72rem; font-weight: 900; color: #FF9900;
  letter-spacing: -.03em; line-height: 1;
}
.deal-amz-uk {
  font-size: .6rem; font-weight: 700; color: #232F3E;
  line-height: 1; align-self: flex-end; padding-bottom: 1px;
}
.deal-shop-btn {
  background: linear-gradient(to bottom, #FFD814, #F8BD20);
  border: 1px solid #FFA41C; border-radius: 6px;
  color: #0F1111 !important; font-size: .72rem; font-weight: 800;
  padding: 4px 12px; text-decoration: none !important;
  letter-spacing: .03em; white-space: nowrap;
  transition: filter .15s;
}
.deal-shop-btn:hover { filter: brightness(1.06); }

/* Mobile: 2-col grid tighter */
@media (max-width: 576px) {
  .deal-info { padding: .6rem .7rem; }
  .deal-price { font-size: 1rem; }
  .deal-title { font-size: .78rem; }
  .deal-img-link { height: 150px; }
  .deal-img { max-height: 126px; }
}

/* ── Content Blocks ────────────────────────────────────────────── */
.content-block {
  font-size: .88rem;
  line-height: 1.75;
  color: #444;
  /* Fix: constrain to parent width, break long unspaced words */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;         /* IE/Edge legacy */
  -webkit-hyphens: auto;
  hyphens: auto;
}
.content-block * {
  max-width: 100%;               /* prevent any child element from overflowing */
  box-sizing: border-box;
}
.content-block h2, .content-block h3 {
  font-size: 1.1rem; margin-top: 1.25rem; color: var(--sky-dark);
  word-break: break-word;
}
.content-block p {
  margin-bottom: .75rem;
  word-break: break-word;
  overflow-wrap: break-word;
}
.content-block a { color: var(--sky-light); }
.content-block pre, .content-block code {
  white-space: pre-wrap;         /* wrap long code lines */
  word-break: break-all;
}
.content-block img {
  max-width: 100% !important;
  height: auto;
}
