/*
Theme Name: 여기알아 매거진
Theme URI: https://yeogiala.com/
Author: 여기알아
Description: 맛집, 카페, 팝업, 데이트와 지역 커뮤니티를 위한 여기알아 전용 매거진 테마
Version: 1.1.4
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yeogiala
*/

:root {
  --yg-black: #0c0c0c;
  --yg-charcoal: #1b1b1b;
  --yg-charcoal-2: #242424;
  --yg-white: #f5f5f5;
  --yg-muted: #a5a5a2;
  --yg-line: #353535;
  --yg-paper: #e9e8e3;
  --yg-red: #df2029;
  --yg-page: min(1440px, 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--yg-white);
  background: var(--yg-black);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  word-break: keep-all;
}
body.admin-bar .yg-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, select, textarea { color: inherit; 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; }

.yg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  padding: 0 clamp(20px, 4vw, 68px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(12, 12, 12, .94);
  border-bottom: 1px solid var(--yg-line);
  backdrop-filter: blur(14px);
}
.yg-logo { width: 52px; height: 52px; }
.yg-logo img { width: 100%; height: 100%; object-fit: cover; }
.yg-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); font-size: 13px; font-weight: 700; }
.yg-nav a, .yg-header-action { transition: opacity .2s ease; }
.yg-nav a:hover, .yg-header-action:hover { opacity: .55; }
.yg-header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.yg-header-action { padding-bottom: 4px; border-bottom: 1px solid var(--yg-white); font-size: 12px; font-weight: 700; }
.yg-menu-toggle { display: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--yg-line); border-radius: 50%; background: transparent; cursor: pointer; }
.yg-menu-toggle::before, .yg-menu-toggle::after { content: ""; width: 15px; height: 1px; display: block; margin: 5px auto; background: var(--yg-white); }

