/*
Theme Name: PedalLog V8.0.2
Theme URI: https://pedallog.kr
Author: PedalLog
Description: 정책·서울·자치구·식품안전·가격정보와 자전거 전문 콘텐츠를 통합한 PedalLog 생활정보 포털 테마입니다.
Version: 8.0.2
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: pedallog
Tags: blog, news, e-commerce, custom-logo, custom-menu, featured-images, translation-ready, wide-blocks
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --navy-950: #08182c;
    --navy-900: #10243e;
    --navy-800: #1b3d64;
    --orange: #ff642b;
    --orange-dark: #e84e15;
    --orange-soft: #fff1eb;
    --text: #1c2738;
    --muted: #6e7888;
    --line: #e6e9ee;
    --soft: #f6f7f9;
    --white: #ffffff;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --shadow-soft: 0 8px 28px rgba(8, 24, 44, .055);
    --shadow: 0 18px 48px rgba(8, 24, 44, .09);
    --container: 1180px;
    --article: 760px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR",
        "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.78;
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

a:hover,
a:focus-visible {
    color: var(--orange-dark);
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
input[type="submit"] {
    cursor: pointer;
}

::selection {
    color: #fff;
    background: var(--orange);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.article-width {
    width: min(calc(100% - 40px), var(--article));
    margin-inline: auto;
}

.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;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    color: #111;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: var(--header-height);
    border-bottom: 1px solid rgba(8, 24, 44, .08);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-branding {
    flex: 0 0 auto;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    max-width: 205px;
    max-height: 46px;
}

.site-title {
    margin: 0;
    color: var(--navy-900);
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.06em;
}

.brand-dot {
    color: var(--orange);
}

.primary-navigation {
    margin-left: auto;
}

.primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 12px;
    color: #2b384c;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 760;
    transition: color .18s ease, background .18s ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a {
    color: var(--orange-dark);
    background: var(--orange-soft);
}

.menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    border-radius: 3px;
    background: var(--navy-900);
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Ads */
.ad-zone {
    text-align: center;
}

.header-ad {
    padding: 10px 0;
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-ad {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    background: #fff;
}

.home-ad,
.article-ad {
    margin: 34px 0;
    padding: 16px 6px;
    border: 1px dashed #d8dde5;
    border-radius: 14px;
    background: #fafbfc;
    text-align: center;
}

.home-ad:empty,
.article-ad:empty {
    display: none;
}

.ad-widget {
    margin: 0;
}

.ad-rail {
    display: none;
}

@media (min-width: 1740px) {
    .ad-rail {
        position: fixed;
        z-index: 60;
        top: 124px;
        display: block;
        width: 160px;
        max-height: calc(100vh - 148px);
        overflow: hidden;
        text-align: center;
    }

    .ad-rail-left {
        left: 20px;
    }

    .ad-rail-right {
        right: 20px;
    }

    body.admin-bar .ad-rail {
        top: 156px;
    }
}

/* Home intro */
.home-intro {
    padding: 68px 0 30px;
}

.home-intro-inner {
    max-width: 1120px;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--orange-dark);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.home-kicker::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 99px;
    background: var(--orange);
}

.home-intro h1 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(2.15rem, 3.5vw, 3.25rem);
    line-height: 1.14;
    font-weight: 950;
    letter-spacing: -.065em;
    white-space: nowrap;
}

.home-intro p {
    max-width: 700px;
    margin: 19px 0 0;
    color: var(--muted);
    font-size: 1rem;
}

/* Featured article */
.featured-section {
    padding: 18px 0 34px;
}

.featured-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(350px, .72fr);
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}

.featured-image {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #f1f3f6;
}

.featured-image a {
    display: block;
    width: 100%;
}

.featured-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.featured-placeholder {
    display: grid;
    min-height: 430px;
    place-items: center;
    background:
        radial-gradient(circle at 82% 17%, rgba(255, 100, 43, .23), transparent 27%),
        linear-gradient(135deg, #183e69, #0a1c32);
}

.featured-placeholder img {
    width: min(34%, 220px);
    height: auto;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 4vw, 52px);
}

.category-pill {
    display: inline-flex;
    width: fit-content;
    padding: 5px 9px;
    color: var(--orange-dark);
    border-radius: 999px;
    background: var(--orange-soft);
    font-size: .71rem;
    line-height: 1.2;
    font-weight: 900;
}

.featured-content h2 {
    margin: 15px 0 13px;
    color: var(--navy-900);
    font-size: clamp(1.65rem, 2.8vw, 2.45rem);
    line-height: 1.3;
    letter-spacing: -.045em;
}

.featured-content p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.68;
}

.featured-meta,
.post-meta,
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    color: var(--muted);
    font-size: .75rem;
}

.featured-meta {
    margin-top: 20px;
}

.featured-more {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    margin-top: 25px;
    color: var(--navy-900);
    font-size: .86rem;
    font-weight: 900;
}

.featured-more::after {
    content: "→";
    color: var(--orange);
    font-size: 1rem;
}

/* Category navigation */
.category-section {
    padding: 0 0 60px;
}

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

.category-card {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #ffc8b2;
    box-shadow: var(--shadow);
}

.category-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--orange-dark);
    border-radius: 12px;
    background: var(--orange-soft);
}

.category-icon svg {
    width: 23px;
    height: 23px;
    stroke: currentColor;
}

.category-card strong {
    display: block;
    color: var(--navy-900);
    font-size: .92rem;
    line-height: 1.3;
}

.category-card small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.35;
}

/* Sections */
.home-section {
    padding: 68px 0 78px;
    border-top: 1px solid var(--line);
    background: var(--soft);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -.055em;
}

.section-heading p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.section-link {
    flex: 0 0 auto;
    color: var(--orange-dark);
    font-size: .84rem;
    font-weight: 900;
}

/* Post cards */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 21px;
}

.post-grid.count-1 {
    grid-template-columns: minmax(0, 760px);
}

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

.post-card {
    overflow: hidden;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: #ffc8b2;
    box-shadow: var(--shadow);
}

.post-thumbnail {
    display: grid;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    background: #f0f2f5;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.018);
}

.post-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(circle at 82% 17%, rgba(255, 100, 43, .2), transparent 25%),
        linear-gradient(135deg, #183e69, #0a1b31);
}

.post-placeholder img {
    width: 30%;
    max-width: 105px;
    height: auto;
}

.post-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.post-body h3 {
    margin: 10px 0 9px;
    color: var(--navy-900);
    font-size: 1.08rem;
    line-height: 1.47;
    letter-spacing: -.025em;
}

.post-body p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.63;
}

/* Archives */
.content-area {
    min-height: 64vh;
    padding: 62px 0 86px;
}

.archive-header,
.search-header {
    max-width: 760px;
    margin-bottom: 31px;
}

.archive-header h1,
.search-header h1 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -.065em;
}

.archive-description {
    margin-top: 11px;
    color: var(--muted);
}

