/*
Theme Name: TathaOne Child
Description: A modern editorial child theme for TathaOne based on Twenty Twenty-Five.
Author: TathaOne
Template: twentytwentyfive
Version: 1.3.4
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: tathaone-child
*/

:root {
  --tathaone-paper: #f6f8fc;
  --tathaone-white: #ffffff;
  --tathaone-ink: #202941;
  --tathaone-muted: #626f85;
  --tathaone-line: #e2e8f2;
  --tathaone-blue: #2868e8;
  --tathaone-yellow: #f4bd43;
  --tathaone-red: #e85c66;
  --tathaone-wide: 1240px;
}

.wp-site-blocks > :where(.tathaone-header, .tathaone-front, .tathaone-footer) {
  margin-block-start: 0;
}

.tathaone-header,
.tathaone-front,
.tathaone-footer {
  color: var(--tathaone-ink);
}

.tathaone-header *,
.tathaone-front *,
.tathaone-footer * {
  box-sizing: border-box;
}

.tathaone-shell {
  width: min(calc(100% - 56px), var(--tathaone-wide));
  max-width: none;
  margin-inline: auto;
}

.tathaone-header a,
.tathaone-front a,
.tathaone-footer a {
  text-decoration: none;
}

.tathaone-header a:focus-visible,
.tathaone-front a:focus-visible,
.tathaone-footer a:focus-visible,
.tathaone-header button:focus-visible {
  outline: 2px solid var(--tathaone-blue);
  outline-offset: 4px;
}

.tathaone-header {
  position: relative;
  z-index: 10;
  background: var(--tathaone-white);
  border-bottom: 1px solid var(--tathaone-line);
}

.tathaone-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.tathaone-brand {
  flex: none;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.tathaone-brand a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tathaone-ink);
}

.tathaone-brand a::before {
  content: "";
  display: block;
  flex: none;
  width: 38px;
  height: 39px;
  background: url("assets/images/tathaone-logo.png") center top / 38px auto no-repeat;
}

.tathaone-brand a::after {
  content: "";
  position: absolute;
  left: calc(100% + 8px);
  bottom: 7px;
  width: 58px;
  height: 2px;
  background:
    linear-gradient(var(--tathaone-blue), var(--tathaone-blue)) 0 0 / 17px 2px no-repeat,
    linear-gradient(var(--tathaone-yellow), var(--tathaone-yellow)) 21px 0 / 17px 2px no-repeat,
    linear-gradient(var(--tathaone-red), var(--tathaone-red)) 41px 0 / 17px 2px no-repeat;
}

.tathaone-nav {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.tathaone-nav .wp-block-navigation__container {
  gap: 32px;
}

.tathaone-nav .wp-block-navigation-item__content {
  color: var(--tathaone-ink);
}

.tathaone-nav .wp-block-navigation-item__content:hover {
  color: var(--tathaone-blue);
}

.tathaone-nav .wp-block-navigation__responsive-container-open,
.tathaone-nav .wp-block-navigation__responsive-container-close {
  color: var(--tathaone-ink);
}

.tathaone-hero {
  position: relative;
  overflow: hidden;
  color: var(--tathaone-white);
  background:
    radial-gradient(ellipse 75% 105% at 88% 12%, rgba(95, 158, 255, 0.38), transparent 68%),
    radial-gradient(ellipse 48% 68% at 58% 100%, rgba(235, 83, 108, 0.18), transparent 75%),
    repeating-linear-gradient(90deg, transparent 0 112px, rgba(255, 255, 255, 0.045) 112px 113px),
    linear-gradient(120deg, #121c38 0%, #1c3873 56%, #2b5baf 100%);
}

.tathaone-hero::before {
  content: "";
  position: absolute;
  top: -8%;
  right: 5%;
  width: min(39vw, 480px);
  aspect-ratio: 1;
  background: url("assets/images/tathaone-logo.png") center top / 100% auto no-repeat;
  filter: invert(1);
  opacity: 0.065;
  pointer-events: none;
}

.tathaone-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 29%;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: repeating-linear-gradient(135deg, transparent 0 30px, rgba(255, 255, 255, 0.07) 30px 31px);
  pointer-events: none;
}

.tathaone-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 88px 94px;
}

.tathaone-front .tathaone-eyebrow {
  margin: 0;
  color: var(--tathaone-blue);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

.tathaone-front .tathaone-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffdb82;
}

