/*
Theme Name: Biography News
Theme URI: https://biography.news
Author: Biography News
Description: A responsive superstar biography and celebrity review theme with Home, Today, About, search, ads, and mobile-friendly article layouts.
Version: 1.0.14
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: biography-news
*/

:root {
  --ink: #191714;
  --muted: #69645d;
  --line: #ded8cf;
  --paper: #fffdf8;
  --cream: #f6f0e7;
  --gold: #b8842f;
  --red: #b5121b;
  --charcoal: #25211d;
  --font-body: "Segoe UI", Arial, Helvetica, sans-serif;
  --font-display: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0d7eae;
  border-bottom: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.utility-bar {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  max-width: 1260px;
  min-height: 82px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  min-height: 82px;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, .75);
  cursor: pointer;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.nav-item:hover,
.nav-item:focus {
  border-color: #38e7d6;
  color: #fff;
}

.nav-item.is-active {
  border-color: #38e7d6;
  color: #fff;
}

.nav-item[href="#about"]::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-left: 10px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.page-section[hidden] {
  display: none;
}

.menu-button {
  display: none;
}

.search-button {
  position: relative;
  width: 36px;
  height: 82px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  transition: color .16s ease, transform .16s ease;
}

.search-button:hover,
.search-button:focus-visible,
.search-button[aria-expanded="true"] {
  color: #8ff5ee;
  outline: 0;
  transform: translateY(-1px);
}

.search-button:active {
  color: #fff;
  transform: translateY(1px) scale(.96);
}

.search-button::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 27px;
  width: 15px;
  height: 15px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(143, 245, 238, 0);
  transition: box-shadow .16s ease, border-color .16s ease;
}

.search-button::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 44px;
  width: 11px;
  height: 3px;
  background: currentColor;
  transform: rotate(45deg);
  transition: background .16s ease;
}

.search-button:hover::before,
.search-button:focus-visible::before,
.search-button[aria-expanded="true"]::before {
  box-shadow: 0 0 0 8px rgba(143, 245, 238, .12);
}

.search-panel {
  position: absolute;
  top: 66px;
  right: max(92px, calc((100vw - 1260px) / 2 + 92px));
  z-index: 120;
  width: 379px;
  padding: 0;
  font-family: var(--font-body);
}

.search-panel[hidden] {
  display: none;
}

.search-row {
  display: grid;
  grid-template-columns: 218px 48px 92px;
  gap: 0;
  width: 379px;
  height: 64px;
  margin-left: auto;
  padding: 11px;
  border-radius: 6px;
  background: #061018;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .38);
}

