/*
Theme Name: Akie
Theme URI:
Author: Developer
Author URI:
Description: あきえクリニック様
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Akie
*/

/* ========================================
   Tailwind補完用カスタムスタイル
   - Tailwind CDNで対応できないスタイルを記述
======================================== */

/* Reset
   - box-sizing のみグローバル適用
   - margin/padding リセットは Tailwind の Preflight が処理
   - * { margin: 0; padding: 0; } は WP ブロックスタイルを破壊するため削除
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ========================================
   Content Layout
   - クラシックテーマのため theme.json contentSize は
     PHPテンプレートの外側ラッパーに自動適用されない
   - .site-content で手動制約
======================================== */
.site-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ブロックエディタのワイド/全幅対応 */
.entry-content .alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .alignfull {
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

/* ========================================
   Case Grid with Subgrid
   - カードの各セクションの高さを揃える
======================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* Case Card - Subgrid対応 */
.c-card-case-001 {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  /* rows: 画像 / タグ+タイトル+日付 / 情報グループ / 詳細リンク */
  -webkit-user-select: none;
  user-select: none;
}

/* 画像ボックス */
.c-card-case-001__before-after-wrapper {
  grid-row: 1;
}

.c-card-case-001__before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.c-card-case-001__image-box {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.c-card-case-001__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  -webkit-user-drag: none;
  user-drag: none;
}

.c-card-case-001__image-box:hover img {
  transform: scale(1.05);
}

.c-card-case-001__image-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 1;
}

.c-card-case-001__image-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.c-card-case-001__image-box:hover .c-card-case-001__image-zoom {
  opacity: 1;
}

.c-card-case-001__set-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 1;
}

/* コンテンツエリア */
.c-card-case-001__content {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 2 / 5;
  /* subgridで親のrow 2-4を継承 */
}

/* ヘッダー部分（タグ+タイトル+日付+医師） */
.c-card-case-001__header {
  grid-row: 1;
}

/* 情報グループ（施術内容・費用・リスク） */
.c-card-case-001__info-group {
  grid-row: 2;
}

/* 詳細リンク */
.c-card-case-001__footer {
  grid-row: 3;
  align-self: end;
}

/* タグコンテナ */
.c-card-case-001__tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 施術内容のテキスト切り詰め */
.c-card-case-001__treatment,
.c-card-case-001__risk {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Pagination
======================================== */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #1f2937;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.page-numbers:hover:not(.current):not(.dots) {
  background: #f9fafb;
  border-color: #3b82f6;
  color: #3b82f6;
}

.page-numbers.current {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.page-numbers.dots {
  border: none;
  background: transparent;
  cursor: default;
}

/* ========================================
   Archive Empty
======================================== */
.archive-empty {
  text-align: center;
  padding: 80px 20px;
  color: #6b7280;
}

/* ========================================
   Material Icons (font-family定義)
======================================== */
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   Navigation Modal
======================================== */
.nav-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
}

.nav-modal.is-active {
  display: flex;
}

.nav-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  /* backdrop-filter removed for performance - was causing 30ms+ delay */
  animation: navOverlayFadeIn 0.15s ease-out;
  will-change: opacity;
}

@keyframes navOverlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nav-modal__content {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: #fff;
  animation: navSlideIn 0.15s ease-out;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
  transform: translateZ(0); /* Force GPU compositing */
}

@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.nav-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: #f3f4f6;
  border-radius: 8px;
  cursor: pointer;
  color: #374151;
  transition: all 0.2s ease;
}

.nav-modal__close:hover {
  background: #e5e7eb;
}

.nav-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.nav-modal__nav {
  margin-bottom: 24px;
}

.nav-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* リストカードスタイル */
.nav-modal__list-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-modal__list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-modal__list-card:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.nav-modal__list-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f3f4f6;
  border-radius: 10px;
  flex-shrink: 0;
}

.nav-modal__list-card-icon .material-icons {
  font-size: 22px;
  color: #3b82f6;
}

.nav-modal__list-card-icon--accent {
  background: #fef3c7;
}

