/*
Theme Name: Coupang Report Journal
Theme URI:
Author: WordPress Helper
Description: 쿠팡 파트너스 운영 기록을 정리하는 심플 블로그 테마
Version: 2.2.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: fresh-theme
*/

:root {
  --bg: #f2f0eb;
  --bg-soft: #f7f4ee;
  --surface: #fffdfa;
  --surface-soft: #f2eee7;
  --text: #181715;
  --text-muted: #5f5a52;
  --text-subtle: #787168;
  --accent: #2f3a3f;
  --accent-2: #b59663;
  --line: #d8d0c4;
  --danger: #8f2b2b;
  --serif: "Noto Serif KR", "Apple SD Gothic Neo", "Noto Sans KR", serif;
  --radius-lg: 26px;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(35, 38, 41, 0.1);
  --shadow-soft: 0 8px 22px rgba(35, 38, 41, 0.08);
  --easing: cubic-bezier(0.2, 0.92, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 4% -18%, #ece8e0 0%, transparent 45%),
    radial-gradient(circle at 96% 0%, #e8dfd2 0%, transparent 35%),
    var(--bg);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  letter-spacing: -0.015em;
}

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

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

body.admin-bar .site-header {
  top: 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.site-strip {
  display: none;
  background: linear-gradient(130deg, #161c20, #2d363b);
  color: #f4efe6;
  font-size: 0.86rem;
  border-bottom: 1px solid #4a545a;
  position: sticky;
  z-index: 24;
  top: 0;
}

.site-strip__inner {
  padding: 0.65rem 0;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-strip strong {
  color: #ffffff;
  letter-spacing: 0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 22;
  background: rgba(255, 252, 246, 0.96);
  padding: 0.2rem 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #d6cec1;
  box-shadow: 0 8px 20px rgba(59, 44, 24, 0.08);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  width: 100%;
  padding: 0.45rem 0.85rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: calc(100% - 140px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: var(--accent);
}

.brand-mark::after {
  content: "CR";
  font-size: 0.92rem;
}

.site-brand span {
  display: block;
  min-width: 0;
}

.site-brand .site-title {
  font-size: 1.08rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.menu-trigger {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #384247;
  cursor: pointer;
  transition: background-color 220ms var(--easing), border-color 220ms var(--easing), color 220ms var(--easing);
}

.menu-trigger-burger {
  position: relative;
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: opacity 240ms var(--easing), background-color 240ms var(--easing);
}

.menu-trigger-burger,
.menu-trigger-burger::before,
.menu-trigger-burger::after {
  height: 2px;
  border-radius: 999px;
  transition: transform 240ms var(--easing), top 240ms var(--easing), opacity 240ms var(--easing), background-color 240ms var(--easing);
}

.menu-trigger-burger::before,
.menu-trigger-burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  background: currentColor;
}

.menu-trigger-burger::before {
  top: -6px;
}

.menu-trigger-burger::after {
  top: 6px;
}

.menu-trigger.is-open .menu-trigger-burger {
  background: transparent;
}

.menu-trigger.is-open .menu-trigger-burger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-trigger.is-open .menu-trigger-burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  margin-left: auto;
}

.menu-list,
.menu-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.menu-list li {
  position: relative;
}

.menu-list a {
  display: block;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: background-color 220ms var(--easing), color 220ms var(--easing);
}

.menu-list a:hover,
.menu-list .current-menu-item > a {
  background: #ece8df;
  color: #252c30;
}

.menu-list a:focus-visible,
.menu-list a:focus {
  outline: none;
  box-shadow: 0 0 0 2px #d4cbc0;
}

.search-link {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform 220ms var(--easing), background-color 220ms var(--easing), border-color 220ms var(--easing);
  flex: 0 0 auto;
  line-height: 1;
  text-decoration: none;
}

.search-link:hover {
  transform: translateY(-2px);
  border-color: #b59663;
  background: #f0ebe3;
}

.site-main {
  padding: 2.2rem 0 4rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.04em;
  color: #6f5e4f;
  font-weight: 700;
}

.editorial-hero {
  border: 1px solid #e6ddd0;
  border-radius: var(--radius-lg);
  background: #fffdfa;
  padding: clamp(1.2rem, 2.8vw, 1.8rem);
  display: grid;
  gap: 1rem;
  box-shadow: 0 12px 32px rgba(24, 31, 53, 0.06);
  margin-bottom: 1.6rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.8rem, 4.8vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #2b241d;
}

.hero-desc {
  margin: 0;
  color: var(--text-muted);
  max-width: 70ch;
}

.hero-row {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.hero-kicker {
  margin: 0;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  display: inline-flex;
  width: fit-content;
  color: #6c655c;
  font-size: 0.77rem;
  font-weight: 700;
  border: 1px solid #dbd2c5;
  background: #f6f2eb;
}

.hero-stat {
  padding: 0.28rem 0.78rem;
  border: 1px solid #d8d0c4;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #6a655e;
  background: #faf7f2;
}

.magazine-feature-section,
.cover-editorial {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 0;
  border: 1px solid #e6ddd0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 31, 53, 0.07);
  margin-bottom: 1.4rem;
}

.cover-editorial-media {
  display: block;
  min-height: 340px;
  overflow: hidden;
}

.cover-editorial-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.cover-editorial.without-image .cover-editorial-media,
.cover-editorial-media.has-no-image {
  display: none;
}

.cover-editorial.without-image {
  grid-template-columns: 1fr;
}

.cover-editorial.without-image .cover-editorial-content {
  padding-top: 1.45rem;
  padding-bottom: 1.45rem;
}

.cover-editorial-content {
  padding: clamp(1rem, 3vw, 1.45rem);
  display: grid;
  gap: 0.75rem;
  align-content: center;
}

.cover-editorial-kicker {
  margin: 0;
  font-size: 0.84rem;
}

.cover-editorial-kicker a {
  display: inline-block;
  color: #6f685e;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #d2c8ba;
}

.cover-editorial-title {
  margin: 0;
  font-size: clamp(1.6rem, 4.2vw, 2.4rem);
  line-height: 1.24;
}

.cover-editorial-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.72;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.post-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.mag-grid-title {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  color: #384046;
}

.section-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.95rem;
}

.mag-grid .post-summary {
  margin-bottom: 0.2rem;
}

.post-card {
  background: #fff;
  border: 1px solid #e3dacd;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: none;
  position: relative;
  transition: transform 240ms var(--easing), border-color 240ms var(--easing);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: #d1c6b6;
}

.post-card-link {
  display: flex;
}

.post-thumb {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(130deg, #efe8dd, #ddd4c4);
}

.post-thumb.placeholder {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}

.post-content {
  padding: 1rem 1.05rem 1.2rem;
  display: grid;
  gap: 0.45rem;
  min-height: 220px;
}

.post-title {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.36;
  letter-spacing: -0.02em;
}

.post-title a {
  display: inline;
  background-image: linear-gradient(#d3c6b7, #d3c6b7);
  background-size: 100% 4px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 220ms var(--easing), color 220ms var(--easing);
}

.post-card:hover .post-title a {
  background-size: 0 4px;
}

.post-meta {
  color: var(--text-subtle);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.meta-chip {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.12rem 0.54rem;
}

.post-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cover-editorial-link {
  width: fit-content;
  padding: 0.75rem 1.1rem;
}

.read-more {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--accent);
  margin-top: 0.35rem;
  width: fit-content;
}

.read-more span {
  display: inline-block;
  transition: transform 220ms var(--easing);
}

.read-more:hover span {
  transform: translateX(3px);
}

.post-empty {
  border: 1px dashed #d8c8b4;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  color: #74695b;
}

.fashion-hero-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.24fr) minmax(250px, 0.88fr);
  gap: 1.25rem;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 1.55rem;
}

.fashion-hero-intro {
  display: grid;
  align-content: space-between;
  gap: 0.9rem;
  border-right: 1px solid #e4ddd2;
  padding-right: 1rem;
}

.fashion-tagline {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6f6a62;
}

.fashion-home-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #1e1e1d;
}

.fashion-home-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.fashion-home-stats {
  display: grid;
  gap: 0.28rem;
  color: #746f66;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fashion-inline-link {
  width: fit-content;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid #c7b8a3;
  padding-bottom: 0.18rem;
}

.fashion-feature {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: clamp(360px, 54vw, 540px);
  background: #ddd7ce;
}

.fashion-feature-media {
  display: block;
  width: 100%;
  height: 100%;
}

.fashion-feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fashion-feature-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, #d9d1c5, #c9c0b2);
}

.fashion-feature-caption {
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  margin: 0;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.fashion-feature-title {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.95rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 10px 24px rgba(16, 20, 25, 0.25);
}

.fashion-feature-title a {
  color: inherit;
}

.fashion-feature-meta {
  position: absolute;
  left: 1.1rem;
  bottom: 1.18rem;
  margin: 0;
  color: rgba(243, 243, 241, 0.95);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: flex;
  gap: 0.7rem;
}

.fashion-feature-summary {
  position: absolute;
  right: 1.1rem;
  top: 1rem;
  width: min(46%, 230px);
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: right;
  text-shadow: 0 8px 20px rgba(18, 23, 30, 0.22);
}

.fashion-trending {
  border-left: 1px solid #e4ddd2;
  padding-left: 1.05rem;
  min-width: 0;
}

.fashion-trending-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #222323;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.fashion-trending-title span {
  color: var(--accent-2);
  font-size: 1.35rem;
}

.fashion-trending-list {
  margin-top: 0.9rem;
  border-top: 1px solid #ded6ca;
}

.fashion-trending-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid #e4ddd2;
}

.fashion-trending-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #7a736a;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.fashion-trending-item-title {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.04rem;
  line-height: 1.28;
}

.fashion-trending-item-title a {
  color: #262626;
}

.fashion-trending-summary {
  margin: 0;
  color: #706960;
  font-size: 0.88rem;
  line-height: 1.6;
}

.fashion-trending-empty {
  color: #7d7770;
  font-size: 0.9rem;
}

.fashion-feed-section {
  border-top: 1px solid #dcd4c8;
  padding-top: 1.05rem;
}

.fashion-feed-section .mag-grid-title {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #757067;
}

.fashion-feed-section .post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fashion-feed-section .post-card {
  background: transparent;
  border: 0;
  border-top: 1px solid #ddd5c9;
  border-radius: 0;
  padding-top: 0.8rem;
}

.fashion-feed-section .post-card:hover {
  transform: translateY(-3px);
  border-color: #cbbca8;
}

.fashion-feed-section .post-thumb {
  border-radius: 8px;
}

.fashion-feed-section .post-content {
  padding: 0.85rem 0 0.2rem;
  min-height: 0;
}

.fashion-feed-section .post-title {
  font-size: clamp(1.06rem, 1.3vw, 1.24rem);
}

.fashion-feed-section .post-title a {
  background: none;
}

.fashion-feed-section .post-meta {
  font-size: 0.75rem;
  gap: 0.34rem;
}

.fashion-feed-section .meta-chip {
  padding: 0.1rem 0.45rem;
}

.fashion-feed-section .post-summary {
  font-size: 0.9rem;
  line-height: 1.62;
}

.fashion-single-shell {
  padding: 0;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.fashion-single-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.24fr) minmax(0, 1fr) minmax(200px, 0.28fr);
  align-items: start;
  gap: 0;
}

