
/* ============================================
   ARTICLE PAGE
   ============================================ */

.article-page {
    padding:0;
    color: var(--color-marketing-text-dark);
    background: #fff;
    padding-bottom: 100px;
}

.article-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */
.article-hero {
    padding-bottom: 45px;
    padding-top: 170px;
    background: url('/images/bg-hero.jpg') no-repeat top center #fff;
    background-size: contain;
}

.article-hero__grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 32px;
    align-items: center;
}

.article-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 15px;
    font-family: "Open Sans";
    color: rgb(59, 59, 59);
    line-height: 3.511;
}

.article-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
}
.article-hero__breadcrumb a:hover {
    color: rgb(255, 160, 31);
}

.article-hero__category {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 16px;
    background: var(--color-marketing-secondary-light);
    color: var(--color-marketing-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 999px;
}

.article-hero__title {
  font-size: 38px;
  font-family: "Open Sans";
  color: rgb(30, 30, 30);
  font-weight: bold;
  line-height: 1.254;
  text-align: left;
}

.article-hero__excerpt {
    margin: 0 0 18px;
    max-width: 62ch;
    font-size: 18px;
    line-height: 1.75;
    color: var(--color-marketing-text-body);
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    font-family: "Open Sans";
    color: rgb(255, 160, 31);
    line-height: 3.761;
}

.article-hero__meta span {
    position: relative;
}

.article-hero__media {
    position: relative;
}

.article-hero__image {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* TOC */
.article-toc {
    margin: 0 0 34px;
    border-radius: 10px;
    background: #fffaf5;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.article-toc__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #ffa01f;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.article-toc__title {
    margin: 0;
    padding-bottom: 0;
    font-size: 18px;
    font-family: "Open Sans";
    color: rgb(255, 255, 255);
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.667;
}

.article-toc__toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
}

.article-toc__nav {
    padding: 18px 20px 20px;
}

.article-toc__list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.article-toc__item--level-3 {
    margin-left: 14px;
}

.article-toc__link {
    color: var(--color-marketing-primary);
    text-decoration: none;
    line-height: 1.55;
    font-size: 15px;
    transition: color .2s ease;
}

.article-toc__link:hover {
    color: var(--color-marketing-secondary);
}

/* ARTICLE 3 COLUMNS LAYOUT */
.article-layout--three-columns {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 270px;
    gap: 30px;
    align-items: start;
}

.article-rail {
    min-width: 0;
    position: sticky;
    top: 110px;
}

.article-rail__inner {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.article-reading-badge {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    border: 3px solid #d9d9d9;
    border-right-color: var(--color-marketing-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
    padding: 8px;
    color: var(--color-marketing-text-body);
    line-height: 1.1;
}

.article-reading-badge__value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-marketing-primary);
}

.article-reading-badge__label {
    display: block;
    font-size: 11px;
    margin-top: 2px;
    text-transform: lowercase;
}

.article-share {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.article-share__link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
    color: var(--color-marketing-primary);
    transition: .2s ease;
}

.article-share__link:hover {
    color: var(--color-marketing-secondary);
}

/* 기존 content/sidebar conserve */
.article-content {
    min-width: 0;
}

.article-sidebar {
    position: sticky;
    top: 110px;
}

/* responsive */
@media (max-width: 1100px) {
    .article-layout--three-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .article-rail__inner,
    .article-sidebar {
        position: static;
    }

    .article-rail__inner {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .article-share {
        flex-direction: row;
    }

    .article-sidebar-cta {
        max-width: 420px;
    }
    .article-rail {
        position: relative;
        top: 0;
    }
    .article-hero {
        padding-top: 100px;
    }
    .article-page .container {
        width: 90%;
    }
}

@media (max-width: 640px) {
    .article-reading-badge {
        width: 68px;
        height: 68px;
    }

    .article-reading-badge__value {
        font-size: 14px;
    }

    .article-reading-badge__label {
        font-size: 10px;
    }

    .article-share__link {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

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

.article-sidebar {
    position: sticky;
    top: 110px;
}

/* GENERIC BLOCK */
.article-block {
    margin-bottom: 34px;
}

/* CONTENT EDITOR */
.content-editor {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-marketing-text-body);
    font-family: "Open Sans";
}

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

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

.content-editor h2 {
    margin: 0 0 16px;
    font-weight: 600;
    scroll-margin-top: 120px;
    font-size: 24px;
    color: rgb(30, 30, 30);
    line-height: 1.917;
    text-align: left;
    padding-bottom: 0;
}

.content-editor h3 {
    margin: 24px 0 12px;
    font-family: var(--font-marketing-body);
    scroll-margin-top: 120px;
    font-size: 16px;
    color: rgb(10, 10, 10);
    font-weight: bold;
    text-transform: uppercase;
    line-height: 30px;
    position: relative;
    padding-left: 10px;
}
.content-editor h3:before{
    content: " ";
    background-color: rgb(255, 160, 31);
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 16px;
}

.content-editor p {
    margin: 0 0 16px;
    font-size: 16px;
    color: rgb(86, 86, 86);
    line-height: 1.375;
    text-align: justify;
}

.content-editor ul,
.content-editor ol {
    margin: 0 0 18px;
    padding-left: 30px;
}

.content-editor li {
    margin-bottom: 8px;
    position: relative;
    font-size: 16px;
    color: rgb(86, 86, 86);
    line-height: 1.375;
}
.content-editor li:before {
    content: " ";
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #ffa01f;
    position: absolute;
    left: -20px;
    top: 7px;
}

.content-editor strong {
    color: var(--color-marketing-primary);
}

.content-editor a {
    color: var(--color-marketing-secondary);
    text-decoration: underline;
}

.content-editor blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--color-marketing-secondary);
    background: #fffaf5;
    border-radius: 0 14px 14px 0;
}

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

.content-editor th,
.content-editor td {
    padding: 12px 14px;
    border: 1px solid #efefef;
    text-align: left;
}

.content-editor th {
    background: #f8f8f8;
    color: #a1a1a1;
    font-weight: 700;
    text-align: center;
}

/* IMAGE BLOCKS */
.article-figure {
    margin: 0;
}

.article-figure__image {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 21px;
}

.article-figure__image--rounded {
    border-radius: 21px;
}

.article-figure__caption {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-marketing-text-muted);
}

