:root {
  --tcv-primary: #478fcc;
  --tcv-primary-dark: #0c2c87;
  --tcv-accent: #f52d24;
  --tcv-ink: #15171a;
  --tcv-muted: #61748a;
  --tcv-line: #dce6f0;
  --tcv-surface: #f4f8fc;
  --tcv-white: #fff;
  --tcv-radius: 10px;
  --tcv-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  --tcv-container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--tcv-ink);
  background: var(--tcv-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

a:hover,
a:focus {
  color: var(--tcv-primary);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
input[type="submit"] {
  cursor: pointer;
}

.site-container {
  width: min(calc(100% - 32px), var(--tcv-container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: var(--tcv-white);
  background: var(--tcv-primary);
}

.header-top {
  color: #536a83;
  background: #f4f8fc;
  border-bottom: 1px solid var(--tcv-line);
  font-size: 13px;
}

.header-top-inner,
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 20px;
}

.branding-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  gap: 32px;
}

.site-branding,
.custom-logo-link {
  display: flex;
  align-items: center;
}

.default-logo {
  display: flex;
  align-items: center;
}

.default-logo img {
  display: block;
  width: auto;
  max-width: 360px;
  max-height: 96px;
}

.custom-logo {
  width: auto;
  max-width: 290px;
  max-height: 76px;
}

.text-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.text-logo:hover {
  color: inherit;
}

.text-logo-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--tcv-white);
  background: var(--tcv-primary);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -1px;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.25);
}

.text-logo strong,
.text-logo small {
  display: block;
}

.text-logo strong {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
}

.text-logo small {
  margin-top: 5px;
  color: var(--tcv-muted);
  font-size: 13px;
}

.search-form {
  display: flex;
  width: 100%;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--tcv-line);
  border-right: 0;
  border-radius: 7px 0 0 7px;
  outline: 0;
}

.search-field:focus {
  border-color: var(--tcv-primary);
  box-shadow: inset 0 0 0 1px var(--tcv-primary);
}

.search-submit {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  border: 0;
  border-radius: 0 7px 7px 0;
  color: var(--tcv-white);
  background: var(--tcv-primary);
}

.search-submit:hover {
  background: var(--tcv-primary-dark);
}

.search-submit svg {
  width: 21px;
  height: 21px;
}

.header-search {
  width: min(100%, 370px);
}

.main-navigation {
  position: relative;
  z-index: 50;
  color: var(--tcv-white);
  background: var(--tcv-primary);
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.12);
}

.navigation-inner {
  display: flex;
  align-items: center;
}

.primary-menu,
.primary-menu ul,
.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  color: var(--tcv-white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li > a:hover,
.primary-menu > li > a:focus {
  color: var(--tcv-white);
  background: rgba(0, 0, 0, 0.16);
}

.primary-menu .sub-menu,
.primary-menu .children {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 230px;
  padding: 8px 0;
  color: var(--tcv-ink);
  background: var(--tcv-white);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--tcv-shadow);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:hover > .children,
.primary-menu li:focus-within > .sub-menu,
.primary-menu li:focus-within > .children {
  display: block;
}

.primary-menu .sub-menu a,
.primary-menu .children a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
}

.mobile-search,
.menu-toggle {
  display: none;
}

.news-ticker {
  border-bottom: 1px solid var(--tcv-line);
  background: var(--tcv-white);
}

.news-ticker-inner {
  display: flex;
  align-items: center;
  min-height: 43px;
  gap: 18px;
  overflow: hidden;
}

.news-ticker strong {
  flex: 0 0 auto;
  padding: 4px 9px;
  color: var(--tcv-white);
  background: var(--tcv-primary);
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
}

.ticker-track a::before {
  content: "•";
  margin-right: 9px;
  color: var(--tcv-accent);
}

.site-main {
  padding: 30px 0 56px;
}

.content-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 32px;
}

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

.featured-news {
  margin-bottom: 36px;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 210px);
  gap: 10px;
}