.pagination {
    margin-top: 39px;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.page-numbers {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: .84rem;
    font-weight: 850;
}

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

/* Single article */
.article-page {
    padding: 58px 0 90px;
}

.article-header {
    width: min(calc(100% - 40px), 920px);
    margin: 0 auto 30px;
    text-align: center;
}

.article-header .category-pill {
    margin-bottom: 14px;
}

.entry-title {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1.22;
    letter-spacing: -.06em;
}

.article-header .entry-meta {
    justify-content: center;
    margin-top: 16px;
}

.article-cover {
    overflow: hidden;
    width: min(calc(100% - 40px), 1060px);
    margin: 0 auto 50px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f0f2f5;
    box-shadow: var(--shadow-soft);
}

.article-cover img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.article-cover-placeholder {
    display: grid;
    min-height: 420px;
    place-items: center;
    background:
        radial-gradient(circle at 82% 17%, rgba(255, 100, 43, .2), transparent 26%),
        linear-gradient(135deg, #183e69, #0a1b31);
}

.article-cover-placeholder img {
    width: min(28%, 210px);
    height: auto;
}

.entry-content {
    color: #303b4c;
    font-size: 1.035rem;
    line-height: 1.9;
}

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

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content p {
    margin: 0 0 1.48em;
}

.entry-content h2 {
    margin: 2.35em 0 .78em;
    padding-bottom: .48em;
    color: var(--navy-900);
    border-bottom: 2px solid #edf0f4;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    line-height: 1.4;
    letter-spacing: -.04em;
}

.entry-content h3 {
    margin: 1.85em 0 .62em;
    color: var(--navy-800);
    font-size: 1.3rem;
    line-height: 1.45;
    letter-spacing: -.025em;
}

.entry-content h4 {
    margin: 1.55em 0 .5em;
    color: var(--navy-800);
    font-size: 1.1rem;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.55em;
    padding-left: 1.35em;
}

.entry-content li {
    margin-bottom: .48em;
}

.entry-content blockquote {
    margin: 1.85em 0;
    padding: 22px 24px;
    color: #384458;
    border-left: 5px solid var(--orange);
    border-radius: 0 14px 14px 0;
    background: #fff6f1;
}

.entry-content figure {
    margin: 2em 0;
}

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

.entry-content figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: .79rem;
    text-align: center;
}

.entry-content table {
    display: table;
    width: 100%;
    margin: 1.8em 0;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 11px;
    font-size: .9rem;
}

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

.entry-content th {
    color: var(--navy-900);
    background: #f3f5f8;
}

.entry-content pre {
    overflow: auto;
    margin: 1.85em 0;
    padding: 21px;
    color: #e8eef7;
    border-radius: 14px;
    background: #0d1c31;
    font-family: Consolas, Monaco, monospace;
    font-size: .87rem;
    line-height: 1.7;
}

.entry-content code {
    padding: .12em .33em;
    border-radius: 5px;
    background: #eef2f6;
    font-family: Consolas, Monaco, monospace;
    font-size: .9em;
}

.entry-content pre code {
    padding: 0;
    background: transparent;
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 38px;
    padding-top: 23px;
    border-top: 1px solid var(--line);
}

.entry-tags a {
    padding: 6px 10px;
    color: var(--muted);
    border-radius: 999px;
    background: #f0f3f7;
    font-size: .77rem;
}

/* Pages */
.page-shell {
    width: min(calc(100% - 40px), 860px);
    margin-inline: auto;
}

.page-header {
    padding: 62px 0 31px;
}

.page-title {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -.06em;
}

.page-content {
    padding: 0 0 84px;
}

/* Empty states */
.not-found {
    padding: 65px 28px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.error-code {
    display: block;
    color: var(--orange);
    font-size: clamp(5rem, 12vw, 8.5rem);
    line-height: 1;
    font-weight: 950;
}

/* Minimal footer */
.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #8993a2;
    font-size: .78rem;
}

.footer-brand {
    color: var(--navy-900);
    font-weight: 900;
}

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

.footer-menu a {
    color: #788395;
}

.no-posts-admin {
    padding: 39px;
    text-align: center;
    border: 2px dashed #d6dce5;
    border-radius: var(--radius);
    background: #fff;
}

.alignwide {
    width: min(1080px, calc(100vw - 40px));
    max-width: none;
    margin-right: 50%;
    margin-left: 50%;
    transform: translateX(-50%);
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

@media (max-width: 1000px) {
    .home-intro h1 {
        white-space: normal;
    }

    .primary-navigation a {
        padding-inline: 9px;
        font-size: .84rem;
    }

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

    .featured-image {
        border-bottom: 1px solid var(--line);
    }

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

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

    .post-grid.count-1 {
        grid-template-columns: minmax(0, 760px);
    }
}

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

    .menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 95px);
        overflow: auto;
        padding: 15px 20px 22px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 22px 40px rgba(8, 24, 44, .12);
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation ul {
        display: grid;
        gap: 3px;
    }

    .primary-navigation a {
        display: block;
        padding: 12px 11px;
        font-size: .91rem;
    }
}

@media (max-width: 650px) {
    body {
        font-size: 16px;
    }

    .container,
    .article-width,
    .page-shell,
    .article-header,
    .article-cover {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 66px;
    }

    .custom-logo {
        max-width: 178px;
        max-height: 41px;
    }

    .site-title {
        font-size: 1.42rem;
    }

    .home-intro {
        padding: 43px 0 22px;
    }

    .home-intro h1 {
        font-size: 2.25rem;
    }

    .featured-section {
        padding-top: 10px;
    }

    .featured-card {
        border-radius: 18px;
    }

    .featured-content {
        padding: 27px 22px 31px;
    }

    .featured-content h2 {
        font-size: 1.75rem;
    }

    .category-section {
        padding-bottom: 44px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .category-card {
        min-height: 69px;
    }

    .home-section {
        padding: 52px 0 60px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 23px;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

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

    .post-body {
        padding: 18px;
    }

    .article-page {
        padding: 38px 0 68px;
    }

    .entry-title {
        font-size: 2rem;
    }

    .article-cover {
        margin-bottom: 38px;
        border-radius: 14px;
    }

    .article-cover-placeholder {
        min-height: 290px;
    }

    .entry-content {
        font-size: 1rem;
        line-height: 1.84;
    }

    .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .article-ad {
        margin: 28px -4px;
        padding-inline: 4px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
    }
}

/* V5.2 compact recent posts */
.recent-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.recent-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(8, 24, 44, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.recent-card:hover {
    transform: translateY(-3px);
    border-color: #ffc8b2;
    box-shadow: var(--shadow-soft);
}

.recent-thumbnail {
    display: grid;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    place-items: center;
    background: #eef1f4;
}

.recent-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
}

.recent-card:hover .recent-thumbnail img {
    transform: scale(1.025);
}

.recent-thumbnail .post-placeholder {
    width: 100%;
    height: 100%;
}

.recent-content {
    padding: 14px 14px 16px;
}

.recent-content .post-meta {
    gap: 5px 8px;
    font-size: .67rem;
}

.recent-content .category-pill {
    padding: 4px 7px;
    font-size: .64rem;
}

.recent-content h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.85em;
    margin: 8px 0 0;
    color: var(--navy-900);
    font-size: .92rem;
    line-height: 1.43;
    letter-spacing: -.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.recent-content p {
    display: none;
}

/* V5.2 compact mathematical expressions */
.pedallog-math {
    max-width: 100%;
    margin: -.65em 0 1.35em;
    padding: .05em 0;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: center;
    -webkit-overflow-scrolling: touch;
}

.entry-content p + .pedallog-math {
    margin-top: -.85em;
}

.pedallog-math mjx-container[display="true"],
.entry-content mjx-container[display="true"],
.pedallog-math .MathJax_Display,
.entry-content .MathJax_Display,
.pedallog-math .katex-display,
.entry-content .katex-display {
    max-width: 100%;
    margin: .25em auto .4em !important;
    overflow-x: auto;
    overflow-y: hidden;
}

.pedallog-math img.latex,
.entry-content img.latex {
    display: inline-block;
    width: auto;
    max-width: 100%;
    margin: .2em auto;
}

@media (max-width: 1050px) {
    .recent-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .recent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .recent-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .recent-card {
        display: grid;
        grid-template-columns: 138px minmax(0, 1fr);
        align-items: stretch;
    }

    .recent-thumbnail {
        height: 100%;
        min-height: 112px;
        aspect-ratio: auto;
    }

    .recent-content {
        padding: 13px;
    }

    .recent-content h3 {
        min-height: auto;
        font-size: .9rem;
    }

    .pedallog-math {
        margin-top: -.55em;
        font-size: .93em;
    }
}

/* V5.3 MathJax automatic LaTeX rendering */
.pedallog-math {
    position: relative;
    display: block;
    width: 100%;
    min-height: 2.6em;
    margin: -.45em 0 1.45em;
    padding: .25em 0;
    overflow-x: auto;
    overflow-y: hidden;
    color: var(--text);
    text-align: center;
    -webkit-overflow-scrolling: touch;
}

.entry-content p + .pedallog-math {
    margin-top: -.72em;
}

.pedallog-math mjx-container,
.entry-content mjx-container {
    color: inherit;
}

.pedallog-math mjx-container[display="true"],
.entry-content mjx-container[display="true"] {
    max-width: 100%;
    margin: .15em auto .35em !important;
    padding: .05em 0;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 108% !important;
    text-align: center !important;
}

.pedallog-math mjx-container svg,
.entry-content mjx-container svg {
    max-width: 100%;
    height: auto;
}

.pedallog-math mjx-assistive-mml,
.entry-content mjx-assistive-mml {
    pointer-events: none;
}

@media (max-width: 650px) {
    .pedallog-math {
        margin-top: -.35em;
        font-size: .9em;
    }

    .pedallog-math mjx-container[display="true"],
    .entry-content mjx-container[display="true"] {
        font-size: 100% !important;
    }
}

/* --------------------------------------------------------------------------
   PedalLog V7.1: 일반 콘텐츠 + 자동 최저가 상품
   -------------------------------------------------------------------------- */

.header-deal-link {
    flex: 0 0 auto;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 14px;
    color: #fff;
    background: var(--orange);
    border-radius: 11px;
    font-size: .88rem;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(255, 100, 43, .18);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.header-deal-link:hover,
.header-deal-link:focus-visible {
    color: #fff;
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 100, 43, .25);
}

.home-intro-v6 {
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 100, 43, .12), transparent 28%),
        linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.home-intro-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 850;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button-primary {
    color: #fff;
    background: var(--orange);
    box-shadow: 0 10px 24px rgba(255, 100, 43, .2);
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.button-secondary {
    color: var(--navy-900);
    background: #fff;
    border: 1px solid var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    color: var(--orange-dark);
    border-color: rgba(255, 100, 43, .4);
    transform: translateY(-1px);
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--orange-dark);
    font-size: .68rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .12em;
}

.compact-heading {
    margin-bottom: 20px;
}

.deal-home-section {
    padding: 58px 0 64px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 0, rgba(255, 100, 43, .16), transparent 30%),
        linear-gradient(145deg, #08182c 0%, #10243e 62%, #17385f 100%);
}

.deal-home-section .section-heading h2,
.deal-home-section .section-heading p,
.deal-home-section .section-link {
    color: #fff;
}

.deal-home-section .section-heading p {
    color: rgba(255, 255, 255, .66);
}

.deal-home-section .section-link:hover,
.deal-home-section .section-link:focus-visible {
    color: #ffd2c1;
}

.deal-section-heading {
    margin-bottom: 20px;
}

.deal-category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 16px;
    scrollbar-width: thin;
}

