/* Inside That Ad — custom overrides to match original dark-header design */


/* ── Header: black background with banner image ── */


.header {
  background-color: #000;
  padding: 0;
  border-bottom: 3px solid #c0392b;
}


.header__inner {
  padding: 0;
  max-width: 100%;
}


/* ── Banner + social icons ── */


.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
}


.logo__link {
  display: block;
  width: 100%;
  text-align: center;
}


.logo__img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: 200px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
  margin: 0 auto;
}


.logo__text {
  display: none;
}


.logo__social {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 4px 0 12px;
  margin-top: -8px;
  background-color: #000;
  width: 100%;
}


.logo__social-link {
  color: #aaa;
  font-size: 1.2rem;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: color 0.2s;
}


.logo__social-link:hover {
  color: #c0392b;
}


.header__inner {
  padding: 0 !important;
  max-width: 100% !important;
}


/* ── Navigation bar ── */


.menu {
  background-color: #111;
  border-top: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 50;
}


.menu__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


.menu__link {
  position: relative;
  display: block;
  padding: 14px 22px;
  color: #ccc;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: color 0.2s ease;
}


.menu__link::after {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2px;
  background: #c0392b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}


.menu__item,
.menu__item:hover,
.menu__item--active {
  background: transparent;
}


.menu__item:hover .menu__link,
.menu__item--active .menu__link,
.menu__link:hover {
  color: #fff;
}


.menu__item:hover .menu__link::after,
.menu__item--active .menu__link::after {
  transform: scaleX(1);
}


.menu__item + .menu__item {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}


/* ── Nav search bar ── */


.menu__item--search {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  margin-left: auto;
}


.nav-search {
  display: flex;
  align-items: center;
  background: #222;
  border: 1px solid #444;
  overflow: hidden;
}


.nav-search__input {
  background: transparent;
  border: none;
  color: #ccc;
  padding: 6px 10px;
  font-size: 0.85rem;
  width: 180px;
  outline: none;
  font-family: inherit;
}


.nav-search__input::-moz-placeholder {
  color: #777;
}


.nav-search__input::placeholder {
  color: #777;
}


.nav-search__btn {
  background: none;
  border: none;
  color: #aaa;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}


.nav-search__btn:hover {
  color: #c0392b;
}


@media screen and (max-width: 767px) {
  .nav-search__input { width: 120px; }
  .menu__item--toggle,
  .menu__item--search { padding: 4px 6px; }
  .nav-search__btn {
    padding: 10px 12px;
    min-width: 44px;
    min-height: 44px;
  }
}


/* ── Google Inter font ── */


/* ── Hero section ── */


.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}


.hero__img-link {
  display: block;
  background: #111;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero__img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  display: block;
  transition: transform 0.4s ease;
}


.hero__img-link:hover .hero__img {
  transform: scale(1.03);
}


.hero__body {
  padding: 2rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}


.hero__badge {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 3px;
  width: -moz-fit-content;
  width: fit-content;
  font-family: 'Inter', sans-serif;
}


.hero__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}


.hero__title a {
  color: #111 !important;
  -webkit-text-decoration: none;
  text-decoration: none;
}


.hero__title a:hover {
  color: #c0392b !important;
}


.hero__meta {
  font-size: 0.8rem;
  color: #999;
  font-family: 'Inter', sans-serif;
  margin: 0;
}


.hero__excerpt {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
}


.hero__btn {
  display: inline-block;
  background: #c0392b;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  -webkit-text-decoration: none !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif;
  width: -moz-fit-content;
  width: fit-content;
  transition: background 0.2s;
}


.hero__btn:hover {
  background: #922b21;
}


/* ── Homepage h1 (SEO, visually subdued) ── */


.home__title {
  font-size: 1rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  padding: 0;
}


/* ── Card grid ── */


.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2.75rem;
  gap: 2.75rem;
  margin-bottom: 2.5rem;
}


/* ── Post card ── */


.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}


.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
  border-color: #d8d8d8;
}


.post-card__img-link {
  display: block;
  position: relative;
  background: #111;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}


.post-card__img-link::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 45%);
  pointer-events: none;
}


.post-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}