.article-block--image-contained .article-figure,
.article-block--image-rounded .article-figure {
    max-width: 760px;
}

/* SPLIT */
.article-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.article-split--reverse {
    grid-template-columns: 300px minmax(0, 1fr);
}

.article-split__title {
    margin: 24px 0 12px;
    margin-top: 0;
    font-family: var(--font-marketing-body);
    scroll-margin-top: 120px;
    font-size: 16px;
    color: rgb(10, 10, 10);
    font-weight: bold;
    text-transform: uppercase;
    line-height: 30px;
    position: relative;
    padding-left: 10px;
}
.article-split__title:before {
    content: " ";
    background-color: rgb(255, 160, 31);
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 16px;
}

.article-split__media {
    min-width: 0;
}

.article-split__image {
    width: 100%;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* CALLOUT */
.article-callout {
    padding: 24px 26px;
    border-radius: 20px;
    border: 1px solid #f2e5d4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.article-callout__title {
    color: #565656;
    font-weight: 600;
    scroll-margin-top: 120px;
    font-size: 24px;
    line-height: 1.917;
    text-align: left;
    padding-bottom: 0;
    text-transform: uppercase;
}

.article-callout__text {
    margin: 0;
    line-height: 1.8;
    color: var(--color-marketing-text-body);
}

.article-callout--highlight {
    background: linear-gradient(180deg, #fff8ef 0%, #fff3e3 100%);
}

.article-callout--warning {
    background: #fff8ef;
    border-color: #f6d7aa;
}

.article-callout--success {
    background: #f3faf5;
    border-color: #cde7d4;
}

/* CALLOUT INFO — style enrichi */
.article-callout--info {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.article-callout__header--info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.article-callout__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px;
    padding-left: 10px;
    background: #f5f5f5;
    border-radius: 18px 0 0 18px;
    flex: 0 0 auto;
    position: relative;
}

.article-callout__badge:before {
    content: " ";
    background-color: rgb(255, 160, 31);
    position: absolute;
    right: -8px;
    top: 0;
    width: 3px;
    height: 100%;
}

.article-callout__badge-label {
    font-size: 16px;
    font-weight: 800;
    color: #565656;
    letter-spacing: .01em;
}

.article-callout__title--inline {
    color: #565656;
    font-weight: 800;
    scroll-margin-top: 120px;
    font-size: 18px;
    line-height: 1.917;
    text-align: left;
    padding-bottom: 0;
    text-transform: uppercase;
}

.content-editor--callout {
    color: #5c5c5c;
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .article-callout__header--info {
        align-items: flex-start;
        gap: 12px;
    }

    .article-callout__title--inline {
        padding-left: 12px;
        font-size: 1.4rem;
    }

    .article-callout__badge {
        padding: 8px 14px;
    }

    .article-callout__badge-label {
        font-size: 14px;
    }
}

/* CTA */
.article-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 26px 28px;
    border-radius: 15px;
    background: url('/images/bg-cta.jpg') no-repeat;
    background-size: cover;
}

.article-cta__title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: #fff;
    padding: 0;
}

.article-cta__text {
    margin: 0;
    color: #fff;
    line-height: 1.75;
}
.article-cta__action{
    position: relative;
}
.article-cta__button {
    padding: 0 22px;
    text-decoration: none;
    transition: .2s ease;
    border-radius: 10px;
    background-image: -moz-linear-gradient( 90deg, rgb(245,245,245) 0%, rgb(255,255,255) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(245,245,245) 0%, rgb(255,255,255) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(245,245,245) 0%, rgb(255,255,255) 100%);
    box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    color: rgb(91, 91, 91);
    font-weight: bold;
    line-height: 1.313;
    text-align: center;
    width: 191px;
    height: 70px;
    display: flex;
    align-items: center;
    position: relative;
}
.article-cta__action:before {
    content: " ";
    width: 191px;
    height: 70px;
    left: -7px;
    bottom: -7px;
    border-radius: 10px;
    transition: .2s ease;
    background-color: #fe9f20;
    position: absolute;
}