.fashion-single-side {
  padding: 1.6rem 1rem;
  min-height: 100%;
}

.fashion-single-left {
  border-right: 1px solid #e4ddd2;
}

.fashion-single-right {
  border-left: 1px solid #e4ddd2;
  background: #fbf8f2;
}

.fashion-side-kicker {
  margin: 0;
  color: #7b756c;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
}

.fashion-side-meta {
  margin: 0.44rem 0 0;
  color: #5e574f;
  font-size: 0.8rem;
  line-height: 1.45;
}

.fashion-side-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--accent);
  font-size: 0.79rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fashion-side-card + .fashion-side-card {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid #ddd5ca;
}

.fashion-side-card h2 {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #766e63;
}

.fashion-side-card p {
  margin: 0.7rem 0 0;
  color: #60594f;
  font-size: 0.86rem;
  line-height: 1.6;
}

.fashion-single-main .story-header {
  padding: 1.65rem 2rem 0.45rem;
}

.fashion-single-main .story-cover {
  padding: 0 2rem;
}

.fashion-single-main .story-summary {
  padding: 0 2rem;
  margin-top: 1rem;
}

.fashion-single-main .story-content {
  padding: 1rem 2rem 1.6rem;
}

.fashion-single-main .story-actions {
  padding: 1rem 2rem;
}