.tathaone-hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--tathaone-yellow);
}

.tathaone-hero .tathaone-hero-title {
  max-width: 100%;
  margin: 22px 0 12px;
  color: var(--tathaone-white);
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 1;
}

.tathaone-hero .tathaone-tagline {
  margin: 0;
  color: #d6e5ff;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
}

.tathaone-hero .tathaone-hero-intro {
  max-width: 650px;
  margin: 31px 0 0;
  color: #e3eaf8;
  font-size: 1.05rem;
  line-height: 1.85;
}

.tathaone-hero-actions {
  margin: 29px 0 0;
}

.tathaone-hero-button .wp-block-button__link {
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 5px;
  background: #ffffff;
  color: #1d4fbc;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.4;
  box-shadow: 0 10px 25px rgba(5, 18, 50, 0.17);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.tathaone-hero-button .wp-block-button__link:hover {
  transform: translateY(-2px);
  background: #ffdc84;
  color: #182745;
  box-shadow: 0 14px 28px rgba(5, 18, 50, 0.23);
}

.tathaone-section {
  margin: 0;
  padding-block: 76px 86px;
}

.tathaone-section-heading {
  margin: 0 0 30px;
}

.tathaone-section-heading .wp-block-heading {
  margin: 7px 0 0;
  color: var(--tathaone-ink);
  font-size: 2.35rem;
  font-weight: 750;
  line-height: 1.2;
}

.tathaone-topics {
  background: var(--tathaone-white);
}

.tathaone-topics .tathaone-topic-grid {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin: 0;
}

.tathaone-topics .tathaone-topic-grid > .tathaone-topic-card {
  width: 100%;
  max-width: none;
  align-self: stretch;
  margin: 0;
}

.tathaone-topic-card {
  --topic-text: #2258c2;
  --topic-start: #2c67dd;
  --topic-end: #9cccff;
  --topic-line: rgba(255, 255, 255, 0.6);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 382px;
  overflow: hidden;
  padding: 26px 28px 28px;
  border: 1px solid var(--tathaone-line);
  border-radius: 8px;
  background: var(--tathaone-white);
  box-shadow: 0 14px 34px rgba(31, 60, 120, 0.085);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tathaone-topic-card:hover,
.tathaone-topic-card:focus-within {
  transform: translateY(-5px);
  border-color: #cddaf2;
  box-shadow: 0 22px 44px rgba(31, 60, 120, 0.14);
}

.tathaone-topic-card::before {
  content: "";
  display: block;
  flex: none;
  width: calc(100% + 56px);
  height: 144px;
  margin: -26px -28px 22px;
  border-bottom: 1px solid var(--tathaone-line);
  background:
    linear-gradient(90deg, transparent 0 21%, var(--topic-line) 21% 21.5%, transparent 21.5%),
    linear-gradient(0deg, transparent 0 55%, var(--topic-line) 55% 55.7%, transparent 55.7%),
    repeating-linear-gradient(90deg, transparent 0 45px, var(--topic-line) 45px 46px),
    linear-gradient(125deg, var(--topic-start), var(--topic-end));
}

.tathaone-topic-card::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 12%;
  width: 76px;
  height: 76px;
  border: 2px solid var(--topic-line);
  border-radius: 6px;
  transform: rotate(45deg);
  pointer-events: none;
}

.tathaone-topic-innovation {
  --topic-text: #895e00;
  --topic-start: #ffe5a1;
  --topic-end: #fff8e6;
  --topic-line: rgba(176, 111, 0, 0.22);
}

.tathaone-topic-innovation::after {
  border-radius: 50%;
  transform: none;
}

.tathaone-topic-lifestyle {
  --topic-text: #b83f4d;
  --topic-start: #ffe2e5;
  --topic-end: #fff5f5;
  --topic-line: rgba(184, 63, 77, 0.2);
}

.tathaone-topic-lifestyle::after {
  width: 92px;
  height: 60px;
  transform: rotate(-12deg);
}

.tathaone-topic-card .tathaone-topic-index {
  margin: 0 0 10px;
  color: var(--topic-text);
  font-size: 0.68rem;
  font-weight: 800;
}

.tathaone-topic-card .wp-block-heading {
  margin: 0;
  color: var(--tathaone-ink);
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1.25;
}

.tathaone-topic-card .tathaone-topic-description {
  margin: 12px 0 22px;
  color: var(--tathaone-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.tathaone-topic-card .tathaone-topic-link {
  margin: auto 0 0;
  font-size: 0.82rem;
  font-weight: 750;
}

.tathaone-topic-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--topic-text);
}

.tathaone-topic-link a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tathaone-topic-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.tathaone-topic-link a:hover span {
  transform: translate(2px, -2px);
}

.tathaone-featured {
  border-block: 1px solid var(--tathaone-line);
  background: #edf3ff;
}

.tathaone-featured-query,
.tathaone-latest-query {
  margin: 0;
}

.tathaone-featured .wp-block-post-template,
.tathaone-latest .wp-block-post-template {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tathaone-featured .wp-block-post {
  margin: 0;
}

.tathaone-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  overflow: hidden;
  min-height: 470px;
  margin: 0;
  border: 1px solid #d9e3f6;
  border-radius: 8px;
  background: var(--tathaone-white);
  box-shadow: 0 24px 56px rgba(31, 60, 120, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.tathaone-featured-card:hover,
.tathaone-featured-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(31, 60, 120, 0.18);
}

.tathaone-featured-media,
.tathaone-article-media {
  overflow: hidden;
  margin: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 32px, rgba(255, 255, 255, 0.18) 32px 33px),
    linear-gradient(130deg, #3164d2, #a7cbff);
}

.tathaone-featured-media {
  min-height: 470px;
}

.tathaone-featured-media .wp-block-post-featured-image,
.tathaone-article-media .wp-block-post-featured-image {
  width: 100%;
  height: 100%;
  margin: 0;
}

.tathaone-featured-media .wp-block-post-featured-image a,
.tathaone-article-media .wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.tathaone-featured-media .wp-block-post-featured-image img,
.tathaone-article-media .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.tathaone-featured-card:hover .wp-block-post-featured-image img,
.tathaone-latest .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.025);
}

