/*
Theme Name: WeekendFest Guide
Theme URI: https://weekendfest.kr/
Author: WeekendFest
Author URI: https://weekendfest.kr/
Description: A practical Korean festival guide theme for weekend festival discovery, event timing, parking, weather, photo spots, and nearby courses.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.9
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: weekendfest
Tags: blog, news, custom-logo, custom-menu, featured-images, accessibility-ready
*/

:root {
  --wf-bg: #ffffff;
  --wf-paper: #ffffff;
  --wf-soft: #f6f8f5;
  --wf-cream: #fffaf0;
  --wf-ink: #172126;
  --wf-text: #3c4a50;
  --wf-muted: #7a888e;
  --wf-line: #e4e9e4;
  --wf-line-strong: #cfd9cf;
  --wf-coral: #e85f4a;
  --wf-coral-dark: #bf3f30;
  --wf-green: #28785d;
  --wf-green-dark: #175640;
  --wf-yellow: #f3b73f;
  --wf-blue: #315d73;
  --wf-shadow: 0 16px 40px rgba(23, 33, 38, .08);
  --wf-radius: 8px;
  --wf-wrap: min(1160px, calc(100vw - 36px));
  --wf-font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wf-bg);
  color: var(--wf-text);
  font-family: var(--wf-font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--wf-ink);
}

.wf-container {
  width: var(--wf-wrap);
  margin: 0 auto;
}

.wf-topbar {
  background: #172126;
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
}

.wf-topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wf-topbar__links {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.wf-top-menu,
.wf-top-menu .sub-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.wf-top-menu {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wf-top-menu li {
  position: relative;
}

.wf-top-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: rgba(255, 255, 255, .86);
}

.wf-top-menu a:hover,
.wf-top-menu li:focus-within > a {
  color: #fff;
}

.wf-top-menu .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 60;
  min-width: 150px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #172126;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.wf-top-menu li:hover > .sub-menu,
.wf-top-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wf-top-menu .sub-menu a {
  width: 100%;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.wf-top-menu .sub-menu a:hover {
  background: rgba(255, 255, 255, .08);
}

.wf-header {
  background: #fff;
  border-bottom: 1px solid var(--wf-line);
}

.wf-header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.wf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wf-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--wf-coral), var(--wf-yellow));
  box-shadow: 0 10px 24px rgba(232, 95, 74, .2);
}

.wf-brand__text strong {
  display: block;
  color: var(--wf-ink);
  font-size: 22px;
  line-height: 1.1;
}

.wf-brand__text span {
  display: block;
  margin-top: 4px;
  color: var(--wf-muted);
  font-size: 12px;
  line-height: 1.2;
}

.wf-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wf-menu li {
  position: relative;
}

.wf-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--wf-ink);
  font-weight: 700;
  font-size: 14px;
}

.wf-menu a:hover {
  background: var(--wf-soft);
  color: var(--wf-green-dark);
}

.wf-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  min-width: 190px;
  padding: 8px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--wf-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.wf-menu li:hover > .sub-menu,
.wf-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wf-menu .sub-menu .sub-menu {
  top: -8px;
  left: calc(100% + 8px);
}

.wf-menu .sub-menu a {
  width: 100%;
  justify-content: flex-start;
  min-height: 36px;
  padding: 0 10px;
  white-space: nowrap;
}

.wf-menu .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .65;
}

.wf-header-search {
  width: 220px;
  display: flex;
  align-items: center;
  border: 1px solid var(--wf-line-strong);
  border-radius: 8px;
  background: var(--wf-paper);
  overflow: hidden;
}

.wf-header-search input {
  width: 100%;
  height: 38px;
  border: 0;
  outline: 0;
  padding: 0 10px;
  color: var(--wf-ink);
}

.wf-header-search button {
  width: 42px;
  height: 38px;
  border: 0;
  background: var(--wf-green);
  color: #fff;
  cursor: pointer;
}