.fashion-single-main .story-nav {
  padding: 1rem 2rem 1.3rem;
}

.fashion-single-main .story-title {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.2;
}

.fashion-single-main .story-meta-item {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fashion-related-shell {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.fashion-related-shell .related-title {
  margin: 0;
  padding-bottom: 0.7rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #6f675c;
  border-bottom: 1px solid #ddd4c7;
}

.fashion-related-shell .related-grid {
  margin-top: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pagination-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 0.45rem;
}

.pagination .page-numbers {
  display: inline-flex;
  min-width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  transition: background-color 220ms var(--easing), color 220ms var(--easing), border-color 220ms var(--easing);
}

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

.pagination .page-numbers:hover:not(.current) {
  background: #eeebe4;
  border-color: #cbc2b4;
}

.story-shell {
  background: var(--surface);
  border: 1px solid #e3dacd;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(24, 31, 53, 0.06);
  overflow: hidden;
}

.magazine-detail-shell {
  padding: 0;
}

.story-header {
  padding: 1.3rem 1.25rem 0;
}

.magazine-detail-shell .story-header {
  padding: 1.8rem 1.55rem 0.3rem;
}

.story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #6e675e;
  font-weight: 700;
}

.story-kicker a {
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: #d2c8ba;
}

.story-title {
  margin: 0.5rem 0 0.4rem;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.magazine-detail-shell .story-title {
  font-size: clamp(1.75rem, 3.8vw, 2.4rem);
  line-height: 1.28;
  font-weight: 700;
}

.story-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.story-meta-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
}

.story-cover {
  margin: 1.05rem auto 0;
  padding: 0 1.25rem;
}

.magazine-detail-shell .story-cover {
  padding: 0;
  margin-top: 0;
}

.magazine-detail-shell .story-cover img {
  width: 100%;
}

.story-cover img {
  border-radius: var(--radius);
  width: 100%;
  box-shadow: 0 10px 26px rgba(66, 48, 27, 0.17);
}

.story-summary {
  margin: 1.1rem auto 0;
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.magazine-detail-shell .story-summary {
  margin-top: 1.2rem;
  padding: 0 1.55rem;
  font-size: 1.04rem;
}

.story-content {
  padding: 1rem 1.25rem 1.45rem;
  font-size: 1.03rem;
}

.magazine-detail-shell .story-content {
  padding: 1.2rem 1.55rem 1.55rem;
  font-size: 1.08rem;
}

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

.story-content h2,
.story-content h3,
.story-content h4 {
  margin-top: 2rem;
}

.story-content h2 {
  border-left: 3px solid var(--accent-2);
  padding-left: 0.65rem;
}

.story-content blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent-2);
  background: var(--bg-soft);
}