.post-card__img-link:hover .post-card__img {
  transform: scale(1.08);
}


.post-card__bookmark {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  z-index: 1;
}


.post-card__body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}


.post-card__top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}


.post-card__brand {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c0392b;
  margin: 0;
}


.post-card__top-row .post-card__date {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #aaa;
  margin: 0;
  margin-left: auto;
  white-space: nowrap;
}


.post-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.post-card__title a {
  color: #111 !important;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: color 0.15s ease;
}


.post-card__title a:hover {
  color: #c0392b !important;
}


.post-card__agency {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
  margin: auto 0 0;
  padding-top: 10px;
}


/* ── Archive page title ── */


.archive__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #c0392b;
}


/* ── Agency job boards page ── */


.agency-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.5rem;
}


.agency-jobs-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.agency-jobs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}


.agency-jobs-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}


.agency-jobs-card__name a {
  color: #111;
  -webkit-text-decoration: none;
  text-decoration: none;
}


.agency-jobs-card__name a:hover {
  color: #c0392b;
}


.agency-jobs-card__count {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #999;
  margin: 4px 0 12px;
}


.agency-jobs-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  background: #c0392b;
  color: #fff;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: opacity 0.15s ease;
}


.agency-jobs-card__btn:hover {
  opacity: 0.88;
}


.agency-jobs-card__btn--search {
  background: #555;
}


/* ── Tablet: 1-column grid ── */


@media screen and (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__img {
    min-height: 240px;
  }
}


/* ── Mobile ── */


@media screen and (max-width: 600px) {
  .card-grid {
    gap: 1.25rem;
  }
  .hero__body {
    padding: 1.25rem;
  }
  .hero__title {
    font-size: 1.3rem;
  }
  .admin-share__row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-share__btn {
    padding: 12px 16px;
    font-size: 0.85rem;
    min-height: 44px;
  }
}


/* ── Body & typography ── */


body {
  font-family: Georgia, "Times New Roman", serif;
  color: #222;
  background: #f5f5f5;
}


.post__title {
  font-size: 1.6rem;
}


.post__brand-agency {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  margin: 4px 0 0;
}


.post__brand-agency a {
  color: #c0392b;
  -webkit-text-decoration: none;
  text-decoration: none;
}


.post__brand-agency a:hover {
  -webkit-text-decoration: underline;
  text-decoration: underline;
}


/* Drop cap on first paragraph of posts */


.post__content > p:first-of-type::first-letter {
  float: left;
  font-size: 3.5em;
  line-height: 0.8;
  margin: 0.05em 0.1em 0 0;
  color: #c0392b;
  font-weight: bold;
  font-family: Georgia, serif;
}


/* ── Sidebar ── */


.widget__title {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-bottom: 2px solid #c0392b;
  padding-bottom: 6px;
  margin-bottom: 12px;
}


/* ── Footer ── */


.footer {
  background-color: #111;
  color: #888;
  font-size: 0.85rem;
  border-top: 3px solid #c0392b;
  margin-top: 2rem;
}


.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}


.footer__logo-img {
  height: 60px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.85;
  filter: brightness(1.2);
}


.footer__columns {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}


.footer__column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.footer__column-label {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}


.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}


.footer__nav--stacked {
  flex-direction: column;
  gap: 0;
}


.footer__nav-link {
  color: #aaa;
  -webkit-text-decoration: none;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}


.footer__nav-link:hover {
  color: #c0392b;
}


.footer__social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


/* ── Store page ── */


.store-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 2.5rem;
}


.store-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}


.store-hero__subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
  max-width: 480px;
  margin: 0 auto;
}


.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 3rem;
}


.store-card {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}


.store-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.11);
}


.store-card__img-wrap {
  background: #c0392b;
  line-height: 0;
}


.store-card__img {
  width: 100%;
  height: auto;
  display: block;
}


.store-card__body {
  padding: 1.5rem;
}


.store-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}


.store-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}


