/* Viva il Canto – style całego serwisu (prefiks vic-). */
:root {
	--vic-wine: #6E1F2B;
	--vic-wine-d: #4A1420;
	--vic-sky: #1D6A96;
	--vic-lemon: #F2C14E;
	--vic-olive: #5E6B2E;
	--vic-ivory: #FBF7EF;
	--vic-paper: #F4ECDD;
	--vic-ink: #231A17;
	--vic-muted: #5C514B;
	--vic-line: #E5D9C6;
	--vic-airmail: repeating-linear-gradient(-45deg, var(--vic-wine) 0 12px, #fff 12px 20px, var(--vic-sky) 20px 32px, #fff 32px 40px);
}
body { font-family: 'Fira Sans', system-ui, sans-serif; color: var(--vic-ink); background: var(--vic-ivory); }
h1, h2, h3, h4, .site-title, .entry-title, .archive-title, .post-card__title { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; letter-spacing: 0; }

/* Nagłówek: pas „poczty lotniczej” pod spodem */
.site-header { border-bottom: 0; box-shadow: none; background: #fff; }
.site-header::after { content: ""; display: block; height: 5px; background: var(--vic-airmail); }
.custom-logo { max-height: 56px; width: auto; }

/* Menu: falka pod aktywną pozycją */
.primary-nav a { font-weight: 500; position: relative; }
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-category-ancestor > a { color: var(--vic-wine); }
.primary-nav .current-menu-item > a::after,
.primary-nav .current-category-ancestor > a::after,
.primary-nav a:hover::after {
	content: ""; position: absolute; left: 10%; right: 10%; bottom: -4px; height: 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Cpath d='M0 3 Q3 0 6 3 T12 3' fill='none' stroke='%236E1F2B' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x;
}

/* Okruszki */
.breadcrumb, .breadcrumbs { font-size: .875rem; color: var(--vic-muted); }
.breadcrumb a, .breadcrumbs a { color: var(--vic-sky); }

/* Karty wpisów: papier, cień pocztówki, żółty narożnik przy hover */
.post-card { background: #fff; border: 1px solid var(--vic-line); border-radius: 4px; box-shadow: 0 1px 0 var(--vic-line), 0 6px 14px -10px rgba(35, 26, 23, .35); overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; }
.post-card::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 0 0 0; border-color: transparent var(--vic-lemon) transparent transparent; transition: border-width .2s; }
.post-card:hover { transform: translateY(-3px) rotate(-.3deg); box-shadow: 0 1px 0 var(--vic-line), 0 14px 22px -12px rgba(35, 26, 23, .45); }
.post-card:hover::after { border-width: 0 26px 26px 0; }
.post-card__categories a { background: var(--vic-paper); color: var(--vic-wine); border-radius: 2px; font-weight: 600; }

/* Treść wpisu */
.entry-content h2 { border-bottom: 2px solid var(--vic-line); padding-bottom: 6px; position: relative; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--vic-wine); }
.entry-content h3 { color: var(--vic-wine); }
.entry-content a { color: var(--vic-sky); text-decoration-color: var(--vic-lemon); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 0; background: #fff; border: 1px dashed var(--vic-wine); padding: 16px 20px; border-radius: 4px; font-family: 'Crimson Pro', Georgia, serif; font-style: italic; font-size: 1.15em; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.entry-content th { background: var(--vic-wine); color: #fff; text-align: left; }
.entry-content th, .entry-content td { border: 1px solid var(--vic-line); padding: 8px 10px; }
.entry-content tr:nth-child(even) td { background: var(--vic-paper); }
.entry-content figcaption, .wp-caption-text { font-size: .82rem; color: var(--vic-muted); font-style: italic; }
.vic-photo-credit { font-size: .8rem; color: var(--vic-muted); }
.entry-content .vic-zobacz { background: #fff; border: 1px solid var(--vic-line); border-top: 4px solid transparent; border-image: var(--vic-airmail) 4 0 0 0 / 4px 0 0 0; padding: 12px 16px; }

/* Przyciski */
.btn--primary, .entry-content .wp-block-button__link { background: var(--vic-wine); border-radius: 3px; color: #fff; }
.btn--primary:hover { background: var(--vic-sky); color: #fff; }

/* Kategorie */
.vic-cat-header { background: #fff; border: 1px solid var(--vic-line); border-left: 6px solid var(--vic-wine); padding: 22px 24px; border-radius: 0 4px 4px 0; margin-bottom: 24px; }
.vic-cat-header__eyebrow { font-family: 'Crimson Pro', Georgia, serif; font-style: italic; font-size: 1.05rem; color: var(--vic-wine); }
.vic-cat-header__count { font-size: .875rem; color: var(--vic-muted); margin: 8px 0 0; }
.vic-cat-faq { margin-top: 36px; background: #fff; border: 1px solid var(--vic-line); padding: 22px 24px; border-radius: 4px; }
.vic-cat-faq details { border-bottom: 1px solid var(--vic-line); padding: 10px 0; }
.vic-cat-faq summary { cursor: pointer; font-weight: 600; color: var(--vic-wine); }

/* Oceny */
.vic-rate { margin: 36px 0 8px; padding: 18px 20px; border: 1px solid var(--vic-line); border-radius: 4px; background: #fff; box-shadow: inset 0 4px 0 var(--vic-lemon); }
.vic-rate__q { font-weight: 600; margin: 0 0 6px; }
.vic-rate__stars button { background: none; border: 0; font-size: 1.7rem; line-height: 1; color: #d6cbb8; cursor: pointer; padding: 0 2px; }
.vic-rate__stars button.is-on { color: var(--vic-wine); }
.vic-rate.is-done .vic-rate__stars button { cursor: default; }
.vic-rate__sum { margin: 6px 0 0; font-size: .9rem; color: var(--vic-muted); }

/* Formularz kontaktowy */
.vic-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.vic-form input[type=text], .vic-form input[type=email], .vic-form textarea { width: 100%; max-width: 620px; border: 1px solid var(--vic-line); border-radius: 3px; padding: 10px 12px; font: inherit; box-sizing: border-box; background: #fff; }
.vic-form input:focus, .vic-form textarea:focus { outline: 2px solid var(--vic-lemon); border-color: var(--vic-wine); }
.vic-form__trap { position: absolute; left: -9999px; }
.vic-form__rodo { font-size: .82rem; color: var(--vic-muted); max-width: 620px; }
.vic-form__msg { background: #fff; border-left: 4px solid var(--vic-olive); padding: 10px 14px; }

/* Stopka */
.site-footer { background: var(--vic-wine-d); color: #f1e6e4; position: relative; padding-top: 5px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--vic-airmail); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--vic-lemon); }
.footer-bottom { border-top: 1px dashed rgba(255, 255, 255, .25); }

@media (max-width: 600px) {
	.vic-cat-header { padding: 16px; }
}