.partner-links-anchor {
  display: block;
  height: 0;
  margin: 0;
  scroll-margin-top: 130px;
}

.partner-links-intro {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #ddd4c7;
  border-radius: 10px;
  background: #faf7f2;
}

.partner-links-intro strong {
  display: block;
  color: #3b4247;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-links-intro p {
  margin: 0.5rem 0 0;
  color: #60594f;
  font-size: 0.9rem;
  line-height: 1.55;
}

.story-content a:not(.wp-block-button__link):not(.action-btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(181, 150, 99, 0.72);
  font-weight: 600;
  word-break: break-word;
}

.story-content a:not(.wp-block-button__link):not(.action-btn):hover,
.story-content a:not(.wp-block-button__link):not(.action-btn):focus-visible {
  color: #222d31;
  text-decoration-color: var(--accent);
}

.story-content .partner-product-block {
  margin: 1.2rem 0 1.5rem;
  padding: 0.92rem 1rem 1rem;
  border: 1px solid #ddd2c2;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8f3ea 0%, #f5efe5 100%);
}

.story-content .partner-product-label {
  margin: 0 0 0.34rem;
  color: #6b6256;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-content .partner-product-title {
  margin: 0 0 0.72rem;
  color: #2d3338;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.story-content .partner-product-link,
.story-content a[href*="link.coupang.com"]:has(> img),
.story-content a[href*="coupa.ng"]:has(> img) {
  display: block;
  width: min(100%, 240px);
  margin: 0 auto;
  line-height: 0;
  text-decoration: none;
}

.story-content .partner-product-link > img,
.story-content a[href*="link.coupang.com"] > img,
.story-content a[href*="coupa.ng"] > img {
  display: block;
  width: min(100%, 240px);
  height: auto !important;
  border-radius: 12px;
  border: 1px solid #d9cebf !important;
  background: #fff;
  box-shadow: 0 8px 20px rgba(51, 59, 63, 0.08);
}

.story-content .partner-product-action {
  margin: 0.64rem 0 0;
  text-align: center;
}

.story-content p:has(> a.coupang-btn) {
  margin: 0.64rem 0 0;
  text-align: center;
}

.story-content .partner-product-block a.coupang-btn,
.story-content a.coupang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0 auto;
  padding: 0.56rem 0.92rem;
  border-radius: 999px;
  border: 1px solid #cab59a;
  background: #fffaf0;
  color: #2f3940;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: none;
}