.featured-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--tcv-radius);
  background: #25282e;
}

.featured-lead {
  grid-row: 1 / 3;
}

.featured-image,
.featured-image img,
.featured-image .tcv-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-image img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-item:hover .featured-image img {
  transform: scale(1.035);
}

.featured-item::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, 0.88) 100%);
}

.featured-overlay {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  color: var(--tcv-white);
}

.featured-lead .featured-overlay {
  padding: 26px;
}

.featured-overlay h2 {
  margin: 9px 0 0;
  font-size: clamp(18px, 1.75vw, 25px);
  line-height: 1.3;
}

.featured-lead .featured-overlay h2 {
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.2;
}

.featured-overlay h2 a,
.featured-overlay h2 a:hover {
  color: var(--tcv-white);
}

.featured-overlay p {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.post-category {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--tcv-white);
  background: var(--tcv-primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.post-category:hover,
.post-category:focus {
  color: var(--tcv-white);
  background: var(--tcv-primary-dark);
}

.home-section {
  margin-top: 40px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--tcv-primary-dark);
}

.section-heading h2 {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-heading h2::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 4px;
  content: "";
  background: var(--tcv-accent);
}

.section-heading > a {
  color: var(--tcv-muted);
  font-size: 13px;
  font-weight: 700;
}

.section-heading > a span {
  margin-left: 4px;
}

.home-section-posts {
  display: grid;
  gap: 22px;
}

.home-layout-grid .home-section-posts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-layout-feature-list .home-section-posts {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 0 24px;
}

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

.home-layout-grid .home-post {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tcv-line);
}

.home-layout-feature-list .home-post:not(.home-post-lead),
.home-layout-list .home-post {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--tcv-line);
}

.home-layout-feature-list .home-post-lead {
  grid-row: 1 / span 6;
  padding-right: 24px;
  border-right: 1px solid var(--tcv-line);
}

.home-post-image {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  aspect-ratio: 16 / 10;
  background: var(--tcv-surface);
}

.home-post-image img,
.home-post-image .tcv-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-post h3 {
  margin: 7px 0 6px;
  font-size: 17px;
  line-height: 1.35;
}

.home-post-lead h3 {
  font-size: 25px;
}

.home-post-body > p {
  margin: 12px 0 0;
  color: var(--tcv-muted);
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--tcv-muted);
  font-size: 12px;
}

.post-meta a {
  color: var(--tcv-primary);
  font-weight: 700;
}

.tcv-image-placeholder {
  display: grid !important;
  place-items: center;
  min-height: 90px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, var(--tcv-primary-dark), var(--tcv-primary));
  font-weight: 900;
  letter-spacing: 2px;
}

.site-sidebar {
  min-width: 0;
}

.sidebar-inner.is-sticky {
  position: sticky;
  top: 18px;
}

.widget {
  padding: 18px;
  margin-bottom: 24px;
  border: 1px solid var(--tcv-line);
  border-radius: var(--tcv-radius);
  background: var(--tcv-white);
}

.widget-title {
  position: relative;
  padding: 0 0 11px 14px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--tcv-line);
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
}

.widget-title::before {
  position: absolute;
  top: 1px;
  bottom: 12px;
  left: 0;
  width: 4px;
  content: "";
  border-radius: 3px;
  background: var(--tcv-primary);
}

.sidebar-post-list {
  display: grid;
  gap: 14px;
}

.sidebar-post {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.sidebar-post + .sidebar-post {
  padding-top: 14px;
  border-top: 1px solid var(--tcv-line);
}

.sidebar-post-thumb {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  aspect-ratio: 16 / 10;
  background: var(--tcv-surface);
}

.sidebar-post-thumb img,
.sidebar-post-thumb .tcv-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.sidebar-post h3 {
  display: -webkit-box;
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sidebar-post-meta {
  color: var(--tcv-muted);
  font-size: 11px;
}

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

.widget-categories li,
.widget_categories li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--tcv-line);
  font-size: 14px;
  font-weight: 600;
}