.nav-modal__list-card-icon--accent .material-icons {
  color: #f59e0b;
}

.nav-modal__list-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav-modal__list-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

.nav-modal__list-card-desc {
  font-size: 12px;
  color: #6b7280;
}

.nav-modal__list-card-arrow {
  font-size: 20px;
  color: #9ca3af;
  flex-shrink: 0;
}

/* PC: 2カラム表示 */
@media (min-width: 768px) {
  .nav-modal__list-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .nav-modal__list-card {
    padding: 14px;
  }

  .nav-modal__list-card-icon {
    width: 48px;
    height: 48px;
  }

  .nav-modal__list-card-icon .material-icons {
    font-size: 24px;
  }
}

.nav-modal__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.2s ease;
}

.nav-modal__link:hover {
  background: #f3f4f6;
}

.nav-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 10px;
  color: #3b82f6;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.nav-modal__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-modal__link-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.nav-modal__link-desc {
  font-size: 13px;
  color: #6b7280;
}

.nav-modal__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.nav-modal__cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: #3b82f6;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-modal__cta-button:hover {
  background: #2563eb;
}

.nav-modal__cta-button--secondary {
  background: #fff;
  color: #1f2937;
  border: 2px solid #e5e7eb;
}

.nav-modal__cta-button--secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* PC: 768px以上でワイドモーダル */
@media (min-width: 768px) {
  .nav-modal {
    padding: 40px;
    align-items: center;
  }

  .nav-modal__content {
    max-width: 800px;
    height: auto;
    max-height: calc(100vh - 80px);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
  }

  .nav-modal__header {
    padding: 20px 28px;
  }

  .nav-modal__body {
    padding: 28px;
  }

  .nav-modal__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .nav-modal__link {
    padding: 20px;
  }

  .nav-modal__cta {
    flex-direction: row;
    gap: 16px;
  }

  .nav-modal__cta-button {
    flex: 1;
  }
}

/* Large PC: 1024px以上でさらにワイド */
@media (min-width: 1024px) {
  .nav-modal__content {
    max-width: 960px;
  }

  .nav-modal__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-modal__link {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }

  .nav-modal__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 4px;
  }

  .nav-modal__text {
    align-items: center;
  }

  .nav-modal__link > .material-icons:last-child {
    display: none;
  }
}