.story-content .partner-product-block a.coupang-btn:hover,
.story-content a.coupang-btn:hover {
  border-color: #a98b67;
  background: #f6eddc;
  color: #253038;
}

.story-content .partner-product-disclosure {
  margin: 0.62rem 0 0;
  color: #756c60;
  font-size: 0.73rem;
  line-height: 1.55;
  text-align: center;
}

.story-content code,
.story-content pre {
  border: 1px solid #dfd4c6;
  background: #f7f2ec;
}

.story-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.story-content .wp-block-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.story-content .wp-block-table table {
  min-width: 720px;
  margin: 0;
}

.story-content th,
.story-content td {
  border: 1px solid #ded3c2;
  padding: 0.65rem;
  vertical-align: top;
  word-break: break-word;
}

.story-content thead th {
  background: #f3e9db;
}

.story-content img {
  border-radius: 12px;
}

.story-content .wp-block-image {
  margin: 1.6rem 0;
}

.story-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

.magazine-detail-shell .story-actions {
  padding: 1rem 1.55rem 1.25rem;
}

.action-btn {
  min-width: 130px;
  text-align: center;
  padding: 0.62rem 0.95rem;
  border-radius: 12px;
  border: 1px solid #d2c7b7;
  background: #f2eee6;
  font-weight: 700;
  color: #3f464a;
}

.action-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.action-btn:hover {
  filter: brightness(0.97);
}

