:root {
  --bg: #f6f0e8;
  --surface: #fffefb;
  --surface-strong: #fff6ec;
  --text: #201513;
  --muted: #705954;
  --border: rgba(32, 21, 19, 0.12);
  --shadow: 0 24px 60px rgba(30, 17, 14, 0.08);
  --accent: #23c2c7;
  --accent-2: #ff6f61;
  --accent-3: #ffcc4d;
  --accent-4: #6d59ff;
  --tone-art: #6d59ff;
  --tone-culture: #ff6f61;
  --tone-society: #23c2c7;
  --tone-video: #ff4d6d;
  --tone-blog: #ff9f1c;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1240px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(35, 194, 199, 0.2), transparent 25%),
    radial-gradient(circle at top right, rgba(255, 111, 97, 0.16), transparent 24%),
    linear-gradient(180deg, #fdf7f0 0%, var(--bg) 44%, #f0e7dc 100%);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-shell {
  width: 100%;
}

.site-header,
.site-main,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 10px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.topbar__date,
.topbar__badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(30, 17, 14, 0.06);
  letter-spacing: 0.02em;
}

.footer-eyebrow,
.sidebar-card__eyebrow,
.section-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.72rem;
}

/* Header Main — sticky bar containing logo + nav + actions */
.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 244, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.site-branding {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.custom-logo-link img {
  max-height: 78px;
  width: auto;
}

.text-logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 0.92;
}

.text-logo__my {
  font-size: 0.35em;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.text-logo__kult {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.text-logo__art {
  color: var(--accent);
}

.site-navigation {
  flex: 1;
  min-width: 0;
}

.site-navigation .menu {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.site-navigation a {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}

.site-navigation a:hover,
.site-navigation .current-menu-item a,
.site-navigation .current_page_item a {
  background: linear-gradient(135deg, rgba(35, 194, 199, 0.16), rgba(255, 111, 97, 0.16));
}

.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* social icons in header */
.social-links {
  display: flex;
  gap: 8px;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease, max-width 0.2s ease, margin 0.2s ease;
  max-width: 220px;
  overflow: hidden;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  transition: transform 0.12s, background 0.12s;
}

.social-link svg { width: 20px; height: 20px; }

.social-link:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); }

.header-actions.is-search-open .social-links {
  opacity: 0;
  transform: translateX(6px);
  max-width: 0;
  margin-right: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .social-link { width: 40px; height: 40px; }
  .social-link svg { width: 18px; height: 18px; }
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  padding: 0;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}

.search-toggle:hover,
.search-toggle.is-active {
  background: rgba(35, 194, 199, 0.14);
  border-color: var(--accent);
}

.search-toggle__icon--close {
  display: none;
}

.search-toggle.is-active .search-toggle__icon--search {
  display: none;
}

.search-toggle.is-active .search-toggle__icon--close {
  display: block;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline Header Search */
.header-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.35s ease, opacity 0.25s ease;
  pointer-events: none;
}

.header-search.is-open {
  max-width: 280px;
  opacity: 1;
  pointer-events: auto;
}

.header-search__input {
  width: 100%;
  min-width: 220px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  outline: none;
  padding: 11px 16px;
  box-shadow: 0 10px 24px rgba(30, 17, 14, 0.08);
}

.header-search__input::placeholder {
  color: var(--muted);
}

.hero-grid,
.content-with-sidebar,
.archive-shell,
.single-article {
  margin-bottom: 40px;
}

.hero-grid {
  display: grid;
  gap: 26px;
}

.hero-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.hero-lead,
.hero-aktuelno,
.category-block,
.partners-sidebar,
.archive-shell,
.single-article,
.feed-card,
.sidebar-card,
.footer-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.hero-lead,
.hero-aktuelno,
.category-block,
.archive-shell,
.single-article,
.feed-card {
  border-radius: var(--radius-lg);
}

.hero-lead {
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100%;
}

.hero-lead__media img,
.category-featured-card__media img,
.feed-card__media img,
.single-featured-image img,
.hero-mini-card__media img,
.category-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-lead__media {
  aspect-ratio: 16 / 10;
  display: block;
}

.hero-image-fallback {
  min-height: 260px;
  background:
    radial-gradient(circle at 20% 20%, rgba(35, 194, 199, 0.65), transparent 30%),
    radial-gradient(circle at 70% 30%, rgba(255, 111, 97, 0.62), transparent 24%),
    radial-gradient(circle at 55% 75%, rgba(109, 89, 255, 0.45), transparent 22%),
    linear-gradient(135deg, #1f1f1f, #333);
}

.hero-lead__content {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.hero-lead h1,
.single-header h1,
.archive-heading h1,
.footer-panel--brand h2 {
  font-family: 'Playfair Display', serif;
  line-height: 0.98;
}

.hero-lead h1 {
  margin: 10px 0 14px;
  /* slightly reduced default size to help layout; JS will shrink-to-fit long titles */
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}

.hero-lead__intro {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
}

.hero-aktuelno {
  padding: 24px;
}

.hero-side-news {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 100%;
  align-self: stretch;
}

.hero-side-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 14px;
  min-height: 0;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,248,241,0.9));
  border: 1px solid rgba(32, 21, 19, 0.08);
  box-shadow: 0 14px 34px rgba(30, 17, 14, 0.06);
}

