@charset "UTF-8";
/* Homepage content entry - split under home-content/ */
/* Entry split — see resources/sass/home-content/layout-hero/ */
/* Home: wrapper, typography, featured hero */
﻿ .homepage-content-bg:has(.homepage-wrapper) {
  background-color: #fff !important;
}

[data-theme=dark] .homepage-content-bg:has(.homepage-wrapper) {
  background-color: #1a1a1a !important;
}

.homepage-wrapper {
  --home-surface: #ffffff;
  --home-canvas: #ffffff;
  --home-list-canvas: #ffffff;
  --home-list-item: #ffffff;
  --home-header-bg: #ffffff;
  --home-muted-surface: #f7f7f7;
  --home-border: rgba(26, 48, 36, 0.08);
  --home-panel-header-h: 2.75rem;
  --home-panel-body-pad: 0.75rem;
  --home-panel-gap: 0.75rem;
  --home-list-row-h: 86px;
  --home-featured-img-h: 280px;
  font-size: 15px;
  font-family: inherit;
}

.homepage-wrapper .home-date {
  font-size: 12px !important;
}

/* Единна типография за заглавия/описания във всички блокове на началната */
.homepage-wrapper .home-item-title,
.homepage-wrapper .home-item-title.h6,
.homepage-wrapper h2.home-item-title,
.homepage-wrapper h6.home-item-title,
.homepage-wrapper div.home-item-title {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
  margin-bottom: 0;
}