.breadcrumbs,
.rank-math-breadcrumb {
  margin-bottom: 22px;
  color: var(--tcv-muted);
  font-size: 13px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-math-breadcrumb p {
  margin: 0;
}

.archive-header {
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--tcv-primary-dark);
}

.archive-header h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.archive-description {
  margin-top: 10px;
  color: var(--tcv-muted);
}

.archive-description p:last-child {
  margin-bottom: 0;
}

.archive-posts {
  display: grid;
  gap: 22px;
}

.archive-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--tcv-line);
}

.archive-card-image {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  background: var(--tcv-surface);
}

.archive-card-image img,
.archive-card-image .tcv-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card-title {
  margin: 8px 0;
  font-size: 23px;
  line-height: 1.3;
}

.archive-card-excerpt {
  margin: 10px 0 0;
  color: var(--tcv-muted);
}

.load-more-wrap {
  margin-top: 32px;
  text-align: center;
}

.load-more-button,
.button-primary,
.form-submit .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 6px;
  color: var(--tcv-white);
  background: var(--tcv-primary);
  font-weight: 800;
}

.load-more-button:hover,
.button-primary:hover,
.form-submit .submit:hover {
  color: var(--tcv-white);
  background: var(--tcv-primary-dark);
}

.load-more-button[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.load-more-status {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--tcv-muted);
  font-size: 13px;
}

.navigation.pagination {
  margin-top: 32px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.page-numbers {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--tcv-line);
  border-radius: 5px;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--tcv-white);
  background: var(--tcv-primary);
  border-color: var(--tcv-primary);
}

.single-article {
  min-width: 0;
}

.single-header {
  margin-bottom: 24px;
}

.single-header h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.single-deck {
  padding-left: 16px;
  margin: 20px 0 0;
  border-left: 4px solid var(--tcv-primary);
  color: #475467;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
}

.single-featured-image {
  margin: 0 0 26px;
  text-align: center;
}

.single-featured-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: var(--tcv-radius);
}