.article-cta__button:hover {
    color: #fe9f20;
}
/* FAQ */
.article-faq__title {
    margin: 0 0 18px;
}

.article-faq {
    display: grid;
}

.article-faq__item {
    border: 0;
    border-radius: 0;
    background: #f5f5f5;
    overflow: hidden;
}

.article-faq__question {
    list-style: none;
    cursor: pointer;
    padding: 20px 40px;
    font-weight: 700;
    color: var(--color-marketing-primary);
    position: relative;
    padding-right: 54px;
    background: #fafafa;
}

.article-faq__question::-webkit-details-marker {
    display: none;
}

.article-faq__question::after {
    content: ' ';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 1;
    width: 10px;
    height: 23px;
    background: url('/images/icons/arrow-down.svg') no-repeat;
}

.article-faq__item:first-child{
    border-radius: 21px 21px 0 0;
}
.article-faq__item:last-child{
    border-radius: 0 0 21px 21px;
}
.article-faq__item[open] .article-faq__question::after {
    content: ' ';
    width: 10px;
    height: 23px;
    background: url('/images/icons/arrow-up.svg') no-repeat;
}

.article-faq__answer {
    padding: 20px 40px 20px;
}

/* SIDEBAR CTA */
.article-sidebar-cta {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #f0e6d8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.article-sidebar-cta--score {
    border: 0;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
    border-radius: 15px;
    background-image: -moz-linear-gradient( -90deg, rgb(255,160,31) 0%, rgb(211,66,93) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(255,160,31) 0%, rgb(211,66,93) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(255,160,31) 0%, rgb(211,66,93) 100%);
}

.article-sidebar-cta__image-wrap {
    background: #f7f7f7;
}

.article-sidebar-cta__image {
    width: 100%;
    display: block;
    object-fit: cover;
}

.article-sidebar-cta__body {
    padding: 28px 24px 18px;
}

.article-sidebar-cta__title {
     margin: 0 0 20px;
    font-family: "Open Sans";
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0;
}

.article-sidebar-cta__text {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.22;
    color: #fff;
    font-weight: 500;
    font-family: "Open Sans";
}

.article-sidebar-cta__button {
    display: block;
    width: 100%;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #5b5b5b;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 0 #fe9f20, 0 10px 20px rgba(0, 0, 0, 0.12);
    transition: .2s ease;
}

.article-sidebar-cta__button:hover {
    transform: translateY(-1px);
    color: #555;
    background: #fff;
}

@media (max-width: 640px) {
    .article-sidebar-cta__body {
        padding: 24px 20px 18px;
    }

    .article-sidebar-cta__title {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }

    .article-sidebar-cta__text {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .article-sidebar-cta__button {
        font-size: 13px;
        padding: 14px 16px;
    }
}
/* RESPONSIVE */
@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .article-sidebar-cta {
        max-width: 420px;
    }
}

@media (max-width: 900px) {
    .article-hero__grid,
    .article-split,
    .article-split--reverse,
    .article-cta {
        grid-template-columns: 1fr;
    }

    .article-hero__media {
        order: -1;
    }
}

@media (max-width: 640px) {
    .article-page {
        padding: 0 0 56px;
    }

    .article-page .container {
        padding: 0 14px;
    }

    .article-hero__title {
        font-size: 2rem;
    }

    .article-hero__excerpt {
        font-size: 16px;
    }

    .article-toc__header,
    .article-toc__nav,
    .article-callout,
    .article-cta,
    .article-sidebar-cta__body,
    .article-faq__question,
    .article-faq__answer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .content-editor {
        font-size: 15px;
        line-height: 1.75;
    }

    .content-editor h2 {
        font-size: 1.55rem;
    }

    .content-editor h3 {
        font-size: 1.2rem;
    }
    .bloc-form .col-6 {
        width: 100%;
    }
}

/* SIDEBAR FEATURED ARTICLES */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.article-sidebar-featured__title {
    margin: 0 0 18px;
    font-family: "Open Sans";
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    color: #787878;
    text-align: center;
}

.article-sidebar-featured__list {
    display: grid;
    gap: 16px;
}

.article-sidebar-featured__item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    text-decoration: none;
    color: inherit;
}

.article-sidebar-featured__thumb {
    border-radius: 12px;
    overflow: hidden;
    background: #f4f4f4;
}

.article-sidebar-featured__image {
    width: 100%;
    height: 84px;
    object-fit: cover;
    display: block;
}

.article-sidebar-featured__item-title {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--color-marketing-primary);
    transition: color .2s ease;
}

.article-sidebar-featured__meta {
    font-size: 12px;
    color: var(--color-marketing-text-muted);
}

.article-sidebar-featured__item:hover .article-sidebar-featured__item-title {
    color: var(--color-marketing-secondary);
}
