/*
Theme Name: Indie 2010
Description: Michalina i Karol Konkel: relacja z podróży po Indiach, 2010–2011.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: indie-2010
*/
/* Hind normal latin-ext */
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/hind-normal-latin-ext-dgd4bcozwoff2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hind normal latin */
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/hind-normal-latin-midgl4bawoff2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hind normal latin-ext */
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/hind-normal-latin-ext-erksjqpfwoff2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hind normal latin */
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/hind-normal-latin-pberysjqwoff2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hind normal latin-ext */
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/hind-normal-latin-ext-erksjqpfwoff2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hind normal latin */
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/hind-normal-latin-zcerysjqwoff2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rozha One normal latin-ext */
@font-face {
  font-family: 'Rozha One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/rozha-one-normal-latin-ext-rfh35bb0woff2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Rozha One normal latin */
@font-face {
  font-family: 'Rozha One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/rozha-one-normal-latin-g2krcn35woff2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body{overflow-x:clip}
/* ===== Wspólny silnik: układ, typografia, komponenty. Kolory i kroje pisma w skórce (skin.css). ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--fg);
	font-family: var(--text); font-size: 1.0625rem; line-height: 1.65;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--link, var(--accent)); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.wrap--read { width: min(720px, 100% - 2rem); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0 0 .5em; }

/* --- nagłówek --- */
.site-header { background: var(--head-bg); color: var(--head-fg); position: relative; z-index: 10; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.6rem; padding-block: .4rem; flex-wrap: wrap; }
.site-brand { color: inherit; text-decoration: none; font-family: var(--display); font-size: 1.3rem; letter-spacing: .01em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem 1.4rem; flex-wrap: wrap; }
.site-nav a { color: inherit; text-decoration: none; padding: .35rem 0; display: inline-block; font-size: .95rem; opacity: .9; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav .current-menu-item a, .site-nav .current_page_item a { opacity: 1; border-bottom-color: var(--accent-2); }
.nav-toggle { display: none; background: none; color: inherit; border: 1px solid currentColor; border-radius: 3px; padding: .35rem .8rem; font: inherit; cursor: pointer; }
@media (max-width: 720px) {
	.nav-toggle { display: inline-block; }
	.site-nav { display: none; flex-basis: 100%; }
	.site-nav.is-open { display: block; padding-bottom: .6rem; }
	.site-nav ul { flex-direction: column; gap: 0; }
}

/* --- hero --- */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-fg); overflow: hidden; isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; }
.hero__in { position: relative; z-index: 2; padding-block: clamp(2.5rem, 8vw, 6rem); }
.hero__kicker, .eyebrow, .entry-kicker, .section-kicker, .card__meta, .stage__meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.hero__kicker { color: var(--hero-accent, var(--accent-2)); margin: 0 0 .8rem; }
.hero__title { font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: .98; margin: 0 0 1rem; color: var(--hero-title, #fff); max-width: 14ch; }
.hero__title em, .hero__title span { font-style: normal; color: var(--hero-accent, var(--accent-2)); }
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 44ch; margin: 0 0 1.6rem; color: var(--hero-lead, inherit); }
.hero__topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; z-index: 0; pointer-events: none; color: var(--topo, currentColor); }
.btn { display: inline-block; background: var(--btn-bg, var(--accent-2)); color: var(--btn-fg, #111); padding: .75rem 1.4rem; font-weight: 700; text-decoration: none; border-radius: var(--radius, 2px); border: 0; cursor: pointer; font-family: var(--text); }
.btn:hover { filter: brightness(1.06); text-decoration: none; }

/* --- komponenty strony głównej --- */
.route { border-block: 1px solid var(--line); background: var(--route-bg, transparent); }
.route__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; }
.route__list li { padding: .9rem 1.4rem .9rem 0; margin-right: 1.4rem; position: relative; font-weight: 500; }
.route__list li:not(:last-child)::after { content: "→"; position: absolute; right: -.35rem; color: var(--accent-2); }
.mosaic { display: grid; gap: .5rem; margin-block: 1.6rem 0; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 11rem; }
.mosaic__item { overflow: hidden; border-radius: var(--radius, 2px); background: var(--line); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 720px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 8rem; } .mosaic__item:first-child { grid-column: span 2; grid-row: span 1; } }
.front-body { padding-block: 2.2rem 3rem; }
.section-kicker { color: var(--accent); margin: 0 0 1rem; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--accent); }

