/* YourTourKey blog: Post heading, author, tags and featured image.
 * Moved from ytk-blog.css without changing declarations.
 */

.ytk-blog-article-page--legacy .ytk-blog-hero {
    width: 100%;
    background: #ffffff;
    color: var(--ytk-ink);
    overflow: hidden;
}

.ytk-blog-article-page--legacy .ytk-blog-hero-inner {
    width: calc(100% - var(--ytk-layout-cut));
    max-width: var(--ytk-layout-max);
    margin: 0 auto;
    padding: 72px 0 62px;
}

.ytk-blog-article-page--legacy .ytk-blog-hero-copy {
    max-width: 1500px;
}

.ytk-blog-article-page--legacy .ytk-blog-kicker {
    display: inline-flex;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #024f4d;
}

.ytk-blog-article-page--legacy .ytk-blog-hero h1 {
    max-width: 1460px;
    margin: 0 0 30px;
}

.ytk-blog-article-page--legacy .ytk-blog-hero p {
    max-width: 920px;
    margin: 0;
}

.ytk-blog-article-page--legacy .ytk-blog-author {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ytk-blog-article-page--legacy .ytk-blog-author-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 999px;
    background: #071018;
}

.ytk-blog-article-page--legacy .ytk-blog-author-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ytk-blog-article-page--legacy .ytk-blog-author strong {
    display: block;
    margin-bottom: 4px;
}

.ytk-blog-article-page--legacy .ytk-blog-author span {
    display: block;
}

.ytk-blog-article-page--legacy .ytk-blog-meta {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ytk-blog-article-page--legacy .ytk-blog-meta a {
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(2,79,77,0.07);
    border: 1px solid rgba(2,79,77,0.18);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #024f4d;
    text-decoration: none;
}

.ytk-blog-article-page--legacy .ytk-blog-hero-image {
    width: 100%;
    margin-top: 58px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 34px 110px rgba(var(--ytk-ink-rgb),0.16);
    background: #e5e7eb;
    aspect-ratio: 2.45 / 1;
}

.ytk-blog-article-page--legacy .ytk-blog-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ytk-blog-article-page--legacy .ytk-blog-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(2,79,77,0.15), transparent 40%),
        linear-gradient(135deg, #071018 0%, var(--ytk-ink) 100%);
}

.ytk-blog-article-page--legacy .ytk-blog-hero-placeholder span {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    .ytk-blog-article-page--legacy .ytk-blog-hero-inner {
        width: calc(100% - var(--ytk-layout-cut));
    }
}

@media (max-width: 760px) {
    .ytk-blog-article-page--legacy .ytk-blog-hero-inner {
            padding-top: 64px;
            padding-bottom: 56px;
        }

    .ytk-blog-article-page--legacy .ytk-blog-author {
            align-items: flex-start;
        }

    .ytk-blog-article-page--legacy .ytk-blog-author-avatar {
            width: 46px;
            height: 46px;
        }

    .ytk-blog-article-page--legacy .ytk-blog-hero-image {
            margin-top: 38px;
            border-radius: 24px;
            aspect-ratio: 1.45 / 1;
            box-shadow: none;
        }

    .ytk-blog-article-page--legacy .ytk-blog-hero-placeholder {
            min-height: 240px;
        }
}

@media (max-width: 480px) {
    .ytk-blog-article-page--legacy .ytk-blog-hero-inner {
        width: calc(100% - var(--ytk-layout-cut));
    }
}

