/* ============================================================
   Marketing pages (/about, /event-ticketing, /free-event-ticketing,
   /event-management, /event-discovery, /eventbrite-alternative).
   Loaded after css/style.css, inside the normal header and footer.
   Building blocks come from includes/marketing.php.

   Keep it plain: black headings in one colour, grey text, photos,
   and one grey band per page at most.
   ============================================================ */
.mk { overflow-x: clip; }
.mk-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mk h1, .mk h2, .mk h3 { color: var(--pp-text); font-weight: 700; }
.mk p { color: var(--pp-text-muted); }
.mk a:not(.btn) { color: var(--pp-text); }
.mk .btn { width: auto; }
.mk-btn-light { background: #fff; color: #000; border-color: #fff; }
.mk-btn-light:hover { background: #e2e2e6; color: #000; }

/* ── Opening ── */
.mk-hero { padding: 72px 0 56px; text-align: center; }
.mk-hero h1 { font-size: clamp(40px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -0.045em; max-width: 13em; margin: 0 auto 22px; }
.mk-lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 38em; margin: 0 auto; }
.mk-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.mk-wide { display: block; width: 100%; height: clamp(280px, 46vw, 640px); object-fit: cover; background: var(--pp-surface-3); }

/* ── Sections ── */
.mk-sec { padding: 104px 0; }
.mk-sec + .mk-sec { padding-top: 24px; }
.mk-sec-tight { padding: 56px 0; }
.mk-head { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.mk-head h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 16px; }
.mk-head p { font-size: 18px; line-height: 1.55; }
.mk-head p a { font-weight: 600; }
.mk-small-h { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 20px; }

/* Photo cards */
.mk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk-tile { position: relative; min-height: 540px; border-radius: 24px; overflow: hidden; background: #1b1c22; isolation: isolate; }
.mk-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mk-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 14, .78) 0%, rgba(10, 10, 14, .35) 42%, rgba(10, 10, 14, 0) 70%); }
.mk-tile-copy { padding: 32px; }
.mk .mk-tile h3 { color: #fff; font-size: 28px; letter-spacing: -0.03em; margin-bottom: 10px; }
.mk .mk-tile p { color: rgba(255, 255, 255, .86); font-size: 17px; line-height: 1.5; margin-bottom: 24px; }

/* Photo beside text */
.mk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.mk-split + .mk-split { margin-top: 88px; }
.mk-split.flip .mk-split-media { order: 2; }
.mk-split-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; border-radius: 24px; background: var(--pp-surface-3); }
.mk-split-copy h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 14px; }
.mk-split-copy > p { font-size: 17px; line-height: 1.6; }
.mk-split-copy .btn { margin-top: 28px; }
.mk-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.mk-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--pp-text); }
.mk-list li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--pp-text); border-bottom: 2px solid var(--pp-text); transform: rotate(-45deg); }

/* Short points */
.mk-points { display: grid; gap: 40px 32px; }
.mk-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk-points > div { border-top: 1px solid var(--pp-border-2); padding-top: 20px; }
.mk-points h3 { font-size: 21px; letter-spacing: -0.025em; margin-bottom: 8px; }
.mk-points p { font-size: 16px; line-height: 1.55; }

/* Steps */
.mk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.mk-steps li { border-top: 1px solid var(--pp-border-2); padding-top: 20px; }
.mk-steps li::before { counter-increment: step; content: counter(step); display: block; font: 700 15px/1 'Inter', sans-serif; color: var(--pp-text-faint); margin-bottom: 18px; }
.mk-steps h3 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 8px; }