.stage { margin-block: 0 3rem; }
.stage__head { margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1.5rem; }
.stage__title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; }
.stage__meta { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: 1.4rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius, 2px); overflow: hidden; min-width: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--accent-2); text-underline-offset: .2em; }
.card__media { aspect-ratio: 3 / 2; background: var(--line); overflow: hidden; }
.card--noimg .card__media { aspect-ratio: auto; height: .5rem; background: var(--accent-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card__link:hover img { transform: scale(1.03); }
.card__body { padding: 1rem 1.1rem 1.2rem; }
.card__meta { margin: 0 0 .35rem; color: var(--muted); }
.card__title { font-size: 1.3rem; margin: 0 0 .45rem; }
.card__ex { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }

.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.menu-list li { border-bottom: 1px dashed var(--line); }
.menu-list a { display: flex; gap: 1rem; align-items: baseline; padding: .9rem 0; color: inherit; text-decoration: none; }
.menu-list a:hover .menu-list__t { color: var(--accent); }
.menu-list__n { font-family: var(--display); color: var(--accent-2); font-size: 1.4rem; min-width: 2.2rem; }
.menu-list__t { font-weight: 500; font-size: 1.08rem; line-height: 1.35; }
.menu-list__d { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; margin-top: .15rem; }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } }

.dispatch { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: start; }
.dispatch__big { position: relative; display: block; min-height: 20rem; overflow: hidden; color: #fff; text-decoration: none; background: var(--line); }
.dispatch__big img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.dispatch__big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,0) 62%); }
.dispatch__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.4rem; display: block; }
.dispatch__cap .eyebrow { display: block; color: var(--accent-2); }
.dispatch__title { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.1; display: block; margin-top: .3rem; }
.dispatch__list { list-style: none; margin: 0; padding: 0; }
.dispatch__list a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.dispatch__list time { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.dispatch__list span { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }
.dispatch__list a:hover span { text-decoration: underline; text-decoration-color: var(--accent-2); }
@media (max-width: 800px) { .dispatch { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
.lead-post { margin-bottom: 2rem; }
.lead-post__title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.lead-post__title a { color: var(--accent); text-decoration: none; }
.eyebrow { color: var(--accent-2); margin: 0 0 .4rem; }
.more { font-weight: 600; }
.split__side { display: flex; flex-direction: column; gap: .8rem; align-self: start; }
.side-link { display: flex; justify-content: space-between; padding: .9rem 1rem; background: var(--card); border-left: 5px solid var(--accent-2); color: inherit; text-decoration: none; font-weight: 600; }
.side-link:nth-child(2) { border-color: var(--accent); }
.side-link:nth-child(3) { border-color: var(--accent-3, var(--accent)); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: clamp(9rem, 20vw, 14rem); }
.strip__item { overflow: hidden; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.empty { color: var(--muted); }

/* --- wpis --- */
.entry-head { background: var(--entry-head-bg, transparent); padding-block: clamp(2rem, 6vw, 4rem) 1.2rem; }
.entry-kicker { color: var(--accent); margin: 0 0 .7rem; }
.entry-kicker a { color: inherit; }
.entry-title { font-size: clamp(2rem, 5.6vw, 3.4rem); margin: 0 0 .5rem; }
.entry-guest, .entry-pos { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.entry-guest { font-style: italic; }
.entry-content { padding-bottom: 2rem; font-size: 1.1rem; line-height: 1.75; overflow-wrap: break-word; }
.entry-content > * { margin-block: 0 1.15em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; font-size: 1.5rem; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin-inline: 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--accent-2); color: var(--muted); }
.entry-content figure, .entry-content .wp-caption { margin-inline: 0; max-width: 100%; }
.entry-content figure img, .entry-content .wp-caption img { display: block; margin-inline: auto; border-radius: var(--radius, 2px); }
.entry-content figcaption, .entry-content .wp-caption-text, .entry-content .gallery-caption { font-size: .88rem; color: var(--muted); line-height: 1.45; margin-top: .45rem; text-align: left; }
.entry-content figure.kb-fig { width: min(960px, 100vw - 2rem); position: relative; left: 50%; transform: translateX(-50%); }
.entry-content .alignleft { float: left; margin: .3em 1.2em .8em 0; }
.entry-content .alignright { float: right; margin: .3em 0 .8em 1.2em; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
@media (max-width: 600px) { .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 auto 1em; display: block; } }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content a[href$=".jpg"] img, .entry-content a[href$=".jpeg"] img, .entry-content a[href$=".png"] img, .entry-content a[href$=".JPG"] img { cursor: zoom-in; }
.entry-content table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: .4rem .6rem; }

.kb-gallery, .entry-content .gallery { display: grid; gap: .5rem; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); width: min(960px, 100vw - 2rem); position: relative; left: 50%; transform: translateX(-50%); margin-block: 1.4rem; }
.entry-content .gallery.gallery-columns-2 { --cols: 2; } .entry-content .gallery.gallery-columns-4 { --cols: 4; } .entry-content .gallery.gallery-columns-5 { --cols: 5; }
.kb-gallery--2 { --cols: 2; } .kb-gallery--3 { --cols: 3; } .kb-gallery--4 { --cols: 4; }
.kb-gallery figure, .entry-content .gallery .gallery-item { margin: 0; min-width: 0; }
.kb-gallery, .entry-content .gallery { align-items: start; }
.kb-gallery img, .entry-content .gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.kb-gallery figcaption { margin-top: .35rem; overflow-wrap: anywhere; }
.kb-gallery figcaption { font-size: .8rem; }
@media (max-width: 640px) { .kb-gallery, .entry-content .gallery { --cols: 2 !important; } }
.kb-video { position: relative; aspect-ratio: 16 / 9; width: 100%; margin-block: 1.4em; background: #000; }
.kb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.entry-content iframe:not([src*="youtube"]) { width: 100%; min-height: 24rem; border: 0; }

.post-nav { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem 3rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.post-nav__a { display: block; max-width: 48%; color: inherit; text-decoration: none; }
.post-nav__next { text-align: right; margin-left: auto; }
.post-nav__l { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.post-nav__t { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1.25; margin-top: .25rem; }
.post-nav__a:hover .post-nav__t { text-decoration: underline; text-decoration-color: var(--accent-2); }
@media (max-width: 560px) { .post-nav { flex-direction: column; } .post-nav__a { max-width: 100%; } .post-nav__next { text-align: left; margin-left: 0; } }

.archive { padding-block: 2.5rem 3.5rem; }
.archive__title { font-size: clamp(2rem, 5vw, 3rem); }
.archive__desc { color: var(--muted); max-width: 60ch; }
.navigation.pagination { margin-top: 2rem; }
.comments { padding-block: 1rem 3rem; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; } .comment-list li { margin-bottom: 1.2rem; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea, .search-field { width: 100%; padding: .6rem .7rem; font: inherit; border: 1px solid var(--line); background: var(--card); color: var(--fg); border-radius: 2px; }
.search-form { display: flex; gap: .5rem; } .search-form label { flex: 1; } .search-submit { font: inherit; padding: .6rem 1rem; background: var(--accent); color: #fff; border: 0; border-radius: 2px; cursor: pointer; }

/* --- stopka --- */
.site-footer { background: var(--foot-bg); color: var(--foot-fg); padding-block: 2rem; font-size: .92rem; }
.site-footer p { margin: 0 0 .3rem; }
.site-footer__name { font-family: var(--display); font-size: 1.2rem; }
.site-footer a { color: inherit; }

/* --- powiększanie zdjęć --- */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 10, 12, .94); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 1rem; }
.lb[hidden] { display: none; }
.lb__img { max-width: min(96vw, 1400px); max-height: 82vh; object-fit: contain; }
.lb__cap { color: #e9ecef; margin: .8rem 1rem 0; max-width: 70ch; text-align: center; font-size: .95rem; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: .6rem 1rem; }
.lb__x { top: .4rem; right: .6rem; } .lb__p { left: .2rem; top: 50%; transform: translateY(-50%); } .lb__n { right: .2rem; top: 50%; transform: translateY(-50%); }
.lb--single .lb__p, .lb--single .lb__n { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ===== skórka ===== */

:root {
	--bg: #fbf9f4; --fg: #231f3a; --muted: #5d587a; --line: #e4dfd0; --card: #ffffff;
	--accent: #b3173f; --accent-2: #f4b223; --link: #a3153a; --num: #c2185b;
	--head-bg: #1d1a3f; --head-fg: #f3eefc; --hero-bg: #1d1a3f; --hero-fg: #e5def7; --hero-title: #ffffff; --hero-accent: #f4b223;
	--foot-bg: #1d1a3f; --foot-fg: #c3badf; --btn-bg: #f4b223; --btn-fg: #1d1a3f; --radius: 2px; --route-bg: #fff;
	--display: 'Rozha One', Georgia, serif; --text: 'Hind', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { font-size: 1.125rem; }
.hero--menu { min-height: clamp(26rem, 62vw, 34rem); display: flex; align-items: flex-end; }
.hero--menu .hero__media img { object-position: 50% 62%; }
.hero--menu::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(29,26,63,.2) 0%, rgba(29,26,63,.62) 58%, #1d1a3f 100%); }
.hero--menu .hero__in { padding-block: 3rem 2.2rem; }
.hero--menu .hero__title { font-weight: 400; max-width: 15ch; font-size: clamp(2.6rem, 8vw, 5.4rem); }
.hero--menu .hero__lead { color: #ece6fb; }
.route { background: #fff; }
.route__list li { color: #3a3560; }
.menu-list__n { color: var(--num); }
.section-title { font-weight: 400; }
.stage__title, .card__title, .entry-title, .post-nav__t { font-weight: 400; }
.entry-head { background: #f1ecdf; }
.entry-title { letter-spacing: -.005em; }