.wf-main {
  min-height: 60vh;
}

.wf-hero {
  background:
    linear-gradient(180deg, #fff7ec 0%, #ffffff 78%),
    radial-gradient(circle at 90% 10%, rgba(243, 183, 63, .18), transparent 34%);
  border-bottom: 1px solid var(--wf-line);
}

.wf-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 34px;
  padding: 42px 0 36px;
  align-items: start;
}

.wf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--wf-coral-dark);
  font-size: 13px;
  font-weight: 900;
}

.wf-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wf-coral);
}

.wf-hero h1 {
  margin: 0;
  color: var(--wf-ink);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.wf-hero__lead {
  max-width: 660px;
  margin: 18px 0 24px;
  color: #44545b;
  font-size: 18px;
}

.wf-hero-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--wf-line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--wf-shadow);
}

.wf-hero-search input {
  min-width: 0;
  flex: 1;
  height: 50px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--wf-ink);
  font-size: 16px;
}

.wf-hero-search button {
  min-width: 108px;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--wf-coral);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.wf-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.wf-filter-row a,
.wf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
  color: var(--wf-ink);
  font-size: 13px;
  font-weight: 800;
}

.wf-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.wf-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(40, 120, 93, .1);
  color: var(--wf-green-dark);
  font-size: 12px;
  font-weight: 800;
}

.wf-update-panel {
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  box-shadow: var(--wf-shadow);
  overflow: hidden;
}

.wf-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--wf-line);
}

.wf-panel-head h2 {
  margin: 0;
  color: var(--wf-ink);
  font-size: 18px;
}

.wf-panel-head span {
  color: var(--wf-muted);
  font-size: 12px;
  font-weight: 800;
}

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

.wf-update-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--wf-line);
}

.wf-update-list li:last-child {
  border-bottom: 0;
}

.wf-time {
  color: var(--wf-coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.wf-update-list strong {
  display: block;
  color: var(--wf-ink);
  font-size: 14px;
  line-height: 1.35;
}

.wf-update-list p {
  margin: 5px 0 0;
  color: var(--wf-muted);
  font-size: 13px;
  line-height: 1.4;
}

.wf-weather-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 18px 18px;
  background: var(--wf-soft);
}

.wf-weather {
  min-height: 70px;
  padding: 10px;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
}

.wf-weather b {
  display: block;
  color: var(--wf-ink);
  font-size: 13px;
}

.wf-weather span {
  display: block;
  margin-top: 4px;
  color: var(--wf-muted);
  font-size: 12px;
}

.wf-section {
  padding: 38px 0;
}

.wf-section--soft {
  background: var(--wf-soft);
}

.wf-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.wf-section-head p {
  margin: 0 0 4px;
  color: var(--wf-coral-dark);
  font-size: 13px;
  font-weight: 900;
}

.wf-section-head h2 {
  margin: 0;
  color: var(--wf-ink);
  font-size: 26px;
  line-height: 1.2;
}

.wf-section-head a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wf-line-strong);
  border-radius: 8px;
  color: var(--wf-ink);
  font-size: 13px;
  font-weight: 900;
  background: #fff;
}

.wf-feature-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wf-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.wf-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--wf-shadow);
}

.wf-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(232, 95, 74, .18), rgba(40, 120, 93, .18));
  overflow: hidden;
}

.wf-card--large .wf-card__media {
  aspect-ratio: 16 / 8.6;
}

.wf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wf-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 22px;
  color: rgba(23, 33, 38, .7);
  background:
    linear-gradient(135deg, rgba(232, 95, 74, .12), rgba(243, 183, 63, .18)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.7) 0 10px, rgba(255,255,255,.35) 10px 20px);
  font-weight: 900;
  text-align: center;
}

.wf-date-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(23, 33, 38, .88);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.wf-card__body {
  padding: 16px;
}

.wf-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
}