.store-badge--yellow { background: #ffe066; color: #6b4e00; }


.store-badge--orange { background: #ff9a3c; color: #fff; }


.store-badge--purple { background: #b39ddb; color: #fff; }


.store-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
}


.store-card__tagline {
  font-size: 0.85rem;
  color: #888;
  margin: 0 0 0.9rem;
}


.store-card__desc {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin: 0 0 1.1rem;
}


.store-card__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #c0392b;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}


.store-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #c0392b;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 6px;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: background 0.2s;
  box-sizing: border-box;
  min-height: 44px;
}


.store-card__btn:hover {
  background: #a93226;
  color: #fff !important;
}


.store-card__note {
  font-size: 0.78rem;
  color: #999;
  text-align: center;
  margin: 0.75rem 0 0;
}


.store-features {
  margin-bottom: 2.5rem;
  border-radius: 10px;
  overflow: hidden;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}


.store-features__img {
  width: 100%;
  height: auto;
  display: block;
}


.store-coming-soon {
  text-align: center;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #e8e8e8;
}


.store-coming-soon__text {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
  letter-spacing: 0.03em;
}


@media (max-width: 600px) {
  .store-hero__title { font-size: 1.5rem; }
  .store-card__body { padding: 1.1rem; }
  .store-features { border-radius: 6px; }
}


.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #444;
  color: #aaa;
  font-size: 1rem;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}


.footer__social-link:hover {
  color: #fff;
  border-color: #c0392b;
  background-color: #c0392b;
}


.footer__bottom {
  text-align: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid #222;
  color: #555;
  font-size: 0.8rem;
}


/* ── Links ── */


a {
  color: #c0392b;
}


a:hover {
  color: #922b21;
}


/* ── Post cover image ── */


.post__cover {
  margin: 0 0 1.5rem;
}


.post__cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}


/* ── Post images: full width inside content ── */


.post__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}


/* ── Contact form ── */


.contact-form {
  max-width: 480px;
  margin: 1.5em 0;
}


.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}


.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form textarea {
  width: 100%;
  padding: 0.6em 0.7em;
  margin-top: 0.3em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}


.contact-form__hidden {
  display: none;
}


.ad-submit-form__optional {
  font-weight: 400;
  color: #888;
  font-size: 0.85em;
}


.contact-form__submit {
  background-color: #c0392b;
  color: #fff;
  border: none;
  padding: 0.7em 1.6em;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}


.contact-form__submit:hover {
  background-color: #a93226;
}


/* ── Page wrapper with left skyscraper ── */


.page-with-ads {
  display: flex;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
}


/* ── Left skyscraper ad ── */


.ad-skyscraper {
  display: none; /* hidden on small screens */
  flex-shrink: 0;
  width: 180px;
  padding: 16px 8px 0 0;
  position: sticky;
  top: 20px;
}


@media (min-width: 1100px) {
  .ad-skyscraper {
    display: block;
  }
}


/* ── Ad placeholders (visible until real ads load) ── */


.ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border: 1px dashed #bbb;
  color: #999;
  font-size: 0.75rem;
  text-align: center;
  gap: 6px;
}


.ad-placeholder--skyscraper {
  width: 160px;
  height: 600px;
}


.ad-placeholder--square {
  width: 300px;
  height: 250px;
  max-width: 100%;
}


.ad-placeholder__label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}


.ad-placeholder__size {
  font-size: 0.7rem;
}


/* ── Square ad widget in sidebar ── */


.widget-ad-square {
  margin-top: 1rem;
}


/* ── You May Also Like ── */


.related {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f9f9f9;
  border-top: 3px solid #c0392b;
}


.related__title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  color: #111;
}


.related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}


.related__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.related__thumb img {
  width: 100%;
  height: 110px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}


.related__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #222;
  -webkit-text-decoration: none;
  text-decoration: none;
  line-height: 1.3;
}


.related__link:hover {
  color: #c0392b;
}


.related__date {
  font-size: 0.75rem;
  color: #999;
}


/* ── Sidebar widget lists (recent posts, categories) ── */


.widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
}


.widget__item {
  border-bottom: 1px solid #eee;
}


.widget__item:last-child {
  border-bottom: none;
}


.widget__link {
  display: block;
  padding: 9px 2px;
  color: #333;
  -webkit-text-decoration: none;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.15s ease;
}


.widget__link:hover {
  color: #c0392b;
}


/* ── Responsive video embeds ── */


.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin: 1.5em 0;
}