.story-nav {
  margin-top: 1rem;
  border-top: 1px solid #e3dbcf;
  padding: 1rem 1.25rem 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.story-nav a {
  border: 1px solid #e1d7c6;
  border-radius: 14px;
  padding: 0.88rem;
  background: #fbf6ee;
  min-height: 72px;
  display: flex;
  align-items: center;
  color: #3f474b;
  font-weight: 600;
}

.related {
  margin-top: 1.6rem;
  padding: 1.1rem 1.25rem 1.4rem;
  border-top: 1px dashed #d9ccb8;
}

.related-title {
  margin: 0 0 0.8rem;
  font-size: 1.08rem;
}

.related-grid {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.related-grid .post-title {
  font-size: 1rem;
}

.related-grid .post-content {
  min-height: auto;
}

.related-grid .post-meta {
  font-size: 0.78rem;
  margin: 0;
  min-height: 0;
}

.related-grid .post-meta .meta-chip {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-grid .post-summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-subtle);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related .post-card {
  min-height: auto;
}

.read-progress {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  z-index: 9999;
  opacity: 0.8;
}

.read-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid #d9cdbd;
  background: linear-gradient(135deg, #fbf7f0, #f3ece2);
}

.footer-inner {
  padding: 2rem 0 1.7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
}

.footer-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

.footer-links a,
.footer-links span {
  display: block;
  padding: 0.3rem 0;
  color: #645746;
}

.footer-links a:hover {
  color: #3f3122;
}

.footer-disclosure {
  margin-top: 1.35rem;
  color: #7b6d5c;
  font-size: 0.85rem;
  border-top: 1px dashed #d8c9b5;
  padding-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}

@media (max-width: 1024px) {
  .cover-editorial {
    grid-template-columns: 1fr;
    box-shadow: none;
    border-radius: 22px;
  }
}

@media (max-width: 840px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    padding: 0.14rem 0;
  }

  .menu-trigger {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    margin-left: 0;
  }

  .search-link {
    width: 46px;
    height: 46px;
    margin-left: auto;
    font-size: 1.2rem;
  }

  .header-inner {
    gap: 0.65rem;
    min-height: 72px;
    padding: 0.45rem 0.75rem;
    justify-content: flex-start;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.6rem 0 0.95rem;
    margin-left: 0;
    box-shadow: 0 18px 34px rgba(76, 57, 31, 0.18);
    z-index: 25;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .site-nav.is-open {
    display: block;
  }

  .menu-list {
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    padding: 0 1rem;
  }

  .menu-list a {
    border-radius: 12px;
  }

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

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

  .editorial-hero {
    border-radius: 20px;
  }

  .cover-editorial-media {
    min-height: auto;
  }

  .cover-editorial-content {
    padding: 1rem;
  }

  .cover-editorial-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .cover-editorial-summary {
    font-size: 0.98rem;
  }

  .story-nav {
    grid-template-columns: 1fr;
  }

  .story-header,
  .story-summary,
  .story-content,
  .story-actions,
  .story-nav,
  .related {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-headline {
    margin-bottom: 0.75rem;
  }

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

@media (max-width: 520px) {
  .site-brand {
    max-width: calc(100% - 144px);
  }

  .site-brand .site-description {
    display: none;
  }

  .site-main {
    padding-top: 1.4rem;
  }

  .site-brand .site-title {
    font-size: 0.98rem;
    letter-spacing: 0.02em;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-desc {
    font-size: 0.94rem;
  }

  .cover-editorial-title {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .cover-editorial-summary {
    font-size: 0.94rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .story-content {
    font-size: 0.98rem;
  }

  .story-summary {
    font-size: 0.98rem;
  }

  .story-meta {
    gap: 0.34rem;
  }

  .magazine-detail-shell .story-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .magazine-detail-shell .story-summary {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .magazine-detail-shell .story-actions {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .story-content th,
  .story-content td {
    padding: 0.54rem;
    font-size: 0.88rem;
  }

  .story-content table:not(.is-enhanced-table) {
    display: block;
    overflow-x: auto;
  }

  .story-content .wp-block-table:not(.is-enhanced-table-wrap) table {
    min-width: 560px;
  }

  .story-content .wp-block-table.is-enhanced-table-wrap {
    overflow: visible;
  }

  .story-content table.is-enhanced-table {
    display: block;
    min-width: 0;
    margin: 1rem 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .story-content table.is-enhanced-table thead {
    display: none;
  }

  .story-content table.is-enhanced-table tbody,
  .story-content table.is-enhanced-table tr,
  .story-content table.is-enhanced-table td {
    display: block;
    width: 100%;
  }

  .story-content table.is-enhanced-table tr {
    margin: 0 0 0.72rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid #ddd3c2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(53, 61, 66, 0.07);
  }

  .story-content table.is-enhanced-table td {
    border: 0;
    border-top: 1px dashed #e7ddd0;
    padding: 0.5rem 0.34rem;
    display: grid;
    grid-template-columns: minmax(86px, 38%) 1fr;
    gap: 0.52rem;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .story-content table.is-enhanced-table td:first-child {
    border-top: 0;
  }

  .story-content table.is-enhanced-table td::before {
    content: attr(data-label);
    color: #6a6359;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
  }
}

@media (max-width: 1200px) {
  .fashion-hero-panel {
    grid-template-columns: minmax(170px, 0.66fr) minmax(0, 1.2fr) minmax(210px, 0.86fr);
    gap: 1rem;
  }

  .fashion-feed-section .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .fashion-single-grid {
    grid-template-columns: 1fr;
  }

  .fashion-single-side {
    padding: 1rem 1.15rem;
    border: 0;
    border-bottom: 1px solid #e3dbcf;
  }

  .fashion-single-right {
    background: transparent;
    border-top: 1px solid #e3dbcf;
    border-bottom: 0;
  }

  .fashion-side-card + .fashion-side-card {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
  }
}

@media (max-width: 840px) {
  .fashion-hero-panel {
    grid-template-columns: 1fr;
    padding: 1rem;
    border-radius: 20px;
    gap: 0.95rem;
  }

  .fashion-hero-intro {
    border-right: 0;
    border-bottom: 1px solid #e4ddd2;
    padding-right: 0;
    padding-bottom: 0.9rem;
  }

  .fashion-feature {
    min-height: 340px;
  }

  .fashion-feature-caption {
    letter-spacing: 0.24em;
  }

  .fashion-feature-summary {
    width: 52%;
    font-size: 0.74rem;
    line-height: 1.5;
  }

  .fashion-trending {
    border-left: 0;
    border-top: 1px solid #e4ddd2;
    padding-left: 0;
    padding-top: 0.8rem;
  }

  .fashion-trending-title {
    font-size: 1.8rem;
  }

  .fashion-feed-section .post-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .fashion-feed-section .post-card {
    padding-top: 0.72rem;
  }

  .fashion-feed-section .post-content {
    padding-top: 0.68rem;
  }

  .fashion-feed-section .post-title {
    font-size: 1.04rem;
    line-height: 1.33;
  }

  .fashion-feed-section .post-meta {
    font-size: 0.72rem;
    gap: 0.28rem;
  }

  .fashion-feed-section .post-summary {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .fashion-single-shell {
    border-radius: 20px;
  }

  .fashion-single-main .story-header,
  .fashion-single-main .story-cover,
  .fashion-single-main .story-summary,
  .fashion-single-main .story-content,
  .fashion-single-main .story-actions,
  .fashion-single-main .story-nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .fashion-related-shell .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .fashion-home-title {
    font-size: 1.8rem;
  }

  .fashion-home-desc {
    font-size: 0.9rem;
  }

  .fashion-home-stats {
    font-size: 0.72rem;
  }

  .fashion-feature {
    min-height: 300px;
  }

  .fashion-feature-title {
    font-size: 1.28rem;
  }

  .fashion-feature-summary {
    display: none;
  }

  .fashion-trending-title {
    font-size: 1.55rem;
  }

  .fashion-trending-item-title {
    font-size: 0.95rem;
  }

  .fashion-feed-section .post-grid {
    gap: 0.82rem;
  }

  .fashion-feed-section .post-content {
    padding-top: 0.62rem;
  }

  .fashion-feed-section .post-title {
    font-size: 0.98rem;
    line-height: 1.34;
  }

  .fashion-feed-section .post-meta {
    font-size: 0.69rem;
    gap: 0.24rem;
  }

  .fashion-feed-section .meta-chip {
    padding: 0.08rem 0.36rem;
  }

  .fashion-feed-section .post-summary {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .fashion-single-main .story-title {
    font-size: 1.58rem;
  }

  .story-content .partner-product-block {
    padding: 0.82rem 0.78rem 0.88rem;
    border-radius: 12px;
  }

  .story-content .partner-product-title {
    font-size: 0.95rem;
  }

  .story-content .partner-product-disclosure {
    font-size: 0.7rem;
  }

  .story-content .partner-product-link,
  .story-content .partner-product-link > img,
  .story-content a[href*="link.coupang.com"]:has(> img),
  .story-content a[href*="coupa.ng"]:has(> img),
  .story-content a[href*="link.coupang.com"] > img,
  .story-content a[href*="coupa.ng"] > img {
    width: min(100%, 200px);
  }
}