.deal-category-strip a {
    flex: 0 0 auto;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .07);
    font-size: .76rem;
    font-weight: 760;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.deal-category-strip a:hover,
.deal-category-strip a:focus-visible,
.deal-category-strip a.is-active {
    color: #fff;
    border-color: rgba(255, 100, 43, .7);
    background: rgba(255, 100, 43, .22);
}

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

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

.deal-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 100, 43, .32);
    box-shadow: 0 18px 40px rgba(8, 24, 44, .13);
}

.deal-card-image {
    position: relative;
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    background: linear-gradient(145deg, #fff, #f4f6f8);
}

.deal-card-image .deal-product-image,
.deal-hero-image .deal-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .28s ease;
}

.deal-card:hover .deal-product-image {
    transform: scale(1.035);
}

.deal-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #f6f7f9;
}

.deal-placeholder img {
    width: 34%;
    max-width: 130px;
    opacity: .35;
}

.deal-score {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 0 9px;
    color: #fff;
    background: rgba(8, 24, 44, .88);
    border-radius: 9px;
    font-size: .66rem;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.deal-card-body {
    padding: 16px 16px 18px;
    color: var(--text);
}

.deal-card-topline {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.deal-category-pill {
    display: inline-flex;
    max-width: 50%;
    min-height: 25px;
    align-items: center;
    overflow: hidden;
    padding: 0 8px;
    color: var(--orange-dark);
    background: var(--orange-soft);
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 850;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.deal-category-pill:hover,
.deal-category-pill:focus-visible {
    color: var(--orange-dark);
    background: #ffe4d9;
}

.deal-card-time {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 650;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.deal-card h3 {
    min-height: 3.05em;
    margin: 0 0 11px;
    overflow: hidden;
    color: var(--navy-900);
    font-size: .95rem;
    line-height: 1.52;
    font-weight: 850;
    letter-spacing: -.025em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.deal-card h3 a:hover,
.deal-card h3 a:focus-visible {
    color: var(--orange-dark);
}

.deal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 24px;
    margin-bottom: 11px;
}

.deal-badge {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 7px;
    border-radius: 6px;
    font-size: .61rem;
    font-weight: 850;
}

.deal-badge-hot {
    color: #d63f10;
    background: #fff0eb;
}

.deal-badge-low {
    color: #11634c;
    background: #e8f7f0;
}

.deal-badge-rocket {
    color: #075bbd;
    background: #eaf3ff;
}

.deal-badge-muted {
    color: #687281;
    background: #edf0f3;
}

.deal-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
}

.deal-price-row strong {
    color: #e8420a;
    font-size: 1.22rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.deal-price-row del {
    color: #929aa6;
    font-size: .72rem;
}

.deal-card-link {
    display: flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    background: var(--soft);
    border-radius: 9px;
    font-size: .72rem;
    font-weight: 850;
}

.deal-card-link:hover,
.deal-card-link:focus-visible {
    color: #fff;
    background: var(--orange);
}

.deal-data-note {
    margin: 17px 0 0;
    color: rgba(255, 255, 255, .56);
    font-size: .68rem;
    text-align: center;
}

.content-featured-section {
    padding-top: 58px;
}

/* Deal archive */
.deal-archive-page {
    background: #f6f7f9;
}

.deal-archive-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 22px;
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 100, 43, .2), transparent 28%),
        linear-gradient(145deg, #08182c, #17385f);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.deal-archive-header h1 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -.055em;
}

.deal-archive-header p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: .93rem;
}

.deal-archive-status {
    flex: 0 0 auto;
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding: 14px 17px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
}

.deal-archive-status strong {
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 950;
}

.deal-archive-status span {
    color: rgba(255, 255, 255, .65);
    font-size: .73rem;
}

.deal-archive-categories {
    padding-bottom: 12px;
}

.deal-archive-categories a {
    color: #4c586a;
    border-color: #e2e6eb;
    background: #fff;
}

.deal-archive-categories a:hover,
.deal-archive-categories a:focus-visible,
.deal-archive-categories a.is-active {
    color: #fff;
    border-color: var(--orange);
    background: var(--orange);
}

.deal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.deal-toolbar > span {
    color: var(--muted);
    font-size: .72rem;
}

.deal-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.deal-sort-form label {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 750;
}

.deal-sort-form select {
    min-height: 36px;
    padding: 0 31px 0 10px;
    color: var(--navy-900);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    font-size: .73rem;
    font-weight: 750;
}

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

.deal-empty {
    padding: 70px 20px;
    background: #fff;
    border-radius: 18px;
}

/* Single deal */
.deal-single-page {
    padding: 48px 0 76px;
    background: #f6f7f9;
}

.deal-single-container {
    width: min(calc(100% - 40px), 1080px);
}

.deal-single-header {
    margin-bottom: 22px;
}

.deal-single-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
    color: var(--muted);
    font-size: .69rem;
    font-weight: 700;
}

.deal-single-breadcrumbs .deal-category-pill {
    max-width: none;
}

.deal-single-header h1 {
    max-width: 900px;
    margin: 0 0 10px;
    color: var(--navy-950);
    font-size: clamp(1.8rem, 4vw, 3.25rem);
    line-height: 1.22;
    font-weight: 950;
    letter-spacing: -.055em;
}

.deal-single-updated {
    margin: 0;
    color: var(--muted);
    font-size: .76rem;
}

.deal-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.deal-hero-image {
    display: flex;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    padding: 35px;
    background: linear-gradient(145deg, #fff, #f1f4f7);
}

.deal-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
    border-left: 1px solid var(--line);
}

.deal-hero-content .deal-badges {
    margin-bottom: 15px;
}

.deal-current-price {
    margin-bottom: 10px;
    color: #e8420a;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.065em;
}

.deal-price-compare {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 23px;
    color: var(--muted);
    font-size: .78rem;
}

.deal-price-compare strong {
    color: #d63f10;
}

.deal-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 20px;
}

.deal-summary-grid > div {
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fbfcfd;
}

.deal-summary-grid span,
.deal-summary-grid strong {
    display: block;
}

.deal-summary-grid span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .66rem;
    font-weight: 700;
}

.deal-summary-grid strong {
    color: var(--navy-900);
    font-size: .86rem;
    font-weight: 900;
}

.deal-buy-button {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--orange);
    border-radius: 13px;
    font-size: .94rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(255, 100, 43, .23);
}

.deal-buy-button:hover,
.deal-buy-button:focus-visible {
    color: #fff;
    background: var(--orange-dark);
}

.deal-buy-button.is-disabled {
    color: #7f8997;
    background: #e9edf1;
    box-shadow: none;
}

.deal-buy-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .64rem;
    line-height: 1.55;
    text-align: center;
}