/* The band */
.mk-band { background: var(--pp-surface-2); padding: 104px 0; text-align: center; }
.mk .mk-band h2 { color: #fff; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.045em; max-width: 14em; margin: 0 auto 20px; }
.mk .mk-band p { color: rgba(255, 255, 255, .88); font-size: 18px; line-height: 1.55; max-width: 36em; margin: 0 auto 32px; }

/* Long-form copy, written for people and for search */
.mk-prose { max-width: 760px; }
.mk-prose h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 18px; }
.mk-prose h3 { font-size: 22px; letter-spacing: -0.025em; margin: 36px 0 10px; }
.mk-prose p, .mk-prose li { font-size: 17px; line-height: 1.65; color: var(--pp-text-muted); }
.mk-prose p + p { margin-top: 14px; }
.mk-prose ul { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.mk-prose strong { color: var(--pp-text); }
.mk-prose a { font-weight: 600; }

/* Tables */
.mk-table-wrap { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 20px; overflow-x: auto; }
.mk-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; background: none; }
.mk-table thead, .mk .mk-table tbody tr td, .mk .mk-table tbody tr th { background: none; }   /* not the app's striped rows */
.mk-table th, .mk-table td { text-align: left; vertical-align: top; padding: 16px 24px; border-bottom: 1px solid var(--pp-divider); font-size: 15px; line-height: 1.5; }
.mk-table thead th { font-size: 15px; font-weight: 700; color: var(--pp-text); border-bottom: 1px solid var(--pp-divider); }
.mk-table tbody th { width: 28%; font-weight: 600; }
.mk-table td { color: var(--pp-text-muted); }
.mk-table .us { color: var(--pp-text); font-weight: 600; }
.mk-table tr:last-child th, .mk-table tr:last-child td { border-bottom: 0; }
.mk-table caption { caption-side: bottom; text-align: left; padding: 0 24px 18px; font-size: 13px; color: var(--pp-text-faint); }
.mk-note { margin-top: 16px; font-size: 14px; color: var(--pp-text-faint); max-width: 60em; }
.mk-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Worked examples */
.mk-calcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk-calc { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 20px; padding: 26px; }
.mk-calc h3 { font-size: 22px; letter-spacing: -0.025em; }
.mk-calc .sub { font-size: 14px; color: var(--pp-text-faint); margin: 2px 0 14px; }
.mk-calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--pp-divider); font-size: 15px; color: var(--pp-text-muted); font-variant-numeric: tabular-nums; }
.mk-calc-row b { color: var(--pp-text); font-weight: 600; }
.mk-calc-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-size: 14px; color: var(--pp-text-faint); }
.mk-calc-total b { font: 700 32px/1 'Archivo', sans-serif; font-stretch: 88%; letter-spacing: -0.03em; color: var(--pp-text); font-variant-numeric: tabular-nums; }

/* Plans */
.mk-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.mk-plan { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.mk-plan h3 { font-size: 22px; letter-spacing: -0.025em; }
.mk-plan .amount { font: 700 52px/1 'Archivo', sans-serif; font-stretch: 88%; letter-spacing: -0.04em; color: var(--pp-text); margin: 16px 0 6px; }
.mk-plan .amount small { font: 600 16px 'Inter', sans-serif; letter-spacing: 0; color: var(--pp-text-faint); margin-left: 4px; }
.mk-plan .mk-list { margin-bottom: 28px; }
.mk-plan .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.mk-faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--pp-border-2); }
.mk-faq details { border-bottom: 1px solid var(--pp-border-2); }
.mk-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary h3 { font: 600 17px/1.4 'Inter', sans-serif; letter-spacing: -0.01em; }
.mk-faq summary i { flex-shrink: 0; width: 28px; height: 28px; position: relative; }
.mk-faq summary i::before, .mk-faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 1px; background: var(--pp-text); transform: translate(-50%, -50%); transition: transform .2s; }
.mk-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.mk-faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.mk-faq details p { padding: 0 44px 24px 0; font-size: 16px; line-height: 1.6; }

/* Live events (discovery page) */
.mk-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk .mk-event { display: flex; flex-direction: column; background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 18px; overflow: hidden; text-decoration: none; transition: border-color .15s; }
.mk-event:hover { background-color: var(--pp-surface-3); }
.mk-event img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--pp-surface-3); }
.mk-event > div { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; }
.mk-event b { font-size: 17px; line-height: 1.3; color: var(--pp-text); }
.mk-event span { font-size: 14px; color: var(--pp-text-faint); }
.mk-event .price { margin-top: 4px; font-weight: 600; color: var(--pp-text); }

