/*
Theme Name: Goldmoney Guide
Theme URI: https://geumseok.cloud
Author: Goldmoney Guide
Author URI: https://geumseok.cloud
Description: A calm, practical WordPress theme for Korean gold price and personal finance content.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: goldmoney-guide
*/

:root {
  --gmg-ink: #17202a;
  --gmg-muted: #5f6b7a;
  --gmg-line: #d9e0e8;
  --gmg-panel: #f5f7fa;
  --gmg-paper: #ffffff;
  --gmg-gold: #d6a935;
  --gmg-gold-soft: #f7d774;
  --gmg-green: #0f766e;
  --gmg-blue: #315a8a;
  --gmg-max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--gmg-paper);
  color: var(--gmg-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  word-break: keep-all;
}

a {
  color: var(--gmg-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  border-bottom: 1px solid var(--gmg-line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(var(--gmg-max), calc(100% - 36px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gmg-ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 19px;
  line-height: 1.2;
}

.brand-tagline {
  color: var(--gmg-muted);
  font-size: 13px;
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: var(--gmg-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--gmg-line);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: 56px 0 42px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--gmg-muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--gmg-ink);
  border-radius: 6px;
  background: var(--gmg-ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.button--secondary {
  background: #ffffff;
  color: var(--gmg-ink);
}

.market-panel {
  border: 1px solid var(--gmg-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.market-panel h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.metric-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gmg-line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric dt {
  color: var(--gmg-muted);
  font-size: 14px;
  font-weight: 700;
}

.metric dd {
  margin: 0;
  color: var(--gmg-ink);
  font-size: 18px;
  font-weight: 800;
}

.section {
  padding: 42px 0;
}

.section h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

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

.post-card {
  border: 1px solid var(--gmg-line);
  border-radius: 8px;
  padding: 18px;
  background: var(--gmg-paper);
}

.post-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.4;
}

.post-card p {
  margin: 0;
  color: var(--gmg-muted);
  font-size: 15px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding: 42px 0;
}

.archive-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gmg-line);
}

.archive-header h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.archive-header p {
  max-width: 720px;
  margin: 0;
  color: var(--gmg-muted);
}

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

.entry-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

.entry-meta,
.sidebar,
.site-footer {
  color: var(--gmg-muted);
  font-size: 14px;
}

.review-note {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  border: 1px solid var(--gmg-line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--gmg-panel);
  color: var(--gmg-muted);
  font-size: 14px;
}

.review-note strong {
  color: var(--gmg-ink);
}

.entry-content h2 {
  margin-top: 34px;
  padding-top: 8px;
  font-size: 26px;
  line-height: 1.35;
}

.entry-content h3 {
  margin-top: 26px;
  font-size: 21px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--gmg-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: var(--gmg-panel);
}

.entry-content blockquote {
  margin: 22px 0;
  border-left: 4px solid var(--gmg-gold);
  padding: 12px 16px;
  background: #fff8e1;
}

.sidebar {
  border-left: 1px solid var(--gmg-line);
  padding-left: 24px;
}

.sidebar h2 {
  margin: 0 0 12px;
  color: var(--gmg-ink);
  font-size: 17px;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: block;
  border: 1px solid var(--gmg-line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--gmg-ink);
  font-weight: 800;
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus {
  border-color: var(--gmg-gold);
  box-shadow: 0 10px 22px rgba(23, 32, 42, 0.08);
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--gmg-line);
  background: var(--gmg-panel);
}

.site-footer__inner {
  padding: 28px 0;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.footer-link-groups {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.policy-menu {
  font-size: 13px;
}

.article-hub {
  display: grid;
  gap: 30px;
}

.article-hub__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 8px;
}

.article-hub__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gmg-line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--gmg-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.article-hub__nav span {
  color: var(--gmg-muted);
  font-size: 12px;
}

.article-hub__section {
  border-top: 1px solid var(--gmg-line);
  padding-top: 26px;
}

.article-hub__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.article-hub__header h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.article-hub__header p {
  margin: 0;
  color: var(--gmg-muted);
}

.article-hub__header a {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
}

.article-hub__posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-hub__post {
  border: 1px solid var(--gmg-line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.article-hub__post h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.article-hub__post p {
  margin: 0;
  color: var(--gmg-muted);
  font-size: 15px;
}

@media (max-width: 860px) {
  .site-header__inner,
  .hero__inner,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    display: grid;
    padding: 14px 0;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 12px;
  }

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

  .sidebar {
    border-left: 0;
    border-top: 1px solid var(--gmg-line);
    padding: 22px 0 0;
  }
}

/* 2026-06-15 trust/readability polish */
body {
  background: #f8faf7;
  color: #17202a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(23, 32, 42, 0.04);
  backdrop-filter: blur(12px);
}

.brand-mark {
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(23, 32, 42, 0.14));
}

.brand-name {
  letter-spacing: 0;
}

.main-nav .menu,
.site-footer .menu {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus {
  border-bottom-color: var(--gmg-gold);
  color: var(--gmg-blue);
}

.hero {
  background:
    linear-gradient(180deg, rgba(248, 250, 247, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.hero__inner {
  min-height: 520px;
  padding: 58px 0 46px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 10px;
  color: #6d5b1f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 58px);
}

.hero p {
  color: #455260;
  font-size: 18px;
}

.button {
  min-height: 44px;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.1);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button--secondary {
  border-color: #c7d2df;
  box-shadow: none;
}

.button--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--gmg-blue);
  box-shadow: none;
}

.market-panel {
  border-color: #cfd8c9;
  box-shadow: 0 20px 60px rgba(23, 32, 42, 0.12);
}

.market-panel h2 {
  margin-bottom: 16px;
  font-size: 23px;
  line-height: 1.32;
}

.metric {
  align-items: center;
}

.metric dd {
  font-size: 22px;
}

.market-note {
  margin: 14px 0 0;
  color: var(--gmg-muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 46px 0;
}

.section--tight {
  padding: 22px 0;
}

.section--band {
  border-top: 1px solid var(--gmg-line);
  border-bottom: 1px solid var(--gmg-line);
  background: #ffffff;
}

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

.trust-item,
.feature-link,
.action-list a {
  border: 1px solid var(--gmg-line);
  border-radius: 8px;
  background: #ffffff;
}

.trust-item {
  padding: 18px;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 8px;
  color: var(--gmg-ink);
  font-size: 17px;
}

.trust-item span {
  color: var(--gmg-muted);
  font-size: 14px;
  line-height: 1.58;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 28px;
  align-items: center;
}

.split-section h2 {
  margin-top: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.28;
}

.split-section p {
  max-width: 650px;
  color: var(--gmg-muted);
}

.feature-link {
  display: block;
  padding: 22px;
  color: var(--gmg-ink);
  text-decoration: none;
}

.feature-link:hover,
.feature-link:focus,
.post-card:hover,
.post-card:focus-within,
.action-list a:hover,
.action-list a:focus {
  border-color: var(--gmg-gold);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.08);
}

.feature-link span,
.feature-link small {
  display: block;
  color: var(--gmg-muted);
  font-size: 14px;
}

.feature-link strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
  line-height: 1.35;
}

.post-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.post-card a {
  color: var(--gmg-ink);
  text-decoration: none;
}

.post-card a:hover,
.post-card a:focus {
  color: var(--gmg-blue);
  text-decoration: underline;
}

.action-list {
  display: grid;
  gap: 10px;
}

.action-list a {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  color: var(--gmg-ink);
  font-weight: 800;
  text-decoration: none;
}

.action-list a::after {
  content: ">";
  color: var(--gmg-gold);
}

.content-layout {
  align-items: start;
  grid-template-columns: minmax(0, 760px) 300px;
}

.content-layout article {
  min-width: 0;
}

.entry-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gmg-line);
}

.entry-title {
  max-width: 780px;
}

.entry-content {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.82;
}

.entry-content > * + * {
  margin-top: 18px;
}

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

.entry-content h2 {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--gmg-line);
  font-size: 27px;
}

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

.entry-content a {
  font-weight: 700;
}

.entry-content figure,
.entry-content img {
  border-radius: 8px;
}

.entry-content figure {
  display: block;
  width: 100%;
  margin: 28px 0;
}

.entry-content img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gmg-line);
  background: #ffffff;
}

.entry-content table {
  display: block;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--gmg-line);
  border-radius: 8px;
  background: #ffffff;
}