.deal-panel {
    margin-bottom: 22px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.deal-panel-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.deal-panel-heading h2,
.deal-analysis-title h2 {
    margin: 0;
    color: var(--navy-950);
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 950;
    letter-spacing: -.04em;
}

.deal-panel-heading > span {
    color: var(--muted);
    font-size: .68rem;
}

.deal-chart-wrap {
    overflow: hidden;
}

.deal-chart {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.deal-chart-grid {
    fill: none;
    stroke: #e8ebef;
    stroke-width: 1;
}

.deal-chart-line {
    fill: none;
    stroke: var(--orange);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.deal-chart-fill {
    stroke: none;
}

.deal-chart-axis {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 7px;
    color: var(--muted);
    font-size: .66rem;
}

.deal-article {
    margin-top: 22px;
    padding: 36px 38px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.deal-analysis-title {
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.deal-disclosure {
    width: min(100%, 760px);
    margin: 18px auto 0;
    padding: 18px 20px;
    color: #566173;
    border: 1px solid #e4e7ec;
    border-radius: 13px;
    background: #fff;
    font-size: .72rem;
    line-height: 1.7;
}

.deal-disclosure strong {
    display: block;
    margin-bottom: 3px;
    color: var(--navy-900);
}

.deal-disclosure p {
    margin: 0;
}

@media (max-width: 1100px) {
    .deal-grid,
    .deal-grid-archive {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .header-inner {
        gap: 12px;
    }

    .header-deal-link {
        margin-left: auto;
    }

    .primary-navigation {
        margin-left: 0;
    }

    .deal-hero-card {
        grid-template-columns: 1fr;
    }

    .deal-hero-image {
        min-height: 420px;
    }

    .deal-hero-content {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 780px) {
    .deal-grid,
    .deal-grid-archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deal-archive-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px;
    }
}

@media (max-width: 650px) {
    .header-deal-link {
        min-height: 39px;
        padding: 0 11px;
        font-size: .76rem;
    }

    .home-intro-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .deal-home-section {
        padding: 42px 0 48px;
    }

    .deal-grid,
    .deal-grid-archive {
        grid-template-columns: 1fr;
    }

    .deal-grid-home .deal-card {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .deal-grid-home .deal-card-image {
        height: 100%;
        min-height: 196px;
        aspect-ratio: auto;
    }

    .deal-grid-home .deal-score {
        top: 8px;
        right: 8px;
        padding: 0 6px;
        font-size: .56rem;
    }

    .deal-card-body {
        padding: 14px;
    }

    .deal-card h3 {
        min-height: auto;
        font-size: .88rem;
    }

    .deal-card-time {
        display: none;
    }

    .deal-category-pill {
        max-width: 100%;
    }

    .deal-price-row strong {
        font-size: 1.08rem;
    }

    .deal-archive-header {
        padding: 22px;
        border-radius: 18px;
    }

    .deal-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .deal-sort-form {
        justify-content: space-between;
    }

    .deal-sort-form select {
        flex: 1;
    }

    .deal-single-page {
        padding: 30px 0 56px;
    }

    .deal-single-header h1 {
        font-size: 1.78rem;
    }

    .deal-hero-card {
        border-radius: 18px;
    }

    .deal-hero-image {
        min-height: 310px;
        padding: 22px;
    }

    .deal-hero-content {
        padding: 24px 20px;
    }

    .deal-current-price {
        font-size: 2.35rem;
    }

    .deal-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .deal-panel {
        padding: 21px 17px;
        border-radius: 16px;
    }

    .deal-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .deal-chart-axis {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .deal-article {
        padding: 26px 20px;
        border-radius: 16px;
    }
}

@media (max-width: 400px) {
    .header-deal-link span {
        display: none;
    }

    .deal-grid-home .deal-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .deal-grid-home .deal-card-image {
        min-height: 184px;
        padding: 7px;
    }

    .deal-summary-grid {
        grid-template-columns: 1fr;
    }
}

.search-mixed-grid .deal-card {
    align-self: stretch;
}

@media (max-width: 840px) {
    .site-branding {
        order: 1;
    }

    .header-deal-link {
        order: 2;
        margin-left: auto;
    }

    .menu-toggle {
        order: 3;
    }

    .primary-navigation {
        order: 4;
    }
}

/* =========================================================
   PedalLog V7.1 · 정책/서울/식품안전/가격 통합 홈
   ========================================================= */
:root {
    --green: #0b8f67;
    --green-soft: #eaf8f3;
    --blue: #2467d1;
    --blue-soft: #eef5ff;
    --red: #dc3345;
    --red-soft: #fff0f2;
    --amber: #c47a08;
    --amber-soft: #fff8e9;
    --purple: #7257d9;
    --purple-soft: #f3f0ff;
}

.home-intro-v7 {
    padding: 54px 0 42px;
    background:
        radial-gradient(circle at 8% 16%, rgba(255, 100, 43, .15), transparent 26%),
        radial-gradient(circle at 92% 10%, rgba(36, 103, 209, .16), transparent 28%),
        linear-gradient(145deg, #07182c 0%, #102c4c 58%, #153a5c 100%);
}

.home-intro-live {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    gap: 42px;
    align-items: center;
}

.home-intro-v7 .home-kicker,
.home-intro-v7 h1,
.home-intro-v7 p {
    color: #fff;
}

.home-intro-v7 h1 {
    max-width: 770px;
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.065em;
}

.home-intro-v7 .home-intro-copy > p {
    max-width: 760px;
    color: rgba(255, 255, 255, .76);
}

.live-dot {
    width: 9px;
    height: 9px;
    margin-right: 8px;
    display: inline-block;
    border-radius: 999px;
    background: #49efaa;
    box-shadow: 0 0 0 7px rgba(73, 239, 170, .12);
    animation: pedallog-live-pulse 1.8s ease-in-out infinite;
}

@keyframes pedallog-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.84); }
}

.home-intro-v7 .button-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .08);
}

.home-intro-v7 .button-secondary:hover,
.home-intro-v7 .button-secondary:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .15);
}

.live-dashboard {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
    backdrop-filter: blur(16px);
}

.live-dashboard-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, .65);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.live-dashboard-title strong {
    color: #fff;
    font-size: .78rem;
    letter-spacing: 0;
}

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

.live-stat {
    min-height: 102px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 17px;
    background: rgba(5, 20, 38, .3);
}

.live-stat span {
    color: rgba(255, 255, 255, .68);
    font-size: .78rem;
    font-weight: 720;
}

.live-stat strong {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -.05em;
}

.live-stat.is-alert strong {
    color: #ff9ca6;
}

.live-dashboard > p {
    margin: 15px 2px 0;
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    line-height: 1.55;
}

.source-strip-section {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.source-strip {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 740;
    white-space: nowrap;
}

.source-strip::-webkit-scrollbar {
    display: none;
}

.source-strip span:not(.source-strip-label)::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: 2px;
    border-radius: 50%;
    background: #b4bdc9;
}

.source-strip-label {
    color: var(--navy-900);
    font-weight: 900;
}

.urgent-section,
.issue-hub-section,
.issue-latest-section {
    padding: 68px 0;
}

.urgent-section {
    background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.alert-kicker {
    color: var(--red) !important;
}

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

.issue-hub-section {
    background: #f7f9fc;
}

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

.issue-category-card {
    min-height: 188px;
    padding: 23px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(8, 24, 44, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.issue-category-card:hover,
.issue-category-card:focus-visible {
    color: inherit;
    transform: translateY(-4px);
    border-color: rgba(8, 24, 44, .17);
    box-shadow: var(--shadow);
}

.issue-category-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--blue);
    background: var(--blue-soft);
}

.issue-category-icon svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
}

.issue-category-copy strong,
.issue-category-copy small {
    display: block;
}

.issue-category-copy strong {
    margin-bottom: 5px;
    color: var(--navy-900);
    font-size: 1.02rem;
    font-weight: 900;
}

.issue-category-copy small {
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.5;
}

.issue-category-count {
    position: absolute;
    top: 17px;
    right: 17px;
    min-width: 29px;
    height: 29px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--navy-900);
    font-size: .72rem;
    font-weight: 850;
}

.issue-category-food-recall .issue-category-icon,
.issue-category-product-recall .issue-category-icon {
    color: var(--red);
    background: var(--red-soft);
}

.issue-category-seoul .issue-category-icon,
.issue-category-district .issue-category-icon {
    color: var(--green);
    background: var(--green-soft);
}

.issue-category-policy .issue-category-icon {
    color: var(--purple);
    background: var(--purple-soft);
}

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

.issue-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.issue-card:hover {
    transform: translateY(-4px);
    border-color: #d5dbe4;
    box-shadow: var(--shadow);
}

.issue-card.is-urgent {
    border-color: rgba(220, 51, 69, .28);
    box-shadow: 0 12px 40px rgba(220, 51, 69, .08);
}

.issue-card.is-closed {
    opacity: .72;
}

.issue-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef1f5;
}

.issue-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

.issue-card:hover .issue-card-image img {
    transform: scale(1.035);
}

.issue-card-body {
    flex: 1;
    padding: 19px;
    display: flex;
    flex-direction: column;
}

.issue-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.issue-category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: .69rem;
    font-weight: 850;
}

.issue-category-pill:hover,
.issue-category-pill:focus-visible {
    color: var(--blue);
    background: #e1edff;
}

.issue-status {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 8px;
    border-radius: 8px;
    color: var(--green);
    background: var(--green-soft);
    font-size: .66rem;
    font-weight: 850;
}

.issue-status-urgent {
    color: var(--red);
    background: var(--red-soft);
}

.issue-status-updated {
    color: var(--amber);
    background: var(--amber-soft);
}

