/* ============================================
   ARMADIO ENHANCEMENTS CSS
   Progress bar, share, toolbar, rating, hero, article meta, dark mode
   ============================================ */

/* === READING PROGRESS BAR === */
.armadio-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 99999;
  background: transparent;
}
.armadio-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2d875c, #4caf7d, #81c784);
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(45, 135, 92, 0.4);
}

/* === ARTICLE META (reading time, views, updated) === */
.armadio-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: #f8faf9;
  border-radius: 10px;
  border-left: 4px solid #2d875c;
  font-size: 13px;
  color: #555;
}
.armadio-article-meta__item {
  white-space: nowrap;
}
.armadio-article-meta__updated {
  color: #2d875c;
  font-weight: 600;
}

/* === SHARE BUTTONS (sticky left sidebar) === */
.armadio-share {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.armadio-share.visible {
  opacity: 1;
}
.armadio-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.armadio-share__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.armadio-share__btn--tg { background: #0088cc; }
.armadio-share__btn--viber { background: #7360f2; }
.armadio-share__btn--fb { background: #1877f2; }
.armadio-share__btn--copy { background: #555; }
.armadio-share__btn--copy.copied { background: #2d875c; }

/* === FLOATING TOOLBAR (bottom right) === */
.armadio-toolbar {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.armadio-toolbar.visible {
  opacity: 1;
}
.armadio-toolbar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
}
.armadio-toolbar__btn:hover {
  background: #2d875c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(45,135,92,0.3);
}

/* === ARTICLE RATING === */
.armadio-rating {
  margin: 40px 0 20px;
  padding: 24px;
  background: linear-gradient(135deg, #f8faf9, #e8f5e9);
  border-radius: 16px;
  text-align: center;
  border: 1px solid #c8e6c9;
}
.armadio-rating__question {
  font-size: 16px;
  font-weight: 700;
  color: #1a3a2a;
  margin-bottom: 14px;
}
.armadio-rating__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  direction: rtl;
  margin-bottom: 8px;
}
.armadio-rating__star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s ease;
}
.armadio-rating__star svg {
  width: 36px;
  height: 36px;
  fill: #ccc;
  transition: fill 0.2s ease;
}
.armadio-rating__star:hover svg,
.armadio-rating__star:hover ~ .armadio-rating__star svg {
  fill: #ffc107;
  transform: scale(1.15);
}
.armadio-rating__star.active svg,
.armadio-rating__star.active ~ .armadio-rating__star svg {
  fill: #ffc107;
}
.armadio-rating__labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #999;
  padding: 0 20px;
  direction: ltr;
}
.armadio-rating__thank {
  display: none;
  padding: 16px;
  animation: armadio-fadeIn 0.5s ease;
}
.armadio-rating__thank.show {
  display: block;
}
.armadio-rating__thank-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.armadio-rating__thank-text {
  font-size: 15px;
  color: #2d875c;
  font-weight: 600;
}

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

/* === HERO SECTION (homepage) === */
/* === HERO FULLSCREEN ON HOMEPAGE === */
.armadio-hero.armadio-hero--fullscreen {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(135deg, #0a2e1d 0%, #175435 45%, #24754b 85%, #2f8e5c 100%);
  padding: 75px 24px 70px;
  text-align: center;
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
  box-shadow: inset 0 -12px 32px rgba(0,0,0,0.18);
  box-sizing: border-box;
}
.armadio-hero.armadio-hero--fullscreen::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.armadio-hero.armadio-hero--fullscreen::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.armadio-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}
.armadio-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #a7f3d0;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3px;
}
.armadio-hero__title {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.3px;
}
.armadio-hero__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.55;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.armadio-hero__search {
  display: flex;
  max-width: 560px;
  margin: 0 auto 20px;
  background: #ffffff;
  border-radius: 50px;
  padding: 5px 6px 5px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s, transform 0.3s;
}
.armadio-hero__search:focus-within {
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}
.armadio-hero__input {
  flex: 1;
  border: none;
  font-size: 16px;
  outline: none;
  background: transparent;
  color: #1e293b;
}
.armadio-hero__search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.armadio-hero__search-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: scale(1.03);
}
/* === HERO QUICK CHIPS / CATEGORIES === */
.armadio-hero__quick-nav {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.armadio-hero__quick-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.armadio-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
}
.armadio-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}
.armadio-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.armadio-chip:hover::before {
  opacity: 1;
}
.armadio-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}
.armadio-chip:hover .armadio-chip__icon {
  transform: scale(1.18) rotate(6deg);
}
.armadio-chip__text {
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Individual chip colored glowing accents on hover */
.armadio-chip--tips:hover {
  background: rgba(251, 191, 36, 0.28);
  border-color: rgba(251, 191, 36, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}
.armadio-chip--health:hover {
  background: rgba(52, 211, 153, 0.28);
  border-color: rgba(52, 211, 153, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}
.armadio-chip--recipes:hover {
  background: rgba(251, 146, 60, 0.28);
  border-color: rgba(251, 146, 60, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}
.armadio-chip--tech:hover {
  background: rgba(96, 165, 250, 0.28);
  border-color: rgba(96, 165, 250, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}
.armadio-chip--celebs:hover {
  background: rgba(192, 132, 252, 0.28);
  border-color: rgba(192, 132, 252, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
}

@media (max-width: 768px) {
  .armadio-hero__quick-nav {
    margin-top: 16px;
    gap: 8px;
  }
  .armadio-chip {
    padding: 6px 14px 6px 8px;
    gap: 8px;
  }
  .armadio-chip__icon {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .armadio-chip__text {
    font-size: 12.5px;
  }
}

#latest_blog_banner_section {
  padding: 35px 0 25px;
  background: #f4faf6;
  border-bottom: 1px solid #e0ede5;
}

/* === ALMANAC & TIP OF THE DAY ON HOMEPAGE === */
.armadio-almanac-section {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 20px 28px;
}
.armadio-almanac-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.armadio-almanac-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.armadio-almanac-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: #cbd5e1;
}
.armadio-almanac-card__head {
  font-size: 12px;
  font-weight: 700;
  color: #2d875c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.armadio-almanac-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}
.armadio-almanac-card__desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
}

/* === INTERACTIVE ONLINE TOOLS ON HOMEPAGE === */
.armadio-interactive-tools {
  max-width: 1240px;
  margin: 32px auto 0;
  padding: 0 20px;
}
.armadio-interactive-tools .armadio-tools-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
}
.armadio-tools-head__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.armadio-tool-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.armadio-tool-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.armadio-tool-tab:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: translateY(-1px);
}
.armadio-tool-tab.is-active {
  background: #1b633e;
  color: #ffffff !important;
  border-color: #1b633e;
  box-shadow: 0 4px 12px rgba(27, 99, 62, 0.25);
}

.armadio-tools-panels {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.armadio-tool-panel {
  display: none;
  animation: toolFadeIn 0.3s ease;
}
.armadio-tool-panel.is-active {
  display: block;
}
@keyframes toolFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.armadio-tool-panel-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.armadio-tool-panel-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* Form & Layout */
.armadio-bmi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}
.armadio-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.armadio-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.armadio-input-group label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.armadio-input-group input,
.armadio-input-group select {
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}
.armadio-input-group input:focus,
.armadio-input-group select:focus {
  background: #ffffff;
  border-color: #1b633e;
  box-shadow: 0 0 0 3px rgba(27, 99, 62, 0.15);
}

.armadio-tool-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #1b633e 0%, #24754b 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(27, 99, 62, 0.25);
}
.armadio-tool-submit-btn:hover {
  background: linear-gradient(135deg, #165334 0%, #1e623e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 99, 62, 0.35);
}

/* BMI Result Card */
.armadio-bmi-result-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 24px;
  text-align: center;
}
.armadio-bmi-badge-wrap {
  margin-bottom: 8px;
}
.armadio-bmi-status-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.armadio-bmi-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.armadio-bmi-num {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.armadio-bmi-unit {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

/* Gauge Meter Bar */
.armadio-bmi-meter {
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 30%, #f59e0b 65%, #ef4444 100%);
  margin: 18px 0 8px;
}
.armadio-bmi-meter-pin {
  position: absolute;
  top: -6px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 3.5px solid #0f172a;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.armadio-bmi-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.25;
  margin-bottom: 16px;
}

.armadio-bmi-details {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  text-align: left;
}
.armadio-bmi-detail-line {
  font-size: 13px;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.armadio-bmi-detail-line strong {
  color: #1b633e;
  font-size: 14px;
}
.armadio-bmi-advice {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
}

/* Water Box */
.armadio-water-result-box,
.armadio-ideal-result-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.armadio-water-icon {
  font-size: 40px;
  margin-bottom: 8px;
}
.armadio-water-val,
.armadio-ideal-val {
  font-size: 38px;
  font-weight: 800;
  color: #1b633e;
  line-height: 1.1;
  margin-bottom: 4px;
}
.armadio-water-sub,
.armadio-ideal-zone {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 16px;
}
.armadio-water-tips {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}
.armadio-water-tips li {
  margin-bottom: 6px;
}
.armadio-ideal-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.armadio-ideal-note {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Dream Dictionary */
.armadio-dream-box {
  max-width: 800px;
  margin: 0 auto;
}
.armadio-dream-search {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.armadio-dream-search input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
}
.armadio-dream-search input:focus {
  border-color: #1b633e;
  box-shadow: 0 0 0 3px rgba(27, 99, 62, 0.15);
}
.armadio-dream-search button {
  padding: 12px 22px;
  background: #1b633e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.armadio-dream-popular {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 13px;
  color: #64748b;
}
.armadio-dream-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}
.armadio-dream-tag:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.armadio-dream-card {
  background: #f8fafc;
  border-left: 4px solid #1b633e;
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
}
.armadio-dream-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}
.armadio-dream-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .armadio-bmi-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .armadio-form-row {
    grid-template-columns: 1fr;
  }
  .armadio-tools-panels {
    padding: 20px 18px;
  }
}
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

@media (max-width: 992px) {
  .armadio-almanac-grid { grid-template-columns: 1fr 1fr; }
  .armadio-tools-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .armadio-almanac-grid { grid-template-columns: 1fr; }
  .armadio-tools-grid { grid-template-columns: 1fr 1fr; }
}

/* === ЗАРАЗ ЧИТАЮТЬ НА ГОЛОВНІЙ === */
.armadio-home-reading-now {
  max-width: 1240px;
  margin: 34px auto 0;
  padding: 0 20px;
}
.armadio-trending-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.armadio-trending-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.armadio-trending-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.armadio-trending-card__thumb {
  height: 140px;
  overflow: hidden;
  background: #f1f5f9;
}
.armadio-trending-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.armadio-trending-card:hover .armadio-trending-card__thumb img {
  transform: scale(1.05);
}
.armadio-trending-card__info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.armadio-trending-card__cat {
  font-size: 11px;
  color: #2d875c;
  font-weight: 700;
  margin-bottom: 4px;
}
.armadio-trending-card__cat a {
  color: #2d875c;
  text-decoration: none;
}
.armadio-trending-card__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}
.armadio-trending-card__title a {
  color: #1e293b;
  text-decoration: none;
}
.armadio-trending-card__title a:hover {
  color: #2d875c;
}
.armadio-trending-card__time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: auto;
}

/* === ПОПУЛЯРНЕ ЗА РУБРИКАМИ НА ГОЛОВНІЙ === */
.armadio-popular-by-cats {
  max-width: 1240px;
  margin: 34px auto 0;
  padding: 0 20px;
}
.armadio-cat-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.armadio-cat-col {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}
.armadio-cat-col__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}
.armadio-cat-col__head h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1a3a2a;
  margin: 0;
}
.armadio-cat-col__more {
  font-size: 11.5px;
  font-weight: 600;
  color: #2d875c;
  text-decoration: none;
}
.armadio-cat-col__posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.armadio-cat-col__item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  align-items: center;
}
.armadio-cat-col__img-link {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.armadio-cat-col__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.armadio-cat-col__item-body h4 {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 4px;
}
.armadio-cat-col__item-body h4 a {
  color: #1e293b;
  text-decoration: none;
}
.armadio-cat-col__item-body h4 a:hover {
  color: #2d875c;
}
.armadio-cat-col__item-body span {
  font-size: 11px;
  color: #94a3b8;
}

@media (max-width: 992px) {
  .armadio-trending-row { grid-template-columns: 1fr 1fr; }
  .armadio-cat-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .armadio-trending-row { grid-template-columns: 1fr; }
  .armadio-cat-columns { grid-template-columns: 1fr; }
}

/* === DARK MODE === */
body.armadio-dark {
  background: #1a1a2e !important;
  color: #e0e0e0 !important;
}
body.armadio-dark .site-content,
body.armadio-dark .entry-content,
body.armadio-dark .content,
body.armadio-dark article {
  background: #16213e !important;
  color: #e0e0e0 !important;
}
body.armadio-dark .entry-title,
body.armadio-dark h1, body.armadio-dark h2, body.armadio-dark h3 {
  color: #fff !important;
}
body.armadio-dark .armadio-article-meta {
  background: #16213e;
  border-left-color: #4caf7d;
  color: #a0a0a0;
}
body.armadio-dark .armadio-rating {
  background: linear-gradient(135deg, #16213e, #1a1a2e);
  border-color: #2d4a3a;
}
body.armadio-dark .armadio-rating__question {
  color: #e0e0e0;
}
body.armadio-dark .armadio-toolbar__btn {
  background: #2a2a4e;
  color: #e0e0e0;
}
body.armadio-dark .site-header,
body.armadio-dark .adore-header {
  background: #0f0f23 !important;
}
body.armadio-dark .widget-area,
body.armadio-dark .armadio-sw__body {
  background: #16213e !important;
  color: #e0e0e0 !important;
}
body.armadio-dark .site-footer {
  background: #0f0f23 !important;
  color: #a0a0a0 !important;
}
body.armadio-dark .single-subjects {
  background: #16213e !important;
  color: #e0e0e0 !important;
}
body.armadio-dark a {
  color: #81c784 !important;
}

/* === POST NAVIGATION ENHANCEMENT === */
.post-navigation .nav-links {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1;
  padding: 16px;
  background: #f8faf9;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}
.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
  border-color: #2d875c;
  box-shadow: 0 4px 12px rgba(45,135,92,0.15);
}
.post-navigation .nav-subtitle {
  display: block;
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.post-navigation .nav-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* === MOBILE === */
@media (max-width: 1200px) {
  .armadio-share {
    position: fixed;
    left: auto;
    right: auto;
    bottom: 0;
    top: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 8px 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #eee;
    gap: 12px;
  }
  .armadio-share__btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .armadio-toolbar {
    bottom: 70px;
    right: 12px;
  }
}

@media (max-width: 768px) {
  .armadio-hero {
    padding: 36px 16px;
    border-radius: 0 0 16px 16px;
  }
  .armadio-hero__title {
    font-size: 22px;
  }
  .armadio-hero__subtitle {
    font-size: 13px;
  }
  .armadio-article-meta {
    gap: 10px;
    font-size: 12px;
    padding: 10px 12px;
  }
  .armadio-rating {
    padding: 18px;
  }
  .armadio-rating__star svg {
    width: 28px;
    height: 28px;
  }
  .post-navigation .nav-links {
    flex-direction: column;
  }
}

/* === КНОПКА ПОДИВИТИСЯ ВСІ СТАТТІ === */
.armadio-view-all-wrapper {
  text-align: center;
  margin: 36px 0 24px;
  clear: both;
}
.armadio-btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2d875c 0%, #1e6b45 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(45, 135, 92, 0.35);
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}
.armadio-btn-view-all:hover {
  background: linear-gradient(135deg, #1e6b45 0%, #164e32 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 135, 92, 0.45);
  color: #ffffff !important;
}
.armadio-btn-view-all__arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.armadio-btn-view-all:hover .armadio-btn-view-all__arrow {
  transform: translateX(4px);
}

/* === ГОЛОВНА КАРТИНКА СТАТТІ (FEATURED IMAGE) === */
.post-thumbnail {
  margin: 18px 0 22px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.post-thumbnail img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* ============================================
   🎯 ВНУТРІШНЬОТЕКСТОВА ВРІЗКА «ЧИТАЙТЕ ТАКОЖ»
   ============================================ */
.armadio-in-article-box {
  margin: 28px 0;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #2d875c;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.armadio-in-article-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11.5px;
}
.armadio-in-article-box__badge {
  color: #166534;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.armadio-in-article-box__cat {
  background: #dcfce7;
  color: #15803d;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}
.armadio-in-article-box__body {
  display: flex;
  gap: 16px;
  align-items: center;
}
.armadio-in-article-box__thumb {
  flex-shrink: 0;
  width: 110px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
}
.armadio-in-article-box__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.armadio-in-article-box:hover .armadio-in-article-box__thumb img {
  transform: scale(1.06);
}
.armadio-in-article-box__info {
  flex: 1;
}
.armadio-in-article-box__title {
  margin: 0 0 8px !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700;
}
.armadio-in-article-box__title a {
  color: #1e293b !important;
  text-decoration: none !important;
}
.armadio-in-article-box__title a:hover {
  color: #2d875c !important;
}
.armadio-in-article-box__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}
.armadio-in-article-box__btn {
  color: #2d875c !important;
  font-weight: 700;
  text-decoration: none !important;
}
.armadio-in-article-box__btn:hover {
  text-decoration: underline !important;
}

/* ============================================
   📱 СПЛИВАЮЧА КАРТКА «ЧИТАЙТЕ ДАЛІ» (SLIDE-IN)
   ============================================ */
.armadio-slidein {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 14px;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.armadio-slidein.visible {
  transform: translateY(0);
  opacity: 1;
}
.armadio-slidein__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f1f5f9;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.armadio-slidein__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.armadio-slidein__badge {
  font-size: 11px;
  font-weight: 700;
  color: #2d875c;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.armadio-slidein__body {
  display: flex;
  gap: 12px;
  text-decoration: none !important;
  color: inherit;
}
.armadio-slidein__thumb {
  width: 80px;
  height: 65px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}
.armadio-slidein__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.armadio-slidein__info {
  flex: 1;
}
.armadio-slidein__cat {
  font-size: 10.5px;
  color: #64748b;
  display: block;
}
.armadio-slidein__title {
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 700;
  color: #0f172a !important;
  margin: 2px 0 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.armadio-slidein__btn {
  font-size: 11.5px;
  font-weight: 700;
  color: #2d875c;
}

/* ============================================
   📊 МІНІ-ОПИТУВАННЯ «А ЯК РОБИТЕ ВИ?»
   ============================================ */
.armadio-poll-box {
  margin: 28px 0 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.armadio-poll-box__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.armadio-poll-box__icon {
  font-size: 20px;
}
.armadio-poll-box__title {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 700;
  color: #0f172a;
}
.armadio-poll-box__subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px !important;
}
.armadio-poll-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.armadio-poll-opt {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  transition: border-color 0.2s;
}
.armadio-poll-opt:hover {
  border-color: #2d875c;
}
.armadio-poll-opt.voted {
  pointer-events: none;
}
.armadio-poll-opt__text {
  position: relative;
  z-index: 2;
}
.armadio-poll-opt__bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(45, 135, 92, 0.15);
  border-radius: 8px 0 0 8px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.armadio-poll-opt.active .armadio-poll-opt__bar {
  background: rgba(45, 135, 92, 0.28);
}
.armadio-poll-opt__pct {
  position: relative;
  z-index: 2;
  font-size: 13px;
  color: #2d875c;
  font-weight: 700;
  display: none;
}
.armadio-poll-opt.voted .armadio-poll-opt__pct {
  display: inline-block;
}
.armadio-poll-thank {
  display: none;
  margin-top: 14px;
  font-size: 13px;
  color: #166534;
  background: #dcfce7;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}
.armadio-poll-thank.show {
  display: block;
}

/* ============================================
   ⭐ 3 ВЕЛИКІ РЕКОМЕНДАЦІЇ ПІД СТАТТЕЮ
   ============================================ */
.armadio-after-article-related {
  margin: 32px 0 24px;
  clear: both;
}
.armadio-after-article-related__head {
  margin-bottom: 16px;
}
.armadio-after-article-related__title {
  font-size: 19px !important;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px !important;
}
.armadio-after-article-related__sub {
  font-size: 13px;
  color: #64748b;
}
.armadio-related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.armadio-rel-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.armadio-rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.armadio-rel-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  z-index: 2;
}
.armadio-rel-card__thumb {
  height: 130px;
  overflow: hidden;
  background: #f1f5f9;
}
.armadio-rel-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.armadio-rel-card:hover .armadio-rel-card__thumb img {
  transform: scale(1.06);
}
.armadio-rel-card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.armadio-rel-card__title {
  font-size: 13.5px !important;
  font-weight: 700;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
}
.armadio-rel-card__title a {
  color: #0f172a !important;
  text-decoration: none !important;
}
.armadio-rel-card__title a:hover {
  color: #2d875c !important;
}
.armadio-rel-card__time {
  font-size: 11.5px;
  color: #64748b;
}

@media (max-width: 768px) {
  .armadio-related-cards {
    grid-template-columns: 1fr;
  }
  .armadio-in-article-box__body {
    flex-direction: column;
    align-items: flex-start;
  }
  .armadio-in-article-box__thumb {
    width: 100%;
    height: 130px;
  }
}