/* ========================================
   Navigation Modal - Categories
======================================== */
.nav-modal__nav--primary {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

/* 上部カテゴリ・CTA */
.nav-modal__categories--top {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.nav-modal__cta--top {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.nav-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.nav-modal__category {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.nav-modal__category-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
}

.nav-modal__category-title .material-icons {
  font-size: 20px;
}

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

.nav-modal__category-list li {
  border-bottom: 1px solid #f3f4f6;
}

.nav-modal__category-list li:last-child {
  border-bottom: none;
}

.nav-modal__category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #374151;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-modal__category-list a:hover {
  background: #f9fafb;
}

.nav-modal__category-list a .material-icons {
  font-size: 18px;
  color: #9ca3af;
}

/* PC: カテゴリを3カラムに */
@media (min-width: 768px) {
  .nav-modal__categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .nav-modal__category-title {
    padding: 14px 16px;
  }

  .nav-modal__category-list a {
    padding: 12px 16px;
  }
}

@media (min-width: 1024px) {
  .nav-modal__content {
    max-width: 1000px;
  }
}

/* ========================================
   Navigation Modal - Special Plans Tabs
======================================== */
.nav-modal__special-plans {
  margin-bottom: 24px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
}

.special-plans__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.special-plans__tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.special-plans__tab:hover {
  border-color: #d1d5db;
  color: #374151;
}

.special-plans__tab.is-active {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}

.special-plans__tab-badge {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.special-plans__tab-badge--red {
  background: #ef4444;
}

.special-plans__tab-badge--orange {
  background: #f97316;
}

.special-plans__tab-badge--purple {
  background: #a855f7;
}

.special-plans__tab.is-active .special-plans__tab-badge {
  box-shadow: var(--shadow-focus-invert);
}

.special-plans__panels {
  position: relative;
}

.special-plans__panel {
  display: none;
}

.special-plans__panel.is-active {
  display: block;
}

.special-plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

/* モーダル内のカードスタイル調整 */
.special-plans__grid .treatment-card {
  margin: 0;
}

.special-plans__grid article {
  font-size: 13px;
}

.special-plans__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
}

.special-plans__more:hover {
  background: #f3f4f6;
  color: #374151;
}

.special-plans__more .material-icons {
  font-size: 16px;
}

/* PC: 768px以上 */
@media (min-width: 768px) {
  .nav-modal__special-plans {
    padding: 20px;
  }

  .special-plans__tabs {
    gap: 12px;
  }

  .special-plans__tab {
    padding: 10px 18px;
    font-size: 14px;
  }

  .special-plans__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ========================================
   View List Mode - 施術カードリスト表示
   親要素に .view-list クラスを付けるとリスト表示に切り替え
======================================== */
.special-plans__grid.view-list,
.view-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.special-plans__grid.view-list .treatment-card,
.view-list .treatment-card {
  display: flex !important;
  flex-direction: row !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-xs) !important;
}

.special-plans__grid.view-list .treatment-card__image,
.view-list .treatment-card__image {
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  height: 100px !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
}

.view-list .treatment-card__image img,
.view-list .treatment-card__image > div {
  width: 100% !important;
  height: 100% !important;
}

.view-list .treatment-card__placeholder-icon {
  font-size: 40px !important;
}

.view-list .treatment-card__badges {
  position: absolute;
  top: 4px;
  left: 4px;
  flex-direction: column;
  gap: 2px;
}

.view-list .treatment-card__badge {
  font-size: 9px !important;
  padding: 2px 4px !important;
}

.view-list .treatment-card__favorite {
  display: none !important;
}

.view-list .treatment-card__content {
  flex: 1;
  padding: 12px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.view-list .treatment-card__category {
  margin-bottom: 4px !important;
}

.view-list .treatment-card__category span {
  font-size: 10px !important;
  padding: 2px 6px !important;
}

.view-list .treatment-card__title {
  font-size: 14px !important;
  margin-bottom: 4px !important;
  line-height: 1.3 !important;
}

.view-list .treatment-card__description {
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-list .treatment-card__tags {
  display: none !important;
}

.view-list .treatment-card__meta {
  display: none !important;
}

.view-list .treatment-card__special-prices {
  margin-bottom: 4px !important;
}

.view-list .treatment-card__special-price {
  padding: 2px 6px !important;
  font-size: 10px !important;
}

.view-list .treatment-card__special-price-value {
  font-size: 12px !important;
}

.view-list .treatment-card__footer {
  margin-top: auto;
  font-size: 11px !important;
}

.view-list .treatment-card__price {
  font-size: 12px !important;
}

.view-list .treatment-card__link {
  font-size: 11px !important;
  padding: 4px 8px !important;
}

.view-list .treatment-card__link .material-icons {
  font-size: 14px !important;
}

/* PC: 2カラム表示 (view-listでも維持) */
@media (min-width: 768px) {
  .special-plans__grid.view-list,
  .view-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .special-plans__grid.view-list .treatment-card,
  .view-list .treatment-card {
    display: flex !important;
    flex-direction: row !important;
  }
}

/* ========================================
   Entry Content - Gutenberg Block Restoration
   Tailwind preflight がリセットするブラウザデフォルトを
   .entry-content 内で復元。エディタとフロントの表示を一致させる
======================================== */



/* ブロック間隔（WPレイアウトの補完） */
.entry-content.is-layout-flow > * + * {
  margin-block-start: 1.5rem;
}

/* 見出し */
.entry-content h1:not([class*="c-"]):not([class*="s-"]),
.entry-content h2:not([class*="c-"]):not([class*="s-"]),
.entry-content h3:not([class*="c-"]):not([class*="s-"]),
.entry-content h4:not([class*="c-"]):not([class*="s-"]),
.entry-content h5:not([class*="c-"]):not([class*="s-"]),
.entry-content h6:not([class*="c-"]):not([class*="s-"]) {
  font-weight: bold;
}

.entry-content h1:not([class*="c-"]):not([class*="s-"]) { font-size: 2em; }
.entry-content h2:not([class*="c-"]):not([class*="s-"]) { font-size: 1.5em; }
.entry-content h3:not([class*="c-"]):not([class*="s-"]) { font-size: 1.17em; }
.entry-content h4:not([class*="c-"]):not([class*="s-"]) { font-size: 1em; }

/* リスト — c-*/s-* コンポーネント内は除外 */
.entry-content ul:not([class*="c-"]):not([class*="s-"]) {
  list-style-type: disc;
  padding-left: 2rem;
}

.entry-content ol:not([class*="c-"]):not([class*="s-"]) {
  list-style-type: decimal;
  padding-left: 2rem;
}

/* li間隔 — コンポーネント内はリセット */
.entry-content li + li {
  margin-top: 0.25rem;
}

[class*="c-"] li + li,
[class*="s-"] li + li {
  margin-top: 0;
}

/* 区切り線 */
.entry-content hr.wp-block-separator {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-color: #e5e7eb;
}

/* ブロッククォート */
.entry-content blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid #e5e7eb;
}

/* ========================================
   Responsive Adjustments
======================================== */
@media (max-width: 768px) {
  .case-modal__content {
    max-height: 100vh;
    border-radius: 0;
  }

  .case-modal__nav--prev {
    left: 8px;
  }

  .case-modal__nav--next {
    right: 8px;
  }
}

/* ========================================
   Brand Design System
   ippan (一般皮膚科) style colors
======================================== */
:root {
  --brand-primary: #C4898A;
  --brand-primary-light: #F5E0E1;
  --brand-primary-dark: #8B6069;
  --brand-bg-dark: #3D3D3D;
  --brand-bg-sub: #FDF5F5;
  --brand-border: #E8D8D9;
  --brand-text: #333;
  --brand-text-light: #666;
  --brand-cta-line: #06C755;
  --brand-container: 1080px;
}

/* ========================================
   Entry Content - Brand Styling
======================================== */
/* 見出し h2/h3 の見た目は s-content-01.css（帯見出し）が正典。
   旧 style.css のオーナメント(::before ✦)・ライン(::after)・border-left は
   帯見出しと二重適用で被るため撤去（2026-06-13）。 */

/* リンク — c-*/s-* コンポーネント内は除外 */
.entry-content a:not([class*="c-"]):not([class*="s-"]):not(.c-btn-01):not(.s-price-nav__item):not(.s-price-nav__cat-link):not(.reusable-edit-link) {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:not([class*="c-"]):not([class*="s-"]):not(.c-btn-01):hover {
  color: var(--brand-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  border-left-color: var(--brand-primary-light);
  background: var(--brand-bg-sub);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

.entry-content hr.wp-block-separator {
  border-color: var(--brand-border);
}

/* ========================================
   Pagination - Brand Colors
======================================== */
.page-numbers:hover:not(.current):not(.dots) {
  background: var(--brand-bg-sub);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.page-numbers.current {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* ========================================
   Navigation Modal - Brand Colors
======================================== */
.nav-modal__category-title {
  color: var(--brand-primary-dark);
}

.nav-modal__icon {
  color: var(--brand-primary);
}

.nav-modal__list-card-icon .material-icons {
  color: var(--brand-primary);
}

.nav-modal__cta-button {
  background: var(--brand-primary);
}

.nav-modal__cta-button:hover {
  background: var(--brand-primary-dark);
}

/* ========================================
   Post Navigation - Brand Colors
======================================== */
.post-navigation a {
  color: var(--brand-primary);
  text-decoration: none;
}

.post-navigation a:hover {
  color: var(--brand-primary-dark);
}

/* ========================================
   Footer Grid Responsive
======================================== */
@media (min-width: 768px) {
  footer .md\:grid-cols-3 {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

/* ========================================
   Header Desktop Nav Display
======================================== */
@media (min-width: 1024px) {
  #desktop-nav {
    display: flex !important;
  }
}