.issue-status-closed {
    color: #687587;
    background: #edf0f4;
}

.issue-card h3 {
    margin: 0;
    color: var(--navy-950);
    font-size: 1.07rem;
    line-height: 1.48;
    letter-spacing: -.035em;
}

.issue-card h3 a:hover {
    color: var(--orange-dark);
}

.issue-card-body > p {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.65;
}

.issue-card-period {
    margin-top: 15px;
    padding: 10px 12px;
    display: grid;
    gap: 2px;
    border-radius: 12px;
    background: #f6f8fb;
}

.issue-card-period span {
    color: var(--muted);
    font-size: .66rem;
    font-weight: 780;
}

.issue-card-period strong {
    color: var(--navy-900);
    font-size: .76rem;
    line-height: 1.45;
}

.issue-card-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    color: #7d8795;
    font-size: .67rem;
    line-height: 1.4;
}

.issue-card-footer strong {
    margin-left: auto;
    color: var(--red);
}

.issue-card-compact {
    min-height: 225px;
}

.issue-card-compact .issue-card-body {
    padding: 22px;
}

.issue-card-compact h3 {
    font-size: 1.18rem;
}

.issue-card-compact .issue-card-footer {
    border-top: 1px solid #f0e4e6;
}

.issue-archive-page,
.issue-single-page {
    padding: 54px 0 90px;
    background: #f7f9fc;
}

.issue-archive-header {
    padding: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #08182c, #173d64);
    box-shadow: var(--shadow);
}

.issue-archive-header h1 {
    margin: 7px 0 8px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -.06em;
}

.issue-archive-header p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
}

.issue-archive-status {
    min-width: 120px;
    padding: 16px 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
}

.issue-archive-status strong,
.issue-archive-status span {
    display: block;
}

.issue-archive-status strong {
    font-size: 2.2rem;
    line-height: 1;
}

.issue-archive-status span {
    margin-top: 6px;
    color: rgba(255, 255, 255, .65);
    font-size: .72rem;
}

.issue-category-strip {
    margin: 22px 0 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.issue-category-strip::-webkit-scrollbar {
    display: none;
}

.issue-category-strip a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #516073;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.issue-category-strip a:hover,
.issue-category-strip a.is-active {
    color: #fff;
    border-color: var(--navy-900);
    background: var(--navy-900);
}

.issue-toolbar {
    margin-bottom: 20px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted);
    background: #fff;
    font-size: .76rem;
}

.issue-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.issue-sort-form label {
    font-weight: 800;
}

.issue-sort-form select {
    min-height: 38px;
    padding: 0 34px 0 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--text);
    background: #fff;
}

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

.issue-single-container {
    width: min(calc(100% - 40px), 1060px);
    margin-inline: auto;
}

.issue-single-header {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.issue-single-breadcrumbs {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: .76rem;
}

.issue-single-labels {
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.issue-score-label {
    display: inline-flex;
    min-height: 25px;
    padding: 0 9px;
    align-items: center;
    border-radius: 8px;
    color: var(--purple);
    background: var(--purple-soft);
    font-size: .66rem;
    font-weight: 850;
}

.issue-single-header h1 {
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.12;
    letter-spacing: -.065em;
}

.issue-single-summary {
    max-width: 780px;
    margin: 20px auto 0;
    color: #56647a;
    font-size: 1.08rem;
    line-height: 1.72;
}

.issue-single-meta {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 18px;
    color: #7d8795;
    font-size: .74rem;
}

.issue-featured-image {
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
    background: #e9edf2;
}

.issue-featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.issue-update-note {
    width: min(100%, 900px);
    margin: 0 auto 24px;
    padding: 18px 20px;
    border-left: 4px solid var(--amber);
    border-radius: 0 14px 14px 0;
    background: var(--amber-soft);
}

.issue-update-note strong {
    color: #8e5904;
}

.issue-update-note p {
    margin: 5px 0 0;
    color: #6e5c3a;
    font-size: .88rem;
}

.issue-facts-panel {
    width: min(100%, 900px);
    margin: 0 auto 34px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.issue-panel-heading h2 {
    margin: 4px 0 19px;
    color: var(--navy-950);
    font-size: 1.55rem;
    letter-spacing: -.045em;
}

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

.issue-facts-grid > div {
    min-height: 92px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 14px;
    background: #f6f8fb;
}

.issue-facts-grid span,
.issue-facts-grid strong {
    display: block;
}

.issue-facts-grid span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 780;
}

.issue-facts-grid strong {
    color: var(--navy-900);
    font-size: .91rem;
    line-height: 1.5;
}

.issue-article {
    padding: 34px 0;
}

.issue-source-panel {
    width: min(100%, 900px);
    margin: 15px auto 0;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
}

.issue-source-panel strong {
    color: var(--navy-900);
}

.issue-source-panel p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.55;
}

.issue-source-panel a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--navy-900);
    font-size: .76rem;
    font-weight: 850;
}

.issue-source-panel a:hover,
.issue-source-panel a:focus-visible {
    color: #fff;
    background: var(--orange-dark);
}