.single-featured-image figcaption,
.entry-content figcaption {
  margin-top: 7px;
  color: var(--tcv-muted);
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.entry-content {
  color: #202328;
  font-size: 18px;
  line-height: 1.78;
  text-align: justify;
  text-justify: inter-word;
  overflow-wrap: break-word;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content table,
.entry-content figure,
.entry-content .wp-block-embed {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--tcv-ink);
  line-height: 1.32;
  text-align: left;
  scroll-margin-top: 24px;
}

.entry-content h2 {
  margin-top: 1.6em;
  margin-bottom: 0.7em;
  font-size: clamp(26px, 3vw, 34px);
}

.entry-content h3 {
  margin-top: 1.4em;
  margin-bottom: 0.6em;
  font-size: clamp(22px, 2.4vw, 28px);
}

.entry-content h4 {
  font-size: 21px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content li + li {
  margin-top: 0.4em;
}

.entry-content a {
  color: var(--tcv-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content h2 a,
.entry-content h3 a,
.entry-content h4 a {
  text-decoration: none;
}

.entry-content img,
.entry-content figure,
.entry-content .wp-caption {
  max-width: 100% !important;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.entry-content img {
  display: block;
}

.entry-content iframe,
.entry-content video {
  display: block;
  max-width: 100%;
  margin-inline: auto;
}

.entry-content .wp-block-embed__wrapper {
  position: relative;
  max-width: 100%;
}

.entry-content blockquote {
  padding: 18px 22px;
  border-left: 5px solid var(--tcv-primary);
  background: var(--tcv-surface);
  font-size: 19px;
  font-style: italic;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  text-align: left;
}

.entry-content th,
.entry-content td {
  min-width: 130px;
  padding: 10px 12px;
  border: 1px solid var(--tcv-line);
}

.entry-content th {
  background: var(--tcv-surface);
}

.article-toc {
  padding: 16px 18px;
  margin: 0 0 26px;
  border: 1px solid var(--tcv-line);
  border-left: 4px solid var(--tcv-primary);
  border-radius: 7px;
  background: #fafafa;
}

.toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--tcv-ink);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.toc-toggle span {
  font-size: 22px;
}

.toc-list {
  padding-left: 22px;
  margin: 12px 0 0;
}

.toc-list.is-collapsed {
  display: none;
}

.toc-list a {
  color: #344054;
  font-size: 14px;
}

.toc-list li + li {
  margin-top: 5px;
}

.toc-list .toc-level-3 {
  margin-left: 18px;
}

.single-footer {
  padding-top: 20px;
  margin-top: 26px;
  border-top: 1px solid var(--tcv-line);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.post-tags a {
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--tcv-surface);
  font-size: 13px;
}

.article-updated {
  margin-top: 12px;
  color: var(--tcv-muted);
  font-size: 13px;
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 24px 0;
  margin: 30px 0;
  border-top: 1px solid var(--tcv-line);
  border-bottom: 1px solid var(--tcv-line);
}

.post-navigation > div {
  min-width: 0;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation span {
  display: block;
  margin-bottom: 5px;
  color: var(--tcv-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-navigation a {
  font-weight: 800;
  line-height: 1.4;
}

.related-posts {
  margin-top: 34px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.related-image {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  aspect-ratio: 16 / 10;
}

.related-image img,
.related-image .tcv-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card h3 {
  margin: 9px 0 0;
  font-size: 17px;
  line-height: 1.4;
}

.comments-area {
  padding-top: 28px;
  margin-top: 38px;
  border-top: 3px solid var(--tcv-primary-dark);
}

.comments-title,
.comment-reply-title {
  font-size: 24px;
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-list .children {
  padding-left: 54px;
  list-style: none;
}

.comment-body {
  padding: 18px 0;
  border-bottom: 1px solid var(--tcv-line);
}

.comment-author img {
  margin-right: 9px;
  border-radius: 50%;
  vertical-align: middle;
}

.comment-metadata {
  margin: 6px 0;
  color: var(--tcv-muted);
  font-size: 12px;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--tcv-line);
  border-radius: 5px;
}

.no-results,
.error-content {
  padding: 50px 24px;
  text-align: center;
  border-radius: var(--tcv-radius);
  background: var(--tcv-surface);
}

.no-results .search-form,
.error-content .search-form {
  max-width: 500px;
  margin: 20px auto;
}

.error-content > strong {
  display: block;
  color: var(--tcv-primary);
  font-size: clamp(70px, 14vw, 160px);
  line-height: 1;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--tcv-primary-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 1fr);
  gap: 48px;
  padding-top: 46px;
  padding-bottom: 40px;
}

.footer-widget-title {
  margin: 0 0 16px;
  color: var(--tcv-white);
  font-size: 18px;
}

.footer-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 8px;
}

.footer-column a:hover {
  color: var(--tcv-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1100px) {
  .site-container {
    width: min(calc(100% - 28px), var(--tcv-container));
  }

  .content-sidebar-grid {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 24px;
  }

  .featured-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }

  .featured-small:nth-of-type(n + 4) {
    display: none;
  }

  .home-layout-feature-list .home-section-posts {
    grid-template-columns: 1fr;
  }

  .home-layout-feature-list .home-post-lead {
    grid-row: auto;
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--tcv-line);
  }

  .archive-card {
    grid-template-columns: 245px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .header-top {
    display: none;
  }

  .branding-row {
    min-height: 78px;
  }

  .custom-logo,
  .default-logo img {
    max-width: 220px;
    max-height: 58px;
  }

  .text-logo-mark {
    width: 48px;
    height: 48px;
    font-size: 15px;
  }

  .text-logo small,
  .header-search {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 60;
    display: grid;
    width: 44px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 5px;
    background: var(--tcv-primary);
    gap: 4px;
  }

  body.menu-open .menu-toggle {
    position: fixed;
    top: 18px;
    right: 14px;
    background: var(--tcv-primary-dark);
  }

  .menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--tcv-white);
  }

  .main-navigation {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    padding: 76px 20px 24px;
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.25s ease, visibility 0.25s ease;
    background: var(--tcv-primary-dark);
  }

  .main-navigation.is-open {
    visibility: visible;
    transform: translateX(0);
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.2);
  }

  .navigation-inner,
  .primary-menu {
    display: block;
  }

  .primary-menu > li > a {
    min-height: 46px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .primary-menu .sub-menu,
  .primary-menu .children {
    position: static;
    display: block;
    padding: 0 0 5px 14px;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    box-shadow: none;
  }

  .mobile-search {
    display: block;
    margin-top: 22px;
  }

  .content-sidebar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-sidebar {
    margin-top: 12px;
  }

  .sidebar-inner.is-sticky {
    position: static;
  }

  .site-sidebar::before {
    display: block;
    padding: 11px 14px;
    margin-bottom: 14px;
    content: "Tin nổi bật & chuyên mục";
    color: var(--tcv-white);
    background: var(--tcv-primary-dark);
    border-radius: 6px;
    font-weight: 800;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-column:first-child {
    grid-column: 1 / 3;
  }
}

@media (max-width: 680px) {
  .site-container {
    width: min(calc(100% - 24px), var(--tcv-container));
  }

  .site-main {
    padding-top: 20px;
  }

  .news-ticker-inner {
    gap: 10px;
  }

  .ticker-track a:not(:first-child) {
    display: none;
  }

  .featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 300px 150px;
  }

  .featured-lead {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .featured-small:nth-of-type(2),
  .featured-small:nth-of-type(3) {
    display: block;
  }

  .featured-small:nth-of-type(n + 4) {
    display: none;
  }

  .featured-lead .featured-overlay,
  .featured-overlay {
    padding: 15px;
  }

  .featured-lead .featured-overlay h2 {
    font-size: 25px;
  }

  .featured-small .featured-overlay h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .featured-overlay p,
  .featured-small .post-category {
    display: none;
  }

  .section-heading h2 {
    font-size: 18px;
  }

  .home-layout-grid .home-section-posts {
    grid-template-columns: 1fr;
  }

  .home-layout-grid .home-post,
  .home-layout-feature-list .home-post:not(.home-post-lead),
  .home-layout-list .home-post {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 12px;
  }

  .home-post h3 {
    margin-top: 5px;
    font-size: 16px;
  }

  .home-post-lead h3 {
    font-size: 23px;
  }

  .archive-card {
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 13px;
  }

  .archive-card-title {
    display: -webkit-box;
    margin: 5px 0 7px;
    overflow: hidden;
    font-size: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .archive-card-excerpt {
    display: none;
  }

  .single-header h1 {
    font-size: 31px;
  }

  .single-deck {
    font-size: 17px;
  }

  .entry-content {
    font-size: 17px;
    line-height: 1.75;
  }

  .entry-content h2 {
    font-size: 26px;
  }

  .entry-content h3 {
    font-size: 22px;
  }

  .post-navigation,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    padding-top: 15px;
    border-top: 1px solid var(--tcv-line);
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-column:first-child {
    grid-column: auto;
  }

  .footer-bottom-inner {
    display: block;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .footer-menu {
    margin-top: 8px;
  }
}

@media (max-width: 430px) {
  .text-logo strong {
    font-size: 20px;
  }

  .featured-grid {
    grid-template-rows: 260px 132px;
  }

  .featured-lead .featured-overlay h2 {
    font-size: 22px;
  }

  .home-layout-grid .home-post,
  .home-layout-feature-list .home-post:not(.home-post-lead),
  .home-layout-list .home-post,
  .archive-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .home-post .post-category,
  .archive-card .post-category {
    display: none;
  }

  .post-meta span:nth-last-child(-n + 2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