.entry-content th,
.entry-content td {
  border-width: 0 1px 1px 0;
  white-space: nowrap;
}

.entry-content tr:last-child td {
  border-bottom-width: 0;
}

.entry-content th:last-child,
.entry-content td:last-child {
  border-right-width: 0;
}

.entry-content blockquote {
  border-radius: 8px;
}

.sidebar {
  position: sticky;
  top: 106px;
  border: 1px solid var(--gmg-line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.site-footer {
  background: #17202a;
  color: #dce3ea;
}

.site-footer a {
  color: #ffffff;
}

.site-footer p {
  max-width: 820px;
}

@media (max-width: 920px) {
  .hero__inner,
  .trust-grid,
  .split-section,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: 0;
  }

  .sidebar {
    position: static;
  }

  .article-hub__header,
  .article-hub__posts {
    grid-template-columns: 1fr;
  }

  .article-hub__header {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .site-footer__inner,
  .wrap {
    width: min(var(--gmg-max), calc(100% - 28px));
  }

  .brand-tagline {
    display: none;
  }

  .main-nav .menu {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 36px;
  }

  .metric {
    display: grid;
    gap: 3px;
  }

  .metric dd {
    font-size: 21px;
  }

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

/* 2026-06-15 app-style portal front page */
:root {
  --gmg-leaf: #315c4b;
  --gmg-leaf-soft: #e8f0e4;
  --gmg-coral: #b95b45;
  --gmg-cream: #fff9ec;
}

.home-topbar {
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
  background: #17202a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

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

.home-topbar a {
  color: #f7d774;
  text-decoration: none;
}

.home-console {
  border-bottom: 1px solid var(--gmg-line);
  background:
    linear-gradient(180deg, #fff9ec 0%, #f5f8f2 56%, #ffffff 100%);
}

.home-console__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: center;
  padding: 48px 0 38px;
}

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

.home-console h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: 50px;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-console p {
  max-width: 690px;
  margin: 0 0 22px;
  color: #41505c;
  font-size: 18px;
}

.home-search {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 24px 0 16px;
}

.home-search label {
  color: var(--gmg-ink);
  font-size: 15px;
  font-weight: 900;
}

.home-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
  padding: 8px;
  border: 1px solid #cfd8c9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.08);
}

.home-search input,
.home-search button {
  min-height: 46px;
  border-radius: 6px;
  font: inherit;
}

.home-search input {
  min-width: 0;
  border: 0;
  padding: 0 10px;
  outline: 0;
}

.home-search button {
  border: 1px solid var(--gmg-ink);
  background: var(--gmg-ink);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.home-search button:hover,
.home-search button:focus {
  background: var(--gmg-leaf);
  border-color: var(--gmg-leaf);
}

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

.home-keywords span {
  color: #63706c;
  font-size: 13px;
  font-weight: 900;
}

.home-keywords a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #d3ddce;
  border-radius: 999px;
  padding: 6px 12px;
  background: #ffffff;
  color: var(--gmg-leaf);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.home-keywords a:hover,
.home-keywords a:focus {
  border-color: var(--gmg-gold);
  color: var(--gmg-ink);
}

.home-market {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.16);
}

.home-market img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--gmg-line);
}

.home-market__body {
  padding: 18px;
}

.home-market__body > span {
  display: block;
  color: var(--gmg-coral);
  font-size: 13px;
  font-weight: 900;
}

.home-market__body > strong {
  display: block;
  margin: 4px 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.home-market dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.home-market dl div,
.home-stat,
.deadline-card,
.feed-row,
.visual-guide-card,
.issue-grid a,
.tool-actions a {
  border: 1px solid var(--gmg-line);
  border-radius: 8px;
  background: #ffffff;
}

.home-market dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #f9fbf6;
}

.home-market dt,
.home-market dd {
  margin: 0;
}

.home-market dt {
  color: var(--gmg-muted);
  font-size: 13px;
  font-weight: 900;
}

.home-market dd {
  color: var(--gmg-ink);
  font-size: 18px;
  font-weight: 900;
}

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

.home-stat {
  padding: 18px;
}

.home-stat span,
.home-stat small {
  display: block;
  color: var(--gmg-muted);
  font-size: 13px;
  font-weight: 900;
}

.home-stat strong {
  display: block;
  margin: 5px 0 4px;
  font-size: 28px;
  line-height: 1.15;
}

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

.home-section-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.24;
  letter-spacing: 0;
}

