/* YourTourKey blog cards — lightweight editorial layout.
 * Shared by the blog index and article category/tag archives.
 */
.ytk-blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    background: #ffffff;
}

.ytk-blog-card-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9eef3;
    color: var(--ytk-ink);
    text-decoration: none;
}

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

.ytk-blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    color: var(--ytk-ink);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.ytk-blog-card-body {
    box-sizing: border-box;
    flex: 1;
    padding: 24px 24px 26px;
    background: #ffffff;
}

.ytk-blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin-bottom: 10px;
    color: #63687a;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.ytk-blog-card-category {
    color: #63687a;
    font-weight: 600;
    text-decoration: none;
}

.ytk-blog-card-category:hover { color: var(--ytk-ink); text-decoration: underline; text-underline-offset: 3px; }
.ytk-blog-card-meta time { white-space: nowrap; }

.ytk-blog-card h2 {
    margin: 0;
    color: var(--ytk-ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.5px;
}

.ytk-blog-card h2 a { color: inherit; text-decoration: none; }
.ytk-blog-card h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.ytk-blog-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 12px 0 0;
    color: #63687a;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}

.ytk-blog-card a:focus-visible { outline: 2px solid #8ca0bb; outline-offset: 4px; }
.ytk-blog-card-image:focus-visible { outline-offset: -3px; }

@media (max-width: 760px) {
    .ytk-blog-card { border-radius: 14px; }
    .ytk-blog-card-body { padding: 18px 18px 20px; }
    .ytk-blog-card h2 { font-size: 22px; }
    .ytk-blog-card p { margin-top: 10px; }
    .ytk-blog-card-meta { font-size: 13px; }
}
