/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE WRAP
═══════════════════════════════════════════════════════════════════════════ */
.article-wrap {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO IMAGE
═══════════════════════════════════════════════════════════════════════════ */

.article-hero {
    width: 100%;
    max-width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.article-hero__photo {
    position: absolute;
    inset: 0;
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
}

.article-hero__bar {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Back button */
.article-hero__back {
    position: relative;
    width: 30px;
    max-width: 100%;
    height: 40px;
    border: none;
    background: var(--second-bg);
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.article-hero__back:before {
    position: absolute;
    top: 0;
    left: -10px;
    height: 100%;
    width: 10px;
    background: var(--second-bg);
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
    content: '';
}
.article-hero__back svg {
    position: relative;
    left: -3px;
}

/* Hero tags */
.article-hero__tags {
    gap: 20px;
    display: flex;
    align-items: center;
}

.hero-tag {
    background: var(--second-bg);
    border-left: 2px solid var(--accent);
    padding: 0px 2px 0px 5px;
    display: inline-flex;
    align-items: flex-start;
    position: relative;
    flex-shrink: 0;
}

.hero-tag span {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black);
    white-space: nowrap;
    padding: 4px 2px;
}

.hero-tag::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 10px;
    background: var(--second-bg);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Share button */
.article-hero__share {
    position: relative;
    width: 40px;
    height: 30px;
    align-self: flex-start;
    border: none;
    background: var(--second-bg);
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.article-hero__share:after {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 10px;
    background: var(--second-bg);
    clip-path: polygon(100% 0, 50% 100%, 0 0);
    content: '';
}
.article-hero__share svg {
    position: relative;
    top: 5px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE HEADER
═══════════════════════════════════════════════════════════════════════════ */

.article-header {
    width: 920px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 39px;
    text-align: center;
}

.article-header__tags {
    justify-content: center;
    margin-bottom: 20px;
}

.blog-card__tags {
    gap: 10px;
    flex-wrap: wrap;
}

.blog-tag {
    background: var(--second-bg);
    border-left: 2px solid var(--accent);
    height: 21px;
    padding: 2px 2px 2px 5px;
    display: inline-flex;
    align-items: flex-start;
    flex-shrink: 0;
    position: relative;
    margin-right: 5px;
}

.blog-tag span {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    color: var(--black-70);
    white-space: nowrap;
}

.blog-tag__arrow {
    position: absolute;
    right: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
}

.blog-tag__arrow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.article-title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 61px;
    line-height: normal;
    color: var(--black);
}

.article-meta {
    margin-top: 20px;
    gap: 40px;
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black-70);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE BODY
═══════════════════════════════════════════════════════════════════════════ */

.article-body {
    width: 920px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-top: 35px;
}

.article-body p,
.article-body ol,
.article-body ul {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black);
}

.article-body p + p {
    margin-top: 15px;
}

.article-body h2,
.article-h2 {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 49px;
    line-height: normal;
    color: var(--black);
    margin-bottom: 20px;
}

.article-body h3,
.article-h3 {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 39px;
    line-height: normal;
    color: var(--black);
    margin-bottom: 20px;
}

.article-body h4,
.article-h4 {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 31px;
    line-height: normal;
    color: var(--black);
    margin-bottom: 20px;
}

.article-body h2:not(:first-child),
.article-body h3:not(:first-child),
.article-body h4:not(:first-child),
.article-body blockquote,
.article-body ol,
.article-body ul {
    margin-top: 20px;
}

.article-body ol,
.article-body ul {
    padding-left: 24px;
}

.article-body ol {
    list-style: decimal;
}

.article-body ul li {
    list-style-type: disc;
}

.article-body ol li,
.article-body ul li {
    line-height: normal;
    padding: 2px 0;
}

.article-body a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
    font-family: var(--font-onest);
}

.article-body a:hover {
    text-decoration: none;
}

/* Blockquote */
.article-body blockquote {
    font-family: var(--font-onest);
    background: var(--second-bg);
    padding: 80px 40px 25px;
    position: relative;

    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.article-body blockquote::before {
    content: "";
    width: 80px;
    height: 80px;
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translateX(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='47' height='34' viewBox='0 0 47 34' fill='none'%3E%3Cpath d='M30 33.3333H40L46.6667 20V0H26.6667V20H36.6667M3.33333 33.3333H13.3333L20 20V0H0V20H10L3.33333 33.3333Z' fill='%23FFC85E'/%3E%3C/svg%3E") center / 47px 34px no-repeat;
}

.article-body blockquote p {
    margin-bottom: 12px;
}

/* Inline image */
.article-body img,
.article-img {
    width: 100%;
    aspect-ratio: 920 / 516;
    height: auto;
    object-fit: cover;
    display: block;
    margin-top: 20px;
}

.article-body > p:first-child > img,
.article-body > p:first-child > .article-img {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHARE SECTION
═══════════════════════════════════════════════════════════════════════════ */

.article-share {
    width: 920px;
    max-width: 100%;
    margin: 80px auto 0;
    background: var(--second-bg);
    padding: 20px 40px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article-share__title {
    font-family: var(--font-onest);
    font-weight: 600;
    font-size: 25px;
    line-height: normal;
    color: var(--black);
    text-align: center;
}

.article-share__icons {
    gap: 20px;
    display: flex;
    align-items: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--black);
    border: none;
    padding: 8px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-btn:before {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background-color: var(--second-bg);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    content: '';
}

.share-btn.js-copy-link::after {
    content: attr(data-copied-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    padding: 6px 10px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-onest);
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    white-space: nowrap;
}

.share-btn.js-copy-link.is-copied::after {
    opacity: 1;
    visibility: visible;
}

.share-btn__icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}
.share-btn__icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.share-btn__corner {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION TAG (shared)
═══════════════════════════════════════════════════════════════════════════ */

.section-tag {
    background: var(--second-bg);
    border-left: 3px solid var(--accent);
    padding: 10px 5px 10px 15px;
    gap: 10px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.section-tag span {
    font-family: var(--font-onest);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    color: var(--black-70);
    white-space: nowrap;
    text-transform: uppercase;
}

.section-tag::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 15px;
    background: var(--second-bg);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RELATED ARTICLES SECTION
═══════════════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════════════
   GET STARTED SECTION
═══════════════════════════════════════════════════════════════════════════ */

.section-get-started {
    display: flex;
    justify-content: center;
    width: 100%;
}

.get-started__inner {
    background: var(--accent);
    width: 1400px;
    max-width: 100%;
    display: flex;
    align-items: stretch;
    min-height: 480px;
}

/* ─── Left panel ─────────────────────────────────────────────────────────── */

.get-started__left {
    width: 680px;
    flex-shrink: 0;
    padding: 80px 40px 80px 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Tag — white bg, dark left border */
.get-started__tag {
    background: var(--white);
    border-left: 3px solid var(--black);
    padding: 10px 5px 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    position: relative;
}

.get-started__tag span {
    font-family: var(--font-onest);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    color: var(--black-70);
    text-transform: uppercase;
    white-space: nowrap;
}

.get-started__tag::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 15px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Title */
.get-started__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 39px;
    line-height: normal;
    color: var(--black);
}

/* Description */
.get-started__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--black);
}

/* ─── Form ───────────────────────────────────────────────────────────────── */

.get-started__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.get-started__form-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.get-started__form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.get-started__input-wrap {
    flex: 1;
    border-bottom: 1px solid var(--black-30);
    padding: 20px 0;
}

.get-started__input-wrap--full {
    flex: none;
    width: 100%;
    border-bottom: 1px solid var(--black-30);
    padding: 20px 0;
}

.get-started__input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black-30);
}

.get-started__input::placeholder {
    color: var(--black-30);
}

.get-started__textarea {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black-30);
    resize: none;
    min-height: 60px;
    display: block;
}

.get-started__textarea::placeholder {
    color: var(--black-30);
}

.get-started__privacy {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 13px;
    line-height: normal;
    color: var(--black-70);
}

.get-started__privacy a {
    color: var(--black);
    text-decoration: underline;
}

.article-wrap ~ .section-news {
    padding-top: 160px;
    padding-bottom: 160px;
}
.article-wrap ~ .section-get-started {
    margin-bottom: 160px;
}