.homepage-wrapper .home-item-title--lead,
.homepage-wrapper h2.home-item-title--lead,
.homepage-wrapper div.home-item-title--lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.homepage-wrapper .home-item-title--row,
.homepage-wrapper h6.home-item-title--row,
.homepage-wrapper div.home-item-title--row,
.homepage-wrapper .hero-latest-article-title.home-item-title--row {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.homepage-wrapper .home-item-excerpt {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.hero-soft-bg {
  background: transparent;
}

.hero-top-section {
  margin-top: 12px;
}

.hero-top-section + section {
  margin-top: 0;
}

/* Разстояние между редовете на началната */
.home-services-inner {
  gap: var(--home-panel-gap);
}

.hero-top-row {
  width: 100%;
  gap: var(--home-panel-gap);
  align-items: stretch;
}

.home-forum-standalone-grid > .home-forum-standalone-cell {
  border-bottom: 1px solid var(--home-border, #e9ecef);
}

@media (min-width: 768px) {
  .home-forum-standalone-grid > .home-forum-standalone-cell:nth-child(odd) {
    border-right: 1px solid var(--home-border, #e9ecef);
  }
}
@media (min-width: 992px) {
  .home-forum-standalone-grid > .home-forum-standalone-cell:nth-child(odd) {
    border-right: 0;
  }
  .home-forum-standalone-grid > .home-forum-standalone-cell:not(:nth-child(3n)) {
    border-right: 1px solid var(--home-border, #e9ecef);
  }
  .home-forum-standalone-grid > .home-forum-standalone-cell:nth-last-child(-n+3) {
    border-bottom: 0;
  }
}
@media (max-width: 991.98px) and (min-width: 768px) {
  .home-forum-standalone-grid > .home-forum-standalone-cell:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}
@media (max-width: 767.98px) {
  .home-forum-standalone-grid > .home-forum-standalone-cell:last-child {
    border-bottom: 0;
  }
}
/* Обяви: 4 колони на lg */
@media (min-width: 992px) {
  .home-announcements-standalone-grid > .home-forum-standalone-cell:not(:nth-child(3n)) {
    border-right: 0;
  }
  .home-announcements-standalone-grid > .home-forum-standalone-cell:not(:nth-child(4n)) {
    border-right: 1px solid var(--home-border, #e9ecef);
  }
  .home-announcements-standalone-grid > .home-forum-standalone-cell:nth-last-child(-n+3) {
    border-bottom: 0;
  }
  .home-announcements-standalone-grid > .home-forum-standalone-cell:nth-last-child(-n+4) {
    border-bottom: 0;
  }
}
.homepage-placeholder-bg {
  background: var(--home-muted-surface);
}

.hero-title {
  color: var(--bs-primary, #0d6efd);
  letter-spacing: -0.01em;
}

.hero-title-accent {
  border: 0;
  padding-left: 0;
  color: var(--bs-primary, #0d6efd);
}

.homepage-wrapper .card {
  background: var(--home-surface) !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-panel {
  background: var(--home-surface) !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  width: 100%;
}

.homepage-wrapper .hero-panel > .card-header,
.homepage-wrapper .hero-panel-header {
  background: var(--home-header-bg) !important;
  border-bottom: 1px solid var(--home-border) !important;
  min-height: var(--home-panel-header-h);
  height: var(--home-panel-header-h);
  padding: 0 var(--home-panel-body-pad) !important;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.homepage-wrapper .hero-panel > .card-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.homepage-wrapper .hero-panel > .card-body.p-0 {
  padding: 0 !important;
}

.homepage-wrapper .hero-panel > .card-body:not(.p-0):not(.hero-latest-panel-body) {
  /* Само черта под заглавието — без горен отстъп */
  padding: 0 var(--home-panel-body-pad) var(--home-panel-body-pad) !important;
}

.hero-article-row {
  border: none !important;
  box-shadow: none !important;
  background: var(--home-list-item) !important;
  transition: background-color 0.2s ease;
}

.hero-panel > .card-body > .hero-article-row + .hero-article-row {
  border-top: 1px solid var(--home-border) !important;
}

.hero-article-row:hover {
  background-color: #f5f6f8 !important;
}

.homepage-wrapper a.hero-article-row,
.homepage-wrapper .hero-article-row {
  box-shadow: none !important;
}

.homepage-wrapper .hero-article-row .hero-latest-thumb-wrap {
  padding: 2px;
  box-sizing: border-box;
  border: none !important;
  box-shadow: none !important;
}

.homepage-wrapper .hero-article-row .hero-latest-article-thumb {
  border: none !important;
  box-shadow: none !important;
}

.hero-article-row--text-only {
  min-height: auto;
}

.hero-sonovnik-panel {
  background: var(--home-surface) !important;
}

.hero-featured-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border: none !important;
  box-shadow: none !important;
}

.hero-featured-link:hover {
  color: inherit;
}

/* Водеща статия (hero): снимката запълва остатъка между заглавие и текст */
.hero-col-left .hero-featured-link .hero-featured-img {
  min-height: 180px;
  flex: 1 1 auto;
  height: auto;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ЧЗВ/Истории: фиксирана височина на медия блока */
.hero-featured-media {
  height: var(--home-featured-img-h);
  flex: 0 0 var(--home-featured-img-h);
}

.hero-featured-media img,
.hero-featured-media .hero-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-featured-body {
  flex-shrink: 0;
}

.homepage-wrapper a.hero-featured-link .home-item-title--lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #1f2937;
}

.dream-letter {
  border: none !important;
  color: #334155;
  background: var(--home-muted-surface);
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 1.15rem;
  font-weight: 600;
}

.dream-letter:hover {
  color: var(--bs-primary, #0d6efd);
  background: #dfe3ea;
}

.dream-letter:focus,
.dream-letter:active {
  background: #d5dbe4 !important;
  color: #334155;
  box-shadow: none !important;
}

.sonovnik-card-body {
  min-height: 120px;
}

.sonovnik-letters-wrap {
  gap: 7px;
  justify-content: center;
  align-content: center;
  margin-top: 0;
  margin-bottom: 4px;
  padding-top: 0.5rem;
}

.hero-left-middle-row {
  --bs-gutter-x: 0;
  --bs-gutter-y: var(--home-panel-gap);
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}

.hero-col-left,
.hero-col-middle {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (min-width: 768px) {
  .hero-left-middle-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch !important;
  }
  .hero-col-left,
  .hero-col-middle {
    align-self: stretch;
  }
  .hero-left-middle-row .hero-panel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
  }
  .hero-left-middle-row .hero-panel > .card-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
}
.hero-left-middle-row .hero-col-middle > .hero-panel > .card-body,
.hero-latest-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  background: var(--home-surface) !important;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Без горен padding — разделителят под заглавието е същият 1px като при водещите панели */
  padding: 0 !important;
}

.homepage-wrapper .hero-latest-panel-body .hero-article-row:not(.hero-article-row--text-only) {
  min-height: var(--home-list-row-h);
  box-sizing: border-box;
}

.homepage-wrapper .hero-latest-panel-body .hero-article-row .hero-latest-thumb-wrap {
  min-height: calc(var(--home-list-row-h) - 4px);
}

.hero-left-middle-row .hero-col-middle .hero-article-row,
.homepage-wrapper .hero-latest-panel-body .hero-article-row {
  background: var(--home-list-item) !important;
  border-radius: 0;
}

.homepage-wrapper .hero-latest-panel-body .hero-article-row + .hero-article-row {
  border-top: 1px solid var(--home-border) !important;
}

.hero-right-col > .d-flex.flex-column,
.hero-right-col-inner {
  width: 100%;
  height: 100%;
  gap: var(--home-panel-gap);
  align-items: stretch;
}

.hero-right-col .hero-sonovnik-panel {
  flex: 1 1 auto;
  min-height: 0;
}

.hero-right-col .hero-sonovnik-panel > .card-body {
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

/* Home: hero columns, clamps, card hover */
/* Hero: същата ширина като navbar / .container (1160 + 1.5rem padding) */
.hero-top-section-inner {
  width: 100%;
  max-width: var(--site-max-width, 1160px);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .hero-top-section-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 575.98px) {
  .hero-top-section-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
:root {
  --hero-right-col-width: 300px;
}

.hero-right-col,
.hero-banner-slot {
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-left-middle-row {
    gap: var(--home-panel-gap);
  }
}
@media (min-width: 992px) {
  .home-services-left {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
  .home-services-right {
    align-self: stretch;
  }
}
@media (min-width: 992px) {
  .hero-top-row > .d-flex.flex-column.flex-grow-1 {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .hero-right-col {
    flex: 0 0 var(--hero-right-col-width) !important;
    width: var(--hero-right-col-width);
    min-width: var(--hero-right-col-width);
    max-width: var(--hero-right-col-width);
    margin-left: 0;
  }
  /* Последни статии / средна колона: ~75px повече (gap е в calc) */
  .hero-col-left {
    flex: 0 0 calc((100% - var(--home-panel-gap)) * 0.583333 - 75px) !important;
    max-width: calc((100% - var(--home-panel-gap)) * 0.583333 - 75px) !important;
    width: auto !important;
  }
  .hero-col-middle {
    flex: 0 0 calc((100% - var(--home-panel-gap)) * 0.416667 + 75px) !important;
    max-width: calc((100% - var(--home-panel-gap)) * 0.416667 + 75px) !important;
    width: auto !important;
  }
}
.line-clamp-2 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-5 {
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-8 {
  display: -webkit-box;
  line-clamp: 8;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-side-card:hover {
  transform: translateX(2px);
  transition: transform 0.2s ease;
}

.forum-card-hover:hover {
  background: #f5f6f8 !important;
  transition: background-color 0.2s ease;
}

.homepage-wrapper .forum-card-hover {
  border: none !important;
  box-shadow: none !important;
  background: var(--home-surface) !important;
}

.homepage-wrapper .forum-card-hover:hover {
  transform: none;
  box-shadow: none !important;
}

.zoom-card img {
  transition: transform 0.3s ease;
}

.zoom-card:hover img {
  transform: scale(1.05);
}

/* Пожелания/Картички: без scale; при hover — оцветен квадрат около кръглата снимка */
.zoom-card.wishes-circle-item:hover img,
.zoom-card.cards-circle-item:hover img {
  transform: none;
}

.wishes-circle-square,
.cards-circle-square {
  width: 100%;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 0.125rem;
  border-radius: 0.5rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.zoom-card.wishes-circle-item:hover .wishes-circle-square {
  background-color: rgba(var(--bs-success-rgb), 0.12);
  box-shadow: none;
}

.zoom-card.cards-circle-item:hover .cards-circle-square {
  background-color: rgba(var(--bs-info-rgb), 0.12);
  box-shadow: none;
}

.homepage-wrapper .wishes-circle-img,
.homepage-wrapper .cards-circle-img {
  box-shadow: none !important;
}

.hero-latest-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Home: names, calendar, wishes/cards row */
/* Компактен ред: Имена + Календар */
.homepage-wrapper .home-compact-panel > .card-header,
.homepage-wrapper .home-compact-panel > .hero-panel-header {
  padding: 0 var(--home-panel-body-pad) !important;
  min-height: var(--home-panel-header-h) !important;
  height: var(--home-panel-header-h);
  background: var(--home-header-bg) !important;
  border-bottom: 1px solid var(--home-border) !important;
}

.homepage-wrapper .home-compact-panel .hero-title {
  font-size: 0.8125rem;
  font-weight: 700;
}

.homepage-wrapper .home-compact-panel > .card-header .btn-link {
  font-size: 0.75rem;
  padding: 0;
}

.homepage-wrapper .home-compact-panel > .card-body {
  padding: 0 var(--home-panel-body-pad) var(--home-panel-body-pad) !important;
}

.home-wishes-cards-names-row {
  display: flex;
  flex-direction: column;
  gap: var(--home-panel-gap);
  margin: 0 !important;
  width: 100%;
  align-items: stretch;
}

.home-wishes-cards-names-row > .home-wishes-col {
  padding: 0 !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-wishes-cards-names-row .hero-panel {
  flex: 1 1 auto;
  width: 100%;
}

.home-wishes-cards-names-row .hero-panel > .card-body {
  flex: 1 1 auto;
}

.home-wishes-cards-names-row .hero-sonovnik-panel {
  flex: 0 0 auto;
}

@media (min-width: 992px) {
  .home-wishes-cards-names-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .home-wishes-cards-names-row > .home-wishes-col--main {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
  }
  .home-wishes-cards-names-row > .home-wishes-col--names {
    flex: 0 0 var(--hero-right-col-width);
    width: var(--hero-right-col-width);
    min-width: var(--hero-right-col-width);
    max-width: var(--hero-right-col-width);
  }
}
.home-names-calendar-row {
  margin-top: 0.25rem;
}

.home-names-panel .names-letters-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.2rem;
  margin-bottom: 0.4rem;
}

.home-names-panel .names-letter-btn {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.75rem;
}

.home-names-popular h6 {
  font-size: 0.75rem;
  margin: 0 0 0.35rem;
}

.home-names-panel .names-popular-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.home-names-panel .name-chip {
  font-size: 0.75rem;
  padding: 0.2rem 0.4rem 0.2rem 0.35rem;
  border-radius: 0 8px 8px 0;
  border-left-width: 2px;
}

@media (max-width: 575.98px) {
  .home-names-panel .names-letters-strip {
    grid-template-columns: repeat(6, 1fr);
  }
  .home-names-panel .names-letter-btn {
    width: 1.75rem;
    height: 1.75rem;
  }
}
.names-letter-btn {
  width: 52px;
  height: 52px;
  font-size: 1.15rem;
  border: none;
  background: var(--home-muted-surface);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.names-letter-btn:hover {
  background: var(--bs-primary) !important;
  color: #fff !important;
}

.name-chip {
  background: var(--home-muted-surface);
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  color: #334155;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-shadow: none;
}

.name-chip:hover {
  background: var(--bs-primary);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.home-wishes-cards-names-row .home-names-popular-divider {
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.homepage-wrapper .home-names-popular-badges .badge {
  border: none !important;
  background: var(--home-muted-surface) !important;
}

.homepage-wrapper .home-names-popular-badges .badge:hover {
  background: var(--bs-primary) !important;
  color: #fff !important;
}

.homepage-wrapper .btn-outline-secondary.dream-letter,
.homepage-wrapper .btn-outline-secondary.home-letter-btn {
  border: none !important;
  box-shadow: none !important;
}

.homepage-wrapper .hero-panel > .card-header .btn-link {
  color: var(--bs-primary);
}

.home-banner-slot .banner-300x300,
.home-banner-slot .bg-white {
  background: var(--home-muted-surface) !important;
}

/* Букви като Съновник (+ леко по-малки в 3-тата колона) */
.home-letter-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Имена (3-та колона): букви като Тълковен съновник — 40×40, gap 7px */
.home-wishes-cards-names-row .hero-sonovnik-panel .sonovnik-letters-wrap {
  gap: 7px;
  justify-content: center;
  align-content: flex-start;
  margin-top: 0;
  margin-bottom: 4px;
  padding-top: 0.5rem;
  width: 100%;
}

.home-wishes-cards-names-row .hero-sonovnik-panel .sonovnik-letters-wrap .home-letter-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.home-names-popular-label {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.home-names-popular-badges .badge {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25em 0.45em;
}

@media (min-width: 768px) {
  .home-wishes-cards-names-row .wishes-circles,
  .home-wishes-cards-names-row .cards-circles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* Home: circles, banners, discovery, search */
/* Пожелания / Картички: кръгове в по-широки колони (md) */
.wishes-circles,
.cards-circles {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0.35rem;
  row-gap: 0.5rem;
  align-items: start;
  justify-items: stretch;
}

@media (max-width: 575.98px) {
  .home-wishes-cards-names-row .hero-sonovnik-panel .sonovnik-letters-wrap .home-letter-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 1rem;
  }
  .wishes-circles,
  .cards-circles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .homepage-wrapper .hero-panel .card-header .btn.btn-link {
    width: auto;
    max-width: 100%;
  }
  .home-services-row .card-header.d-flex {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
.wishes-circle-item,
.cards-circle-item {
  flex: unset;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wishes-circle-img,
.cards-circle-img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  flex: 0 1 auto;
  align-self: center;
  border: none;
  background: none;
}

.cards-circle-bg-0 {
  background: linear-gradient(135deg, hsl(0, 55%, 48%), hsl(50, 50%, 32%));
}

.cards-circle-bg-1 {
  background: linear-gradient(135deg, hsl(30, 55%, 48%), hsl(80, 50%, 32%));
}

.cards-circle-bg-2 {
  background: linear-gradient(135deg, hsl(60, 55%, 48%), hsl(110, 50%, 32%));
}

.cards-circle-bg-3 {
  background: linear-gradient(135deg, hsl(90, 55%, 48%), hsl(140, 50%, 32%));
}

.cards-circle-bg-4 {
  background: linear-gradient(135deg, hsl(120, 55%, 48%), hsl(170, 50%, 32%));
}

.cards-circle-bg-5 {
  background: linear-gradient(135deg, hsl(150, 55%, 48%), hsl(200, 50%, 32%));
}

.cards-circle-bg-6 {
  background: linear-gradient(135deg, hsl(180, 55%, 48%), hsl(230, 50%, 32%));
}

.cards-circle-bg-7 {
  background: linear-gradient(135deg, hsl(210, 55%, 48%), hsl(260, 50%, 32%));
}

.cards-circle-bg-8 {
  background: linear-gradient(135deg, hsl(240, 55%, 48%), hsl(290, 50%, 32%));
}

.cards-circle-bg-9 {
  background: linear-gradient(135deg, hsl(270, 55%, 48%), hsl(320, 50%, 32%));
}

.cards-circle-bg-10 {
  background: linear-gradient(135deg, hsl(300, 55%, 48%), hsl(350, 50%, 32%));
}

.cards-circle-bg-11 {
  background: linear-gradient(135deg, hsl(330, 55%, 48%), hsl(20, 50%, 32%));
}

.home-banner-slot {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* Банер 300×300 — винаги квадрат, не се свива от flex колоната */
.hero-right-col .hero-banner-slot {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  position: relative;
  height: 0 !important;
  padding-bottom: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-right-col .hero-banner-slot .banner-300x300 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.banner-300x300 .banner-item {
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

.banner-300x300 .banner-item-inner {
  width: 100%;
  height: 100% !important;
  min-height: 0;
  border-radius: 0 !important;
}

.banner-300x300 .banner-item-link {
  width: 100%;
  height: 100%;
}

.banner-300x300 .banner-item img,
.banner-300x300 .banner-item-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.discovery-strip {
  border: none;
  box-shadow: none;
  background: var(--home-surface);
}

.trending-search-badge {
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
  border: none !important;
}

.trending-search-badge:hover {
  background: var(--bs-primary) !important;
  color: #fff !important;
}

/* Търсачка — еднаква височина (зарежда се след app.css с ?v=filemtime) */
#homepage-site-search-form {
  --home-search-radius: 6px;
  --home-search-h: calc(0.75rem + 1.5em + 2px);
}

@media (min-width: 992px) {
  #homepage-site-search-form {
    max-width: 820px;
    width: 100%;
  }
}
#homepage-site-search-form .input-group-text,
#homepage-site-search-form .input-group > .form-control,
#homepage-site-search-form .form-select,
#homepage-site-search-form button.homepage-search-submit {
  box-sizing: border-box !important;
  height: var(--home-search-h) !important;
  min-height: var(--home-search-h) !important;
  max-height: var(--home-search-h) !important;
}

#homepage-site-search-form button.homepage-search-submit,
#homepage-site-search-form button.homepage-search-submit.btn {
  appearance: none;
  -webkit-appearance: none;
  align-self: auto !important;
  margin: 0;
  padding: 0 1.25rem !important;
  line-height: 1.5 !important;
  font-size: 1rem;
  font-weight: 600;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 991.98px) {
  #homepage-site-search-form #homepage-search-in {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
  }
}
.homepage-modern--portal {
  --portal-bg: #f7f2ea;
  --portal-surface: #fffdfa;
  --portal-border: #e7dfd2;
  --portal-muted: #6b6b66;
  --portal-text: #24372f;
  --portal-accent: #2f5a49;
  --portal-accent-soft: #edf2ec;
  --portal-shadow: 0 10px 28px rgba(33, 32, 23, 0.05);
  background: radial-gradient(circle at top center, rgba(255, 255, 255, 0.96), rgba(247, 242, 234, 0.96) 48%, rgba(243, 237, 227, 0.96) 100%);
  color: var(--portal-text);
  padding: 18px 0 36px;
}

.home-portal {
  width: min(1460px, 100% - 32px);
  margin: 0 auto;
}

.home-portal-search {
  margin-bottom: 18px;
}

.home-portal-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 140px;
  gap: 14px;
  align-items: stretch;
}

.home-portal-search-main,
.home-portal-search-select,
.home-portal-search-submit {
  min-height: 58px;
  border-radius: 14px;
}

.home-portal-search-main {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--portal-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--portal-shadow);
}

.home-portal-search-icon {
  padding-left: 18px;
  color: #8b8b83;
}

.home-portal-search-input,
.home-portal-search-select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--portal-text);
}

.home-portal-search-input {
  min-height: 58px;
  padding: 0 18px 0 12px;
}

.home-portal-search-select {
  padding: 0 16px;
  border: 1px solid var(--portal-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--portal-shadow);
}

.home-portal-search-submit {
  border: 0;
  background: linear-gradient(135deg, #2d5948, #214536);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(33, 69, 54, 0.18);
}

.home-portal-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.home-portal-main,
.home-portal-sidebar {
  display: grid;
  gap: 22px;
}

.home-portal-section,
.home-portal-side-card {
  border: 1px solid var(--portal-border);
  background: rgba(255, 253, 250, 0.94);
  border-radius: 22px;
  box-shadow: var(--portal-shadow);
}

.home-portal-section {
  padding: 22px;
}

.home-portal-section-head,
.home-portal-list-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.home-portal-section-head h2,
.home-portal-list-title-row h3,
.home-portal-side-head {
  margin: 0;
  color: var(--portal-accent);
  font-family: Georgia, "Times New Roman", serif;
}

.home-portal-section-head h2 {
  font-size: clamp(1.9rem, 2vw, 2.4rem);
}

.home-portal-list-title-row h3,
.home-portal-side-head {
  font-size: 1.85rem;
}

.home-portal-section-head a,
.home-portal-list-title-row a {
  color: var(--portal-accent);
  text-decoration: none;
  font-weight: 600;
}

.home-portal-feature-grid,
.home-portal-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.75fr);
  gap: 18px;
}

.home-portal-feature-link,
.home-portal-secondary-link,
.home-portal-list-item,
.home-portal-side-item,
.home-portal-circle-item {
  text-decoration: none;
  color: inherit;
}

.home-portal-feature-link,
.home-portal-secondary-link {
  display: grid;
  gap: 14px;
}

.home-portal-feature-media,
.home-portal-secondary-media {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #f0ece3;
}

.home-portal-feature-media {
  aspect-ratio: 1.18/1;
}

.home-portal-secondary-media {
  aspect-ratio: 1.35/1;
}

.home-portal-feature-media img,
.home-portal-secondary-media img,
.home-portal-list-thumb img,
.home-portal-circle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-portal-media-fallback {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d8b84;
  font-size: 1.6rem;
}

.home-portal-feature-body,
.home-portal-secondary-body {
  display: grid;
  gap: 10px;
}

.home-portal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf3ee;
  color: var(--portal-accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.home-portal-feature-body strong,
.home-portal-secondary-body strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 2vw, 2.5rem);
  line-height: 0.98;
  color: #f8f4ee;
}

.home-portal-feature-link {
  position: relative;
}

.home-portal-feature-body {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 0;
}

.home-portal-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.02), rgba(10, 14, 12, 0.76));
}

.home-portal-feature-media,
.home-portal-feature-body {
  position: relative;
}

.home-portal-feature-body .home-portal-excerpt,
.home-portal-feature-body small {
  color: rgba(248, 244, 238, 0.88);
}

.home-portal-secondary-body strong {
  font-size: 1.55rem;
  line-height: 1.08;
  color: var(--portal-text);
}

.home-portal-secondary-body span,
.home-portal-secondary-body small,
.home-portal-list-copy small,
.home-portal-side-item small {
  color: var(--portal-muted);
}

.home-portal-list {
  display: grid;
  gap: 12px;
}

.home-portal-list-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.home-portal-list-thumb {
  width: 88px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0ece3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d8b84;
}

.home-portal-list-copy,
.home-portal-side-list {
  display: grid;
  gap: 4px;
}

.home-portal-list-copy strong,
.home-portal-side-item strong {
  line-height: 1.35;
}

.home-portal-row--split,
.home-portal-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-portal-side-card {
  padding: 18px;
}

.home-portal-side-card--ad {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-portal-ad-placeholder {
  width: 100%;
  min-height: 214px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f1f1ef, #e7e7e2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6f6f68;
  font-size: 1.5rem;
  text-align: center;
}

.home-portal-side-head {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.home-portal-letter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.home-portal-letter {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--portal-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--portal-text);
  text-decoration: none;
}

.home-portal-side-list {
  gap: 10px;
}

.home-portal-side-item {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #eee8dd;
}

.home-portal-side-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-portal-circle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 12px;
}

.home-portal-circle-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--portal-text);
  font-size: 0.92rem;
}

.home-portal-circle-media {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0ece3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d8b84;
}

.home-portal-name-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.home-portal-name-tags a {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--portal-accent-soft);
  color: var(--portal-accent);
  text-decoration: none;
  font-size: 0.88rem;
}

@media (max-width: 1199.98px) {
  .home-portal-main-grid {
    grid-template-columns: 1fr;
  }
  .home-portal-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991.98px) {
  .home-portal-search-form,
  .home-portal-feature-grid,
  .home-portal-secondary-grid,
  .home-portal-row--split,
  .home-portal-bottom-grid,
  .home-portal-sidebar {
    grid-template-columns: 1fr;
  }
  .home-portal {
    width: min(100% - 20px, 1460px);
  }
}
@media (max-width: 767.98px) {
  .home-portal-circle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-portal-letter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .home-portal-list-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .home-portal-list-thumb {
    width: 72px;
    height: 58px;
  }
}
/* Real homepage top — HTML/CSS, not a PNG mock */
.homepage-editorial {
  --he-ink: #143026;
  --he-forest: #1a3024;
  --he-forest-deep: #12261d;
  --he-cream: #ffffff;
  --he-cream-soft: #ffffff;
  --he-muted: #6d746e;
  --he-shell: 1120px;
  --he-page-gutter: 12px;
  --he-sidebar: 300px;
  --he-serif: "Libre Baskerville", "Times New Roman", Georgia, serif;
  --he-sans: "Montserrat", system-ui, sans-serif;
  background: #fff;
  color: var(--he-ink);
  font-family: var(--he-sans);
  padding: 0;
}

.homepage-content-bg:has(.homepage-editorial) {
  background-color: #fff !important;
}

/* White site column */
.homepage-editorial .home-editorial-canvas {
  width: min(var(--he-shell), 100% - var(--he-page-gutter) * 2);
  margin-inline: auto;
  background: #ffffff;
  padding: 0 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.homepage-editorial .home-editorial-shell {
  width: 100%;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

.homepage-editorial .home-footer {
  width: auto;
  margin: 21px -12px 0;
  background: #1a3024;
}

.homepage-editorial .home-footer .home-editorial-shell {
  width: 100%;
  padding-inline: 28px;
  background: transparent;
}

.home-top {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Light menu bar — soft cream, no dividers between links */
.home-top__header {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 4px 0 10px;
  margin: 0 0 20px !important;
  background: #e4ebe6;
  color: #2c3330;
  border: 0;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
  border-radius: 0;
  position: relative;
  z-index: 40;
  box-shadow: none;
  overflow: visible;
}

.home-top__header + .home-top__search {
  margin-top: 0 !important;
}

.home-top__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--he-ink);
  text-decoration: none;
  flex: 0 0 auto;
  padding: 10px 8px 10px 0;
}

.home-top__brand-mark {
  display: grid;
  place-items: center;
  color: var(--he-forest);
}

.home-top__brand-text {
  font-family: var(--he-serif);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--he-ink);
}

.home-top__nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 2px;
  flex-wrap: wrap;
  min-width: 0;
  overflow: visible;
}

.home-top__nav > a {
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
  color: #2c3330;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  list-style: none;
  padding: 14px 8px;
  line-height: 1.2;
}

.home-top__nav > a + a {
  border-left: 0;
}

.home-top__nav > a:hover,
.home-top__nav > a.is-active {
  color: var(--he-forest);
}

.home-top__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex: 0 0 auto;
}

.home-top__profile {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.16);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.home-top__profile:hover {
  color: var(--he-forest);
  border-color: rgba(26, 48, 36, 0.28);
  background: #faf9f6;
}

.home-top__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--he-sidebar);
  gap: 16px;
  align-items: start;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
}

/* Search — една обща лента; полетата са разделени само с леки вътрешни линии */
.homepage-editorial #homepage-site-search-form.home-top__search {
  position: static !important;
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) 42px;
  align-items: stretch;
  gap: 0 !important;
  width: min(720px, 100%) !important;
  max-width: 100% !important;
  margin: 0 auto 14px !important;
  padding: 0 !important;
  transform: none !important;
  background: #fff !important;
  border: 1px solid rgba(26, 48, 36, 0.18) !important;
  border-radius: 10px !important;
  overflow: hidden;
  flex-wrap: nowrap !important;
  box-shadow: 0 1px 2px rgba(26, 48, 36, 0.05) !important;
  z-index: 1;
}

.homepage-editorial #homepage-site-search-form.home-top__search:focus-within {
  border-color: rgba(26, 48, 36, 0.36) !important;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.08) !important;
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-select,
.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-input,
.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-submit {
  box-sizing: border-box !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: var(--he-sans);
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0 30px 0 12px !important;
  color: var(--he-ink) !important;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: transparent !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--he-ink) 50%), linear-gradient(135deg, var(--he-ink) 50%, transparent 50%) !important;
  background-position: calc(100% - 12px) calc(50% - 2px), calc(100% - 7px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  border: 0 !important;
  border-right: 1px solid rgba(26, 48, 36, 0.12) !important;
  border-radius: 0 !important;
  cursor: pointer;
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-input-wrap {
  position: relative;
  min-width: 0;
  background: transparent;
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-input {
  width: 100% !important;
  padding: 0 14px !important;
  color: var(--he-ink) !important;
  font-size: 0.875rem;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-input::placeholder {
  color: #9a958c;
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-input:focus,
.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-select:focus {
  border-color: rgba(26, 48, 36, 0.12) !important;
  background: transparent !important;
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-input:focus-visible,
.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-select:focus-visible,
.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-submit:focus-visible {
  outline: 2px solid var(--he-forest, #1a3024);
  outline-offset: -2px;
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-submit {
  display: grid !important;
  place-items: center;
  width: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid rgba(26, 48, 36, 0.08) !important;
  border-radius: 0 !important;
  background: var(--he-forest) !important;
  color: #fff !important;
  font-size: 0.9rem;
  cursor: pointer;
  flex: 0 0 42px !important;
}

.homepage-editorial #homepage-site-search-form.home-top__search .home-top__search-submit:hover {
  background: var(--he-forest-deep) !important;
}

/* Ad 300×300 — exact size, left-aligned in wider sidebar */
.home-top__ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  margin: 0 0 20px;
  background: transparent;
}

.home-top__ad-box {
  width: 300px;
  height: 300px;
  min-width: 300px;
  min-height: 300px;
  max-width: 300px;
  max-height: 300px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  color: var(--he-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.home-top__ad-placeholder {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--he-muted);
}

.home-top__ad-box .banner-item {
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

.home-top__ad-box .banner-item-inner,
.home-top__ad-box .banner-item-link,
.home-top__ad-box img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-top__ad-box img {
  object-fit: cover;
}

.home-top__ad-box .banner-item-inner--code {
  overflow: hidden;
}

.homepage-editorial .home-editorial-main {
  margin-top: 0;
  padding-top: 20px;
}

.homepage-editorial .home-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--he-sidebar);
  gap: 16px;
  align-items: start;
}

.homepage-editorial .home-editorial-primary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Еднакъв вертикален ритъм — само gap на колоната, без margin на секциите */
.homepage-editorial .home-editorial-primary > .home-articles-feature,
.homepage-editorial .home-editorial-primary > .home-faq-block,
.homepage-editorial .home-editorial-primary > .home-stories-row,
.homepage-editorial .home-editorial-primary > .home-wishes-cards {
  margin: 0;
}

@media (max-width: 992px) {
  .home-top__row,
  .homepage-editorial .home-editorial-grid {
    grid-template-columns: 1fr;
  }
  .home-top__ad {
    width: min(100%, var(--he-sidebar));
    margin-inline: auto;
  }
  .home-top__ad-box {
    width: 300px;
    max-width: 100%;
    margin-inline: auto;
  }
}
@media (max-width: 720px) {
  .home-top__nav {
    display: none;
  }
  .homepage-editorial #homepage-site-search-form.home-top__search {
    grid-template-columns: 100px minmax(0, 1fr) 42px;
  }
}
/* FAQ — отделен бял блок в основната колона */
.home-faq-block {
  margin: 0;
  padding: 14px 16px 16px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
  box-sizing: border-box;
}

.home-faq-block__head {
  margin: 0 0 12px;
}

.home-faq-block__head h2 {
  margin: 0;
  padding: 0;
  font-family: var(--he-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent, #6b8e23);
  border-bottom: 0;
}

.home-faq-block__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(26, 48, 36, 0.1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.home-faq-block__featured {
  padding: 22px 22px 20px;
  border-right: 1px solid rgba(26, 48, 36, 0.1);
}

.home-faq-block__featured-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.home-faq-block__featured-link:hover .home-faq-block__question {
  color: var(--he-forest);
}

.home-faq-block__question {
  font-family: var(--he-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--he-ink);
}

.home-faq-block__excerpt {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(154, 123, 79, 0.45);
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--he-muted);
}

.home-faq-block__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.home-faq-block__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
}

.home-faq-block__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--he-forest);
  color: var(--he-cream);
  font-size: 0.85rem;
  font-weight: 700;
}

.home-faq-block__author-line {
  font-size: 0.84rem;
  color: var(--he-muted);
  line-height: 1.3;
}

.home-faq-block__list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: #fff;
}

.home-faq-block__list > li {
  margin: 0;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
}

.home-faq-block__list > li:last-child {
  border-bottom: 0;
}

.home-faq-block__list-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 14px 18px;
  color: inherit;
  text-decoration: none;
}

