/* Landing Pages — City & Country SEO Pages */

:root {
    --mk-green: #10c956;
    --mk-green-dark: #0da345;
    --mk-green-light: #e6faf0;
    --mk-text: #1a1a1a;
    --mk-text-light: #888;
    --mk-bg-alt: #f7f8fa;
    --mk-border: #e5e7eb;
    --mk-radius: 8px;
}

.mk-landing-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Header --- */
.mk-landing-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--mk-border);
}

.mk-landing-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--mk-text);
}

.mk-landing-subtitle {
    font-size: 15px;
    color: var(--mk-text-light);
    margin: 0;
}

/* --- Sections --- */
.mk-landing-section {
    margin-bottom: 40px;
}

.mk-landing-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--mk-text);
}

.mk-landing-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
}

/* --- City Heading (Country page) --- */
.mk-landing-city-heading {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mk-landing-city-heading a {
    color: var(--mk-green);
    text-decoration: none;
}

.mk-landing-city-heading a:hover {
    text-decoration: underline;
}

.mk-landing-city-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mk-green-light);
    color: var(--mk-green-dark);
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* --- Event Cards --- */
.mk-landing-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.mk-landing-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    text-decoration: none;
    color: var(--mk-text);
    transition: border-color .15s, box-shadow .15s;
}

.mk-landing-card:hover {
    border-color: var(--mk-green);
    box-shadow: 0 2px 12px rgba(16, 201, 86, .1);
    text-decoration: none;
    color: var(--mk-text);
}

.mk-landing-card-date {
    text-align: center;
    min-width: 50px;
    flex-shrink: 0;
}

.mk-lc-day {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    color: var(--mk-green);
}

.mk-lc-month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--mk-text-light);
    margin-top: 2px;
}

.mk-landing-card-info {
    flex: 1;
    min-width: 0;
}

.mk-landing-card-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--mk-green);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 6px;
}

.mk-landing-card-countdown {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--mk-green-light);
    color: var(--mk-green-dark);
    font-size: 11px;
    font-weight: 600;
}

.mk-landing-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 4px 0 2px;
    line-height: 1.3;
    color: var(--mk-text);
}

.mk-landing-card-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--mk-text-light);
    flex-wrap: wrap;
}

.mk-landing-card-arrow {
    font-size: 20px;
    color: var(--mk-green);
    flex-shrink: 0;
    opacity: .5;
    transition: opacity .15s;
}

.mk-landing-card:hover .mk-landing-card-arrow {
    opacity: 1;
}

/* --- Compact List (Past Events) --- */
.mk-landing-list-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mk-landing-compact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--mk-bg-alt);
    border-radius: 6px;
    text-decoration: none;
    color: var(--mk-text);
    font-size: 14px;
    transition: background .15s;
}

.mk-landing-compact-item:hover {
    background: var(--mk-green-light);
    text-decoration: none;
    color: var(--mk-text);
}

.mk-landing-compact-date {
    min-width: 90px;
    font-weight: 600;
    color: var(--mk-text-light);
    font-size: 13px;
}

.mk-landing-compact-title {
    flex: 1;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mk-landing-compact-type {
    padding: 2px 6px;
    background: var(--mk-border);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    color: var(--mk-text-light);
    flex-shrink: 0;
}

.mk-landing-compact-city {
    font-size: 12px;
    color: var(--mk-text-light);
    flex-shrink: 0;
}

/* --- CTA Banner --- */
.mk-landing-cta {
    margin: 32px 0;
}

.mk-landing-cta-inner {
    background: linear-gradient(135deg, #0a9e3f 0%, var(--mk-green) 100%);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: #fff;
}

.mk-landing-cta-inner h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.mk-landing-cta-inner p {
    font-size: 15px;
    margin: 0 0 16px;
    opacity: .9;
    color: #fff;
}

.mk-landing-cta-inner .mk-btn {
    background: #fff;
    color: var(--mk-green-dark);
    font-weight: 700;
    padding: 10px 24px;
    font-size: 15px;
    border-radius: 6px;
}

.mk-landing-cta-inner .mk-btn:hover {
    opacity: .9;
    color: var(--mk-green-dark);
}

/* --- Tags (Internal Links) --- */
.mk-landing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mk-landing-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--mk-bg-alt);
    border: 1px solid var(--mk-border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mk-text);
    text-decoration: none;
    transition: border-color .15s, background .15s;
}

