@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700;900&display=swap');

/* ======== DARK THEME (default) ======== */
:root,
[data-theme="dark"] {
  --bg-color: #0a0a0f;
  --bg-secondary: #111118;
  --surface-color: #16161e;
  --surface-hover: #1e1e2a;
  --surface-glass: rgba(16, 16, 28, 0.75);
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.4);
  --accent-color: #8b5cf6;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(59, 130, 246, 0.4);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.7);
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  /* Topbar specific */
  --topbar-bg: #0d0d14;
  --ticker-bg: #1a2d61;
  /* Sidebar thumb placeholder */
  --thumb-bg: #1e1e2a;
  /* Search input bg */
  --input-bg: #0d0d14;
  /* Single post body text */
  --body-text: #c8d3e0;
  /* Gradient aura */
  --aura-1: rgba(59, 130, 246, 0.08);
  --aura-2: rgba(139, 92, 246, 0.08);
}

/* ======== LIGHT THEME ======== */
[data-theme="light"] {
  --bg-color: #f0f4f8;
  --bg-secondary: #e8eef5;
  --surface-color: #ffffff;
  --surface-hover: #f5f8fc;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.3);
  --accent-color: #7c3aed;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(37, 99, 235, 0.35);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.14);
  --topbar-bg: #1e3a8a;
  --ticker-bg: #1e3a8a;
  --thumb-bg: #e2e8f0;
  --input-bg: #f1f5f9;
  --body-text: #334155;
  --aura-1: rgba(37, 99, 235, 0.05);
  --aura-2: rgba(124, 58, 237, 0.04);
}

/* ======== BASE ======== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 10% 10%, var(--aura-1), transparent 50%),
    radial-gradient(circle at 90% 90%, var(--aura-2), transparent 50%);
  background-attachment: fixed;
  transition: background-color 0.35s ease, color 0.35s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

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

/* ======== TOPBAR ======== */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 0.45rem 3%;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  gap: 1rem;
}

.topbar .date-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  white-space: nowrap;
}

.topbar .social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.topbar .social-links a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.topbar .social-links a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* ======== HEADER ======== */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  transition: background 0.35s ease;
  box-shadow: var(--shadow);
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo a {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  color: #ef4444;
  font-size: 1.4rem;
  -webkit-text-fill-color: #ef4444;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text-main);
  background: var(--surface-hover);
}

/* Header right controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Day/Night Toggle */
.theme-toggle {
  background: var(--surface-hover);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: rotate(15deg) scale(1.1);
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: var(--surface-hover);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.nav-mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--surface-color);
  border-left: 1px solid var(--border-color);
  padding: 1.5rem 1.5rem 3rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-mobile.open .nav-mobile-drawer {
  transform: translateX(0);
}

.nav-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary-color);
  background: var(--surface-hover);
  border-color: var(--border-hover);
  padding-left: 1.2rem;
}

.nav-mobile a::after {
  content: '›';
  font-size: 1.2rem;
  opacity: 0.4;
}

.nav-mobile-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin: 1rem 1rem 0.3rem;
}

/* ======== TICKER BAR ======== */
.ticker-wrap {
  background: var(--ticker-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
}

.ticker-title {
  background: var(--primary-color);
  color: white;
  padding: 0 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: -18px;
  border-width: 19px 0 19px 18px;
  border-style: solid;
  border-color: transparent transparent transparent var(--primary-color);
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  padding: 0 1rem;
  width: 100%;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.83rem;
}

.ticker-content marquee span {
  margin-right: 3rem;
}

/* ======== LAYOUT ======== */
.container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 1.5rem 2%;
}

.home-grid {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 1.8rem;
  align-items: start;
}

/* Two-column layout variant (category & single post pages) */
.home-grid--two-col {
  grid-template-columns: 1fr 280px;
}

@media (max-width: 1200px) {
  .home-grid--two-col {
    grid-template-columns: 1fr;
  }

  .home-grid--two-col>aside {
    display: none;
  }
}

/* ======== BLOCK TITLES ======== */
.block-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.block-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--primary-color);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ======== SIDEBAR ======== */
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-item {
  display: flex;
  gap: 0.85rem;
  background: var(--surface-color);
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.sidebar-item:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.sidebar-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--thumb-bg);
}

.sidebar-item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
}