.yg-hero { min-height: calc(100vh - 74px); display: grid; grid-template-columns: 1.03fr .97fr; border-bottom: 1px solid var(--yg-line); }
.yg-hero-image { position: relative; min-height: 680px; overflow: hidden; }
.yg-hero-image > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.05); }
.yg-hero-image.yg-contain-image > img { object-fit: contain; filter: none; background: #111; }
.yg-vertical-mark { position: absolute; left: 24px; bottom: 26px; font-size: 19px; font-weight: 800; letter-spacing: -.04em; writing-mode: vertical-rl; transform: rotate(180deg); }
.yg-hero-copy { padding: clamp(52px, 6vw, 92px); display: flex; flex-direction: column; justify-content: space-between; }
.yg-wordmark { margin: -20px 0 0; font-size: clamp(76px, 10vw, 164px); font-weight: 300; line-height: .85; letter-spacing: -.09em; }
.yg-hero-small-photo { width: min(240px, 32%); margin-left: auto; aspect-ratio: 4 / 5; object-fit: contain; object-position: center; background: #111; border: 1px solid var(--yg-line); }
.yg-eyebrow { margin: 0 0 22px; color: var(--yg-muted); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.yg-eyebrow .accent { color: var(--yg-red); }
.yg-hero h1 { max-width: 710px; margin: 0; font-size: clamp(44px, 5vw, 76px); line-height: 1.08; letter-spacing: -.065em; }
.yg-hero-description { margin: 24px 0 30px; color: #c1c1bd; font-size: 14px; line-height: 1.8; }
.yg-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; padding: 14px 18px; border-radius: 99px; color: var(--yg-black); background: var(--yg-white); font-size: 12px; font-weight: 750; transition: color .2s ease, background .2s ease; }
.yg-button:hover { color: var(--yg-white); background: var(--yg-red); }

.yg-ticker { min-height: 54px; padding: 0 clamp(20px, 4vw, 68px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; border-bottom: 1px solid var(--yg-line); font-size: 11px; }
.yg-ticker > strong { color: var(--yg-red); letter-spacing: .14em; }
.yg-ticker-items { display: flex; gap: 58px; overflow: hidden; white-space: nowrap; color: #c5c5c1; }
.yg-ticker-items span::before { content: "•"; margin-right: 11px; color: var(--yg-white); }
.yg-ticker > a { color: var(--yg-muted); }

.yg-categories { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--yg-line); }
.yg-anchor-target { position: absolute; top: -74px; left: 0; width: 1px; height: 1px; pointer-events: none; }
#course { scroll-margin-top: 74px; }
.yg-category { min-height: 158px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--yg-line); transition: background .2s ease; }
.yg-category:last-child { border-right: 0; }
.yg-category:hover { background: var(--yg-charcoal); }
.yg-category small { color: #72726f; font-size: 9px; }
.yg-category strong { font-size: 21px; letter-spacing: -.045em; }
.yg-category span { color: var(--yg-muted); font-size: 10px; line-height: 1.45; }

.yg-section { padding: 112px clamp(20px, 4vw, 68px); border-bottom: 1px solid var(--yg-line); }
.yg-section-head { margin-bottom: 42px; display: flex; justify-content: space-between; align-items: flex-end; }
.yg-section-head h2 { margin: 0; font-size: clamp(42px, 6vw, 86px); line-height: .96; letter-spacing: -.075em; }
.yg-section-head > a { padding-bottom: 6px; color: var(--yg-muted); border-bottom: 1px solid var(--yg-muted); font-size: 11px; }
.yg-sample-notice { margin: -16px 0 30px; padding: 14px 16px; color: var(--yg-muted); border: 1px solid var(--yg-line); font-size: 11px; line-height: 1.65; }
.yg-sample-notice strong { margin-right: 10px; color: var(--yg-white); }
.yg-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--yg-line); border: 1px solid var(--yg-line); }
.yg-card { background: var(--yg-black); transition: background .25s ease; }
.yg-card:hover { background: var(--yg-charcoal); }
.yg-card-image { position: relative; height: 390px; overflow: hidden; }
.yg-card-image img { height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .5s ease, filter .5s ease; }
.yg-card-image.yg-contain-image { background: #111; }
.yg-card-image.yg-contain-image img { object-fit: contain; filter: none; }
.yg-card:hover img { transform: scale(1.03); filter: saturate(.9); }
.yg-card-index { position: absolute; top: 16px; right: 16px; padding: 8px 10px; color: var(--yg-black); background: var(--yg-white); border-radius: 50%; font-size: 10px; }
.yg-card-copy { min-height: 320px; padding: 28px; display: flex; flex-direction: column; }
.yg-card-meta { margin: 0 0 30px; color: var(--yg-red); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.yg-card h2, .yg-card h3 { margin: 0; font-size: clamp(29px, 3vw, 44px); line-height: 1.08; letter-spacing: -.06em; }
.yg-card-bottom { margin-top: auto; padding-top: 25px; display: flex; gap: 25px; align-items: flex-end; border-top: 1px solid var(--yg-line); }
.yg-card-bottom p { max-width: 90%; margin: 0; color: var(--yg-muted); font-size: 12px; line-height: 1.7; }
.yg-card-bottom b { margin-left: auto; font-size: 20px; }

.yg-course { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 760px; border-bottom: 1px solid var(--yg-line); }
.yg-course-image { position: relative; min-height: 620px; }
.yg-course-image img { height: 100%; object-fit: cover; filter: grayscale(.18) saturate(.7); }
.yg-course-image.yg-contain-image { background: #111; }
.yg-course-image.yg-contain-image img { object-fit: contain; filter: none; }
.yg-course-image span { position: absolute; left: 24px; top: 24px; padding: 9px 11px; color: var(--yg-black); background: var(--yg-white); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.yg-course-copy { padding: clamp(52px, 7vw, 105px); display: flex; flex-direction: column; justify-content: center; background: var(--yg-charcoal); }
.yg-course-copy h2 { margin: 0; font-size: clamp(45px, 5.5vw, 80px); line-height: 1; letter-spacing: -.07em; }
.yg-course-intro { margin: 28px 0 35px; color: var(--yg-muted); font-size: 14px; line-height: 1.8; }
.yg-course-list { margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--yg-line); }
.yg-course-list li { min-height: 80px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--yg-line); }
.yg-course-list li > span { color: var(--yg-red); font-size: 12px; }
.yg-course-list strong, .yg-course-list small { display: block; }
.yg-course-list strong { margin-bottom: 6px; font-size: 14px; }
.yg-course-list small { color: #858582; font-size: 10px; }
.yg-course-list b { color: var(--yg-muted); font-size: 10px; font-weight: 500; }

.yg-latest-list { border-top: 1px solid var(--yg-line); }
.yg-latest-row { min-height: 142px; display: grid; grid-template-columns: 44px 112px 150px 1fr 28px; align-items: center; gap: 25px; border-bottom: 1px solid var(--yg-line); transition: background .2s ease; }
.yg-latest-row:hover { background: var(--yg-charcoal); }
.yg-latest-row > span:first-child { align-self: start; padding-top: 25px; color: #686865; font-size: 11px; }
.yg-latest-row img { width: 112px; height: 96px; object-fit: cover; filter: saturate(.55); }
.yg-latest-row img.yg-contain-image { object-fit: contain; filter: none; background: #111; }
.yg-latest-meta { color: var(--yg-muted); font-size: 10px; line-height: 1.6; }
.yg-latest-row h3 { margin: 0; font-size: clamp(22px, 3vw, 38px); letter-spacing: -.055em; }

.yg-community { display: grid; grid-template-columns: .85fr 1.15fr; border-bottom: 1px solid var(--yg-line); }
.yg-community-intro { padding: clamp(65px, 8vw, 120px) clamp(20px, 6vw, 90px); background: var(--yg-paper); color: var(--yg-black); }
.yg-community-intro .yg-eyebrow { color: #6e6e6b; }
.yg-community-intro h2 { margin: 0 0 46px; font-size: clamp(40px, 5.2vw, 74px); line-height: 1.05; letter-spacing: -.07em; }
.yg-community-intro .yg-button { color: var(--yg-white); background: var(--yg-black); }
.yg-community-board { padding: clamp(55px, 7vw, 100px) clamp(20px, 5vw, 75px); }
.yg-community-head { padding-bottom: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--yg-line); font-size: 11px; }
.yg-community-row { min-height: 122px; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 18px; border-bottom: 1px solid var(--yg-line); }
.yg-community-rank { color: var(--yg-red); font-size: 17px; }
.yg-community-row strong { display: block; margin-bottom: 8px; font-size: 17px; }
.yg-community-row small { color: var(--yg-muted); font-size: 10px; }
.yg-area-tag { display: inline-block; margin-right: 8px; padding: 4px 7px; color: var(--yg-black); background: var(--yg-white); font-size: 9px; }
.yg-community-empty { padding: 70px 0; color: var(--yg-muted); font-size: 13px; line-height: 1.8; }

.yg-archive-callout { padding: 110px clamp(20px, 4vw, 68px); display: flex; justify-content: space-between; align-items: flex-end; color: var(--yg-black); background: var(--yg-paper); }
.yg-archive-callout h2 { margin: 0; font-size: clamp(44px, 6vw, 85px); line-height: 1.02; letter-spacing: -.075em; }
.yg-archive-callout a { padding-bottom: 7px; border-bottom: 1px solid var(--yg-black); font-size: 11px; font-weight: 700; }
.yg-social { padding: 65px clamp(20px, 4vw, 68px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; border-top: 1px solid var(--yg-line); border-bottom: 1px solid var(--yg-line); }
.yg-social p { margin: 0; color: var(--yg-muted); font-size: 11px; }
.yg-social h2 { margin: 0; font-size: clamp(45px, 7vw, 98px); font-weight: 300; letter-spacing: -.07em; }
.yg-social-links { justify-self: end; display: flex; gap: 18px; }
.yg-social-links a { padding-bottom: 6px; border-bottom: 1px solid var(--yg-white); font-size: 10px; }

.yg-footer { padding: 72px clamp(20px, 4vw, 68px) 28px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.yg-footer-logo { width: 72px; height: 72px; display: block; }
.yg-footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.yg-footer-intro p { margin: 23px 0 0; color: var(--yg-muted); font-size: 12px; line-height: 1.7; }
.yg-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.yg-footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.yg-footer-links strong { margin-bottom: 6px; color: #70706d; font-size: 9px; letter-spacing: .16em; }
.yg-footer-links a { color: var(--yg-muted); font-size: 11px; }
.yg-footer-bottom { grid-column: 1/-1; margin-top: 24px; padding-top: 23px; display: flex; justify-content: space-between; border-top: 1px solid var(--yg-line); color: #696966; font-size: 9px; }

.yg-page-head { padding: 105px clamp(20px, 6vw, 96px) 80px; border-bottom: 1px solid var(--yg-line); }
.yg-page-head h1 { max-width: 1080px; margin: 0; font-size: clamp(58px, 9vw, 132px); line-height: .9; letter-spacing: -.08em; }
.yg-page-head > p:last-child { margin: 40px 0 0; color: var(--yg-muted); font-size: 14px; line-height: 1.8; }
.yg-category-tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--yg-line); }
.yg-category-tabs a { min-height: 78px; padding: 20px 14px; display: grid; place-items: center; color: var(--yg-muted); border-right: 1px solid var(--yg-line); font-size: 13px; font-weight: 750; transition: color .2s ease, background .2s ease; }
.yg-category-tabs a:last-child { border-right: 0; }
.yg-category-tabs a:hover, .yg-category-tabs .is-current { color: var(--yg-white); background: var(--yg-charcoal); }
.yg-category-tabs .is-current { box-shadow: inset 0 -2px 0 var(--yg-red); }
.yg-category-results { padding: 72px clamp(20px, 4vw, 68px) 96px; }
.yg-category-results .yg-card-grid { border: 0; }
.yg-category-empty { min-height: 420px; padding: clamp(45px, 7vw, 90px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--yg-line); background: var(--yg-charcoal); }
.yg-category-empty h2 { margin: 0; font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -.07em; }
.yg-category-empty > p:not(.yg-eyebrow) { max-width: 460px; margin: 25px 0 34px; color: var(--yg-muted); line-height: 1.8; }
.yg-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.yg-archive-card { min-height: 360px; padding: 29px; display: flex; flex-direction: column; border-right: 1px solid var(--yg-line); border-bottom: 1px solid var(--yg-line); transition: background .2s ease; }
.yg-archive-card:nth-child(3n) { border-right: 0; }
.yg-archive-card:hover { background: var(--yg-charcoal); }
.yg-archive-card small { align-self: flex-end; color: #70706d; }
.yg-archive-card .yg-area-tag { width: max-content; margin: 35px 0 18px; }
.yg-archive-card h2 { margin: 0; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.2; letter-spacing: -.055em; }
.yg-archive-card footer { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; color: var(--yg-muted); border-top: 1px solid var(--yg-line); font-size: 10px; }
.yg-pagination { padding: 40px clamp(20px, 4vw, 68px); display: flex; justify-content: center; gap: 12px; }
.yg-pagination .page-numbers { padding: 9px 12px; border: 1px solid var(--yg-line); font-size: 11px; }
.yg-pagination .current { color: var(--yg-black); background: var(--yg-white); }

.yg-single-head { min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--yg-line); }
.yg-single-copy { padding: clamp(55px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.yg-single-copy h1 { margin: 0; font-size: clamp(48px, 7vw, 105px); line-height: .96; letter-spacing: -.075em; }
.yg-single-meta { margin-top: 42px; padding-top: 18px; display: flex; gap: 18px; color: var(--yg-muted); border-top: 1px solid var(--yg-line); font-size: 10px; }
.yg-single-cover { min-height: 560px; background: var(--yg-charcoal); }
.yg-single-cover img { height: 100%; object-fit: cover; filter: saturate(.68); }
.yg-single-cover.yg-contain-image img { object-fit: contain; filter: none; background: #111; }
.yg-single-body { max-width: 760px; margin: 0 auto; padding: 100px 24px 130px; color: #d8d8d4; font-family: "Noto Serif KR", Georgia, serif; font-size: 18px; line-height: 2; }
.yg-single-body h2, .yg-single-body h3 { color: var(--yg-white); font-family: Pretendard, "Apple SD Gothic Neo", sans-serif; line-height: 1.3; }
.yg-single-body a { text-decoration: underline; }
.yg-single-body img { margin: 45px 0; }
.yg-magazine-body { max-width: 900px; }
.yg-magazine-body .yg-article-lead { margin: 0 0 70px; color: var(--yg-white); font-size: 24px; line-height: 1.9; }
.yg-article-details { margin: 0 0 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--yg-line); border-left: 1px solid var(--yg-line); font-family: Pretendard, "Apple SD Gothic Neo", sans-serif; }
.yg-article-detail { min-height: 104px; padding: 20px; border-right: 1px solid var(--yg-line); border-bottom: 1px solid var(--yg-line); }
.yg-article-detail span, .yg-article-detail strong { display: block; }
.yg-article-detail span { margin-bottom: 7px; color: var(--yg-muted); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.yg-article-detail strong { color: var(--yg-white); font-size: 15px; line-height: 1.5; }
.yg-article-section { margin: 0 0 86px; }
.yg-article-section > span { color: var(--yg-red); font-family: Pretendard, "Apple SD Gothic Neo", sans-serif; font-size: 11px; font-weight: 800; }
.yg-article-section h2 { margin: 12px 0 22px; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.055em; }
.yg-article-section p { margin: 0; }
.yg-article-gallery { margin: 100px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
.yg-article-gallery figure { margin: 0; }
.yg-article-gallery img { width: 100%; height: auto; margin: 0; object-fit: contain; border: 1px solid var(--yg-line); background: #111; }
.yg-article-gallery figcaption { margin-top: 12px; color: var(--yg-muted); font-family: Pretendard, "Apple SD Gothic Neo", sans-serif; font-size: 11px; line-height: 1.65; }
.yg-article-sources, .yg-editor-note { margin-top: 90px; padding: 26px; border: 1px solid var(--yg-line); font-family: Pretendard, "Apple SD Gothic Neo", sans-serif; }
.yg-article-sources > strong, .yg-editor-note > strong { display: block; margin-bottom: 16px; color: var(--yg-white); font-size: 11px; letter-spacing: .12em; }
.yg-article-sources a { display: block; padding: 12px 0; color: var(--yg-muted); border-top: 1px solid var(--yg-line); font-size: 12px; text-decoration: none; }
.yg-editor-note p { margin: 0; color: var(--yg-muted); font-size: 12px; line-height: 1.8; }

.yg-community-page { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; }
.yg-community-list { padding: 70px clamp(20px, 5vw, 75px) 110px; border-right: 1px solid var(--yg-line); }
.yg-community-post { padding: 32px 0; border-bottom: 1px solid var(--yg-line); }
.yg-community-post h2 { margin: 20px 0 13px; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.05em; }
.yg-community-post p { margin: 0; color: var(--yg-muted); font-size: 13px; line-height: 1.8; }
.yg-community-form-wrap { position: sticky; top: 74px; padding: 70px clamp(20px, 5vw, 74px) 90px; background: var(--yg-charcoal); }
.yg-community-form-wrap h2 { margin: 0 0 18px; font-size: clamp(40px, 5vw, 66px); letter-spacing: -.07em; }
.yg-community-form-wrap > p { margin: 0 0 34px; color: var(--yg-muted); font-size: 12px; line-height: 1.7; }
.yg-community-form { display: flex; flex-direction: column; gap: 16px; }
.yg-community-form label { display: flex; flex-direction: column; gap: 7px; color: var(--yg-muted); font-size: 10px; font-weight: 700; }
.yg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yg-community-form input, .yg-community-form select, .yg-community-form textarea { width: 100%; padding: 13px; color: var(--yg-white); border: 1px solid var(--yg-line); border-radius: 0; outline: 0; background: var(--yg-black); font-size: 12px; }
.yg-community-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.yg-community-form input:focus, .yg-community-form select:focus, .yg-community-form textarea:focus { border-color: var(--yg-white); }
.yg-community-form button { padding: 15px 18px; display: flex; justify-content: space-between; color: var(--yg-black); border: 0; background: var(--yg-white); cursor: pointer; font-weight: 800; }
.yg-form-notice { margin-bottom: 25px; padding: 14px 16px; color: var(--yg-black); background: var(--yg-white); font-size: 12px; }
.yg-honeypot { position: absolute !important; left: -9999px !important; }

.yg-about-manifesto { padding: 110px clamp(20px, 8vw, 135px); display: grid; grid-template-columns: 180px 1fr; gap: 65px; color: var(--yg-black); background: var(--yg-paper); }
.yg-about-manifesto span { padding-top: 8px; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.yg-about-manifesto p { max-width: 1000px; margin: 0; font-size: clamp(30px, 4vw, 56px); line-height: 1.5; letter-spacing: -.045em; }
.yg-principles { padding: 110px clamp(20px, 6vw, 96px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.yg-principles h2 { margin: 0; font-size: clamp(46px, 6vw, 84px); letter-spacing: -.07em; }
.yg-principles ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--yg-line); }
.yg-principles li { padding: 26px 0; display: grid; grid-template-columns: 60px 1fr; border-bottom: 1px solid var(--yg-line); }
.yg-principles li > span { color: var(--yg-red); }
.yg-principles h3 { margin: 0 0 10px; font-size: 21px; }
.yg-principles p { margin: 0; color: var(--yg-muted); font-size: 13px; line-height: 1.7; }

@media (max-width: 1000px) {
  .yg-categories { grid-template-columns: repeat(3, 1fr); }
  .yg-category:nth-child(3) { border-right: 0; }
  .yg-category:nth-child(-n+3) { border-bottom: 1px solid var(--yg-line); }
  .yg-latest-row { grid-template-columns: 35px 92px 120px 1fr 24px; gap: 16px; }
  .yg-latest-row img { width: 92px; height: 82px; }
}

@media (max-width: 760px) {
  body.admin-bar .yg-header { top: 46px; }
  .yg-header { height: 64px; grid-template-columns: 1fr auto; }
  .yg-anchor-target { top: -64px; }
  #course { scroll-margin-top: 64px; }
  .yg-logo { width: 44px; height: 44px; }
  .yg-nav { position: absolute; left: 0; right: 0; top: 64px; padding: 25px 22px; display: none; flex-direction: column; align-items: flex-start; gap: 20px; background: var(--yg-black); border-bottom: 1px solid var(--yg-line); }
  .menu-open .yg-nav { display: flex; }
  .yg-header-actions { gap: 11px; }
  .yg-header-action { display: none; }
  .yg-menu-toggle { display: block; }
  .yg-hero { min-height: auto; grid-template-columns: 1fr; }
  .yg-hero-image { min-height: 68vh; }
  .yg-vertical-mark { display: none; }
  .yg-hero-copy { min-height: 610px; }
  .yg-wordmark { font-size: 22vw; }
  .yg-hero-small-photo { width: 40%; }
  .yg-ticker { grid-template-columns: auto 1fr; }
  .yg-ticker > a { display: none; }
  .yg-ticker-items span:nth-child(n+2) { display: none; }
  .yg-card-grid { grid-template-columns: 1fr; }
  .yg-category-tabs { grid-template-columns: repeat(3, 1fr); }
  .yg-category-tabs a:nth-child(-n+3) { border-bottom: 1px solid var(--yg-line); }
  .yg-category-tabs a:nth-child(3n) { border-right: 0; }
  .yg-category-results { padding: 48px 16px 72px; }
  .yg-card-image { height: 58vw; min-height: 300px; }
  .yg-course { grid-template-columns: 1fr; }
  .yg-course-image { min-height: 560px; }
  .yg-latest-row { min-height: 120px; grid-template-columns: 30px 72px 1fr 22px; gap: 12px; }
  .yg-latest-row img { width: 72px; height: 74px; }
  .yg-latest-meta { display: none; }
  .yg-latest-row h3 { font-size: 18px; }
  .yg-community { grid-template-columns: 1fr; }
  .yg-community-row { grid-template-columns: 28px 1fr; }
  .yg-community-row > span:last-child { display: none; }
  .yg-archive-callout { display: block; }
  .yg-archive-callout a { display: inline-block; margin-top: 35px; }
  .yg-social { display: block; }
  .yg-social h2 { margin: 16px 0 22px; font-size: 14vw; }
  .yg-social-links { display: flex; justify-content: flex-start; }
  .yg-footer { grid-template-columns: 1fr; gap: 48px; }
  .yg-footer-links { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .yg-footer-bottom { flex-direction: column; gap: 14px; }
  .yg-archive-grid { grid-template-columns: 1fr; }
  .yg-archive-card { min-height: 310px; border-right: 0; }
  .yg-single-head { grid-template-columns: 1fr; }
  .yg-single-cover { min-height: 500px; }
  .yg-article-gallery { grid-template-columns: 1fr; }
  .yg-community-page { grid-template-columns: 1fr; }
  .yg-community-list { border-right: 0; }
  .yg-community-form-wrap { position: static; border-top: 1px solid var(--yg-line); }
  .yg-about-manifesto, .yg-principles { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 480px) {
  .yg-section { padding-top: 78px; padding-bottom: 78px; }
  .yg-categories { grid-template-columns: repeat(2, 1fr); }
  .yg-category:nth-child(3) { border-right: 1px solid var(--yg-line); }
  .yg-category:nth-child(2n) { border-right: 0; }
  .yg-category:nth-child(-n+4) { border-bottom: 1px solid var(--yg-line); }
  .yg-category { min-height: 135px; }
  .yg-hero-copy { padding: 45px 22px; }
  .yg-hero h1 { font-size: 12.5vw; }
  .yg-card-copy { min-height: 290px; }
  .yg-course-image { min-height: 450px; }
  .yg-course-copy { padding: 58px 22px; }
  .yg-section-head { align-items: flex-start; }
  .yg-section-head > a { display: none; }
  .yg-page-head { padding-top: 80px; }
  .yg-page-head h1 { font-size: 18vw; }
  .yg-form-row { grid-template-columns: 1fr; }
  .yg-article-details { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