/* Related pages */
.mk-related { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.mk .mk-related a { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 16px; text-decoration: none; transition: border-color .15s; }
.mk-related a:hover { background-color: var(--pp-surface-3); }
.mk-related b { font-size: 16px; color: var(--pp-text); }
.mk-related span { font-size: 14px; line-height: 1.45; color: var(--pp-text-faint); }

/* The normal footer sits right under the last section */
.mk-body .site-footer { margin-top: 0; }

/* ── Smaller screens ── */
@media (max-width: 1080px) {
    .mk-tiles { grid-template-columns: 1fr 1fr; }
    .mk-tile { min-height: 460px; }
    .mk-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mk-split { gap: 40px; }
}
@media (max-width: 820px) {
    .mk-sec { padding: 72px 0; }
    .mk-band { padding: 72px 0; }
    .mk-tiles, .mk-calcs, .mk-plans, .mk-events { grid-template-columns: 1fr; }
    .mk-tile { min-height: 420px; }
    .mk-split { grid-template-columns: 1fr; gap: 28px; }
    .mk-split + .mk-split { margin-top: 64px; }
    .mk-split.flip .mk-split-media { order: 0; }
    .mk-split-media img { aspect-ratio: 4 / 3; }
    .mk-cols-3, .mk-cols-2, .mk-steps { grid-template-columns: 1fr; gap: 28px; }
    .mk-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .mk-wrap { padding: 0 16px; }
    .mk-hero { padding: 44px 0 36px; }
    .mk-ctas .btn { flex: 1 1 100%; }
    .mk-head { margin-bottom: 36px; }
    .mk-head p { font-size: 17px; }
    .mk-tile-copy { padding: 24px; }
    .mk-related { grid-template-columns: 1fr; }
    .mk-faq details p { padding-right: 0; }
}

/* ── Events by city (events.php) ── */
.mk-sec.mk-places-top { padding: 40px 0 8px; }
.mk-places-top h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 14px; }
.mk-places-lede { font-size: 17px; line-height: 1.55; max-width: 44em; }
.mk-places-lede a, .mk-places-more a { font-weight: 600; }
.mk-crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; padding: 0; background: none; border: 0; position: static; margin-bottom: 20px; font-size: 14px; color: var(--pp-text-faint); }
.mk .mk-crumbs a { color: var(--pp-text-muted); text-decoration: none; }
.mk .mk-crumbs a:hover { color: var(--pp-text); }
.mk-crumbs [aria-current] { color: var(--pp-text); }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mk-small-h + .mk-chips { margin-top: 0; }
.mk .mk-chips a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--pp-border); background: var(--pp-surface); color: var(--pp-text); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s; }
.mk .mk-chips a:hover { background-color: var(--pp-surface-3); }
.mk-chips a span { font-weight: 500; color: var(--pp-text-faint); }
.mk-places-more { margin-top: 20px; font-size: 15px; }
.mk-related.mk-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .mk-related.mk-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Guides (guide.php) ── */
.mk-sec.gd { padding-top: 40px; }
.gd h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.04em; margin: 0 0 12px; }
.gd-meta { margin: 0 0 28px; font-size: 14px; color: var(--pp-text-faint); }
.gd-answer { margin: 0 0 18px; padding: 20px 22px; border-radius: 16px; background: var(--pp-surface); border: 1px solid var(--pp-border); }
.mk .gd-answer p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--pp-text); }
.mk .gd-answer .gd-answer-label { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pp-text-faint); }
.mk .gd-disclosure { font-size: 14px; color: var(--pp-text-faint); }
.gd h2 { margin-top: 44px; }
.gd .mk-table-wrap { margin: 18px 0 8px; }
.gd-sources { font-size: 15px; }
.gd.mk-sec + .mk-sec { padding-top: 56px; }

/* Two-way worked example on the alternative pages (alternative.php) */
.mk-calcs.mk-calcs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.mk-calcs-2 + .mk-note { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 760px) { .mk-calcs.mk-calcs-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mk-related.mk-alts { grid-template-columns: 1fr; } }