.tathaone-featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 52px 48px;
}

.tathaone-featured-copy .tathaone-eyebrow {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tathaone-yellow);
}

.tathaone-featured-copy .tathaone-post-category {
  margin: 43px 0 12px;
}

.tathaone-post-category {
  color: var(--tathaone-blue);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

.tathaone-post-category a {
  color: inherit;
}

.tathaone-post-category a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tathaone-featured-copy .wp-block-post-title {
  margin: 0;
  color: var(--tathaone-ink);
  font-size: 2.3rem;
  font-weight: 750;
  line-height: 1.22;
}

.tathaone-featured-copy .wp-block-post-title a,
.tathaone-article-copy .wp-block-post-title a {
  color: inherit;
}

.tathaone-featured-copy .wp-block-post-title a:hover,
.tathaone-article-copy .wp-block-post-title a:hover {
  color: var(--tathaone-blue);
}

.tathaone-post-excerpt {
  color: var(--tathaone-muted);
  line-height: 1.7;
}

.tathaone-featured-copy .tathaone-post-excerpt {
  margin: 18px 0 24px;
  font-size: 0.95rem;
}

.tathaone-post-excerpt p {
  margin: 0;
}

.tathaone-post-date {
  color: #758198;
  font-size: 0.76rem;
  font-weight: 600;
}

.tathaone-featured-copy .tathaone-post-date {
  margin: auto 0 0;
}

.tathaone-latest {
  background: var(--tathaone-white);
}

.tathaone-latest .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tathaone-latest .wp-block-post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--tathaone-line);
  border-radius: 8px;
  background: var(--tathaone-white);
  box-shadow: 0 14px 34px rgba(31, 60, 120, 0.075);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tathaone-latest .wp-block-post:hover,
.tathaone-latest .wp-block-post:focus-within {
  transform: translateY(-5px);
  border-color: #cddaf2;
  box-shadow: 0 22px 44px rgba(31, 60, 120, 0.13);
}

.tathaone-article-media {
  flex: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #d7e5fb;
}

.tathaone-article-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 23px 25px 27px;
}

.tathaone-article-copy .tathaone-post-category {
  margin: 0 0 11px;
}

.tathaone-article-copy .wp-block-post-title {
  margin: 0;
  color: var(--tathaone-ink);
  font-size: 1.28rem;
  font-weight: 750;
  line-height: 1.35;
}