.hero-side-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
}

.hero-side-card__content h2 {
  margin: 6px 0 0;
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-side-card__content p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero-aktuelno__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.hero-aktuelno__header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-family: 'Playfair Display', serif;
}

.hero-aktuelno__header p:last-child {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.hero-aktuelno__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hero-aktuelno-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,248,241,0.88));
  border: 1px solid rgba(32, 21, 19, 0.08);
}

.hero-aktuelno-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
}

.hero-mini-card,
.category-list-card,
.feed-card {
  display: grid;
  gap: 16px;
}

.hero-mini-card,
.category-list-card {
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
}

.hero-mini-card__media,
.category-list-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
}

.hero-mini-card h2,
.category-list-card h3,
.feed-card h2,
.category-featured-card h3 {
  margin: 8px 0 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.entry-meta a {
  color: var(--accent);
  font-weight: 700;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.category-sections {
  display: grid;
  gap: 24px;
}

.category-block {
  padding: 26px;
}

.category-block__header,
.archive-heading,
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.section-kicker {
  margin: 0;
  color: var(--kicker-tone, var(--accent));
}

.category-block__header h2,
.archive-heading h1 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-family: 'Playfair Display', serif;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  font-weight: 700;
}

.category-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 20px;
  margin-top: 22px;
}

.category-featured-card {
  display: grid;
  gap: 18px;
}

.category-featured-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 24px;
}

.category-list-cards {
  display: grid;
  gap: 14px;
}

.empty-state-card,
.archive-shell,
.single-article,
.partners-sidebar {
  padding: 26px;
}

.partners-sidebar {
  position: sticky;
  top: 96px;
  border-radius: var(--radius-lg);
}

.sidebar-card {
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 16px;
}

.sidebar-card--accent {
  color: #fff;
  background: linear-gradient(145deg, #151515, #2d2d2d 35%, #23c2c7 180%);
}

/* Larger PARTNERI title in partners sidebar */
.sidebar-partners-title {
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0;
}

.widget-partners,
.footer-widget {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 21, 19, 0.08);
}

.widget {
  margin-bottom: 16px;
}

.widget-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.archive-shell {
  padding: 28px;
}

.archive-description {
  max-width: 680px;
  color: var(--muted);
}

.post-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feed-card {
  overflow: hidden;
}

.feed-card__media {
  aspect-ratio: 16 / 10;
}

.feed-card__content {
  padding: 0 22px 22px;
}

.single-header {
  max-width: 880px;
  margin-bottom: 26px;
}

.single-header h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.1rem, 4.4vw, 4.1rem);
}

.single-featured-image {
  margin: 0 0 28px;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
}

.prose-content {
  font-size: 1.08rem;
  line-height: 1.85;
}

.prose-content > *:first-child {
  margin-top: 0;
}

.prose-content h2,
.prose-content h3,
.prose-content h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.05;
}

.prose-content blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 5px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: var(--surface-strong);
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
}

.share-strip {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 76px;
}

.share-strip > span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}

.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 17, 14, 0.1);
}

.share-btn--facebook:hover { background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.35); }
.share-btn--instagram:hover { background: rgba(225, 48, 108, 0.1); border-color: rgba(225, 48, 108, 0.35); }
.share-btn--youtube:hover { background: rgba(255, 0, 0, 0.1); border-color: rgba(255, 0, 0, 0.35); }
.share-btn--x:hover { background: rgba(0, 0, 0, 0.07); border-color: rgba(0, 0, 0, 0.25); }
.share-btn--linkedin:hover { background: rgba(10, 102, 194, 0.1); border-color: rgba(10, 102, 194, 0.35); }

.share-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.share-strip--mobile {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  align-items: center;
}

.comments-area {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.comments-area h2,
.comments-area h3,
.comment-reply-title {
  font-family: 'Playfair Display', serif;
}

.comment-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.comment-list .children {
  list-style: none;
  margin: 18px 0 0 26px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.comment-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,246,236,0.92));
  border: 1px solid rgba(32, 21, 19, 0.08);
}