/* Shared editorial hero. Legacy hero rules are separately scoped above. */
.ytk-blog-article-page--editorial .ytk-blog-hero { padding: 64px 0; background: #f5f7f9; }
.ytk-blog-article-page--editorial .ytk-blog-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); width: calc(100% - var(--ytk-blog-layout-cut, 96px)); max-width: var(--ytk-blog-layout-max, 1480px); margin: 0 auto; overflow: hidden; border-radius: 24px; background: #fff; }
.ytk-blog-article-page--editorial .ytk-blog-hero-inner:not(:has(.ytk-blog-hero-image)) { grid-template-columns: 1fr; }
.ytk-blog-article-page--editorial .ytk-blog-hero-copy { min-width: 0; padding: clamp(32px, 3.7vw, 64px); align-self: center; }
.ytk-blog-article-page--editorial .ytk-blog-category { display: inline-flex; padding: 10px 14px; margin-bottom: 26px; border-radius: 5px; background: var(--ytk-article-heading); color: #fff; font-size: var(--ytk-article-category); line-height: 1.4; letter-spacing: var(--ytk-article-text-spacing); font-weight: 650; text-decoration: none; }
.ytk-blog-article-page--editorial .ytk-blog-category:hover { background: var(--ytk-article-link-hover); }
.ytk-blog-article-page--editorial .ytk-blog-hero h1 { margin: 0; overflow-wrap: break-word; }
.ytk-blog-article-page--editorial .ytk-blog-hero-copy > p { margin: 26px 0 0; }
.ytk-blog-article-page--editorial .ytk-blog-author { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.ytk-blog-article-page--editorial .ytk-blog-author-avatar { flex: 0 0 48px; width: 48px; height: 48px; background: transparent; }
.ytk-blog-article-page--editorial .ytk-blog-author-avatar img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 1; }
.ytk-blog-article-page--editorial .ytk-blog-author strong { display: block; }
.ytk-blog-article-page--editorial .ytk-blog-author span { display: block; margin-top: 5px; }
.ytk-blog-article-page--editorial .ytk-blog-hero-image { min-width: 0; min-height: 520px; }
.ytk-blog-article-page--editorial .ytk-blog-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ytk-blog-article-page--editorial a:focus-visible { outline: 2px solid #0071eb; outline-offset: 4px; }
@media (max-width: 900px) {
    .ytk-blog-article-page--editorial .ytk-blog-hero { padding: 40px 0; }
    .ytk-blog-article-page--editorial .ytk-blog-hero-inner { grid-template-columns: 1fr; }
    .ytk-blog-article-page--editorial .ytk-blog-hero-image { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
    .ytk-blog-article-page--editorial .ytk-blog-hero { padding: 24px 0; }
    .ytk-blog-article-page--editorial .ytk-blog-hero-inner { border-radius: 16px; }
    .ytk-blog-article-page--editorial .ytk-blog-hero-copy { padding: 28px 24px; }
    .ytk-blog-article-page--editorial .ytk-blog-category { margin-bottom: 20px; }
    .ytk-blog-article-page--editorial .ytk-blog-hero-copy > p { margin-top: 20px; }
    .ytk-blog-article-page--editorial .ytk-blog-author { margin-top: 24px; }
}

/* Article hero typography — same scale in native and legacy templates. */
.ytk-blog-article-page .ytk-blog-hero h1 { font-family: var(--ytk-article-font); color: var(--ytk-article-heading); font-size: var(--ytk-article-h1); font-weight: 900; line-height: var(--ytk-article-heading-line); letter-spacing: var(--ytk-article-heading-spacing); }
.ytk-blog-article-page .ytk-blog-hero h1 span { color: inherit; }
.ytk-blog-article-page .ytk-blog-hero-copy > p { font-family: var(--ytk-article-font); color: var(--ytk-article-text); font-size: var(--ytk-article-intro); font-weight: 500; line-height: var(--ytk-article-body-line); letter-spacing: var(--ytk-article-text-spacing); }
.ytk-blog-article-page .ytk-blog-author strong { color: var(--ytk-article-heading); font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: var(--ytk-article-text-spacing); }
.ytk-blog-article-page .ytk-blog-author span { color: var(--ytk-article-text); font-size: var(--ytk-article-small); font-weight: 500; line-height: 1.4; letter-spacing: var(--ytk-article-text-spacing); }