.search-row input {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 3px 0 0 3px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.submit-search {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 0 3px 3px 0;
  background: #178bd1;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .16s ease, transform .16s ease;
}

.submit-search:hover,
.submit-search:focus-visible {
  background: #0c75b5;
  outline: 0;
}

.submit-search:active {
  transform: scale(.97);
}

.voice-search {
  position: relative;
  min-height: 40px;
  border: 0;
  border-left: 1px solid #d8d8d8;
  border-radius: 0;
  background: #fff;
  color: #686868;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.voice-search:hover,
.voice-search:focus-visible {
  background: #f1f5f8;
  color: var(--ink);
  outline: 0;
}

.voice-search:active {
  transform: scale(.97);
}

.voice-search::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 9px;
  width: 8px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.voice-search::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 22px;
  width: 15px;
  height: 9px;
  border-bottom: 2px solid currentColor;
  box-shadow: 7px 8px 0 -6px currentColor;
}

.voice-search.is-listening {
  background: #d0161f;
  color: #fff;
}

.site-layout {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 820px) minmax(120px, 180px);
  gap: clamp(18px, 2vw, 34px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px clamp(16px, 2vw, 28px) 64px;
  align-items: start;
}

.content-column {
  min-width: 0;
}

.ad-rail {
  position: sticky;
  top: 112px;
  min-width: 0;
}

.ad-box {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 560px;
  justify-items: center;
  padding: 18px;
  border: 1px dashed #c9c0b4;
  background: #fffaf0;
  color: #9a8b77;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ad-box:hover,
.ad-box:focus-visible {
  border-color: var(--red);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
  outline: 0;
  transform: translateY(-1px);
}

.ad-box span {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0;
}

.ad-box strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.05;
}

.ad-box small {
  display: block;
  max-width: 140px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-transform: none;
}

.side-ad-network {
  padding: 0;
  overflow: hidden;
  width: 100%;
  min-height: 600px;
  margin: 0 auto;
  align-content: stretch;
  justify-items: stretch;
}

.side-ad-network iframe,
.side-ad-network ins,
.side-ad-network > div {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 600px;
  margin: 0 auto;
}

@media (min-width: 1440px) {
  .site-layout {
    grid-template-columns: minmax(160px, 220px) minmax(0, 860px) minmax(160px, 220px);
    max-width: 1420px;
  }

  .ad-box {
    min-height: 640px;
  }
}

@media (max-width: 1180px) {
  .site-layout {
    grid-template-columns: minmax(96px, 140px) minmax(0, 1fr) minmax(96px, 140px);
    gap: 18px;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, .86fr);
  gap: 42px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 4px solid var(--ink);
}

.hero-copy {
  max-width: 700px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  font-weight: 900;
}

.hero-copy > p:not(.kicker) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  font-family: var(--font-body);
}

.hero-stats span {
  min-height: 78px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.hero-stats strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 24px;
}

.hero-art {
  border: 1px solid var(--line);
  background: var(--cream);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.quick-facts article {
  min-height: 210px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.quick-facts article:last-child {
  border-right: 0;
}

.quick-facts span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 900;
}

.quick-facts h2 {
  margin-top: 28px;
  font-size: 28px;
  line-height: 1.05;
}

.quick-facts p,
.main-profile p,
.category-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.45fr) minmax(280px, .75fr);
  gap: 38px;
  margin-top: 46px;
  align-items: start;
}