.comment-card__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.comment-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.comment-card__meta h3 {
  margin: 0;
  font-size: 1.25rem;
}

.comment-card__meta time,
.comment-card__notice,
.logged-in-as,
.comment-notes,
.comments-area .no-comments {
  color: var(--muted);
}

.comment-card__content {
  margin-top: 10px;
}

.comment-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.comment-reply-link,
.comment-edit-link,
.form-submit .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(32, 21, 19, 0.12);
  background: #fff;
  font-weight: 700;
}

.comment-respond {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(32, 21, 19, 0.1);
}

.comment-form {
  display: grid;
  gap: 16px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 21, 19, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

.comment-form textarea {
  min-height: 180px;
  resize: vertical;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-form-cookies-consent input {
  margin: 0;
}

.site-footer {
  margin-bottom: 28px;
  padding: 14px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 1fr;
  gap: 24px;
  padding: 36px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(35, 194, 199, 0.26), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255, 111, 97, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 241, 0.92));
  box-shadow: var(--shadow);
}

.news-ticker {
  width: var(--container);
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.news-ticker--header,
.news-ticker--footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-ticker--header {
  margin-bottom: 22px;
}

.news-ticker--footer {
  margin-top: 18px;
}

.news-ticker__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 18px 0 20px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(32, 21, 19, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(30, 17, 14, 0.08);
  position: relative;
  z-index: 2;
}

.news-ticker__track {
  display: flex;
  width: max-content;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  /* faster default ticker (desktop) */
  animation: news-ticker-scroll 12s linear infinite;
}

/* faster ticker on small screens */
@media (max-width: 599px) {
  .news-ticker__track {
    animation: news-ticker-scroll 9s linear infinite;
  }
}

.news-ticker__item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(35, 194, 199, 0.08);
  border: 1px solid rgba(35, 194, 199, 0.14);
  color: var(--text);
  white-space: nowrap;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.news-ticker__item:hover {
  background: rgba(255, 111, 97, 0.12);
  transform: translateY(-1px);
}

@keyframes news-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.footer-panel {
  flex: 1;
  padding: 20px 28px;
  border-radius: 26px;
  border-right: 1px solid rgba(32, 21, 19, 0.08);
}

.footer-panel:last-child {
  border-right: none;
}

.footer-brand-logo {
  margin-bottom: 14px;
}

.footer-brand-logo .custom-logo-link img {
  max-height: 120px;
  width: auto;
}

.footer-brand-logo .text-logo--footer {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.footer-site-name {
  margin: 8px 0 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.02;
  color: var(--text);
  letter-spacing: 0.06em;
}

.footer-site-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-panel--brand h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links li:last-child a {
  border-bottom: none;
}

.footer-links li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  padding: 18px 8px 0;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
}

.current.page-numbers {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

@media (max-width: 1080px) {
  .hero-grid,
  .content-with-sidebar,
  .single-layout,
  .category-block__grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-block__header,
  .archive-heading,
  .footer-bottom,
  .hero-aktuelno__header,
  .comment-card__meta {
    flex-direction: column;
  }

  .partners-sidebar,
  .share-strip {
    position: static;
  }

  .single-share-column {
    display: none;
  }

  .share-strip--mobile {
    display: flex;
  }
}

@media (max-width: 900px) {
  .hero-feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-side-news {
    grid-template-rows: none;
  }
}

@media (max-width: 820px) {
  .header-main {
    flex-wrap: wrap;
    gap: 0;
    padding: 8px 0;
  }

  .site-branding {
    flex: 1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-navigation {
    flex: 0 0 100%;
    order: 10;
    display: none;
    padding: 10px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .site-navigation.is-open {
    display: block;
  }

  .site-navigation .menu {
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
    justify-content: flex-start;
  }

  .site-navigation a {
    padding: 13px 16px;
    font-size: 1rem;
    font-weight: 700;
  }

  .hero-mini-card,
  .category-list-card,
  .post-feed,
  .hero-aktuelno__track,
  .comment-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 20px, 100vw - 20px);
  }

  .hero-lead__content,
  .category-block,
  .partners-sidebar,
  .archive-shell,
  .single-article,
  .footer-grid,
  .hero-aktuelno,
  .comments-area {
    padding: 18px;
  }

  .hero-lead h1,
  .single-header h1,
  .footer-panel--brand h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .single-featured-image {
    aspect-ratio: 16 / 10;
  }
}

/* Desktop nav larger text */
@media (min-width: 900px) {
  .site-navigation a {
    font-size: 1.12rem;
    padding: 10px 18px;
  }
}