.home-section-head > a {
  flex: 0 0 auto;
  color: var(--gmg-leaf);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.feed-list {
  display: grid;
  gap: 10px;
}

.feed-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 160px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  color: var(--gmg-ink);
  text-decoration: none;
}

.feed-row:hover,
.feed-row:focus,
.visual-guide-card:hover,
.visual-guide-card:focus,
.deadline-card:hover,
.deadline-card:focus,
.issue-grid a:hover,
.issue-grid a:focus,
.tool-actions a:hover,
.tool-actions a:focus {
  border-color: var(--gmg-gold);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.08);
}

.feed-row span,
.feed-row small {
  color: var(--gmg-muted);
  font-size: 13px;
  font-weight: 900;
}

.feed-row strong {
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visual-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.visual-guide-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  overflow: hidden;
  color: var(--gmg-ink);
  text-decoration: none;
}

.visual-guide-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-bottom: 1px solid var(--gmg-line);
}

.visual-guide-card span,
.visual-guide-card strong,
.visual-guide-card p {
  margin-right: 16px;
  margin-left: 16px;
}

.visual-guide-card span {
  margin-top: 16px;
  color: var(--gmg-coral);
  font-size: 13px;
  font-weight: 900;
}

.visual-guide-card strong {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.34;
}

.visual-guide-card p {
  margin-top: 8px;
  margin-bottom: 18px;
  color: var(--gmg-muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.deadline-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
  color: var(--gmg-ink);
  text-decoration: none;
}

.deadline-card span {
  width: max-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--gmg-leaf-soft);
  color: var(--gmg-leaf);
  font-size: 13px;
  font-weight: 900;
}