.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ── Giscus comments spacing ── */


.giscus {
  margin-top: 2rem;
}


/* ════════════════════════════════════════
   MOBILE RESPONSIVE  (≤ 767px)
   ════════════════════════════════════════ */


@media screen and (max-width: 767px) {

  /* Banner */
  .logo__img {
    height: 120px;
  }

  .logo__social {
    gap: 12px;
    padding: 8px 0 10px;
  }

  .logo__social-link {
    font-size: 1rem;
  }

  /* Nav: let Mainroad's hamburger menu take over */
  .nav__list {
    flex-direction: column;
  }

  .nav__list li a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* Post title */
  .post__title {
    font-size: 1.3rem;
  }

  /* Drop cap — disable on mobile (too large) */
  .post__content > p:first-of-type::first-letter {
    float: none;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    margin: 0;
  }

  /* Page wrapper — stack vertically, no side ad */
  .page-with-ads {
    flex-direction: column;
  }

  .ad-skyscraper {
    display: none !important;
  }

  /* Sidebar square ad: constrain width */
  .ad-placeholder--square {
    width: 100%;
    height: 200px;
  }

  /* You May Also Like — single column */
  .related__list {
    grid-template-columns: 1fr;
  }

  .related {
    padding: 1rem;
  }

  /* Footer: stack vertically and center */
  .footer__main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.2rem 1rem;
  }

  .footer__columns {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .footer__column {
    align-items: center;
  }

  .footer__nav {
    gap: 16px;
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }
}


/* ── Search page ── */


.search-page__title {
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
}


.search-page__box {
  margin-bottom: 2rem;
}


.search-page__input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid #444;
  background: #111;
  color: #eee;
  outline: none;
  box-sizing: border-box;
}


.search-page__input:focus {
  border-color: #c0392b;
}


.search-page__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
}


.search-page__none {
  color: #aaa;
  font-style: italic;
}


.post-card__date {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 4px;
}


@media screen and (max-width: 767px) {
  .search-page__results { grid-template-columns: 1fr; }
}


/* ── Pagination ── */


.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 2rem 0 1rem;
  font-family: 'Inter', sans-serif;
}


.pagination__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  -webkit-text-decoration: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}


.pagination__btn:first-child {
  border-radius: 6px 0 0 6px;
}


.pagination__btn:last-child {
  border-radius: 0 6px 6px 0;
}


.pagination__btn:hover {
  background: #f5f5f5;
  color: #c0392b;
}


.pagination__btn--disabled {
  color: #bbb;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  cursor: default;
}


.pagination__info {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  background: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}


/* ── Post prev/next navigation (single posts) ── */


.post-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 2rem 0 1rem;
  font-family: 'Inter', sans-serif;
}


.post-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  -webkit-text-decoration: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}


.post-nav__btn:first-child {
  border-radius: 6px 0 0 6px;
}


.post-nav__btn:last-child {
  border-radius: 0 6px 6px 0;
}


.post-nav__btn:hover {
  background: #f5f5f5;
  color: #c0392b;
}


.post-nav__btn--disabled {
  color: #bbb;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  cursor: default;
}


/* ── Admin share buttons (push post to ITA's own Facebook/X) ── */


.admin-share {
  margin: 2rem 0 0;
  padding: 0.75rem;
  background: #faf7f7;
  border: 1px dashed #ddd;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
}


.admin-share__row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}


.admin-share__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #999;
  white-space: nowrap;
}


.admin-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}


.admin-share__btn:hover {
  opacity: 0.88;
}


.admin-share__btn--facebook {
  background: #1877f2;
}


.admin-share__btn--x {
  background: #000;
}


.admin-share__btn--copy {
  background: #c0392b;
}


.admin-share__hint {
  font-size: 0.72rem;
  color: #999;
  margin: 6px 0 0;
}


.post-nav__btn--home {
  border-left: none;
  border-right: none;
  border-radius: 0;
}


/* ════════════════════════════════════════
   TABLET  (768px – 900px)
   ════════════════════════════════════════ */


@media screen and (min-width: 768px) and (max-width: 900px) {

  .logo__img {
    height: 160px;
  }

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

  .footer__main {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