.home-faq-block__list-link:hover .home-faq-block__list-title {
  color: var(--he-forest);
}

.home-faq-block__list-title {
  font-family: var(--he-serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--he-ink);
}

.home-faq-block__list-link time {
  font-size: 0.78rem;
  color: var(--he-muted);
  white-space: nowrap;
  padding-top: 3px;
}

@media (max-width: 860px) {
  .home-faq-block__panel {
    grid-template-columns: 1fr;
  }
  .home-faq-block__featured {
    border-right: 0;
    border-bottom: 1px solid rgba(26, 48, 36, 0.1);
  }
}
/* Sidebar letter search — craft tile grid */
.home-letter-search {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 28px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
}

.home-letter-search__title {
  margin: 0 0 12px;
  font-family: var(--he-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--he-forest);
}

.home-letter-search__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.home-letter-search__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(26, 48, 36, 0.12);
  border-radius: 6px;
  background: #fff;
  color: #2a3530;
  text-decoration: none;
  font-family: var(--he-serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.home-letter-search__cell:hover {
  background: rgba(107, 142, 35, 0.1);
  color: var(--he-forest);
  border-color: rgba(107, 142, 35, 0.45);
}

.home-letter-search__cell.is-accent {
  background: var(--color-accent, #6b8e23);
  border-color: var(--color-accent, #6b8e23);
  color: #fff;
  box-shadow: none;
}

.home-letter-search__cell.is-accent:hover {
  background: var(--color-accent-hover, #5a771c);
  color: #fff;
}

.home-letter-search__cell--all {
  background: var(--he-forest);
  border-color: var(--he-forest);
  color: #fff;
}

.home-letter-search__cell--all:hover {
  background: var(--he-forest-deep);
  color: #fff;
}

.home-letter-search__cell--all i {
  font-size: 0.78rem;
}

.home-letter-search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.home-letter-search__tags a {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(26, 48, 36, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--he-ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.home-letter-search__tags a:hover {
  border-color: rgba(107, 142, 35, 0.45);
  color: var(--he-forest);
  background: rgba(107, 142, 35, 0.1);
}

.home-letter-search__more {
  display: inline-flex;
  margin-top: 12px;
  float: right;
  color: var(--he-forest);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.home-letter-search__more:hover {
  color: var(--he-forest-deep);
  text-decoration: underline;
}

.home-letter-search::after {
  content: "";
  display: table;
  clear: both;
}

.homepage-editorial .home-editorial-sidebar {
  min-width: 0;
}

.homepage-editorial .home-editorial-sidebar-card {
  margin: 0 0 28px;
}

.homepage-editorial .home-editorial-sidebar-card > h3 {
  margin: 0 0 12px;
  font-family: var(--he-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent, #6b8e23);
}

/* Latest forum — avatar + title/time (full column width) */
.home-forum-latest {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
}

.home-forum-latest__title {
  margin: 0 0 6px;
  padding: 0 0 6px;
  font-family: var(--he-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--he-ink);
  border-bottom: 1px solid rgba(26, 48, 36, 0.12);
}

.home-forum-latest__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-forum-latest__list > li {
  margin: 0;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
}

.home-forum-latest__list > li:last-child {
  border-bottom: 0;
}

.home-forum-latest__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 0;
  color: inherit;
  text-decoration: none;
}

.home-forum-latest__item:hover .home-forum-latest__thread {
  color: var(--he-forest);
}

.home-forum-latest__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 28px;
  margin-top: 1px;
}

.home-forum-latest__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--he-forest);
  color: var(--he-cream);
  font-size: 0.72rem;
  font-weight: 700;
}

.home-forum-latest__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.home-forum-latest__thread {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--he-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-forum-latest__time {
  font-size: 0.7rem;
  color: var(--he-muted);
  white-space: nowrap;
}

.home-forum-latest__more {
  display: inline-flex;
  margin-top: 6px;
  float: right;
  color: var(--he-forest);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.home-forum-latest__more:hover {
  color: var(--he-forest-deep);
  text-decoration: underline;
}

.home-forum-latest::after {
  content: "";
  display: table;
  clear: both;
}

/* Latest ads — date + title (white card, matches forum sidebar block) */
.home-ads-latest {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
}

.home-ads-latest__title {
  margin: 0 0 6px;
  padding: 0 0 6px;
  font-family: var(--he-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--he-ink);
  border-bottom: 1px solid rgba(26, 48, 36, 0.12);
}

.home-ads-latest__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-ads-latest__list > li {
  margin: 0;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
}

.home-ads-latest__list > li:last-child {
  border-bottom: 0;
}

.home-ads-latest__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  color: inherit;
  text-decoration: none;
}

.home-ads-latest__item:hover .home-ads-latest__label {
  color: var(--he-forest);
}

.home-ads-latest__date {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--he-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.home-ads-latest__label {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--he-ink);
}

.home-ads-latest__more {
  display: inline-flex;
  margin-top: 6px;
  float: right;
  color: var(--he-forest);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.home-ads-latest__more:hover {
  color: var(--he-forest-deep);
  text-decoration: underline;
}

.home-ads-latest::after {
  content: "";
  display: table;
  clear: both;
}

/* Upcoming holidays — white card, matches ads / forum sidebar blocks */
.home-holidays-upcoming {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
}

.home-holidays-upcoming__title {
  margin: 0 0 6px;
  padding: 0 0 6px;
  font-family: var(--he-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--he-ink);
  border-bottom: 1px solid rgba(26, 48, 36, 0.12);
}

.home-holidays-upcoming__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-holidays-upcoming__list > li {
  margin: 0;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
}

.home-holidays-upcoming__list > li:last-child {
  border-bottom: 0;
}

.home-holidays-upcoming__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  color: inherit;
  text-decoration: none;
}

.home-holidays-upcoming__item:hover .home-holidays-upcoming__label {
  color: var(--he-forest);
}

.home-holidays-upcoming__date {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-accent, #6b8e23);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.home-holidays-upcoming__label {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--he-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.home-holidays-upcoming__more {
  display: inline-flex;
  margin-top: 6px;
  float: right;
  color: var(--he-forest);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.home-holidays-upcoming__more:hover {
  color: var(--he-forest-deep);
  text-decoration: underline;
}

.home-holidays-upcoming::after {
  content: "";
  display: table;
  clear: both;
}

/* Featured + latest articles — един бял блок в основната колона */
.home-articles-feature {
  margin: 0;
  padding: 14px 16px 16px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
  box-sizing: border-box;
}

.home-articles-feature__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr);
  gap: 16px 20px;
  align-items: start;
}

.home-articles-feature__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.home-articles-feature__heading,
.home-articles-feature__side-heading {
  margin: 0;
  font-family: var(--he-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--he-ink);
}

.home-articles-feature__side-heading {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
}

.home-articles-feature__all {
  color: var(--he-ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.home-articles-feature__all:hover {
  color: var(--he-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-articles-feature__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(26, 48, 36, 0.1);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
}

.home-articles-feature__media {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  background: #2a4036;
  overflow: hidden;
}

.home-articles-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-articles-feature__card:hover .home-articles-feature__media img {
  transform: scale(1.03);
}

.home-articles-feature__fallback,
.home-articles-latest__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #2a4036;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.6rem;
}

.home-articles-feature__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 18px;
}

.home-articles-feature__title {
  font-family: var(--he-serif);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--he-ink);
}

.home-articles-feature__excerpt {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5f6862;
}

.home-articles-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 4px;
  font-size: 0.82rem;
  color: #6d746e;
}

.home-articles-feature__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-articles-feature__meta i {
  color: var(--color-accent, #6b8e23);
  font-size: 0.95rem;
}

.home-articles-feature__side {
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(26, 48, 36, 0.12);
}

.home-articles-latest {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-articles-latest > li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
}

.home-articles-latest > li:first-child {
  padding-top: 0;
}

.home-articles-latest > li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.home-articles-latest__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.home-articles-latest__thumb {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 0;
  overflow: hidden;
  background: #2a4036;
  flex-shrink: 0;
}

.home-articles-latest__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-articles-latest__item:hover .home-articles-latest__thumb img {
  transform: scale(1.05);
}

.home-articles-latest__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.home-articles-latest__title {
  font-family: var(--he-serif);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--he-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-articles-latest__item:hover .home-articles-latest__title {
  color: var(--he-forest);
}

.home-articles-latest__text time {
  font-size: 0.78rem;
  color: #7a827c;
}

@media (max-width: 920px) {
  .home-articles-feature__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-articles-feature__side {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 560px) {
  .home-articles-feature {
    padding: 10px 12px 12px;
  }
  .home-articles-feature__body {
    padding: 14px;
  }
  .home-articles-latest__item {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .home-articles-latest__thumb {
    width: 60px;
    height: 60px;
  }
}
/* Stories — отделен бял блок в основната колона */
.home-stories-row {
  margin: 0;
  padding: 14px 16px 16px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-stories-row__block {
  min-width: 0;
}

.home-stories-row__block--featured {
  padding-top: 8px;
  border-top: 1px solid rgba(26, 48, 36, 0.1);
}

.home-stories-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.home-stories-row__head h2 {
  margin: 0;
  font-family: var(--he-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent, #6b8e23);
}

.home-stories-row__all {
  color: var(--he-ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.home-stories-row__all:hover {
  color: var(--he-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Bento: голяма вляво + wide горе вдясно + 2 tile долу */
.home-stories-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 460px;
}

.home-stories-bento__right {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
}

.home-stories-bento__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 0;
}

.home-stories-row__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-stories-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  background: #1a3024;
  min-height: 0;
}

.home-stories-bento .home-stories-card {
  height: 100%;
  aspect-ratio: auto;
}

.home-stories-row__grid .home-stories-card {
  aspect-ratio: 4/3;
  border-radius: 0;
}

.home-stories-card__media,
.home-stories-card__media img,
.home-stories-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-stories-card__media img {
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-stories-card:hover .home-stories-card__media img {
  transform: scale(1.04);
}

.home-stories-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a4036;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.8rem;
}

.home-stories-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, rgba(10, 18, 14, 0) 0%, rgba(10, 18, 14, 0.62) 42%, rgba(10, 18, 14, 0.9) 100%);
}

.home-stories-card__title {
  font-family: var(--he-serif);
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.home-stories-card--hero .home-stories-card__body {
  padding: 72px 22px 20px;
  gap: 10px;
}

.home-stories-card--hero .home-stories-card__title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  -webkit-line-clamp: 4;
}

.home-stories-card__excerpt {
  font-family: var(--he-sans);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 34ch;
}

.home-stories-card__category {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--he-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.home-stories-card__category::before {
  content: "";
  display: block;
  width: 100%;
  min-width: 2.4rem;
  height: 1.5px;
  background: var(--color-accent, #6b8e23);
}

.home-stories-card--wide .home-stories-card__title,
.home-stories-card--tile .home-stories-card__title {
  -webkit-line-clamp: 2;
}

.home-stories-card--tile .home-stories-card__body {
  padding: 36px 14px 14px;
}

.home-stories-card--tile .home-stories-card__title {
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
}

@media (max-width: 820px) {
  .home-stories-bento {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-stories-card--hero {
    min-height: 280px;
    aspect-ratio: 16/10;
  }
  .home-stories-bento__right {
    grid-template-rows: auto;
  }
  .home-stories-card--wide {
    min-height: 200px;
    aspect-ratio: 16/9;
  }
  .home-stories-card--tile {
    min-height: 170px;
    aspect-ratio: 4/3;
  }
}
@media (max-width: 560px) {
  .home-stories-bento__pair,
  .home-stories-row__grid {
    grid-template-columns: 1fr;
  }
}
/* Wishes + Cards — отделни бели панели в основната колона */
.home-wishes-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  border-top: 0;
  align-items: start;
}

.home-wishes-cards__panel {
  min-width: 0;
  position: relative;
  padding: 14px 16px 16px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 48, 36, 0.06), 0 8px 24px rgba(26, 48, 36, 0.07);
  box-sizing: border-box;
}

.home-wishes-cards__title {
  margin: 0 0 12px;
  padding: 0 0 8px;
  font-family: var(--he-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent, #6b8e23);
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
}

.home-wishes-cards__polaroids {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 10px;
}

/* Wish text links + counts */
.home-wishes-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  column-gap: 28px;
}

.home-wishes-links > li {
  margin: 0;
  border-bottom: 1px solid rgba(26, 48, 36, 0.12);
}

.home-wishes-links__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: inherit;
  text-decoration: none;
}

.home-wishes-links__item:hover .home-wishes-links__name {
  color: var(--he-forest);
}

.home-wishes-links__name {
  font-family: var(--he-serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--he-ink);
  min-width: 0;
}

.home-wishes-links__count {
  flex: 0 0 auto;
  font-family: var(--he-sans);
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent, #6b8e23);
}

.home-wishes-links__more {
  display: inline-flex;
  margin-top: 14px;
  float: right;
  color: var(--he-forest);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-wishes-links__more:hover {
  color: var(--he-forest-deep);
  text-decoration: underline;
}

.home-wishes-cards__panel:has(.home-wishes-links)::after {
  content: "";
  display: table;
  clear: both;
}

/* Wish circles (legacy, unused on homepage now) */
.home-wish-circle {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  background: #1a3024;
  box-shadow: 0 2px 8px rgba(20, 30, 24, 0.12);
}

.home-wish-circle__media,
.home-wish-circle__media img,
.home-wish-circle__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-wish-circle__media img {
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-wish-circle:hover .home-wish-circle__media img {
  transform: scale(1.06);
}

.home-wish-circle__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a4036;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.4rem;
}

.home-wish-circle__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px 8px 12px;
  text-align: center;
  font-family: var(--he-serif);
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, rgba(10, 18, 14, 0) 0%, rgba(10, 18, 14, 0.72) 100%);
}

/* Card polaroids */
.home-card-polaroid {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 7px 7px 10px;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.08);
  border-radius: 0;
  box-shadow: 0 3px 10px rgba(20, 30, 24, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-card-polaroid:nth-child(odd) {
  transform: rotate(-2.2deg);
}

.home-card-polaroid:nth-child(even) {
  transform: rotate(1.8deg);
}

.home-card-polaroid:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 30, 24, 0.14);
  z-index: 1;
}

.home-card-polaroid__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a3024;
}

.home-card-polaroid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-card-polaroid__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.35rem;
}

.home-card-polaroid__label {
  display: block;
  margin-top: 8px;
  padding: 0 2px;
  text-align: center;
  font-family: var(--he-serif);
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
  color: var(--he-ink);
}

@media (max-width: 900px) {
  .home-wishes-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-wishes-cards__polaroids {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .home-wishes-links {
    grid-template-columns: 1fr;
  }
  .home-wishes-cards__polaroids {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Лента-фон зад имената на блоковете на началната */
.home-wishes-cards__title,
.home-letter-search__title,
.home-forum-latest__title,
.home-ads-latest__title,
.home-holidays-upcoming__title,
.home-faq-block__head h2,
.home-stories-row__head h2,
.home-articles-feature__heading,
.home-articles-feature__side-heading {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 0.55rem 0.75rem;
  background: #eef2ea;
  border-bottom: 0;
  border-radius: 0;
}

.home-articles-feature__head {
  margin-bottom: 12px;
}

.home-articles-feature__head .home-articles-feature__heading {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.home-stories-row__head h2 {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

/* Homepage footer — forest green, site olive accents */
.home-footer {
  --hf-gold: #6b8e23;
  --hf-gold-soft: #a3b86a;
  --hf-text: #e8e2d6;
  --hf-muted: #c5beb2;
  --he-serif: "Libre Baskerville", "Times New Roman", Georgia, serif;
  --he-sans: "Montserrat", system-ui, sans-serif;
  --he-shell: 1120px;
  --he-page-gutter: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  /* Бели полета отстрани; зеленият блок е в __inner */
  background: #fff;
  color: var(--hf-text);
}

.home-footer__inner {
  width: min(var(--he-shell), 100% - var(--he-page-gutter) * 2);
  margin-inline: auto;
  padding: 40px 1.5rem 20px;
  box-sizing: border-box;
  background: #1a3024;
}

.homepage-editorial .home-footer {
  background: #1a3024;
}

.homepage-editorial .home-footer__inner {
  width: 100%;
  background: transparent;
  padding-left: 28px;
  padding-right: 28px;
}

.home-footer__brand {
  margin: 0;
  min-width: 0;
}

.home-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  align-items: start;
}

.home-footer__col {
  min-width: 0;
}

.home-footer__logo {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--he-serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hf-gold);
  text-decoration: none;
}

.home-footer__logo:hover {
  color: var(--hf-gold-soft);
}

.home-footer__tagline {
  margin: 0 0 16px;
  max-width: 28ch;
  font-family: var(--he-sans);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--hf-muted);
}

.home-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  line-height: 0;
  border-radius: 50%;
  border: 1.5px solid var(--hf-gold);
  color: var(--hf-gold);
  text-decoration: none;
  box-sizing: border-box;
  vertical-align: middle;
  transition: background 0.15s ease, color 0.15s ease;
}

.home-footer__social-btn i {
  display: block;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  speak: never;
}

.home-footer__social-btn i::before {
  display: block;
  line-height: 1;
}

.home-footer__social-btn:hover {
  background: var(--hf-gold);
  color: #1a3024;
}

.home-footer__heading {
  margin: 0 0 16px;
  font-family: var(--he-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hf-gold);
}

.home-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-footer__links a {
  color: var(--hf-text);
  text-decoration: none;
  font-family: var(--he-sans);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
}

.home-footer__links a:hover {
  color: var(--hf-gold-soft);
}

.home-footer__art {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 6px;
  color: var(--hf-gold);
}

.home-footer__art svg {
  width: min(160px, 18vw);
  height: auto;
  display: block;
}

.home-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 165, 116, 0.35);
  font-family: var(--he-sans);
  font-size: 0.82rem;
  color: var(--hf-muted);
}

.home-footer__locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.home-footer__locale a {
  color: var(--hf-muted);
  text-decoration: none;
}

.home-footer__locale a:hover,
.home-footer__locale a.is-active {
  color: var(--hf-gold-soft);
}

.home-footer__locale a.is-active {
  font-weight: 600;
}

@media (max-width: 900px) {
  .home-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
  }
  .home-footer__brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .home-footer__inner {
    padding: 40px 0 18px;
  }
  .home-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