@media (max-width: 1080px) {
    .home-intro-live {
        grid-template-columns: 1fr;
    }

    .live-dashboard {
        max-width: 760px;
    }

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

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

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

@media (max-width: 720px) {
    .home-intro-v7 {
        padding: 38px 0 32px;
    }

    .home-intro-v7 h1 {
        font-size: clamp(2.1rem, 12vw, 3.35rem);
    }

    .live-stat {
        min-height: 89px;
        padding: 13px;
    }

    .live-stat strong {
        font-size: 1.65rem;
    }

    .source-strip {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .urgent-section,
    .issue-hub-section,
    .issue-latest-section {
        padding: 48px 0;
    }

    .issue-category-grid,
    .issue-grid,
    .urgent-grid,
    .issue-grid-archive {
        grid-template-columns: 1fr;
    }

    .issue-category-card {
        min-height: 145px;
    }

    .issue-archive-header {
        padding: 25px 21px;
        align-items: flex-start;
        flex-direction: column;
    }

    .issue-archive-status {
        min-width: 100px;
    }

    .issue-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .issue-sort-form {
        justify-content: space-between;
    }

    .issue-sort-form select {
        flex: 1;
    }

    .issue-single-container {
        width: min(calc(100% - 28px), 1060px);
    }

    .issue-single-header {
        text-align: left;
    }

    .issue-single-breadcrumbs,
    .issue-single-labels,
    .issue-single-meta {
        justify-content: flex-start;
    }

    .issue-single-header h1 {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .issue-facts-panel {
        padding: 20px;
    }

    .issue-facts-grid {
        grid-template-columns: 1fr;
    }

    .issue-source-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .issue-source-panel a {
        justify-content: center;
    }
}

/* =========================================================
   PedalLog V7.1 · 겹침 없는 홈 히어로 / 4개 공식 이슈 수집원
   ========================================================= */
.home-intro-v71 {
    padding: 64px 0 58px;
}

.home-intro-solo {
    width: 100%;
    max-width: 1040px;
}

.home-intro-v71 .home-intro-copy {
    width: 100%;
    max-width: 980px;
}

.home-intro-v71 h1 {
    max-width: 980px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: balance;
}

.home-intro-v71 .home-intro-copy > p {
    max-width: 820px;
}

.home-status-section {
    padding: 30px 0 34px;
    border-bottom: 1px solid var(--line);
    background: #f5f7fb;
}

.home-status-heading {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.home-status-heading strong {
    color: var(--navy-900);
    font-size: .9rem;
    font-weight: 900;
}

.home-status-heading span {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
}

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

.home-status-card {
    min-width: 0;
    min-height: 142px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(8, 24, 44, .09);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.home-status-card > span {
    color: var(--navy-800);
    font-size: .82rem;
    font-weight: 850;
}

.home-status-card > strong {
    margin: 8px 0;
    color: var(--navy-900);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.home-status-card > small {
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.5;
}

.home-status-card.is-alert {
    border-color: rgba(220, 51, 69, .16);
    background: linear-gradient(145deg, #fff 0%, #fff5f6 100%);
}

.home-status-card.is-alert > strong {
    color: var(--red);
}

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

@media (max-width: 980px) {
    .home-status-grid,
    .issue-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-intro-v71 {
        padding: 42px 0 38px;
    }

    .home-intro-v71 h1 {
        font-size: clamp(2.05rem, 11vw, 3.2rem);
        line-height: 1.08;
        letter-spacing: -.055em;
    }

    .home-status-section {
        padding: 24px 0 28px;
    }

    .home-status-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .home-status-grid,
    .issue-category-grid {
        grid-template-columns: 1fr;
    }

    .home-status-card {
        min-height: 118px;
        padding: 17px;
    }

    .home-status-card > strong {
        font-size: 2.1rem;
    }
}


/* =========================================================
   PedalLog V7.1.4: 홈 최저가 후보 다중 카드 정렬
   - 최신 상품 최대 5개
   - 1~5개 모두 중앙 정렬
   - 데스크톱 3열, 태블릿 2열, 모바일 1열
   ========================================================= */
.deal-home-count {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .09);
    font-size: .73rem;
    font-weight: 850;
    white-space: nowrap;
}

.deal-grid-home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.deal-grid-home .deal-card {
    flex: 0 1 calc((100% - 36px) / 3);
    width: auto;
    min-width: 0;
    max-width: 375px;
}

@media (max-width: 1100px) {
    .deal-grid-home .deal-card {
        flex-basis: calc((100% - 18px) / 2);
        max-width: 460px;
    }
}

@media (max-width: 650px) {
    .deal-grid-home {
        display: flex;
        gap: 14px;
    }

    .deal-grid-home .deal-card {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
}


/* ==========================================================
   PedalLog V7.1.4: archive sorting navigation fix
   ========================================================== */

.deal-sort-form,
.issue-sort-form {
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .deal-sort-form,
    .issue-sort-form {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        width: 100%;
        gap: 8px;
    }

    .deal-sort-form select,
    .issue-sort-form select {
        width: 100%;
        min-width: 0;
    }

}


/* ========================================================================
   PedalLog V8.0.2 Living Information Portal
   ======================================================================== */
:root {
    --portal-blue: #1769e0;
    --portal-blue-soft: #eaf2ff;
    --portal-green: #14805e;
    --portal-green-soft: #e8f7f1;
    --portal-red: #d92d3a;
    --portal-red-soft: #fff0f1;
    --portal-orange: #f06424;
    --portal-yellow: #f6b51b;
    --portal-ink: #101f35;
    --portal-surface: #f3f6fa;
    --portal-border: #dfe6ef;
    --container: 1240px;
    --header-height: 74px;
}
body { background:#fff; color:#17243a; }
.site-main { min-height:60vh; }
.portal-header { position:sticky; top:0; background:#fff; box-shadow:0 1px 0 rgba(16,31,53,.08); backdrop-filter:none; }
.portal-utility-bar { background:var(--navy-950); color:#dbe6f5; font-size:.74rem; line-height:1.4; }
.portal-utility-inner { min-height:34px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.portal-utility-links { display:flex; gap:18px; }
.portal-utility-links a { color:#fff; font-weight:750; }
.portal-header-main { min-height:82px; }
.portal-branding { min-width:255px; }
.portal-wordmark { display:flex; align-items:center; gap:11px; }
.portal-wordmark-mark { display:grid; place-items:center; width:42px; height:42px; color:#fff; background:linear-gradient(145deg,var(--navy-900),var(--portal-blue)); border-radius:13px; font-size:1.3rem; font-weight:950; box-shadow:0 8px 22px rgba(23,105,224,.2); }
.portal-wordmark > span:last-child { display:flex; flex-direction:column; }
.portal-wordmark strong { color:var(--navy-900); font-size:1.42rem; line-height:1; letter-spacing:-.055em; }
.portal-wordmark small { margin-top:6px; color:#758196; font-size:.66rem; font-weight:700; letter-spacing:-.02em; }
.portal-header-search { width:min(100%,500px); height:46px; display:flex; border:1px solid #d9e1ec; border-radius:14px; overflow:hidden; background:#f8fafc; transition:.2s ease; }
.portal-header-search:focus-within { border-color:var(--portal-blue); box-shadow:0 0 0 3px rgba(23,105,224,.09); background:#fff; }
.portal-header-search input { flex:1; min-width:0; border:0; outline:0; padding:0 16px; background:transparent; color:#18263b; font-size:.88rem; }
.portal-header-search button { width:48px; border:0; background:transparent; color:var(--navy-800); }
.portal-header-search svg { width:20px; }
.portal-nav-row { border-top:1px solid #edf0f5; background:#fff; }
.portal-nav-inner { min-height:52px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.portal-nav-inner .primary-navigation { margin:0; }
.portal-menu > li > a { min-height:50px; padding:0 15px; color:#26344a; font-size:.88rem; border-radius:0; }
.portal-menu > li > a:hover { color:var(--portal-blue); background:#f5f8fc; }
.portal-menu .menu-food { color:var(--portal-red); }
.portal-menu .menu-deal { color:var(--portal-orange); }
.portal-emergency-link { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; color:var(--portal-red); border:1px solid #ffd4d7; border-radius:10px; background:#fff7f7; font-size:.78rem; font-weight:850; white-space:nowrap; }
.portal-emergency-link span { display:grid; place-items:center; width:19px; height:19px; border-radius:50%; color:#fff; background:var(--portal-red); }

.portal-hero { position:relative; overflow:hidden; padding:58px 0; background:linear-gradient(125deg,#f8fbff 0%,#eff5ff 53%,#fff7f0 100%); border-bottom:1px solid #e4eaf2; }
.portal-hero::before { content:""; position:absolute; width:520px; height:520px; right:-160px; top:-260px; border-radius:50%; background:radial-gradient(circle,rgba(23,105,224,.13),rgba(23,105,224,0) 70%); }
.portal-hero-grid { position:relative; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(380px,.8fr); align-items:center; gap:60px; }
.portal-eyebrow { display:inline-flex; align-items:center; gap:10px; color:var(--portal-blue); font-size:.72rem; font-weight:950; letter-spacing:.13em; }
.portal-eyebrow i { width:8px; height:8px; border-radius:50%; background:var(--portal-orange); box-shadow:0 0 0 5px rgba(240,100,36,.12); }
.portal-hero h1 { max-width:760px; margin:15px 0 18px; color:var(--portal-ink); font-size:clamp(2.45rem,4.4vw,4.25rem); line-height:1.13; letter-spacing:-.065em; }
.portal-hero-copy > p { max-width:720px; margin:0; color:#58677d; font-size:1.07rem; line-height:1.75; }
.portal-hero-actions { display:flex; gap:10px; margin-top:28px; }
.portal-button { display:inline-flex; min-height:48px; align-items:center; justify-content:center; padding:0 20px; border-radius:12px; font-size:.86rem; font-weight:900; }
.portal-button.primary { color:#fff; background:var(--navy-900); box-shadow:0 10px 25px rgba(16,36,62,.18); }
.portal-button.secondary { color:var(--navy-900); border:1px solid #ced8e6; background:#fff; }
.portal-trust-row { display:flex; flex-wrap:wrap; gap:18px; margin-top:24px; color:#748095; font-size:.72rem; font-weight:700; }
.portal-trust-row span::before { content:"✓"; margin-right:6px; color:var(--portal-green); }
.portal-hero-panel { padding:22px; border:1px solid rgba(255,255,255,.86); border-radius:24px; background:rgba(255,255,255,.82); box-shadow:0 20px 60px rgba(22,48,82,.12); backdrop-filter:blur(12px); }
.portal-hero-panel-head { display:flex; justify-content:space-between; align-items:center; padding:0 2px 14px; color:#647289; font-size:.72rem; }
.portal-hero-panel-head strong { color:var(--portal-ink); font-size:.92rem; }
.portal-stat-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.portal-stat-grid a { min-height:118px; display:flex; flex-direction:column; justify-content:center; padding:16px; border:1px solid #e3e9f1; border-radius:15px; background:#fff; }
.portal-stat-grid a:hover { transform:translateY(-2px); border-color:#bcd0ef; box-shadow:0 10px 26px rgba(19,52,92,.08); }
.portal-stat-grid span { color:#6b778a; font-size:.72rem; font-weight:800; }
.portal-stat-grid strong { margin:5px 0 2px; color:var(--navy-900); font-size:1.58rem; line-height:1; }
.portal-stat-grid small { color:#8993a3; font-size:.66rem; }
.portal-stat-grid .food strong { color:var(--portal-red); }

.portal-quick-nav { position:relative; z-index:2; margin-top:-1px; padding:20px 0; border-bottom:1px solid #e8edf4; background:#fff; }
.portal-quick-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.portal-quick-card { min-height:92px; display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:11px; padding:14px; border:1px solid #e1e7ef; border-radius:15px; background:#fff; transition:.2s ease; }
.portal-quick-card:hover { transform:translateY(-3px); color:inherit; box-shadow:0 12px 30px rgba(18,42,72,.1); }
.portal-quick-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:#eef3fb; color:var(--navy-800); font-weight:950; }
.portal-quick-icon svg { width:22px; stroke:currentColor; }
.portal-quick-card strong, .portal-quick-card small { display:block; }
.portal-quick-card strong { color:#1b2a40; font-size:.82rem; }
.portal-quick-card small { margin-top:4px; color:#7b8797; font-size:.63rem; line-height:1.35; }
.portal-quick-card b { color:#a2adbb; }
.portal-quick-card.is-policy:hover { border-color:#9bc1ff; }
.portal-quick-card.is-seoul:hover,.portal-quick-card.is-district:hover { border-color:#9fd6c5; }
.portal-quick-card.is-food-recall:hover { border-color:#ffb3b9; }
.portal-quick-card.is-food-recall .portal-quick-icon { color:var(--portal-red); background:var(--portal-red-soft); }
.portal-quick-card.is-deal .portal-quick-icon { color:var(--portal-orange); background:#fff1e9; }
.portal-quick-card.is-bicycle .portal-quick-icon { color:#fff; background:var(--navy-900); }

.portal-section { padding:72px 0; }
.portal-section:nth-of-type(even) { background:#f7f9fc; }
.portal-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:27px; }
.portal-section-head h2 { margin:6px 0 7px; color:var(--portal-ink); font-size:clamp(1.75rem,2.7vw,2.5rem); line-height:1.2; letter-spacing:-.05em; }
.portal-section-head p { margin:0; color:#6c788b; font-size:.88rem; }
.portal-section-head > a { color:#3d526e; font-size:.78rem; font-weight:850; white-space:nowrap; }
.portal-section-label { display:inline-flex; font-size:.68rem; font-weight:950; letter-spacing:.12em; }
.portal-section-label.red { color:var(--portal-red); }
.portal-section-label.blue { color:var(--portal-blue); }
.portal-section-label.green { color:var(--portal-green); }
.portal-section-label.orange { color:var(--portal-orange); }
.portal-section-label.navy { color:#8bb5ff; }
.portal-important-section { background:#fff; }
.portal-important-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }

.portal-issue-grid { display:grid; gap:16px; }
.portal-issue-grid.four-cols { grid-template-columns:repeat(4,minmax(0,1fr)); }
.issue-card { --issue-accent:var(--portal-blue); position:relative; overflow:hidden; border:1px solid #e1e7ef; border-radius:18px; background:#fff; box-shadow:0 5px 20px rgba(15,37,67,.045); transition:.2s ease; }
.issue-card::before { content:""; position:absolute; top:0; left:0; width:100%; height:4px; background:var(--issue-accent); }
.issue-card:hover { transform:translateY(-4px); border-color:#cad7e8; box-shadow:0 16px 38px rgba(15,37,67,.1); }
.issue-kind-policy { --issue-accent:var(--portal-blue); }
.issue-kind-seoul,.issue-kind-district { --issue-accent:var(--portal-green); }
.issue-kind-food-recall { --issue-accent:var(--portal-red); }
.issue-card-body { padding:21px; }
.issue-card h3 { margin:13px 0 9px; color:#15243a; font-size:1.02rem; line-height:1.48; letter-spacing:-.035em; }
.issue-card > .issue-card-body > p { margin:0 0 14px; color:#6d788a; font-size:.79rem; line-height:1.62; }
.issue-category-pill { color:var(--issue-accent); background:color-mix(in srgb,var(--issue-accent) 9%,white); border-color:color-mix(in srgb,var(--issue-accent) 20%,white); }
.issue-card-facts { display:grid; gap:6px; margin:14px 0; padding:11px 12px; border-radius:11px; background:#f7f9fc; }
.issue-card-facts div { display:grid; grid-template-columns:68px minmax(0,1fr); gap:7px; font-size:.7rem; line-height:1.45; }
.issue-card-facts dt { color:#8a94a3; font-weight:800; }
.issue-card-facts dd { margin:0; color:#40506a; font-weight:750; }
.issue-card-footer { border-top:1px solid #edf0f4; padding-top:12px; font-size:.66rem; }
.issue-card-compact { min-height:184px; }
.issue-card-compact .issue-card-body { height:100%; display:flex; flex-direction:column; }
.issue-card-compact .issue-card-footer { margin-top:auto; }
.issue-card.is-urgent { background:linear-gradient(155deg,#fff,#fff8f8); border-color:#ffd2d5; }
.issue-card.is-urgent::before { background:var(--portal-red); }

.food-alert-section { background:#fff7f7 !important; }
.food-alert-shell { overflow:hidden; border:1px solid #ffcdd1; border-radius:24px; background:#fff; box-shadow:0 18px 45px rgba(145,31,41,.08); }
.food-alert-head { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:25px 28px; border-bottom:1px solid #ffe1e3; background:linear-gradient(110deg,#fff5f5,#fff); }
.food-alert-head > div:first-child { display:flex; align-items:center; gap:16px; }
.food-alert-symbol { width:48px; height:48px; display:grid; place-items:center; flex:0 0 auto; color:#fff; border-radius:15px; background:var(--portal-red); font-size:1.5rem; font-weight:950; box-shadow:0 10px 22px rgba(217,45,58,.22); }
.food-alert-head h2 { margin:4px 0 4px; color:#7e1821; font-size:1.75rem; letter-spacing:-.045em; }
.food-alert-head p { margin:0; color:#8c5960; font-size:.79rem; }
.food-sync-state { min-width:155px; padding:11px 14px; border-radius:12px; text-align:right; }
.food-sync-state span,.food-sync-state strong { display:block; }
.food-sync-state span { font-size:.67rem; font-weight:850; }
.food-sync-state strong { margin-top:3px; font-size:.75rem; }
.food-sync-state.is-fresh { color:#187057; background:#eaf8f3; }
.food-sync-state.is-waiting { color:#a45b05; background:#fff4df; }
.food-alert-list article { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:22px; align-items:center; padding:20px 28px; border-bottom:1px solid #f1e4e5; }
.food-alert-list h3 { margin:5px 0; color:#302024; font-size:1rem; }
.food-alert-list p { margin:0; color:#7b686c; font-size:.76rem; }
.food-alert-badge { color:var(--portal-red); font-size:.65rem; font-weight:900; }
.food-alert-meta { min-width:190px; display:flex; flex-direction:column; align-items:flex-end; gap:3px; color:#85757a; font-size:.66rem; }
.food-alert-meta strong { color:#4a3d41; }
.food-alert-meta a { margin-top:5px; color:var(--portal-red); font-weight:850; }
.food-alert-more { display:flex; min-height:48px; align-items:center; justify-content:center; color:var(--portal-red); background:#fff8f8; font-size:.75rem; font-weight:900; }

.local-section { background:#eef8f4 !important; }
.district-filter-home { display:flex; align-items:center; gap:10px; margin:-8px 0 24px; padding:12px 14px; border:1px solid #cfe8de; border-radius:14px; background:#fff; }
.district-filter-home label { color:#315d50; font-size:.76rem; font-weight:850; }
.district-filter-home select { min-width:180px; height:38px; border:1px solid #d4e5df; border-radius:9px; padding:0 10px; background:#fff; }
.district-filter-home button { height:38px; padding:0 15px; border:0; border-radius:9px; color:#fff; background:var(--portal-green); font-size:.74rem; font-weight:850; }
.local-content-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:18px; }
.local-content-grid > div { padding:22px; border:1px solid #dcebe5; border-radius:20px; background:#fff; }
.local-content-grid h3 { margin:0 0 15px; color:#193c33; font-size:1rem; }
.local-content-grid h3 span { color:var(--portal-green); }
.local-feature-list { display:grid; gap:11px; }
.local-small-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.local-content-grid .issue-card { min-height:174px; box-shadow:none; }

.deal-portal-section { background:#fff9f3 !important; }
.deal-grid-home { grid-template-columns:repeat(5,minmax(0,1fr)); }
.deal-card { border-color:#eadfd5; border-radius:18px; box-shadow:0 5px 18px rgba(88,55,27,.055); }
.deal-card:hover { transform:translateY(-4px); box-shadow:0 16px 34px rgba(93,55,24,.12); }
.deal-card-body { padding:16px; }
.deal-card h3 { font-size:.86rem; line-height:1.45; }
.deal-price-row strong { color:var(--portal-orange); }

.bicycle-portal-section { color:#fff; background:linear-gradient(135deg,#0a1b31,#173b61) !important; }
.portal-section-head.light h2 { color:#fff; }
.portal-section-head.light p { color:#b9c7d9; }
.portal-section-head.light > a { color:#fff; }
.bicycle-category-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:-5px 0 24px; }
.bicycle-category-tabs a { padding:8px 12px; border:1px solid rgba(255,255,255,.18); border-radius:10px; color:#d9e8f8; background:rgba(255,255,255,.05); font-size:.7rem; font-weight:800; }
.bicycle-category-tabs a:hover { color:#fff; background:rgba(255,255,255,.13); }
.bicycle-editorial-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr); align-items:start; gap:18px; }
.bicycle-feature { overflow:hidden; display:flex; min-width:0; flex-direction:column; border:1px solid rgba(255,255,255,.13); border-radius:22px; background:rgba(255,255,255,.07); }
.bicycle-feature-image { display:flex; width:100%; aspect-ratio:16/10; min-height:0; align-items:center; justify-content:center; overflow:hidden; padding:10px; background:#112a47; }
.bicycle-feature-image img,.bicycle-feature-image .featured-placeholder { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.bicycle-feature-image .featured-placeholder img { object-fit:contain; }
.bicycle-feature > div { display:flex; flex-direction:column; justify-content:center; padding:26px 30px 30px; }
.bicycle-feature h3 { margin:14px 0 12px; color:#fff; font-size:1.65rem; line-height:1.35; letter-spacing:-.045em; }
.bicycle-feature p { color:#c0cddd; font-size:.82rem; }
.bicycle-read-more { margin-top:15px; color:#ffad83; font-size:.77rem; font-weight:900; }
.bicycle-story-list { display:grid; gap:10px; }
.bicycle-story-list .compact-card { min-height:0; padding:12px; border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.065); }
.bicycle-story-list .compact-card h3,.bicycle-story-list .compact-card a { color:#fff; }
.bicycle-story-list .compact-card p,.bicycle-story-list .compact-card .post-meta { color:#b6c4d5; }

.portal-archive-page { padding:54px 0 75px; background:#f5f7fa; }
.portal-archive-header { display:flex; justify-content:space-between; align-items:end; gap:30px; padding:28px; border:1px solid #dfe6ee; border-radius:22px; background:#fff; }
.portal-archive-header h1 { margin:7px 0; color:var(--portal-ink); font-size:2.35rem; letter-spacing:-.055em; }
.portal-archive-header p { margin:0; color:#6b7789; font-size:.84rem; }
.portal-category-strip { margin:20px 0 12px; padding:8px; border:1px solid #e1e6ed; border-radius:14px; background:#fff; }
.portal-category-strip a { border-radius:9px; }
.portal-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; padding:11px 13px; border:1px solid #e3e8ee; border-radius:12px; background:#fff; }
.portal-toolbar-actions { display:flex; gap:8px; }
.district-filter-archive { display:flex; align-items:center; gap:7px; }
.district-filter-archive label { font-size:.7rem; font-weight:800; }
.district-filter-archive select { min-height:38px; border:1px solid #d8e0ea; border-radius:8px; background:#fff; }
.portal-issue-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.portal-empty { padding:36px; border:1px dashed #cbd5e1; border-radius:17px; color:#6b7789; background:#fff; text-align:center; }
.portal-empty h2 { margin:0 0 6px; color:#24364f; }

.issue-single-page { background:#f6f8fb; }
.issue-single-container { padding-top:42px; padding-bottom:68px; }
.issue-single-header,.issue-facts-panel,.issue-source-panel { border-color:#dfe6ef; box-shadow:0 8px 30px rgba(16,31,53,.05); }
.issue-facts-panel { border-top:4px solid var(--portal-blue); }
.deal-single-page { background:#fff9f3; }
.portal-footer { color:#c6d0dd; background:#09182a; }
.portal-footer-grid { display:grid; grid-template-columns:1.45fr .65fr .8fr; gap:55px; padding:48px 0 36px; }
.portal-footer h2 { margin:0 0 12px; color:#fff; font-size:.8rem; }
.portal-footer-brand strong { color:#fff; font-size:1.4rem; }
.portal-footer-brand p { max-width:520px; margin:10px 0; color:#c3cedc; font-size:.8rem; }
.portal-footer-brand small { color:#7f91a7; font-size:.68rem; }
.portal-footer-links,.portal-footer-policy { display:flex; flex-direction:column; align-items:flex-start; gap:7px; font-size:.72rem; }
.portal-footer-policy ul { display:flex; flex-direction:column; gap:7px; list-style:none; margin:0; padding:0; }
.portal-footer-bottom { min-height:58px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid rgba(255,255,255,.09); color:#7f91a7; font-size:.68rem; }

@media (max-width:1100px) {
    .portal-header-search { width:390px; }
    .portal-quick-grid { grid-template-columns:repeat(3,1fr); }
    .portal-issue-grid.four-cols { grid-template-columns:repeat(2,1fr); }
    .deal-grid-home { grid-template-columns:repeat(3,1fr); }
    .portal-issue-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px) {
    body.admin-bar .site-header { top:46px; }
    .portal-utility-bar { display:none; }
    .portal-header-main { min-height:68px; }
    .portal-header-search { display:none; }
    .menu-toggle { display:block; margin-left:auto; }
    .portal-nav-row { border-top:0; }
    .portal-nav-inner { display:block; min-height:0; }
    .portal-nav-inner .primary-navigation { display:none; padding:9px 0 14px; }
    .portal-nav-inner .primary-navigation.is-open { display:block; }
    .portal-menu { display:block !important; }
    .portal-menu > li > a { width:100%; min-height:44px; justify-content:flex-start; border-radius:9px; }
    .portal-emergency-link { display:none; }
    .portal-hero-grid { grid-template-columns:1fr; gap:30px; }
    .portal-hero-panel { max-width:600px; }
    .portal-important-grid { grid-template-columns:1fr; }
    .food-alert-head { align-items:flex-start; }
    .local-content-grid { grid-template-columns:1fr; }
    .bicycle-editorial-grid { grid-template-columns:1fr; }
    .portal-footer-grid { grid-template-columns:1fr 1fr; }
    .portal-footer-brand { grid-column:1/-1; }
}
@media (max-width:640px) {
    .container { width:min(calc(100% - 28px),var(--container)); }
    .portal-wordmark small { display:none; }
    .portal-wordmark-mark { width:38px; height:38px; }
    .portal-hero { padding:42px 0; }
    .portal-hero h1 { font-size:2.32rem; }
    .portal-hero-copy > p { font-size:.93rem; }
    .portal-hero-actions { flex-direction:column; }
    .portal-button { width:100%; }
    .portal-stat-grid { grid-template-columns:1fr 1fr; }
    .portal-stat-grid a { min-height:104px; padding:13px; }
    .portal-quick-grid { grid-template-columns:1fr 1fr; }
    .portal-quick-card { min-height:82px; grid-template-columns:36px minmax(0,1fr); padding:11px; }
    .portal-quick-card b { display:none; }
    .portal-quick-icon { width:35px; height:35px; }
    .portal-section { padding:52px 0; }
    .portal-section-head { align-items:flex-start; flex-direction:column; gap:12px; }
    .portal-section-head h2 { font-size:1.78rem; }
    .portal-issue-grid.four-cols,.portal-issue-grid,.deal-grid-home { grid-template-columns:1fr; }
    .food-alert-head { flex-direction:column; padding:20px; }
    .food-sync-state { width:100%; text-align:left; }
    .food-alert-list article { grid-template-columns:1fr; padding:18px 20px; }
    .food-alert-meta { align-items:flex-start; }
    .district-filter-home { align-items:stretch; flex-direction:column; }
    .district-filter-home select,.district-filter-home button { width:100%; }
    .local-small-grid { grid-template-columns:1fr; }
    .bicycle-feature-image { aspect-ratio:16/10; min-height:0; padding:7px; }
    .bicycle-feature > div { padding:22px; }
    .portal-archive-header { align-items:flex-start; flex-direction:column; padding:22px; }
    .portal-toolbar { align-items:flex-start; flex-direction:column; }
    .portal-toolbar-actions { width:100%; flex-direction:column; }
    .district-filter-archive,.issue-sort-form { justify-content:space-between; width:100%; }
    .portal-footer-grid { grid-template-columns:1fr; gap:30px; }
    .portal-footer-brand { grid-column:auto; }
    .portal-footer-bottom { align-items:flex-start; flex-direction:column; justify-content:center; gap:3px; }
}


/* V8.0.1 legacy widget cleanup */
.ad-zone:empty,
.ad-zone .ad-widget:empty {
    display: none !important;
}

.ad-zone .widget_archive,
.ad-zone .widget_categories,
.ad-zone .widget_recent_entries,
.ad-zone .widget_recent_comments,
.ad-zone .wp-block-archives,
.ad-zone .wp-block-categories,
.ad-zone .wp-block-latest-posts,
.ad-zone .wp-block-latest-comments,
.widget_recent_comments,
.wp-block-latest-comments {
    display: none !important;
}

.portal-footer + .widget-area,
.site-main + .widget-area,
#secondary,
.sidebar,
.comments-area,
.comment-respond,
.navigation.comment-navigation {
    display: none !important;
}


/* V8.0.2: 자전거 메뉴는 단일 링크만 사용 */
.portal-bicycle-menu > .sub-menu {
    display: none !important;
}