.tathaone-article-copy .tathaone-post-excerpt {
  margin: 12px 0 22px;
  font-size: 0.88rem;
}

.tathaone-article-copy .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tathaone-article-copy .wp-block-post-excerpt__more-text {
  display: none;
}

.tathaone-article-copy .tathaone-post-date {
  margin: auto 0 0;
}

.tathaone-empty {
  margin: 0;
  padding: 35px;
  border: 1px dashed #b5c9eb;
  border-radius: 8px;
  color: var(--tathaone-muted);
  background: rgba(255, 255, 255, 0.6);
}

.tathaone-footer {
  border-top: 1px solid var(--tathaone-line);
  background: var(--tathaone-paper);
  color: var(--tathaone-ink);
}

.tathaone-footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-block: 50px;
}

.tathaone-footer-name {
  margin: 0;
}

.tathaone-footer-name a {
  display: block;
  width: 108px;
  height: 133px;
  overflow: hidden;
  background: url("assets/images/tathaone-logo.png") center / contain no-repeat;
  text-indent: -9999px;
  white-space: nowrap;
}

.tathaone-footer-tagline {
  margin: 13px 0 0;
  color: var(--tathaone-muted);
  font-size: 0.88rem;
}

.tathaone-copyright {
  margin: 0;
  color: var(--tathaone-muted);
  font-size: 0.78rem;
}

@keyframes tathaone-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .tathaone-hero-inner > *,
  .tathaone-section-heading,
  .tathaone-topic-card,
  .tathaone-featured-card,
  .tathaone-latest .wp-block-post {
    animation: tathaone-fade-in 600ms ease-out both;
  }

  .tathaone-topic-card:nth-child(2),
  .tathaone-latest .wp-block-post:nth-child(2) {
    animation-delay: 70ms;
  }

  .tathaone-topic-card:nth-child(3),
  .tathaone-latest .wp-block-post:nth-child(3) {
    animation-delay: 140ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tathaone-topic-card,
  .tathaone-featured-card,
  .tathaone-latest .wp-block-post,
  .tathaone-hero-button .wp-block-button__link,
  .tathaone-topic-link span,
  .tathaone-featured-media img,
  .tathaone-article-media img {
    animation: none;
    transition: none;
  }

  .tathaone-topic-card:hover,
  .tathaone-topic-card:focus-within,
  .tathaone-featured-card:hover,
  .tathaone-featured-card:focus-within,
  .tathaone-latest .wp-block-post:hover,
  .tathaone-latest .wp-block-post:focus-within,
  .tathaone-hero-button .wp-block-button__link:hover,
  .tathaone-topic-link a:hover span,
  .tathaone-featured-card:hover img,
  .tathaone-latest .wp-block-post:hover img {
    transform: none;
  }
}

@media (min-width: 961px) {
  .tathaone-header-inner {
    min-height: 86px;
  }

  .tathaone-brand {
    font-size: 1.32rem;
  }

  .tathaone-brand a::before {
    width: 42px;
    height: 43px;
    background-size: 42px auto;
  }

  .tathaone-brand a::after {
    width: 67px;
    bottom: 9px;
    background:
      linear-gradient(var(--tathaone-blue), var(--tathaone-blue)) 0 0 / 20px 2px no-repeat,
      linear-gradient(var(--tathaone-yellow), var(--tathaone-yellow)) 24px 0 / 20px 2px no-repeat,
      linear-gradient(var(--tathaone-red), var(--tathaone-red)) 47px 0 / 20px 2px no-repeat;
  }

  .tathaone-nav {
    font-size: 0.96rem;
  }

  .tathaone-nav .wp-block-navigation__container {
    gap: 38px;
  }

  .tathaone-hero::before {
    top: 50%;
    right: max(38px, calc(50vw - 610px));
    width: min(36vw, 520px);
    transform: translateY(-50%);
    opacity: 0.12;
    z-index: 1;
  }

  .tathaone-hero::after {
    width: 42%;
    border-left-color: rgba(255, 255, 255, 0.15);
    background:
      radial-gradient(circle at 50% 50%, transparent 0 38%, rgba(255, 255, 255, 0.11) 38.15% 38.4%, transparent 38.55%),
      radial-gradient(circle at 50% 50%, rgba(120, 174, 255, 0.17), transparent 66%),
      repeating-linear-gradient(135deg, transparent 0 38px, rgba(255, 255, 255, 0.055) 38px 39px);
  }

  .tathaone-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    align-content: center;
    min-height: 600px;
    padding-block: 64px;
  }

  .tathaone-hero-inner > * {
    grid-column: 1;
    min-width: 0;
  }

  .tathaone-hero .tathaone-hero-title {
    font-size: 5.6rem;
  }
}