.wf-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--wf-soft);
  color: var(--wf-green-dark);
  font-size: 12px;
  font-weight: 900;
}

.wf-card h3 {
  margin: 0;
  color: var(--wf-ink);
  font-size: 19px;
  line-height: 1.35;
}

.wf-card--large h3 {
  font-size: 25px;
}

.wf-card p {
  margin: 10px 0 0;
  color: var(--wf-text);
  font-size: 14px;
  line-height: 1.55;
}

.wf-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--wf-coral-dark);
  font-size: 13px;
  font-weight: 900;
}

.wf-ad-slot {
  display: grid;
  place-items: center;
  min-height: 92px;
  margin: 26px 0 0;
  border: 1px dashed #cfd6d1;
  border-radius: 8px;
  background: #f8faf8;
  color: #9aa4a0;
  font-size: 12px;
  font-weight: 900;
}

.wf-region-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.wf-region-grid a {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
  color: var(--wf-ink);
  font-weight: 900;
}

.wf-purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wf-purpose {
  padding: 18px;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
}

.wf-purpose__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--wf-cream);
  color: var(--wf-coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.wf-purpose h3 {
  margin: 14px 0 7px;
  color: var(--wf-ink);
  font-size: 18px;
}

.wf-purpose p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 14px;
}

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

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

.wf-list-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
}

.wf-list-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--wf-soft);
}

.wf-list-card__media img,
.wf-list-card__media .wf-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wf-list-card h2 {
  margin: 5px 0 8px;
  color: var(--wf-ink);
  font-size: 21px;
  line-height: 1.35;
}

.wf-list-card p {
  margin: 0;
  color: var(--wf-text);
  font-size: 14px;
}

.wf-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--wf-muted);
  font-size: 12px;
  font-weight: 800;
}

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

.wf-widget {
  padding: 18px;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
}

.wf-widget h3 {
  margin: 0 0 12px;
  color: var(--wf-ink);
  font-size: 17px;
}

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

.wf-widget li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--wf-line);
}

.wf-pagination {
  margin-top: 26px;
}

.wf-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin: 0 3px 6px 0;
  border: 1px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
  color: var(--wf-ink);
  font-weight: 800;
}

.wf-pagination .current {
  background: var(--wf-green);
  color: #fff;
  border-color: var(--wf-green);
}

.wf-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 0;
}

.wf-article__head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--wf-line);
}

