/* ===========================
   Plenguru – Stilark
   =========================== */

/* Variabler */
:root {
  --color-primary:    #3A7D44;
  --color-secondary:  #A8D5A2;
  --color-accent:     #F4C430;
  --color-bg:         #F9F7F2;
  --color-text:       #1E1E1E;
  --color-text-muted: #5A6255;
  --color-white:      #ffffff;
  --color-dark:       #132018;

  --font-base: 'Inter', sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(58,125,68,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(58,125,68,0.14);

  --transition: 200ms ease;

  --max-width: 1160px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul[role="list"] { list-style: none; }

/* Utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: var(--space-2xl);
}

/* ===========================
   LOGO
   =========================== */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.logo--light .logo-text {
  color: var(--color-secondary);
}

/* ===========================
   KNAPPER
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #2e6437;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ===========================
   NAVIGASJON
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(58,125,68,0.12);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--space-md);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}

.nav-menu a:hover {
  color: var(--color-primary);
  background-color: rgba(58,125,68,0.07);
}

.nav-menu a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
  background: linear-gradient(160deg, #e8f5e9 0%, #f0faf0 40%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
  padding-top: var(--space-2xl);
  padding-bottom: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: rgba(58,125,68,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.hero-title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 44ch;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-illustration {
  width: 100%;
  max-width: 420px;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
}

.hero-wave {
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 60px;
}

/* ===========================
   GUIDEKORT
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-inline: auto;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
  list-style: none;
}

.guide-card {
  background: var(--color-white);
  border: 1px solid rgba(58,125,68,0.1);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.guide-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(58,125,68,0.25);
}

.guide-card-link {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
}

.guide-card-link:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.guide-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-sm);
}

.guide-card-icon svg {
  width: 100%;
  height: 100%;
}

.guide-card-body {
  flex: 1;
}

.guide-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.guide-card-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.guide-card-arrow {
  display: block;
  margin-top: var(--space-sm);
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: transform var(--transition);
}

.guide-card:hover .guide-card-arrow {
  transform: translateX(4px);
}

.guides-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ===========================
   TIPS-BANNER
   =========================== */
.tip-banner {
  background-color: var(--color-accent);
  padding-block: var(--space-md);
}

.tip-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.tip-banner-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.tip-banner-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5c00;
  margin-bottom: 0.15rem;
}

.tip-banner-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
}

.tip-banner-text a {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition);
}

.tip-banner-text a:hover {
  text-decoration-color: var(--color-primary);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background-color: var(--color-dark);
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  padding-block: var(--space-2xl);
}

.footer-brand {
  flex: 0 0 220px;
}

.footer-tagline {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  flex: 1;
}

.footer-nav-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-sm);
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-nav-col a:hover {
  color: var(--color-secondary);
}

.footer-nav-col a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ===========================
   ÅRSHJUL
   =========================== */
.arshjul {
  background: linear-gradient(180deg, var(--color-bg) 0%, #edf7ed 55%, var(--color-bg) 100%);
}
/* Brukes nå som dashboard-seksjon */
.dashboard .arshjul { background: none; padding: 0; }

.arshjul-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.arshjul-wheel-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.arshjul-wheel-wrap svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* SVG segments */
.ah-seg {
  cursor: pointer;
  outline: none;
}

.ah-fill {
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.ah-seg.is-selected .ah-fill {
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.22));
}

.ah-seg:focus-visible .ah-fill {
  outline: 3px solid var(--color-accent);
}

/* Hide minor month labels on small screens */
@media (max-width: 480px) {
  .ah-monthlabel { display: none; }
}

/* ── Tasks panel ── */
.arshjul-panel {
  min-height: 340px;
}

@keyframes apFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ap-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--sc, #3A7D44);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: apFade 0.25s ease;
}

.ap-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ap-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.ap-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.ap-range {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.ap-now-badge {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--color-accent);
  color: #7a5200;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  align-self: flex-start;
}

.ap-list {
  padding: var(--space-md);
  list-style: none;
  counter-reset: task;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ap-list li {
  counter-increment: task;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.ap-list li::before {
  content: counter(task);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sc, #3A7D44);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}

.ap-link {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.55;
  text-decoration: none;
  transition: color var(--transition);
}

.ap-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ap-foot {
  padding: 0 var(--space-md) var(--space-md);
}

.ap-foot .btn {
  width: 100%;
  justify-content: center;
}

/* ===========================
   GUIDE-SIDER
   =========================== */
.guide-hero {
  background: linear-gradient(135deg, #e8f5e9 0%, var(--color-bg) 100%);
  border-bottom: 1px solid rgba(58,125,68,0.1);
  padding: var(--space-lg) 0 var(--space-xl);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.guide-hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(58,125,68,0.1);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  margin-bottom: var(--space-sm);
}

.guide-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.guide-hero-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 56ch;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-xl);
  align-items: start;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Artikkel */
.guide-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(58,125,68,0.1);
}

.guide-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(58,125,68,0.08);
}

.guide-section:last-child {
  border-bottom: none;
}

.guide-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.guide-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-md);
  margin-bottom: 0.4rem;
}