@media (min-width: 1200px) {
  .tathaone-hero .tathaone-hero-title {
    font-size: 6rem;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .tathaone-nav {
    font-size: 0.85rem;
  }

  .tathaone-nav .wp-block-navigation__container {
    gap: 16px;
  }
}

@media (max-width: 960px) {
  .tathaone-hero .tathaone-hero-title {
    font-size: 5.4rem;
  }

  .tathaone-topics .tathaone-topic-grid,
  .tathaone-latest .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tathaone-featured-card {
    grid-template-columns: 1fr;
  }

  .tathaone-featured-media {
    min-height: 300px;
    max-height: 430px;
  }

  .tathaone-featured-copy .tathaone-post-category {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .tathaone-shell {
    width: min(calc(100% - 36px), var(--tathaone-wide));
  }

  .tathaone-header-inner {
    min-height: 64px;
  }

  .tathaone-brand {
    font-size: 1.15rem;
  }

  .tathaone-brand a {
    gap: 8px;
  }

  .tathaone-brand a::before {
    width: 32px;
    height: 33px;
    background-size: 32px auto;
  }

  .tathaone-brand a::after {
    width: 54px;
    bottom: 5px;
    background:
      linear-gradient(var(--tathaone-blue), var(--tathaone-blue)) 0 0 / 16px 2px no-repeat,
      linear-gradient(var(--tathaone-yellow), var(--tathaone-yellow)) 19px 0 / 16px 2px no-repeat,
      linear-gradient(var(--tathaone-red), var(--tathaone-red)) 38px 0 / 16px 2px no-repeat;
  }

  .tathaone-nav .wp-block-navigation__container {
    gap: 18px;
  }

  .tathaone-nav .wp-block-navigation__responsive-container-open {
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--tathaone-line);
    border-radius: 4px;
    background: var(--tathaone-paper);
  }

  .tathaone-header .tathaone-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
    min-height: 100dvh;
    padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      repeating-linear-gradient(90deg, transparent 0 96px, rgba(255, 255, 255, 0.045) 96px 97px),
      linear-gradient(125deg, #121c38 0%, #1e3e7c 58%, #2856a1 100%);
    color: var(--tathaone-white);
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    max-width: none;
    margin: 0;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: var(--tathaone-white) url("assets/images/tathaone-logo.png") center top / 32px auto no-repeat;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--tathaone-white);
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover {
    background: rgba(255, 255, 255, 0.16);
  }

  .tathaone-header .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    min-height: calc(100dvh - 48px);
    padding-top: 0;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::before {
    content: "TathaOne";
    display: flex;
    flex: none;
    align-items: center;
    height: 42px;
    padding-left: 50px;
    color: var(--tathaone-white);
    font-size: 1.23rem;
    font-weight: 800;
    line-height: 1;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    counter-reset: tathaone-menu;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 560px;
    gap: 0;
    margin: clamp(80px, 18dvh, 150px) 0 0;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item::before {
    counter-increment: tathaone-menu;
    content: counter(tathaone-menu, decimal-leading-zero);
    flex: none;
    width: 37px;
    color: var(--menu-accent);
    font-size: 0.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(1) { --menu-accent: #9ec2ff; }
  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(2) { --menu-accent: #ffda82; }
  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(3) { --menu-accent: #ffa1a8; }
  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(4) { --menu-accent: #eef3fd; }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    display: inline-block;
    width: auto;
    padding: 0;
    color: var(--menu-accent);
    font-size: 1.8rem;
    font-weight: 650;
    line-height: 1.22;
    transition: transform 180ms ease, color 180ms ease;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
    transform: translateX(4px);
    color: var(--tathaone-white);
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content,
  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current] {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible,
  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible {
    outline: 2px solid var(--tathaone-white);
    outline-offset: 4px;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::after {
    content: "Technology \00B7  Innovation \00B7  Lifestyle";
    display: block;
    flex: none;
    width: 100%;
    margin-top: auto;
    padding: 32px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #d8e5fa;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.5;
    background:
      linear-gradient(var(--tathaone-blue), var(--tathaone-blue)) 0 bottom / 36px 2px no-repeat,
      linear-gradient(var(--tathaone-yellow), var(--tathaone-yellow)) 40px bottom / 36px 2px no-repeat,
      linear-gradient(var(--tathaone-red), var(--tathaone-red)) 80px bottom / 36px 2px no-repeat;
  }

  .tathaone-hero::after {
    width: 18%;
    opacity: 0.45;
  }

  .tathaone-hero::before {
    top: 3%;
    right: -32px;
    width: 220px;
    opacity: 0.045;
  }

  .tathaone-hero-inner {
    padding-block: 42px 49px;
  }

  .tathaone-hero .tathaone-hero-title {
    margin: 14px 0 8px;
    font-size: 3.3rem;
  }

  .tathaone-hero .tathaone-tagline {
    font-size: 1rem;
  }

  .tathaone-hero .tathaone-hero-intro {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .tathaone-hero-actions {
    margin-top: 18px;
  }

  .tathaone-hero-button .wp-block-button__link {
    min-height: 37px;
    padding: 7px 17px;
  }

  .tathaone-section {
    padding-block: 49px 55px;
  }

  .tathaone-section-heading {
    margin-bottom: 23px;
  }

  .tathaone-section-heading .wp-block-heading {
    font-size: 1.95rem;
  }

  .tathaone-topics .tathaone-section-heading .wp-block-heading {
    font-size: 1.78rem;
  }

  .tathaone-topics .tathaone-topic-grid,
  .tathaone-latest .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .tathaone-topics .tathaone-topic-grid {
    gap: 14px;
  }

  .tathaone-topic-card {
    min-height: 0;
    padding: 18px 20px 20px;
  }

  .tathaone-topic-card::before {
    width: calc(100% + 40px);
    height: 96px;
    margin: -18px -20px 14px;
  }

  .tathaone-topic-card::after {
    top: 18px;
    right: 12%;
    width: 50px;
    height: 50px;
  }

  .tathaone-topic-lifestyle::after {
    width: 66px;
    height: 42px;
  }

  .tathaone-topic-card .tathaone-topic-index {
    margin-bottom: 6px;
  }

  .tathaone-topic-card .wp-block-heading {
    font-size: 1.5rem;
  }

  .tathaone-topic-card .tathaone-topic-description {
    margin: 8px 0 14px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .tathaone-featured-media {
    min-height: 230px;
  }

  .tathaone-featured-copy {
    padding: 28px;
  }

  .tathaone-featured-copy .wp-block-post-title {
    font-size: 1.55rem;
  }

  .tathaone-latest .wp-block-post {
    min-height: 0;
  }

  .tathaone-latest .tathaone-empty {
    padding: 16px 24px;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .tathaone-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 34px;
  }

  .tathaone-footer-name a {
    width: 94px;
    height: 116px;
  }
}

@media (max-width: 380px) {
  .tathaone-hero .tathaone-hero-title {
    font-size: 2.82rem;
  }

  .tathaone-hero .tathaone-tagline {
    font-size: 0.94rem;
  }
}

@media (max-width: 640px) and (max-height: 600px) {
  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    margin-top: 32px;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
    padding-block: 10px;
  }
}

@media (max-width: 599.98px) and (prefers-reduced-motion: no-preference) {
  .tathaone-nav .wp-block-navigation__responsive-container {
    opacity: 0;
    transform: translateY(7px);
    transition: opacity 180ms ease, transform 180ms ease, display 180ms allow-discrete;
  }

  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open {
    opacity: 1;
    transform: none;
    animation: none;
  }

  @starting-style {
    .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open {
      opacity: 0;
      transform: translateY(7px);
    }
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .tathaone-nav .wp-block-navigation__responsive-container,
  .tathaone-nav .wp-block-navigation__responsive-container.is-menu-open,
  .tathaone-nav .wp-block-navigation-item__content {
    animation: none;
    transition: none;
  }
}

html.has-modal-open,
html:has(.tathaone-nav .wp-block-navigation__responsive-container.is-menu-open),
body:has(.tathaone-nav .wp-block-navigation__responsive-container.is-menu-open) {
  overflow: hidden;
}