.mk-landing-tag:hover {
    border-color: var(--mk-green);
    background: var(--mk-green-light);
    color: var(--mk-green-dark);
    text-decoration: none;
}

/* --- City Nav (Country page) --- */
.mk-landing-city-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

/* --- SEO Section --- */
.mk-landing-seo {
    font-size: 15px;
    line-height: 1.7;
    color: var(--mk-text);
}

.mk-landing-seo p {
    margin-bottom: 14px;
}

.mk-landing-seo a {
    color: var(--mk-green);
    text-decoration: none;
}

.mk-landing-seo a:hover {
    text-decoration: underline;
}

/* --- Past Section --- */
.mk-landing-past h2 {
    color: var(--mk-text-light);
}

/* --- Back Link --- */
.mk-landing-back {
    padding: 24px 0;
    border-top: 1px solid var(--mk-border);
    margin-top: 20px;
}

/* --- Breadcrumbs (reuse from calendar) --- */
.mk-landing-main .mk-breadcrumbs {
    font-size: 13px;
    color: var(--mk-text-light);
    margin-bottom: 24px;
    padding: 12px 0;
}

.mk-landing-main .mk-breadcrumbs a {
    color: var(--mk-green);
    text-decoration: none;
}

.mk-landing-main .mk-breadcrumbs a:hover {
    text-decoration: underline;
}

.mk-bc-sep {
    margin: 0 8px;
    color: var(--mk-border);
}

/* --- Buttons (inherit from calendar) --- */
.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--mk-green);
    color: #fff;
    text-decoration: none;
    transition: opacity .15s;
}

.mk-btn:hover { opacity: .85; color: #fff; text-decoration: none; }
.mk-btn-outline { background: transparent; color: var(--mk-text); border: 1px solid var(--mk-border); }
.mk-btn-outline:hover { background: var(--mk-bg-alt); color: var(--mk-text); }

/* --- Year Nav (prev/next year) --- */
.mk-year-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 8px;
}

.mk-year-nav .mk-landing-title {
    flex: 1;
    text-align: center;
    margin: 0;
}

.mk-btn-sm {
    padding: 5px 12px;
    font-size: 12px;
}

/* --- Tag Variants --- */
.mk-tag-active {
    border-color: var(--mk-green);
    background: var(--mk-green-light);
}

.mk-tag-current {
    background: var(--mk-green) !important;
    color: #fff !important;
    border-color: var(--mk-green) !important;
}

.mk-tag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 201, 86, .2);
    color: var(--mk-green-dark);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-left: 4px;
}

.mk-tag-current .mk-tag-count {
    background: rgba(255, 255, 255, .3);
    color: #fff;
}

/* --- Past Cards --- */
.mk-card-past {
    opacity: .6;
}

.mk-card-past:hover {
    opacity: .8;
}

/* --- Section H2 Links --- */
.mk-landing-section h2 a {
    color: var(--mk-green);
    text-decoration: none;
}

.mk-landing-section h2 a:hover {
    text-decoration: underline;
}

/* --- Multiple Back Links --- */
.mk-landing-back {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .mk-landing-title { font-size: 24px; }

    .mk-landing-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .mk-landing-card-title { font-size: 15px; }

    .mk-landing-card-meta {
        flex-direction: column;
        gap: 2px;
    }

    .mk-landing-compact-item {
        flex-wrap: wrap;
        gap: 6px;
    }

    .mk-landing-compact-date { min-width: auto; }

    .mk-landing-cta-inner {
        padding: 24px 16px;
    }

    .mk-landing-cta-inner h3 { font-size: 18px; }

    .mk-year-nav {
        flex-direction: column;
        gap: 8px;
    }

    .mk-year-nav .mk-landing-title { font-size: 22px; }
}