.sidebar-item-cat {
  font-size: 0.65rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sidebar-item-title {
  font-size: 0.85rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ======== MAIN FEED ======== */
.main-feed {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-post {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow);
  display: block;
  transition: box-shadow 0.3s ease;
}

.hero-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-post:hover {
  box-shadow: var(--shadow-hover);
}

.hero-post:hover img {
  transform: scale(1.04);
}

.hero-post-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}

.hero-post-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0.5rem 0 0.4rem;
  line-height: 1.25;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.post-category-badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.feed-post {
  display: flex;
  gap: 1.2rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.feed-post:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feed-post-thumb {
  width: 220px;
  min-width: 220px;
  height: 155px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--thumb-bg);
}

.feed-post-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
  padding: 0.2rem 0;
}

.feed-post-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.feed-post-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  flex: 1;
}

/* ======== TABS WIDGET ======== */
.widget-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.widget-tab {
  flex: 1;
  text-align: center;
  padding: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.widget-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* ======== SEARCH BOX ======== */
.search-box {
  background: var(--surface-color);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: var(--primary-color);
}

.search-input::placeholder {
  color: var(--text-light);
}

/* ======== SIMPLE LIST ======== */
.simple-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.simple-list-item {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.simple-list-item::before {
  content: '›';
  color: var(--primary-color);
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.simple-list-item:hover {
  color: var(--primary-color);
}

/* ======== ANIMATIONS ======== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* ======== SINGLE POST ======== */
.single-header {
  text-align: left;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
}

.single-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0.8rem 0 0.5rem;
  color: var(--text-main);
}

.single-post-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 2rem;
}

/* ======== CAROUSEL ======== */
.carousel-wrapper {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  max-height: 520px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

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

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

/* ======== SINGLE POST BODY ======== */
.single-post-body {
  font-size: 1.1rem;
  color: var(--body-text);
  line-height: 1.85;
}

.single-post-body h1,
.single-post-body h2,
.single-post-body h3 {
  font-family: var(--font-display);
  color: var(--text-main);
  margin: 2rem 0 1rem;
}

.single-post-body p {
  margin-bottom: 1.4rem;
}

.single-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5rem auto;
  display: block;
}

.single-post-body figure.image {
  margin: 1.5rem auto;
  max-width: 100%;
}

.single-post-body figure.image img {
  margin: 0 auto;
}

.single-post-body blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  background: var(--surface-color);
  font-style: italic;
  border-radius: 0 10px 10px 0;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.single-post-body a {
  color: var(--primary-color);
}

/* ======== FOOTER ======== */
footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border-color);
  background: var(--surface-color);
}

.footer-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 2.5rem 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* ======== RESPONSIVE: TABLET ======== */
@media (max-width: 1200px) {
  .home-grid {
    grid-template-columns: 1fr 260px;
  }

  .home-grid>aside:first-child {
    display: none;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }
}

/* ======== RESPONSIVE: MOBILE ======== */
@media (max-width: 768px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-grid>aside {
    display: none;
  }

  .topbar {
    padding: 0.4rem 3%;
    font-size: 0.72rem;
  }

  .topbar .social-links {
    display: none;
  }

  .container {
    padding: 1rem 3%;
  }

  .hero-post {
    height: 260px;
  }

  .hero-post-title {
    font-size: 1.1rem;
  }

  .feed-post {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .feed-post-thumb {
    width: 100%;
    min-width: unset;
    height: 200px;
    border-radius: 8px;
  }

  .feed-post-info {
    padding: 0;
  }

  .feed-post-title {
    font-size: 1rem;
  }

  .single-title {
    font-size: 1.5rem;
  }

  .single-header {
    padding-top: 0.75rem;
    margin-bottom: 1.2rem;
  }

  .post-meta {
    flex-wrap: wrap;
    gap: 0.3rem 0.6rem;
  }

  .single-post-body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .carousel-slide {
    max-height: 240px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.35rem;
  }

  header {
    padding: 0 3.5%;
    height: 56px;
  }

  .nav-mobile {
    top: 56px;
  }

  .hero-post {
    height: 220px;
  }

  .hero-post-title {
    font-size: 1rem;
  }
}

/* ======== UTILITY ======== */
.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* ======== RECOMMENDED POSTS ======== */
.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.recommended-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.recommended-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.recommended-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.recommended-card__img-placeholder {
  width: 100%;
  height: 150px;
  background: var(--thumb-bg);
}

.recommended-card__body {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.recommended-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin: 0;
}

@media (max-width: 768px) {
  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .recommended-card img,
  .recommended-card__img-placeholder {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .recommended-grid {
    grid-template-columns: 1fr;
  }
}