.main-profile {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.main-profile h2,
.section-heading h2 {
  font-size: 38px;
  line-height: 1.05;
}

.section-detail {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.main-profile img {
  margin-top: 20px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

.ranking-panel {
  padding: 24px;
  border-top: 4px solid var(--red);
  background: var(--cream);
}

.ranking-panel h2 {
  font-size: 34px;
}

.ranking-panel ol {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: notable;
}

.ranking-panel li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  counter-increment: notable;
}

.ranking-panel li::before {
  content: counter(notable);
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.ranking-panel span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
}

.ranking-panel small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.category-section {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 4px solid var(--ink);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 22px;
}

.category-grid article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.category-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
}

.category-grid h3 {
  margin-top: 14px;
  font-size: 28px;
  line-height: 1.05;
}

.post-section {
  margin-top: 46px;
  padding-top: 30px;
  border-top: 4px solid var(--ink);
}

.first-section {
  margin-top: 0;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

.post-grid.compact {
  grid-template-columns: 1fr;
}

.post-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.post-card:hover,
.post-card:focus-within {
  border-color: var(--red);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

.post-card.is-expanded {
  border-top: 4px solid var(--red);
  cursor: default;
  transform: none;
}

.post-thumb {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
}

.post-photo {
  width: 96px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: var(--cream);
  object-fit: contain;
  padding: 4px;
}

.post-copy {
  min-width: 0;
}

.post-meta {
  color: var(--red);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.post-card h3 {
  margin-top: 12px;
  font-size: 24px;
  line-height: 1.12;
}

.post-card p:not(.post-meta) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.post-card::after {
  content: "View full details";
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-empty {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.home-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.home-pagination button {
  min-width: 42px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.home-pagination button:hover,
.home-pagination button:focus-visible,
.home-pagination button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.detail-page {
  padding-top: 30px;
  border-top: 4px solid var(--ink);
}

.back-to-posts {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.detail-page h1,
.detail-page h2 {
  max-width: 760px;
  font-size: 42px;
  line-height: 1.05;
}

.detail-page-photo {
  width: 100%;
  max-width: 360px;
  max-height: 300px;
  margin: 22px auto 0;
  border: 1px solid var(--line);
  background: var(--cream);
  object-fit: contain;
}

.detail-lead,
.detail-page p:not(.kicker),
.detail-page-body p {
  margin-top: 18px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.62;
}

.detail-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.detail-page-body {
  margin-top: 8px;
}

.detail-page-body h2 {
  margin: 28px 0 0;
  font-size: 30px;
  line-height: 1.05;
}

.detail-upload-block {
  margin-top: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: auto;
}

.detail-upload-block img {
  width: 240px;
  max-height: 320px;
  float: left;
  margin: 0 26px 14px 0;
  border: 1px solid var(--line);
  background: var(--cream);
  object-fit: contain;
  padding: 5px;
}

.detail-upload-block.is-photo-right img {
  float: right;
  margin: 0 0 14px 26px;
}

.detail-upload-text {
  margin-top: 0;
}

.detail-upload-text h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
}

.detail-upload-text p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.about-content {
  max-width: 940px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 4px solid var(--ink);
}

.about-content h2 {
  max-width: 760px;
  font-size: 42px;
  line-height: 1.05;
}

.about-content p:not(.kicker) {
  margin-top: 18px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.62;
}

@media (max-width: 1000px) {
  .site-layout {
    grid-template-columns: minmax(120px, 160px) minmax(0, 1fr) minmax(120px, 160px);
    gap: 18px;
  }

  .ad-box {
    min-height: 600px;
    font-size: 11px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .content-grid,
  .about-content {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts article:nth-child(2) {
    border-right: 0;
  }

  .quick-facts article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .site-layout {
    display: block;
    max-width: 760px;
  }

  .ad-rail {
    position: static;
    display: block;
    width: min(100%, 360px);
    margin: 0 auto 20px;
  }

  .ad-rail-right {
    margin-top: 24px;
  }

  .ad-box,
  .side-ad-network {
    min-height: 600px;
  }

  .main-nav {
    gap: 24px;
    min-height: 74px;
    font-size: 18px;
  }

  .nav-item {
    min-height: 74px;
  }

  .search-button {
    height: 74px;
  }

  .search-button::before {
    top: 23px;
  }

  .search-button::after {
    top: 40px;
  }

  .search-panel {
    top: 60px;
    right: 24px;
    width: min(379px, calc(100vw - 48px));
  }

  .search-row {
    width: 100%;
    grid-template-columns: minmax(120px, 1fr) 46px 86px;
  }
}

@media (max-width: 680px) {
  .utility-bar {
    display: grid;
    gap: 5px;
    padding: 9px 16px;
  }

  .main-nav {
    min-height: 66px;
    padding: 0 14px;
    gap: 18px;
    font-size: 16px;
  }

  .nav-item {
    min-height: 66px;
  }

  .search-button {
    width: 32px;
    height: 66px;
  }

  .search-button::before {
    left: 4px;
    top: 21px;
    width: 13px;
    height: 13px;
  }

  .search-button::after {
    left: 19px;
    top: 37px;
    width: 10px;
  }

  .site-layout {
    padding: 28px 14px 48px;
  }

  .search-panel {
    top: 58px;
    right: 32px;
    width: min(379px, calc(100vw - 28px));
  }

  .search-row {
    grid-template-columns: minmax(112px, 1fr) 44px 80px;
    width: 100%;
    height: 60px;
    padding: 10px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-stats,
  .quick-facts,
  .category-grid,
  .post-grid,
  .post-grid.compact {
    grid-template-columns: 1fr;
  }

  .home-pagination {
    justify-content: center;
  }

  .home-pagination button {
    min-width: 40px;
    height: 38px;
    padding: 0 12px;
  }

  .detail-upload-block {
    overflow: visible;
  }

  .detail-upload-block img,
  .detail-upload-block.is-photo-right img {
    float: none;
    width: min(100%, 280px);
    margin: 0 auto 16px;
  }

  .quick-facts article,
  .quick-facts article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts article:last-child {
    border-bottom: 0;
  }

  .main-profile h2,
  .section-heading h2,
  .about-content h2 {
    font-size: 30px;
  }

  .section-detail {
    font-size: 16px;
  }

  .about-content p:not(.kicker) {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .main-nav {
    gap: 14px;
    padding: 0 12px;
    font-size: 14px;
  }

  .nav-item[href="#about"]::after {
    width: 8px;
    height: 8px;
    margin-left: 7px;
    border-width: 2px;
  }

  .search-panel {
    top: 56px;
    right: 10px;
    left: 10px;
    width: auto;
  }

  .search-row {
    grid-template-columns: minmax(88px, 1fr) 40px 68px;
    height: 58px;
    padding: 9px;
  }

  .search-row input {
    padding: 0 10px;
    font-size: 15px;
  }

  .submit-search {
    padding: 0 8px;
    font-size: 14px;
  }

  .voice-search::before {
    left: 15px;
  }

  .voice-search::after {
    left: 12px;
  }

  .post-card {
    min-height: 0;
    padding: 18px;
  }

  .post-thumb {
    grid-template-columns: 70px 1fr;
    gap: 12px;
  }

  .post-photo {
    width: 70px;
    padding: 3px;
  }

  .post-card h3 {
    font-size: 20px;
  }

  .post-card p:not(.post-meta) {
    font-size: 14px;
  }

  .detail-page h1,
  .detail-page h2 {
    font-size: 28px;
  }

  .detail-page p:not(.kicker),
  .detail-page-body p {
    font-size: 16px;
  }

  .detail-page-body h2 {
    font-size: 23px;
  }

  .detail-upload-block {
    padding: 0;
  }

  .detail-upload-block img {
    float: none;
    width: min(100%, 240px);
    margin: 0 auto 14px;
  }

  .detail-upload-text h2 {
    font-size: 20px;
  }

  .detail-upload-text p {
    font-size: 15px;
  }

}

@media (max-width: 360px) {
  .main-nav {
    gap: 10px;
    font-size: 13px;
  }

  .search-row {
    grid-template-columns: minmax(76px, 1fr) 38px 62px;
  }

  .submit-search {
    font-size: 12px;
  }

  .post-thumb {
    grid-template-columns: 1fr;
  }

  .post-photo {
    width: 86px;
  }

  .footer-ad-box {
    min-height: 130px;
    font-size: 19px;
  }
}


.site-footer {
  padding: 24px clamp(16px, 2vw, 28px) 34px;
  border-top: 4px solid var(--ink);
  background: #fff;
}

.footer-ads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-ad-box {
  min-height: 146px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  background: var(--cream);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.footer-ad-network {
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  text-transform: none;
  align-content: stretch;
  justify-items: stretch;
}

.footer-ad-network > div,
.footer-ad-network iframe,
.footer-ad-network ins {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: 146px;
  margin: 0 auto;
}

.footer-ad-full iframe {
  height: 100%;
  min-height: 146px;
}

.footer-ad-box:hover,
.footer-ad-box:focus-visible {
  border-color: var(--red);
  background: #fff;
  outline: 0;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .footer-ads {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-footer {
    padding: 22px 14px 30px;
  }

  .footer-ad-box {
    min-height: 158px;
    font-size: 23px;
  }

  .footer-ad-network > div,
  .footer-ad-network iframe,
  .footer-ad-network ins {
    min-height: 158px;
  }
}