.wf-article__head h1 {
  margin: 10px 0 14px;
  color: var(--wf-ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.wf-article__content {
  color: #334147;
  font-size: 18px;
  line-height: 1.85;
}

.wf-article__content h2,
.wf-article__content h3 {
  color: var(--wf-ink);
  line-height: 1.3;
}

.wf-article__content a {
  color: var(--wf-coral-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wf-footer {
  margin-top: 46px;
  background: #172126;
  color: rgba(255,255,255,.76);
}

.wf-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 34px 0;
}

.wf-footer strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.wf-footer p {
  max-width: 660px;
  margin: 8px 0 0;
  font-size: 14px;
}

.wf-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

/* WeekendFest production overrides */
.wf-logo-img {
  display: block;
  max-width: 260px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.wp-custom-logo .wf-brand__text {
  display: none;
}

.wf-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wf-card--large {
  grid-column: auto;
}

.wf-card--large .wf-card__media {
  aspect-ratio: 16 / 9;
}

.wf-card--large h3 {
  font-size: 19px;
}

.wf-ad-slot {
  display: none !important;
}

.wf-footer {
  margin-top: 0;
  background: #f7f7f7;
  color: #4b5560;
  border-top: 1px solid #e5e7eb;
}

.wf-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.4fr;
  gap: 56px;
  padding: 46px 0 34px;
}

.wf-footer strong {
  color: #172126;
  font-size: 22px;
  font-weight: 900;
}

.wf-footer p {
  margin: 14px 0 0;
  color: #5f6b73;
  font-size: 15px;
  line-height: 1.75;
}

.wf-footer__title {
  display: block;
  margin-bottom: 16px;
  color: #172126;
  font-size: 18px;
  font-weight: 900;
}

.wf-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  justify-content: start;
  font-size: 15px;
  font-weight: 500;
}

.wf-footer__links a {
  color: #4b5560;
}

.wf-footer__links a:hover {
  color: #e85f4a;
}

.wf-footer__notice {
  display: grid;
  gap: 8px;
  color: #5f6b73;
  font-size: 15px;
  line-height: 1.7;
}

.wf-footer__notice p {
  margin: 0;
}

@media (max-width: 860px) {
  .wf-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0 28px;
  }

  .wf-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wf-header__inner {
    gap: 14px;
    padding: 14px 0;
  }

  .wf-logo-img {
    max-width: 190px;
    max-height: 54px;
  }

  .wf-brand {
    justify-content: flex-start;
  }

  .wf-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .wf-header__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .wf-menu {
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .wf-menu::-webkit-scrollbar {
    display: none;
  }

  .wf-header-search {
    width: 100%;
  }

  .wf-hero__inner,
  .wf-content-layout {
    grid-template-columns: 1fr;
  }

  .wf-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wf-card--large {
    grid-column: span 2;
  }

  .wf-region-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --wf-wrap: min(100vw - 24px, 1160px);
  }

  .wf-topbar__inner,
  .wf-section-head,
  .wf-footer__inner {
    align-items: start;
    flex-direction: column;
    display: flex;
  }

  .wf-topbar__links,
  .wf-footer__links {
    justify-content: start;
  }

  .wf-hero__inner {
    padding: 28px 0;
    gap: 20px;
  }

  .wf-hero h1 {
    font-size: 32px;
  }

  .wf-hero__lead {
    font-size: 16px;
  }

  .wf-hero-search {
    flex-direction: column;
  }

  .wf-hero-search button {
    width: 100%;
  }

  .wf-weather-strip,
  .wf-feature-grid,
  .wf-purpose-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wf-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wf-card--large {
    grid-column: auto;
  }

  .wf-list-card {
    grid-template-columns: 1fr;
  }

  .wf-card__body,
  .wf-purpose,
  .wf-widget {
    padding: 14px;
  }

  .wf-section {
    padding: 28px 0;
  }

  .wf-section-head h2 {
    font-size: 22px;
  }

  .wf-article__content {
    font-size: 16px;
  }
}

/* Final packaged overrides */
.wf-ad-slot {
  display: none !important;
}

.wf-logo-img {
  display: block;
  max-width: 260px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.wp-custom-logo .wf-brand__text {
  display: none;
}

.wf-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wf-card--large {
  grid-column: auto;
}

.wf-card--large .wf-card__media {
  aspect-ratio: 16 / 9;
}

.wf-card--large h3 {
  font-size: 19px;
}

@media (max-width: 720px) {
  .wf-logo-img {
    max-width: 190px;
    max-height: 54px;
  }

  .wf-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Menu customizer/dropdown overrides */
.wf-top-menu,
.wf-menu {
  list-style: none;
}

.wf-nav {
  min-width: 0;
}

@media (max-width: 1080px) {
  .wf-menu {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (max-width: 720px) {
  .wf-top-menu,
  .wf-menu {
    width: 100%;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 6px;
  }

  .wf-top-menu .sub-menu,
  .wf-menu .sub-menu,
  .wf-menu .sub-menu .sub-menu {
    position: static;
    min-width: 100%;
    padding: 4px 0 0 10px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .wf-top-menu .sub-menu a,
  .wf-menu .sub-menu a {
    min-height: 30px;
    padding: 0 8px;
    white-space: normal;
  }

  .wf-top-menu > li,
  .wf-menu > li {
    max-width: 100%;
  }
}