.guide-section p {
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.guide-section ul,
.guide-section ol {
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.guide-section li {
  margin-bottom: 0.4rem;
}

.guide-step {
  border-left: 3px solid rgba(58,125,68,0.15);
  padding-left: var(--space-md);
}

.guide-step-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(58,125,68,0.1);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.45rem;
}

.guide-tip {
  background: #f0faf0;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: var(--space-sm);
}

/* Sidebar */
.guide-sidebar {
  position: sticky;
  top: 100px;
}

.guide-toc {
  background: var(--color-bg);
  border: 1px solid rgba(58,125,68,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.guide-toc h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.guide-toc ol {
  padding-left: 1.2rem;
  margin: 0;
}

.guide-toc li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.guide-toc a {
  color: var(--color-text);
  text-decoration: none;
}

.guide-toc a:hover {
  color: var(--color-primary);
}

/* ===========================
   VERKTØY-SEKSJON (Plenkalender + Værwidget)
   =========================== */
.tools-section {
  background: #A8D5A2;
  padding: 60px 0;
}

.tools-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tools-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a3d22;
  margin-bottom: 0.4rem;
}

.tools-desc {
  font-size: 1rem;
  color: #2d5c35;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* ── Kortet ── */
.tool-card {
  background: #F9F7F2;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Grønn toppliste */
.tool-card-header {
  background: var(--color-primary);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tool-card-icon {
  font-size: 2.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.tool-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.15rem;
}

.tool-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  margin: 0;
  line-height: 1.45;
}

/* Kortinnhold */
.tool-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Årshjulet inni tool-card */
.tool-card .arshjul-layout {
  grid-template-columns: 190px 1fr;
  gap: 1.25rem;
  flex: 1;
}

.tool-card .arshjul-wheel-wrap { max-width: 190px; }
.tool-card .arshjul-panel { min-height: 260px; }

/* ── Laste-animasjon ── */
.loading-dots {
  display: flex;
  gap: 6px;
}
.loading-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background-color: var(--color-primary);
  animation: ldBounce 1.2s infinite ease-in-out;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ldBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%           { transform: scale(1.1); opacity: 1; }
}

/* ── Værwidget (inni tool-card-body) ── */
.weather-widget {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 320px;
}

.weather-prompt {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.weather-location-form {
  display: flex;
  gap: 0.5rem;
}

.weather-location-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-base);
  outline: none;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s;
}
.weather-location-input:focus { border-color: var(--color-primary); }

/* Søk-knapp: aksентfarge */
.weather-location-form .btn-primary {
  background: #F4C430;
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.65rem 1.1rem;
  white-space: nowrap;
}
.weather-location-form .btn-primary:hover { background: #e0b220; }

.weather-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.weather-loading p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.weather-error {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}
.weather-error p { font-size: 0.875rem; color: #c0392b; line-height: 1.5; }

.weather-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.weather-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #fff;
}

.weather-emoji { font-size: 3rem; line-height: 1; flex-shrink: 0; }

.weather-summary-body { flex: 1; min-width: 0; }

.weather-location-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.15rem;
}

.weather-temp-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.weather-temp {
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.weather-desc { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.9); }
.weather-meta { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 0.2rem; }

.weather-advice-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin: 0;
}

.weather-advice-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.weather-advice-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.weather-advice-item--action { background: rgba(58,125,68,0.09); }
.weather-advice-item--wait   { background: rgba(244,196,48,0.18); }
.weather-advice-item--info   { background: rgba(168,213,162,0.28); }

.weather-advice-icon { font-size: 0.95rem; line-height: 1.5; flex-shrink: 0; }

.weather-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: auto;
}
.weather-footer a { color: var(--color-text-muted); text-decoration: none; }
.weather-footer a:hover { text-decoration: underline; }

.weather-refresh-btn,
.weather-change-btn {
  background: none; border: none;
  font-family: var(--font-base);
  font-size: 0.72rem; font-weight: 600;
  color: var(--color-primary);
  cursor: pointer; padding: 0;
}
.weather-refresh-btn:hover,
.weather-change-btn:hover { text-decoration: underline; }

/* ===========================
   RESPONSIVT
   =========================== */
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tool-card .arshjul-layout {
    grid-template-columns: 160px 1fr;
  }

  .tool-card-body {
    padding: 1.5rem;
  }

  .arshjul-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .arshjul-wheel-wrap {
    max-width: 300px;
  }

  .arshjul-panel {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .hero-visual {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
  }

  .guide-cards {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(58,125,68,0.12);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm);
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .guide-cards {
    grid-template-columns: 1fr 1fr;
  }

  .tip-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-brand {
    flex: none;
  }
}

@media (max-width: 400px) {
  .guide-cards {
    grid-template-columns: 1fr;
  }
}