.deadline-card strong {
  font-size: 19px;
  line-height: 1.34;
}

.deadline-card small {
  align-self: end;
  color: var(--gmg-coral);
  font-size: 14px;
  font-weight: 900;
}

.issue-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.issue-layout h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.24;
}

.issue-layout p {
  margin: 0;
  color: var(--gmg-muted);
}

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

.issue-grid a {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 15px;
  color: var(--gmg-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
  padding: 26px;
  background: #17202a;
  color: #ffffff;
}

.tool-panel h2 {
  margin: 0 0 10px;
  font-size: 31px;
  line-height: 1.22;
}

.tool-panel p {
  margin: 0;
  color: #dce3ea;
}

.tool-panel .eyebrow {
  color: #f7d774;
}

.tool-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tool-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 16px;
  color: var(--gmg-ink);
  font-weight: 900;
  text-decoration: none;
}

.tool-actions a::after {
  content: ">";
  color: var(--gmg-gold);
}

.mobile-dock {
  display: none;
}

@media (max-width: 980px) {
  .home-console__inner,
  .issue-layout,
  .tool-panel {
    grid-template-columns: 1fr;
  }

  .home-market {
    max-width: 520px;
  }

  .visual-guide-grid,
  .issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-topbar__inner,
  .home-section-head,
  .feed-row {
    display: grid;
  }

  .home-topbar__inner {
    gap: 2px;
    padding: 8px 0;
  }

  .home-console__inner {
    padding: 34px 0 28px;
  }

  .home-console h1 {
    font-size: 36px;
  }

  .home-console p {
    font-size: 16px;
  }

  .home-search div {
    grid-template-columns: 1fr;
  }

  .home-stats,
  .visual-guide-grid,
  .deadline-grid,
  .issue-grid,
  .tool-actions {
    grid-template-columns: 1fr;
  }

  .feed-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feed-row strong {
    white-space: normal;
  }

  .tool-panel {
    padding: 22px;
  }

  .mobile-dock {
    position: sticky;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--gmg-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }

  .mobile-dock a {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gmg-ink);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
  }

  .site-footer {
    margin-bottom: 54px;
  }
}
