/* =========================================================
   Official Blog / Article Pages
   Toss-like editorial layout
========================================================= */

.official-blog-page,
.article-detail-page {
    background: #fff;
    color: var(--sp-text, #111827);
}

.official-blog-shell {
    max-width: 960px;
}

.official-blog-hero {
    padding: 54px 0 30px;
}

.official-blog-hero--compact {
    padding-top: 44px;
}

.official-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0;
    padding: 6px 11px;
    border-radius: var(--sp-radius-pill, 999px);
    background: var(--sp-brand-soft, #fff3e8);
    color: var(--sp-brand-dark, #ea580c);
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
}

.official-blog-title {
    max-width: 760px;
    margin: 16px 0 10px;
    color: var(--sp-text, #111827);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: -0.055em;
}

.official-blog-desc {
    max-width: 680px;
    margin: 0;
    color: var(--sp-muted, #6b7280);
    font-size: 16px;
    font-weight: 450;
    line-height: 1.75;
    letter-spacing: -0.01em;
}

.official-article-feed {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--sp-divider-soft, #f1f3f5);
}

.official-article-feed--related {
    border-top: 0;
}

.official-article-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 184px;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--sp-divider-soft, #f1f3f5);
    background: #fff;
    text-decoration: none;
    transition: background-color 0.16s ease;
}

.official-article-card:hover {
    background: #fafafa;
}

.official-article-thumb {
    order: 2;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: #f3f4f6;
}

.official-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.22s ease;
}

.official-article-card:hover .official-article-thumb img {
    transform: scale(1.025);
}

.official-article-body {
    order: 1;
    min-width: 0;
}

.official-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--sp-muted, #6b7280);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.official-article-category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 25px;
    padding: 5px 10px;
    border-radius: var(--sp-radius-pill, 999px);
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
}

.official-article-category:hover {
    background: #eceff3;
    color: var(--sp-text, #111827);
}

.official-article-title {
    max-width: 650px;
    margin: 0 0 10px;
    color: var(--sp-text, #111827);
    font-size: clamp(20px, 2.1vw, 25px);
    font-weight: 820;
    line-height: 1.38;
    letter-spacing: -0.04em;
}

.official-article-title a {
    color: inherit;
    text-decoration: none;
}

.official-article-title a:hover {
    color: var(--sp-brand-dark, #ea580c);
}

.official-article-summary {
    display: -webkit-box;
    overflow: hidden;
    max-width: 650px;
    margin: 0 0 18px;
    color: var(--sp-muted, #6b7280);
    font-size: 15px;
    line-height: 1.72;
    letter-spacing: -0.012em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.official-article-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 30px;
    color: var(--sp-muted, #6b7280);
    font-size: 13px;
}

.official-article-avatar {
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
    background: #f3f4f6;
    flex-shrink: 0;
}

.official-article-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.official-article-author {
    color: var(--sp-text-subtle, #374151);
    font-weight: 700;
    text-decoration: none;
}

.official-article-author:hover {
    color: var(--sp-text, #111827);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.official-article-empty {
    margin-top: 12px;
    padding: 68px 20px;
    border-radius: 26px;
    background: #f8f9fa;
    text-align: center;
}

.official-article-empty-title {
    margin-bottom: 8px;
    color: var(--sp-text, #111827);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.official-article-empty-text {
    margin: 0;
    color: var(--sp-muted, #6b7280);
    font-size: 15px;
}

.official-pagination-wrap {
    padding: 34px 0 64px;
}

.official-pagination {
    display: flex;
    justify-content: center;
}

.official-pagination-list {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.official-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border-radius: var(--sp-radius-pill, 999px);
    background: #fff;
    color: var(--sp-text-subtle, #374151);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.official-page-link:hover {
    background: var(--sp-hover-bg, #f3f4f6);
    color: var(--sp-text, #111827);
}

.official-page-link.is-active {
    background: var(--sp-text, #111827);
    color: #fff;
}

.official-page-link--arrow {
    border: 1px solid var(--sp-border, #e5e7eb);
}

.official-pagination-count {
    margin: 14px 0 0;
    color: var(--sp-muted, #6b7280);
    font-size: 13px;
    text-align: center;
}

.article-detail-shell {
    width: 100%;
    max-width: 1120px;
}

/* =========================================================
   Article detail hero
========================================================= */

.article-detail-hero {
    padding: 42px 0 34px;
    background: #fff;
    border-bottom: 1px solid var(--sp-divider-soft, #f1f3f5);
}

.article-detail-breadcrumb-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.article-detail-breadcrumb {
    min-width: 0;
    margin-bottom: 16px;
}

.article-detail-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--sp-muted, #6b7280);
    font-size: 13px;
    list-style: none;
}

.article-detail-breadcrumb li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.article-detail-breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--sp-soft-muted, #9ca3af);
}

.article-detail-breadcrumb a,
.article-detail-breadcrumb span {
    color: var(--sp-muted, #6b7280);
    text-decoration: none;
}

.article-detail-breadcrumb a:hover {
    color: var(--sp-text, #111827);
}

.article-lang-switcher {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.article-lang-switcher a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid var(--sp-border, #e5e7eb);
    border-radius: var(--sp-radius-pill, 999px);
    color: var(--sp-text-subtle, #374151);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.article-lang-switcher a:hover {
    background: var(--sp-hover-bg, #f3f4f6);
    color: var(--sp-text, #111827);
}

/* Header metadata and cover use the same shell width. */
.article-detail-header-grid,
.article-detail-header-main {
    width: 100%;
    min-width: 0;
}

.article-detail-header-grid {
    display: block;
}

/* =========================================================
   Article detail taxonomy
========================================================= */

.article-detail-taxonomy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.article-detail-category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0;
    padding: 0 11px;
    border-radius: var(--sp-radius-pill, 999px);
    background: var(--sp-brand-soft, #fff3e8);
    color: var(--sp-brand-strong, #c2410c);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.article-detail-category:hover {
    color: var(--sp-brand-strong, #c2410c);
}

.article-detail-destinations {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.article-detail-destination-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.article-detail-destination-label,
.article-detail-destination-chip,
.article-detail-destination-legacy {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: var(--sp-radius-pill, 999px);
    font-size: 13px;
    line-height: 1;
}

.article-detail-destination-label {
    padding: 0 10px;
    background: #f3f4f6;
    color: var(--sp-muted, #6b7280);
    font-weight: 750;
}

.article-detail-destination-chip {
    gap: 5px;
    padding: 0 11px;
    border: 1px solid var(--sp-border, #e5e7eb);
    background: #fff;
    color: var(--sp-text-subtle, #374151);
    font-weight: 750;
    text-decoration: none;
}

.article-detail-destination-chip:hover {
    border-color: rgba(249, 115, 22, 0.35);
    background: var(--sp-brand-soft, #fff3e8);
    color: var(--sp-brand-dark, #ea580c);
}

.article-detail-destination-chip span {
    color: var(--sp-brand, #f97316);
    font-size: 11px;
}

.article-detail-destination-legacy {
    padding: 0 11px;
    background: #f8fafc;
    color: var(--sp-text-subtle, #374151);
    font-weight: 700;
}

/* =========================================================
   Article detail title / lead
========================================================= */

.article-detail-title {
    width: 100%;
    max-width: none;
    margin: 0;
    color: var(--sp-text, #111827);
    font-size: clamp(2.15rem, 4.4vw, 3.65rem);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: -0.06em;
}

.article-detail-lead {
    width: 100%;
    max-width: none;
    margin: 18px 0 0;
    color: var(--sp-muted, #6b7280);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    font-weight: 450;
    line-height: 1.8;
    letter-spacing: -0.018em;
}

/* =========================================================
   Article detail byline
========================================================= */

.article-detail-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 18px;
    margin-top: 28px;
}

.article-detail-author {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    gap: 12px;
    margin: 0;
}

.article-detail-author-img {
    display: block;
    overflow: hidden;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3f4f6;
    flex-shrink: 0;
}

.article-detail-author-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-detail-author-body {
    min-width: 0;
}

.article-detail-author-name {
    display: block;
    overflow: hidden;
    color: var(--sp-text, #111827);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.article-detail-author-name:hover {
    color: var(--sp-text, #111827);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-detail-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 3px;
    color: var(--sp-muted, #6b7280);
    font-size: 13px;
    line-height: 1.4;
}

.article-detail-save {
    flex: 0 0 auto;
}

.article-detail-save .content-save-btn {
    min-height: 36px;
    padding-right: 12px !important;
    padding-left: 12px !important;
    background: #f8fafc;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

.article-detail-save .content-save-btn:hover {
    background: #f1f3f5;
    color: #111827;
}

/* =========================================================
   Article detail cover
========================================================= */

.article-detail-cover {
    width: 100%;
    margin: 28px 0 0;
    overflow: hidden;
    border-radius: 20px;
    background: #f8f9fa;
}

.article-detail-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-detail-area {
    padding: 56px 0 80px;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 292px;
    gap: 68px;
    align-items: start;
}

.article-detail-main {
    min-width: 0;
}

.article-detail-content {
    color: var(--sp-text, #111827);
    font-size: 18px;
    line-height: 1.88;
    letter-spacing: -0.018em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.article-detail-content > *:first-child {
    margin-top: 0 !important;
}

.article-detail-content p,
.article-detail-content li {
    color: #2f3744;
    font-size: 1.1rem;
    line-height: 1.88;
}

.article-detail-content p {
    margin: 1.08rem 0;
}

.article-detail-content a {
    color: var(--sp-brand-dark, #ea580c);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-detail-content h2 {
    margin: 4rem 0 1.05rem;
    color: var(--sp-text, #111827);
    font-size: clamp(1.55rem, 3vw, 2rem) !important;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: -0.045em;
}

.article-detail-content h3 {
    margin: 2.35rem 0 0.8rem;
    color: var(--sp-text, #111827);
    font-size: clamp(1.25rem, 2vw, 1.52rem) !important;
    font-weight: 820;
    line-height: 1.42;
    letter-spacing: -0.035em;
}

.article-detail-content h4 {
    margin: 1rem 0;
    color: var(--sp-text, #111827);
    font-size: 1rem !important;
    font-weight: 800;
    line-height: 1.45;
}

.article-detail-content ul,
.article-detail-content ol {
    margin: 1.1rem 0 1.4rem;
    padding-left: 1.35rem;
}

.article-detail-content li {
    margin: 0.45rem 0;
}

.article-detail-content li > ul,
.article-detail-content li > ol {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    padding-left: 1.15rem;
}

.article-detail-content li::marker {
    color: var(--sp-soft-muted, #9ca3af);
    font-weight: 700;
}

.article-detail-content blockquote {
    margin: 2rem 0;
    padding: 20px 22px;
    border-left: 4px solid var(--sp-brand, #f97316);
    border-radius: 16px;
    background: #fff7ed;
    color: #374151;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 18px;
}

.article-detail-content .img-w-40 { width: 40%; }
.article-detail-content .img-w-50 { width: 50%; }
.article-detail-content .img-w-70 { width: 70%; }
.article-detail-content .img-w-90 { width: 90%; }
.article-detail-content .img-w-100 { width: 100%; }
.img-center { display: block; margin-left: auto !important; margin-right: auto !important; }

.article-detail-content figure {
    margin: 2rem 0;
}

.article-detail-content figure img {
    margin: 0 auto;
}

.article-detail-content figcaption {
    margin-top: 9px;
    color: var(--sp-muted, #6b7280);
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
}

.article-detail-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 15px;
}

.article-detail-content th,
.article-detail-content td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--sp-border, #e5e7eb);
    vertical-align: top;
}

.article-detail-content th {
    background: #f8fafc;
    color: var(--sp-text, #111827);
    font-weight: 800;
}

.article-detail-content code {
    padding: 0.16em 0.35em;
    border-radius: 6px;
    background: #f3f4f6;
    color: #111827;
    font-size: 0.92em;
}

.article-detail-content pre {
    overflow-x: auto;
    margin: 2rem 0;
    padding: 18px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
}

.article-detail-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.affiliate-disclosure,
.article-extra-section,
.product-list-container {
    margin: 2.4rem 0;
    padding: 10px;
    border: 1px solid var(--sp-border, #e5e7eb);
    border-radius: 10px;
    background: #f8fafc;
}

.affiliate-disclosure p {
    color: var(--sp-muted, #6b7280);
    font-size: 14px;
    line-height: 1.65;
}

.product-list-container h3,
.article-extra-section h3 {
    margin-top: 0;
}

.product-disclosure {
    margin-top: 0 !important;
    color: var(--sp-muted, #6b7280) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--sp-border, #e5e7eb);
    border-radius: 18px;
    background: #fff;
}

.product-img {
    width: 96px;
    height: 116px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 14px;
    background-color: #f4f4f4;
}

.product-info {
    flex-grow: 1;
    min-width: 0;
}

.product-name {
    margin-bottom: 6px;
    color: var(--sp-text, #111827);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.product-price {
    margin-bottom: 10px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 750;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: var(--sp-radius-pill, 999px);
    background-color: var(--sp-text, #111827);
    color: #fff !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
}

.product-btn:hover {
    background-color: #000;
    color: #fff !important;
}

.post-map iframe {
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
}

.related-question-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.related-question-list li {
    margin: 0 !important;
    padding: 16px 0;
    border-bottom: 1px solid var(--sp-border, #e5e7eb);
}

.related-question-list li:last-child {
    border-bottom: 0;
}

.related-question-list a {
    display: block;
    color: var(--sp-text, #111827);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
}

.related-question-list span {
    display: block;
    margin-top: 5px;
    color: var(--sp-muted, #6b7280);
    font-size: 13px;
    line-height: 1.5;
}

.article-tag-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2.4rem;
}

.article-tag-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: var(--sp-radius-pill, 999px);
    background: #f3f4f6;
    color: var(--sp-text-subtle, #374151) !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
}

.article-tag-link:hover {
    background: #eceff3;
    color: var(--sp-text, #111827) !important;
}

.article-detail-sidebar {
    position: sticky;
    top: var(--sp-sticky-top, 72px);
}

.article-sidebar-card {
    padding: 18px;
    border: 1px solid var(--sp-border, #e5e7eb);
    border-radius: 18px;
    background: #fff;
}

.article-sidebar-card + .article-sidebar-card,
.article-sidebar-card + .coupang-banner-container,
.coupang-banner-container + .article-sidebar-card {
    margin-top: 18px;
}

.article-sidebar-card h2 {
    margin: 0 0 14px;
    color: var(--sp-text, #111827);
    font-size: 15px;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.article-sidebar-list,
.article-sidebar-posts {
    display: flex;
    flex-direction: column;
}

.article-sidebar-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 8px 0;
    color: var(--sp-text-subtle, #374151);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.article-sidebar-category + .article-sidebar-category {
    border-top: 1px solid var(--sp-divider-soft, #f1f3f5);
}

.article-sidebar-category:hover {
    color: var(--sp-brand-dark, #ea580c);
}

.article-sidebar-category em {
    color: var(--sp-muted, #6b7280);
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}

.article-sidebar-post {
    padding: 13px 0;
    border-bottom: 1px solid var(--sp-divider-soft, #f1f3f5);
}

.article-sidebar-post:first-child {
    padding-top: 0;
}

.article-sidebar-post:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.article-sidebar-post h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.article-sidebar-post h3 a {
    color: var(--sp-text, #111827);
    text-decoration: none;
}

.article-sidebar-post h3 a:hover {
    color: var(--sp-brand-dark, #ea580c);
}

.article-sidebar-post p {
    margin: 6px 0 0;
    color: var(--sp-muted, #6b7280);
    font-size: 12px;
    line-height: 1.45;
}

.coupang-banner-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 1.6rem 0;
}

.coupang-banner-container--inline {
    margin: 1.8rem 0 2.2rem;
}

.cb-mobile { display: block; }
.cb-pc { display: none; }

/* Related Articles */
.related-article-section {
    padding: 72px 0 88px;
    border-top: 1px solid #eef2f7;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 34%,
            #f3f6fb 100%
        );
}

.related-article-section .official-blog-shell {
    max-width: 1000px;
}

.related-article-header {
    margin-bottom: 22px;
}

.related-article-header h2 {
    margin: 0;
    color: var(--sp-text, #111827);
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: -0.045em;
}

.related-article-header p {
    max-width: 560px;
    margin: 9px 0 0;
    color: var(--sp-muted, #6b7280);
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

.related-article-section .official-article-feed--related {
    overflow: hidden;
    padding: 4px 24px;
    border: 1px solid #e8edf3;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 18px 44px rgba(15, 23, 42, 0.05);
}

.related-article-section .official-article-card {
    padding: 26px 0;
    background: transparent;
    border-bottom: 1px solid #eef2f7;
}

.related-article-section .official-article-card:last-child {
    border-bottom: 0;
}

.related-article-section .official-article-card:hover {
    background: transparent;
}

.related-article-section .official-article-title {
    font-size: clamp(19px, 2vw, 23px);
}

.related-article-section .official-article-summary {
    color: #586575;
}

.related-article-section .official-article-thumb {
    border-radius: 18px;
    background: #eef2f7;
}

@media screen and (min-width: 768px) {
    .cb-mobile { display: none; }
    .cb-pc { display: block; }
}

@media (max-width: 991.98px) {
    .official-blog-shell,
    .article-detail-shell {
        max-width: 100%;
        padding-right: 22px;
        padding-left: 22px;
    }

    .article-detail-layout {
        display: block;
    }

    .article-detail-sidebar {
        position: static;
        margin-top: 48px;
    }
}

@media (max-width: 767.98px) {
    .official-blog-shell,
    .article-detail-shell {
        padding-right: 18px;
        padding-left: 18px;
    }

    .official-blog-hero {
        padding: 34px 0 22px;
    }

    .official-blog-title {
        font-size: 2rem;
        line-height: 1.22;
    }

    .official-blog-desc {
        font-size: 15px;
        line-height: 1.65;
    }

    .official-article-card {
        grid-template-columns: minmax(0, 1fr) 104px;
        gap: 14px;
        padding: 22px 0;
    }

    .official-article-thumb {
        border-radius: 14px;
    }

    .official-article-meta {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .official-article-category {
        min-height: 23px;
        padding: 5px 8px;
        font-size: 11px;
    }

    .official-article-title {
        margin-bottom: 7px;
        font-size: 17px;
        line-height: 1.42;
        letter-spacing: -0.035em;
    }

    .official-article-summary {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.55;
        -webkit-line-clamp: 2;
    }

    .official-article-footer {
        min-height: 0;
        font-size: 12px;
    }

    .official-article-avatar {
        display: none;
    }

    .official-pagination-wrap {
        padding: 28px 0 50px;
    }

    .official-page-link {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }

    .article-detail-hero {
        padding: 16px 0 24px;
    }

    .article-detail-breadcrumb-row {
        flex-direction: column;
        gap: 10px;
    }

    .article-detail-breadcrumb {
        margin-bottom: 10px;
    }

    .article-lang-switcher {
        justify-content: flex-start;
    }

    .article-detail-taxonomy {
        gap: 7px;
        margin-bottom: 14px;
    }

    .article-detail-category,
    .article-detail-destination-label,
    .article-detail-destination-chip,
    .article-detail-destination-legacy {
        min-height: 28px;
        font-size: 12px;
    }

    .article-detail-title {
        font-size: 2.05rem;
        line-height: 1.22;
    }

    .article-detail-lead {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.7;
    }

    .article-detail-byline {
        gap: 10px;
        margin-top: 20px;
    }

    .article-detail-save .content-save-btn {
        min-height: 34px;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .article-detail-cover {
        margin-top: 20px;
        border-radius: 14px;
    }

    .article-detail-area {
        padding: 38px 0 64px;
    }

    .article-detail-content,
    .article-detail-content p,
    .article-detail-content li {
        font-size: 16px;
        line-height: 1.82;
        word-break: normal;
    }

    .article-detail-content h2 {
        margin-top: 2.75rem;
        font-size: 1.45rem !important;
        line-height: 1.38;
    }

    .article-detail-content h3 {
        margin-top: 2rem;
        font-size: 1.2rem !important;
    }

    .article-detail-content img,
    .article-detail-content .img-w-40,
    .article-detail-content .img-w-50,
    .article-detail-content .img-w-70,
    .article-detail-content .img-w-90,
    .article-detail-content .img-w-100 {
        width: 100% !important;
    }

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

    .affiliate-disclosure,
    .article-extra-section,
    .product-list-container {
        padding: 18px;
        border-radius: 18px;
    }

    .product-card {
        align-items: flex-start;
        gap: 14px;
        padding: 14px;
    }

    .product-img {
        width: 78px;
        height: 96px;
        border-radius: 12px;
    }

    .product-name {
        font-size: 14px;
    }

    .article-sidebar-card {
        padding: 18px;
        border-radius: 20px;
    }

    .related-article-section {
        padding: 42px 0 58px;
        background:
            linear-gradient(
                180deg,
                #ffffff 0%,
                #f8fafc 28%,
                #f3f6fb 100%
            );
    }

    .related-article-section .official-article-feed--related {
        padding: 2px 16px;
        border-radius: 22px;
    }

    .related-article-section .official-article-card {
        padding: 20px 0;
    }

    .related-article-section .official-article-title {
        font-size: 17px;
    }

    .related-article-section .official-article-summary {
        font-size: 13px;
    }
}

/* =========================================================
   Legacy Article Cards
   - 이전 카드형 articles 목록 템플릿 전용
========================================================= */

.article-card {
    border: 1px solid #edf0f3;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.article-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-body {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 18px 20px 20px;
}

.article-card-category {
    display: inline-flex;
    align-self: flex-start;
    max-width: 100%;
    margin-top: -34px;
    margin-bottom: 16px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
    text-decoration: none;
}

.article-card-category:hover {
    color: #ef4444;
}

.article-card-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.article-card-title a {
    color: #111827;
    text-decoration: none;
}

.article-card-title a:hover {
    color: #ef4444;
}

.article-card-title,
.article-card-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-title {
    -webkit-line-clamp: 2;
    min-height: calc(18px * 1.45 * 2);
}

.article-card-description {
    -webkit-line-clamp: 2;
    min-height: calc(14px * 1.75 * 2);
    margin: 0 0 22px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: -0.01em;
}

.article-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f3f5;
}

.article-card-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
}

.article-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-meta {
    min-width: 0;
}

.article-card-author {
    display: block;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-card-author:hover {
    color: #ef4444;
}

.article-card-submeta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.3;
}

.article-card-dot {
    color: #c0c4cc;
}

@media (max-width: 767px) {
    .article-card-body {
        min-height: auto;
        padding: 16px 16px 18px;
    }

    .article-card-title {
        font-size: 17px;
    }

    .article-card-description {
        margin-bottom: 18px;
    }
}

/* =========================================================
   Legacy Article Compatibility
   - 예전 articles 템플릿에서만 쓰이는 보조 클래스
   - 최신 article-detail / official-blog 스타일을 덮어쓰지 않도록 충돌 선택자는 제외
========================================================= */

.article-detail-breadcrumb .breadcrumb-list {
    margin-bottom: 0;
    padding-left: 0;
}

.article-detail-author .media-img,
.article-detail-author .media-img img {
    width: 42px;
    height: 42px;
}

.article-detail-author .media-img img {
    object-fit: cover;
}

.article-detail-author h5 {
    margin-bottom: 2px;
}

.article-detail-author h5 a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.article-detail-author .meta {
    color: #6b7280;
    font-size: 13px;
}

.article-detail-card {
    overflow: hidden;
    border: 1px solid #edf0f3;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

.related-questions {
    padding: 24px;
    border: 1px solid #edf0f3;
    border-radius: 16px;
    background: #fff;
}

.related-questions h3 {
    margin-top: 0 !important;
}

.related-questions .list-group-item {
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid #f1f3f5;
}

.related-questions .list-group-item:last-child {
    border-bottom: 0;
}

.article-sidebar-card .card-body {
    padding: 22px;
}

.article-sidebar-card h3 {
    color: #111827;
    font-size: 18px !important;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.sidebar-questions .media-card {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}

.sidebar-questions .media-card:last-child {
    border-bottom: 0;
}

.sidebar-questions h5 {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.sidebar-questions h5 a {
    color: #111827;
    text-decoration: none;
}

.sidebar-questions h5 a:hover {
    color: #ef4444;
}

.sidebar-questions .meta {
    color: #6b7280;
    font-size: 13px;
}

/* =========================
   9. Tags pages - Q&A compact style
========================= */

.tag-qna-style {
    background: #fff;
}

.tag-qna-style a {
    text-decoration: none;
}

.tag-qna-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tag-qna-title-wrap {
    display: flex;
    align-items: baseline;
    min-width: 0;
    gap: 8px;
}

.tag-qna-page-title {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.tag-qna-count {
    color: #8a94a6;
    font-size: 13px;
    white-space: nowrap;
}

.tag-qna-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 7px;
}

.tag-qna-search,
.tag-qna-sort-form {
    display: flex;
    align-items: center;
    margin: 0;
}

.tag-qna-search {
    width: 275px;
}

.tag-qna-search input,
.tag-qna-search button,
.tag-qna-select,
.tag-qna-ask-btn {
    height: 34px;
    border-radius: 3px;
    font-size: 13px;
}

.tag-qna-search input {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-right: 0;
    background: #fff;
    color: #374151;
}

.tag-qna-search input:focus,
.tag-qna-select:focus {
    outline: none;
    border-color: #d1d5db;
}

.tag-qna-search button {
    width: 36px;
    flex: 0 0 36px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
}

.tag-qna-search button:hover {
    background: #f8fafc;
    color: #111827;
}

.tag-qna-select {
    min-width: 82px;
    padding: 0 24px 0 9px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    color: #374151;
}

.tag-qna-ask-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.tag-qna-ask-btn:hover {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
    color: #fff;
}

.tag-qna-result-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f3;
    color: #6b7280;
    font-size: 13px;
}

.tag-qna-result-note a {
    color: var(--primary-color);
    font-weight: 700;
}

.tag-qna-list {
    border-bottom: 1px solid #edf0f3;
}

.tag-qna-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f3;
    color: inherit;
}

.tag-qna-row:last-child {
    border-bottom: 0;
}

.tag-qna-row:hover .tag-qna-row-main strong,
.tag-qna-row:hover .tag-qna-name {
    color: var(--primary-color);
}

.tag-qna-row-main {
    flex: 1 1 auto;
    min-width: 0;
}

.tag-qna-row-main strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    word-break: break-word;
}

.tag-qna-row-main p {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin: 3px 0 0;
    overflow: hidden;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.55;
}

.tag-qna-row.is-empty {
    opacity: 0.72;
}

.tag-qna-row-meta {
    min-width: 54px;
    color: #8a94a6;
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
    white-space: nowrap;
}

.tag-qna-row-meta strong {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.tag-qna-empty {
    padding: 44px 0;
    border-bottom: 1px solid #edf0f3;
    color: #8a94a6;
    text-align: center;
}

.tag-qna-empty strong {
    display: block;
    margin-bottom: 7px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}

.tag-qna-empty p {
    margin: 0 0 10px;
    color: #8a94a6;
    font-size: 14px;
    line-height: 1.7;
}

.tag-qna-empty a {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
}

.tag-qna-detail-head {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f3;
}

.tag-qna-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.tag-qna-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tag-qna-detail-head h1 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.tag-qna-detail-head p {
    max-width: 720px;
    margin: 9px 0 0;
    color: #5f6875;
    font-size: 14px;
    line-height: 1.75;
}

.tag-qna-detail-count {
    min-width: 56px;
    color: #8a94a6;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}

.tag-qna-detail-count strong {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.tag-qna-filter-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf0f3;
}

.tag-qna-filter-line > span {
    color: #8a94a6;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
}

.tag-qna-filter-line div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-qna-filter-line a,
.tag-qna-filter-line em {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #4b5563;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.tag-qna-filter-line a:hover,
.tag-qna-filter-line em {
    border-color: #fed7d2;
    background: #fff7f5;
    color: var(--primary-color);
}

.tag-qna-guide-list {
    margin-bottom: 18px;
    border-bottom: 1px solid #edf0f3;
}

.tag-qna-guide-list h2 {
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0f3;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}

.tag-qna-guide-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f3;
}

.tag-qna-guide-list a:last-child {
    border-bottom: 0;
}

.tag-qna-guide-list strong {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.tag-qna-guide-list span {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.55;
}

.tag-qna-question-list {
    border-bottom: 1px solid #edf0f3;
}

.tag-qna-side-block h3 {
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0f3;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}

.tag-qna-side-block > p {
    margin: 13px 0 0;
    color: #8a94a6;
    font-size: 13px;
}

.tag-qna-side-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f3;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.tag-qna-side-list a:hover,
.tag-qna-side-list a.is-active {
    color: var(--primary-color);
}

.tag-qna-side-list em {
    color: #8a94a6;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

.user-tag-qna-row {
    align-items: center;
}

.user-tag-qna-bar {
    width: min(220px, 100%);
    height: 4px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #f1f3f5;
}

.user-tag-qna-bar span {
    display: block;
    height: 100%;
    max-width: 100%;
    border-radius: 999px;
    background: var(--primary-color);
}

.user-tag-qna-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #8a94a6;
    font-size: 12px;
    white-space: nowrap;
}

.user-tag-qna-stats b {
    color: #111827;
    font-size: 13px;
}

@media (max-width: 991px) {
    .tag-qna-toolbar,
    .tag-qna-detail-title-row {
        align-items: flex-start;
    }

    .tag-qna-search {
        width: 220px;
    }
}

@media (max-width: 767px) {
    .tag-qna-toolbar,
    .tag-qna-actions,
    .tag-qna-row,
    .tag-qna-detail-title-row,
    .user-tag-qna-row {
        flex-direction: column;
        align-items: stretch;
    }

    .tag-qna-actions,
    .tag-qna-search,
    .tag-qna-sort-form,
    .tag-qna-select,
    .tag-qna-ask-btn {
        width: 100%;
    }

    .tag-qna-row-meta,
    .tag-qna-detail-count {
        text-align: left;
    }

    .user-tag-qna-stats {
        justify-content: space-between;
        white-space: normal;
    }
}

/* Tags sidebar refinements */
.tag-qna-side-block + .tag-qna-side-block {
    margin-top: 32px;
}

.tag-qna-side-cta p {
    margin: 12px 0 10px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.65;
}

.tag-qna-side-cta a {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
}

.feed-action-btn {
    height: 32px;
    padding: 0;
    line-height: 1;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.feed-action-btn:hover {
    background-color: #f1f3f5;
    color: #495057;
}

.feed-action-count {
    min-width: 48px;
    gap: 5px;
    padding-inline: 10px;
}

.feed-action-square {
    width: 32px;
    min-width: 32px;
}

.feed-action-icon {
    width: 17px;
    min-width: 17px;
    height: 17px;
    font-size: 16px;
    line-height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feed-action-number {
    min-width: 8px;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}

/* =========================================================
   Affiliate Products
   - Article detail Coupang product list
   - 광고 상품 전용 네임스페이스
========================================================= */

.article-detail-content .affiliate-products {
    margin: 2.4rem 0;
    padding: 20px;
    border: 1px solid var(--sp-border, #e5e7eb);
    border-radius: 20px;
    background: #fff;
}

.article-detail-content .affiliate-products__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.article-detail-content .affiliate-products__title {
    margin: 0 !important;
    color: var(--sp-text, #111827);
    font-size: 18px !important;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.article-detail-content .affiliate-products__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--sp-muted, #6b7280);
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.article-detail-content .affiliate-products__disclosure {
    margin: 0 0 16px !important;
    color: var(--sp-muted, #6b7280) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    letter-spacing: -0.01em;
}

.article-detail-content .affiliate-products__list {
    display: grid;
    gap: 12px;
}

.article-detail-content .affiliate-product-card {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 188px;
    padding: 16px;
    border: 1px solid var(--sp-border, #e5e7eb);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.article-detail-content .affiliate-product-card:hover {
    border-color: #d1d5db;
    background: #fcfcfd;
}

.article-detail-content .affiliate-product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 180px;
    overflow: hidden;
    border: 1px solid var(--sp-divider-soft, #f1f3f5);
    border-radius: 14px;
    background: #fff;
    text-decoration: none !important;
}

.article-detail-content .affiliate-product-card__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}

.article-detail-content .affiliate-product-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    min-height: 100%;
    padding: 0;
}

.article-detail-content .affiliate-product-card__name {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 !important;
    color: var(--sp-text, #111827) !important;
    font-size: 15.5px;
    font-weight: 850;
    line-height: 1.45;
    letter-spacing: -0.02em;
    text-decoration: none !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-detail-content .affiliate-product-card__name:hover {
    color: var(--sp-brand-dark, #ea580c) !important;
}

.article-detail-content .affiliate-product-card__price {
    display: block;
    margin: 0;
    color: #dc2626;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.article-detail-content .affiliate-product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 128px;
    min-height: 40px;
    margin-top: 2px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--sp-brand, #f97316);
    color: #fff !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
}

.article-detail-content .affiliate-product-card__cta:hover {
    background: var(--sp-brand-dark, #ea580c);
    color: #fff !important;
}

.article-detail-content .affiliate-product-card__cta::after {
    content: '›';
    margin-left: 5px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .article-detail-content .affiliate-product-card {
        grid-template-columns: 136px minmax(0, 1fr);
        gap: 14px;
        min-height: 174px;
        padding: 13px;
        border-radius: 16px;
    }

    .article-detail-content .affiliate-product-card__media {
        width: 136px;
        height: 168px;
        border-radius: 13px;
    }

    .article-detail-content .affiliate-product-card__image {
        border-radius: 9px;
    }

    .article-detail-content .affiliate-product-card__body {
        gap: 7px;
    }

    .article-detail-content .affiliate-product-card__name {
        font-size: 14px;
        line-height: 1.42;
        -webkit-line-clamp: 3;
    }

    .article-detail-content .affiliate-product-card__price {
        font-size: 12.5px;
    }

    .article-detail-content .affiliate-product-card__cta {
        min-width: 120px;
        min-height: 38px;
        padding: 0 14px;
        font-size: 12.5px;
    }
}

@media (max-width: 390px) {
    .article-detail-content .affiliate-product-card {
        grid-template-columns: 122px minmax(0, 1fr);
        gap: 12px;
        min-height: 160px;
        padding: 12px;
    }

    .article-detail-content .affiliate-product-card__media {
        width: 122px;
        height: 152px;
    }

    .article-detail-content .affiliate-product-card__name {
        font-size: 13.5px;
        line-height: 1.4;
    }

    .article-detail-content .affiliate-product-card__cta {
        min-width: 114px;
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }
}

@media (max-width: 350px) {
    .article-detail-content .affiliate-product-card {
        grid-template-columns: 106px minmax(0, 1fr);
        gap: 10px;
        min-height: 142px;
        padding: 10px;
    }

    .article-detail-content .affiliate-product-card__media {
        width: 106px;
        height: 132px;
    }

    .article-detail-content .affiliate-product-card__name {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .article-detail-content .affiliate-product-card__cta {
        min-width: 108px;
        min-height: 35px;
        padding: 0 11px;
        font-size: 12px;
    }
}

/* =========================================================
   Official blog auxiliary controls
   - merged from articles_review_additions.css
========================================================= */

.official-blog-search {
    display: flex;
    width: min(100%, 680px);
    margin-top: 1.5rem;
    gap: 0.625rem;
}

.official-blog-search input {
    min-width: 0;
    flex: 1 1 auto;
    min-height: 46px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 999px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
}

.official-blog-search button {
    min-height: 46px;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--bs-dark, #212529);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.official-blog-search input:focus-visible,
.official-blog-search button:focus-visible,
.official-blog-category-nav a:focus-visible,
.official-page-link:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.3);
    outline-offset: 2px;
}

.official-blog-category-nav {
    display: flex;
    gap: 0.5rem;
    padding: 0 0 1.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.official-blog-category-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex: 0 0 auto;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 999px;
    background: var(--bs-body-bg, #fff);
    color: inherit;
    text-decoration: none;
}

.official-blog-category-nav a:hover {
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.official-blog-category-nav span,
.official-article-result-count {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.875rem;
}

.official-blog-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1rem;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.875rem;
}

.official-blog-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.official-article-result-count {
    margin: 0 0 1rem;
}

.official-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    color: var(--bs-secondary-color, #6c757d);
}

@media (max-width: 575.98px) {
    .official-blog-search {
        gap: 0.5rem;
    }

    .official-blog-search button {
        padding-inline: 1rem;
    }
}