/*
Theme Name: Feel Desain
Theme URI: https://www.feeldesain.com
Description: Child theme of Twenty Twenty-Five for Feel Desain. Visual grid home, classic editorial article.
Author: Feel Desain
Template: twentytwentyfive
Version: 1.0.11
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: feel-desain
*/

/* Labels and UI in Archivo, reading in EB Garamond */
.feel-label,
.wp-block-post-terms.feel-label a,
.wp-block-post-date.feel-label,
.wp-block-post-author-name.feel-label {
	font-family: var(--wp--preset--font-family--archivo);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.feel-display {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-stretch: 80%;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 0.95;
}
.feel-meta { color: var(--wp--preset--color--muted); }
.feel-meta > * { margin: 0; }

/* Cards */
.feel-card .wp-block-post-title a { text-decoration: none; }
.feel-card .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.feel-card .wp-block-post-featured-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.feel-side .wp-block-post-featured-image img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Small images from older posts: never upscale, show on a neutral panel.
   Applied to the grid cards, the opening story and the article header. */
.feel-card .wp-block-post-featured-image.is-small-image,
.feel-hero .wp-block-post-featured-image.is-small-image,
.feel-single-image.is-small-image {
	background: var(--wp--preset--color--stone);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}
.feel-card .wp-block-post-featured-image.is-small-image { aspect-ratio: 1 / 1; }
.feel-hero .wp-block-post-featured-image.is-small-image { aspect-ratio: 16 / 10; }
.feel-single-image.is-small-image { padding: 40px; }
.feel-card .wp-block-post-featured-image.is-small-image img,
.feel-hero .wp-block-post-featured-image.is-small-image img,
.feel-single-image.is-small-image img {
	aspect-ratio: auto !important;
	object-fit: contain !important;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100%;
}
.feel-card .wp-block-post-featured-image.is-small-image a,
.feel-hero .wp-block-post-featured-image.is-small-image a { display: contents; }

/* Posts without a featured image keep the layout regular */
.feel-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--stone);
	aspect-ratio: 1 / 1;
	width: 100%;
	overflow: hidden;
}
.feel-no-image img { width: 45%; max-width: 220px; height: auto; opacity: 0.35; }
.feel-hero .feel-no-image { aspect-ratio: 16 / 10; }
.feel-side .feel-no-image { width: 104px; height: 104px; flex: 0 0 104px; }
.feel-side .feel-no-image img { width: 70%; }

/* Grid items never grow wider than their column */
.wp-block-post-template > li, .feel-card { min-width: 0; }
.feel-card .wp-block-post-featured-image { width: 100%; max-width: 100%; }
.feel-card .wp-block-post-featured-image img { max-width: 100%; }

/* Search: plain icon in the header */
header .wp-block-search__button { background: transparent; color: var(--wp--preset--color--ink); border: 0; }
header .wp-block-search__button svg { width: 22px; height: 22px; }

/* Filter chips */
.feel-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.feel-chips a {
	display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
	border: 1px solid var(--wp--preset--color--ink); border-radius: 22px;
	font-family: var(--wp--preset--font-family--archivo); font-size: 14px; font-weight: 500;
	color: var(--wp--preset--color--ink); text-decoration: none;
}
.feel-chips a:hover, .feel-chips a.is-active { background: var(--wp--preset--color--ink); color: #fff; }

/* Ad slots: placed in templates, hidden until FEEL_SHOW_ADS is true in functions.php */
.feel-ad { display: none !important; }
body.feel-ads-on .feel-ad { display: flex !important; }
.feel-ad {
	flex-direction: column; align-items: center; gap: 6px;
	font-family: var(--wp--preset--font-family--archivo);
}
.feel-ad .feel-ad-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.feel-ad .feel-ad-box { width: 100%; background: var(--wp--preset--color--mist); display: flex; align-items: center; justify-content: center; }
.feel-ad-billboard .feel-ad-box { max-width: 970px; min-height: 250px; }
.feel-ad-leaderboard .feel-ad-box { max-width: 728px; min-height: 90px; }
.feel-ad-inarticle .feel-ad-box { max-width: 336px; min-height: 280px; }

/* Article body */
.single .wp-block-post-content > p:first-child::first-letter { font-size: inherit; }
.single .wp-block-post-content h2 {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800; font-stretch: 80%; text-transform: uppercase;
	font-size: 30px; line-height: 1.1; letter-spacing: -0.01em;
	margin-top: 2em;
}
.single .wp-block-post-content figcaption,
.single .wp-block-post-content .wp-element-caption {
	font-family: var(--wp--preset--font-family--archivo);
	font-size: 13px; color: var(--wp--preset--color--muted); text-align: left;
}
.single .wp-block-post-content blockquote {
	border: 0; border-top: 1px solid var(--wp--preset--color--ink); border-bottom: 1px solid var(--wp--preset--color--ink);
	padding: 32px 0; margin: 2em 0; text-align: center; font-style: italic; font-size: 30px; line-height: 1.25;
}
.single .wp-block-post-content img { height: auto; }
.feel-tags a {
	display: inline-block; padding: 10px 16px; border: 1px solid var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--archivo); font-size: 14px; text-decoration: none; margin: 0 6px 6px 0;
}
.feel-tags .wp-block-post-terms__separator { display: none; }

/* Header navigation */
.feel-nav a { text-decoration: none; }
.feel-nav .feel-nav-highlight a { color: var(--wp--preset--color--forest); font-weight: 700; }

/* Dark sections */
.feel-dark a { color: #fff; }

@media (max-width: 781px) {
	.feel-hide-mobile { display: none !important; }
	.feel-hero-title { font-size: 36px !important; }
	.single .wp-block-post-content blockquote { font-size: 24px; }
}

/* Festivals and Awards band */
.feel-guide-list { display: flex; flex-direction: column; margin: 8px 0 24px; }
.feel-guide-row {
	display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px;
	padding: 12px 0; border-top: 1px solid var(--wp--preset--color--line); align-items: baseline;
	font-size: 21px; line-height: 1.25;
}
.feel-guide-row .feel-label { font-size: 11px; }
@media (max-width: 781px) {
	.feel-guide-row { grid-template-columns: 1fr; gap: 2px; font-size: 18px; }
}


/* Images inside older posts written in classic HTML */
.wp-block-post-content img, .wp-block-post-content figure, .wp-block-post-content iframe, .wp-block-post-content video { max-width: 100%; }
.wp-block-post-content img { height: auto; }
.wp-block-post-content figure { margin-left: 0; margin-right: 0; }

/* Feel Desain TV */
.feel-tv-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.feel-tv-player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.feel-tv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feel-tv-facade { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.feel-tv-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feel-tv-icon {
	position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
	border: 2px solid #fff; border-radius: 50%; background: rgba(17,17,17,0.55); color: #fff;
	display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.feel-tv-facade:hover .feel-tv-icon, .feel-tv-facade:focus-visible .feel-tv-icon { background: var(--wp--preset--color--forest); }
.feel-tv-title { margin: 16px 0 0; font-size: 26px; line-height: 1.2; }
.feel-tv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.feel-tv-item {
	all: unset; cursor: pointer; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: center; width: 100%;
	font-family: var(--wp--preset--font-family--eb-garamond); font-size: 19px; line-height: 1.25; color: #fff;
}
.feel-tv-item img { width: 160px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.feel-tv-item:hover span, .feel-tv-item:focus-visible span { text-decoration: underline; text-underline-offset: 4px; }
.feel-tv-item:focus-visible, .feel-tv-facade:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 781px) {
	.feel-tv-grid { grid-template-columns: 1fr; }
	.feel-tv-item { grid-template-columns: 120px minmax(0, 1fr); font-size: 17px; }
	.feel-tv-item img { width: 120px; height: auto; }
}

/* Pages converted from the old page builder */
.page .wp-block-post-content h2 {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800; font-stretch: 80%; text-transform: uppercase;
	font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; margin-top: 2em;
}
.page .wp-block-post-content h3 { font-size: 24px; margin-top: 1.6em; }
.page .wp-block-post-content hr { border: 0; border-top: 1px solid var(--wp--preset--color--line); margin: 3em 0; }
.feel-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 32px; align-items: center; margin: 2em 0; }
.feel-partners a, .feel-partners img { display: block; }
.feel-partners img { width: 100%; height: 72px; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter .2s, opacity .2s; }
.feel-partners a:hover img { filter: none; opacity: 1; }

/* Side list thumbnails keep their size */
.feel-side .wp-block-post-featured-image { flex-shrink: 0; }
.feel-side .wp-block-post-featured-image a { display: block; width: 100%; height: 100%; }
.feel-side .wp-block-post-featured-image img { width: 100% !important; height: 100% !important; object-fit: cover; }

/* Mobile: one-line header, tighter spacing, shorter page */
@media (max-width: 781px) {
	header .is-layout-flex { flex-wrap: nowrap !important; }
	header .wp-block-image img { height: 28px !important; }
	header .wp-block-navigation__responsive-container-open { padding: 10px; }
	header .is-layout-flex > .is-layout-flex { gap: 0 !important; justify-content: flex-end; }
	header .wp-block-navigation { flex: 0 0 auto; }
	.single .wp-site-blocks [style*="padding-bottom:40px"] { padding-bottom: 24px !important; }
	.wp-site-blocks [style*="padding-top:48px"] { padding-top: 24px !important; }

	.wp-site-blocks [style*="padding-left:32px"] { padding-left: 16px !important; padding-right: 16px !important; }
	.wp-site-blocks [style*="padding-top:88px"] { padding-top: 44px !important; }
	.wp-site-blocks [style*="padding-top:72px"] { padding-top: 40px !important; }
	.wp-site-blocks [style*="padding-bottom:72px"] { padding-bottom: 40px !important; }
	.wp-site-blocks [style*="padding-top:64px"] { padding-top: 36px !important; }
	.wp-site-blocks [style*="padding-bottom:64px"] { padding-bottom: 36px !important; }
	.wp-site-blocks [style*="margin-top:96px"] { margin-top: 48px !important; }
	.wp-site-blocks [style*="margin-top:88px"] { margin-top: 44px !important; }
	.wp-site-blocks [style*="margin-top:72px"] { margin-top: 40px !important; }
	.wp-site-blocks [style*="padding-top:36px"] { padding: 22px !important; }
	.wp-site-blocks [style*="padding-top:40px;padding-right:48px"] { padding: 24px !important; }
	.wp-site-blocks [style*="font-size:48px"] { font-size: 32px !important; }
	.wp-site-blocks [style*="font-size:40px"] { font-size: 28px !important; }
	.wp-site-blocks [style*="font-size:44px"] { font-size: 30px !important; }

	/* Opening story */
	.feel-hero .wp-block-post-excerpt { font-size: 18px !important; }
	.feel-hero .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

	/* Just published: three items, smaller thumbnails */
	.feel-side li:nth-child(n+4) { display: none; }
	.feel-side .wp-block-post-featured-image { width: 80px !important; height: 80px !important; flex-basis: 80px !important; }
	.feel-side .wp-block-post-title { font-size: 18px !important; }
	.feel-side .feel-no-image { width: 80px; height: 80px; flex-basis: 80px; }

	/* Festivals and awards: two rows each */
	.feel-guide-list .feel-guide-row:nth-child(n+3) { display: none; }
	.feel-guide-list { margin-bottom: 16px; }

	/* Latest: two columns, chips on one scrolling line */
	.wp-block-post-template:has(> li .feel-card) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 14px !important; }
	.feel-card .wp-block-post-title { font-size: 18px !important; line-height: 1.2 !important; }
	.feel-card .feel-label, .feel-card .wp-block-post-terms { font-size: 10px !important; }
	.feel-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.feel-chips a { height: 38px; padding: 0 16px; font-size: 13px; flex: 0 0 auto; }

	/* Feel Desain TV: three videos */
	.feel-tv-list li:nth-child(n+4) { display: none; }
	.feel-tv-title { font-size: 20px; }

	/* Footer columns two by two */
	footer .wp-block-columns { flex-wrap: wrap !important; gap: 24px !important; }
	footer .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) { flex-basis: calc(50% - 12px) !important; flex-grow: 0; }
	footer .wp-block-column p { font-size: 15px; line-height: 1.9; }
}

/* Micro-animations */
@media (prefers-reduced-motion: no-preference) {
	/* Card images: slow, subtle zoom inside their frame */
	.feel-card .wp-block-post-featured-image,
	.feel-hero .wp-block-post-featured-image,
	.feel-side .wp-block-post-featured-image,
	.feel-card-interview .wp-block-post-featured-image { overflow: hidden; }
	.feel-card .wp-block-post-featured-image img,
	.feel-hero .wp-block-post-featured-image img,
	.feel-side .wp-block-post-featured-image img {
		transition: transform .7s cubic-bezier(.2, .7, .2, 1);
	}
	.feel-card:hover .wp-block-post-featured-image img,
	.feel-hero:hover .wp-block-post-featured-image img,
	.feel-side li:hover .wp-block-post-featured-image img { transform: scale(1.04); }

	/* Titles: underline that draws in from the left */
	.feel-card .wp-block-post-title a,
	.feel-side .wp-block-post-title a,
	.feel-hero .wp-block-post-title a {
		text-decoration: none;
		background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
		transition: background-size .35s ease;
	}
	.feel-card:hover .wp-block-post-title a,
	.feel-side li:hover .wp-block-post-title a,
	.feel-hero:hover .wp-block-post-title a { background-size: 100% 1px; text-decoration: none; }

	/* Header menu: same underline */
	.feel-nav .wp-block-navigation-item__content {
		background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
		transition: background-size .3s ease;
	}
	.feel-nav .wp-block-navigation-item__content:hover { background-size: 100% 1px; }

	/* Buttons: small lift */
	.wp-element-button, .wp-block-button__link, .feel-chips a {
		transition: transform .2s ease, background-color .2s ease, color .2s ease;
	}
	.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); }

	/* Arrow links nudge forward */
	.wp-block-query-pagination-next-arrow, .wp-block-query-pagination-previous-arrow { display: inline-block; transition: transform .25s ease; }
	.wp-block-query-pagination-next:hover .wp-block-query-pagination-next-arrow { transform: translateX(4px); }
	.wp-block-query-pagination-previous:hover .wp-block-query-pagination-previous-arrow { transform: translateX(-4px); }

	/* Feel Desain TV */
	.feel-tv-icon { transition: background .2s, transform .3s cubic-bezier(.2, .7, .2, 1); }
	.feel-tv-facade:hover .feel-tv-icon { transform: scale(1.1); }
	.feel-tv-facade img, .feel-tv-item img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
	.feel-tv-facade:hover img { transform: scale(1.03); }
	.feel-tv-item:hover img { opacity: .8; }

	/* Partner logos: soft lift */
	.feel-partners a { transition: transform .25s ease; }
	.feel-partners a:hover { transform: translateY(-3px); }

	/* Reveal on scroll (only when JavaScript runs) */
	.feel-js .feel-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
	.feel-js .feel-reveal.is-in { opacity: 1; transform: none; }
}

/* Guide pages: Design Festivals and Design Awards */
.fd-page { --fd-accent: var(--wp--preset--color--forest); }
.fd-awards { --fd-accent: var(--wp--preset--color--brick); }
.fd-page .wp-block-post-content { max-width: 1100px !important; margin-left: auto !important; margin-right: auto !important; }
.fd-page .wp-block-post-content > * { max-width: 1100px !important; }
.fd-page .wp-block-post-content > p:not(.fd-stats) { max-width: 720px !important; margin-left: auto; margin-right: auto; font-size: 22px; }

.fd-hero {
	width: 100vw; max-width: none !important; margin: -72px 0 56px calc(50% - 50vw) !important;
	background: var(--fd-accent); color: #fff; position: relative; overflow: hidden;
}
.fd-hero::after {
	content: ""; position: absolute; right: -6vw; bottom: -18vw; width: 42vw; height: 42vw;
	border-radius: 50%; border: 2px solid rgba(255,255,255,.18);
}
.fd-hero-inner { max-width: 1164px; margin: 0 auto; padding: 96px 32px 72px; position: relative; z-index: 1; }
.fd-kicker, .fd-stats {
	font-family: var(--wp--preset--font-family--archivo); font-size: 12px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; margin: 0;
}
.fd-stats { margin-top: 28px; opacity: .8; }
.fd-title {
	font-family: var(--wp--preset--font-family--archivo); font-weight: 800; font-stretch: 75%;
	text-transform: uppercase; font-size: clamp(64px, 13vw, 200px); line-height: .86; letter-spacing: -.02em;
	margin: 18px 0 24px; color: #fff;
}
.fd-lead { font-size: clamp(20px, 2.2vw, 28px); font-style: italic; max-width: 760px; margin: 0; line-height: 1.3; }

/* Sticky navigation */
.fd-nav {
	position: sticky; top: 0; z-index: 20; background: var(--wp--preset--color--paper);
	border-top: 2px solid var(--wp--preset--color--ink); border-bottom: 1px solid var(--wp--preset--color--line);
	margin: 48px auto 8px !important;
}
.admin-bar .fd-nav { top: 32px; }
.fd-nav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.fd-nav a {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
	font-family: var(--wp--preset--font-family--archivo); font-size: 13px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; text-decoration: none; color: var(--wp--preset--color--ink); border-radius: 18px;
	transition: background-color .2s, color .2s;
}
.fd-nav a:hover { background: var(--wp--preset--color--mist); }
.fd-nav a.is-active { background: var(--wp--preset--color--ink); color: #fff; }
.fd-nav a.is-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fd-accent); }
.fd-nav a.is-active.is-now::before { background: #fff; }

/* Section headings */
.fd-page .wp-block-post-content h2.fd-heading {
	font-family: var(--wp--preset--font-family--archivo); font-weight: 800; font-stretch: 75%;
	text-transform: uppercase; font-size: clamp(44px, 6vw, 84px); line-height: .9; letter-spacing: -.01em;
	margin: 72px auto 24px; padding-top: 18px; border-top: 6px solid var(--fd-accent);
	scroll-margin-top: 90px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.fd-now {
	font-size: 12px; letter-spacing: .1em; font-stretch: 100%; padding: 8px 12px; border-radius: 16px;
	background: var(--fd-accent); color: #fff; display: inline-flex; align-items: center; gap: 8px;
}
.fd-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* Cards */
.fd-page .fd-festival-list {
	list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px;
}
.fd-card {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 32px;
	background: var(--wp--preset--color--mist); border: 1px solid transparent; margin: 0 !important;
}
.fd-name { font-size: 28px; line-height: 1.08; padding-right: 32px; }
.fd-name strong { font-weight: 500; }
.fd-name a { text-decoration: none; color: inherit; }
.fd-card.has-link .fd-name a::after { content: ""; position: absolute; inset: 0; }
.fd-place {
	font-family: var(--wp--preset--font-family--archivo); font-size: 12px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: var(--fd-accent);
}
.fd-when {
	align-self: flex-start; font-family: var(--wp--preset--font-family--archivo); font-size: 12px; font-weight: 500;
	padding: 5px 10px; border: 1px solid var(--wp--preset--color--ink); border-radius: 14px;
}
.fd-desc { font-size: 18px; line-height: 1.45; color: #3a3835; }
.fd-arrow {
	position: absolute; top: 22px; right: 24px; font-family: var(--wp--preset--font-family--archivo);
	font-size: 22px; line-height: 1; color: var(--fd-accent);
}
@media (prefers-reduced-motion: no-preference) {
	.fd-card { transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .3s, border-color .3s; }
	.fd-arrow { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
	.fd-card.has-link:hover { transform: translateY(-4px); background: #fff; border-color: var(--wp--preset--color--ink); }
	.fd-card.has-link:hover .fd-arrow { transform: translate(3px, -3px); }
	.fd-card.has-link:active { transform: scale(.98); }
	.fd-now::before, .fd-nav a.is-now::before { animation: fd-pulse 1.8s ease-in-out infinite; }
	@keyframes fd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
}
@media (max-width: 781px) {
	.fd-hero { margin: -40px 0 32px calc(50% - 50vw) !important; }
	.fd-hero-inner { padding: 56px 16px 44px; }
	.fd-hero::after { width: 80vw; height: 80vw; right: -30vw; bottom: -40vw; }
	.fd-page .wp-block-post-content > p:not(.fd-stats) { font-size: 19px; }
	.fd-card { padding: 22px 20px 24px; }
	.fd-name { font-size: 24px; }
	.fd-page .wp-block-post-content h2.fd-heading { margin-top: 48px; }
	.admin-bar .fd-nav { top: 0; }
}

/* Home band: "now" row and red accent for awards */
.feel-guide-row.is-now .feel-label { color: var(--wp--preset--color--forest); display: inline-flex; align-items: center; gap: 6px; }
.feel-guide-row.is-now .feel-label::after { content: "Now"; font-size: 9px; color: #fff; background: var(--wp--preset--color--forest); padding: 3px 6px; border-radius: 8px; }
.feel-guides .wp-block-column:last-child .wp-block-button__link { background-color: var(--wp--preset--color--brick) !important; }

/* Tap feedback on touch screens */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
	.feel-card, .feel-side li, .wp-block-button__link, .feel-chips a, .feel-tv-item { transition: transform .15s ease; }
	.feel-card:active, .feel-side li:active, .wp-block-button__link:active, .feel-chips a:active, .feel-tv-item:active { transform: scale(.97); }
}

/* Mobile header: compact icons, search then menu at the right edge */
@media (max-width: 781px) {
	header .wp-block-search__inside-wrapper { width: auto !important; padding: 0 !important; border: 0 !important; }
	header .wp-block-search__button { width: 44px !important; height: 44px; padding: 10px !important; margin: 0 !important; display: flex; align-items: center; justify-content: center; }
	header .wp-block-search { order: 1; }
	header .wp-block-navigation { order: 2; margin-right: -10px; }
}

/* Header refinements: smaller logo, search opens over the bar on mobile */
header .wp-block-image img { height: 32px !important; width: auto !important; max-width: none; object-fit: contain; }
header .wp-block-image { flex-shrink: 0; margin: 0; }
header .is-layout-flex { position: relative; }
header .is-layout-flex > .is-layout-flex { position: static; }
@media (max-width: 781px) {
	header .wp-block-image img { height: 24px !important; }
	header .wp-block-search:not(.wp-block-search__searchfield-hidden) {
		position: absolute; inset: 0; z-index: 30; background: var(--wp--preset--color--paper);
		display: flex; align-items: center;
	}
	header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { width: 100% !important; display: flex; gap: 8px; }
	header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
		flex: 1; height: 44px; border: 0; border-bottom: 2px solid var(--wp--preset--color--ink); border-radius: 0;
		background: transparent; font-family: var(--wp--preset--font-family--eb-garamond); font-size: 20px; padding: 0 4px;
	}
}

/* Mobile menu overlay: left aligned, bigger type */
.wp-block-navigation__responsive-container.is-menu-open { padding: 24px 20px 40px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 56px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 4px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--archivo); font-weight: 800; font-stretch: 80%;
	text-transform: uppercase; font-size: 34px; line-height: 1.1; padding: 4px 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .feel-nav-highlight .wp-block-navigation-item__content { color: var(--wp--preset--color--forest); }
.wp-block-navigation a:focus:not(:focus-visible), .wp-block-navigation button:focus:not(:focus-visible) { outline: none; }

/* Tags at the end of articles: smaller */
.feel-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feel-tags a {
	margin: 0 !important; padding: 5px 10px !important; font-size: 11px !important; letter-spacing: .06em;
	border: 1px solid var(--wp--preset--color--line) !important; color: var(--wp--preset--color--muted) !important;
	transition: border-color .2s, color .2s;
}
.feel-tags a:hover { border-color: var(--wp--preset--color--ink) !important; color: var(--wp--preset--color--ink) !important; }

/* Search field: underline only, no focus box */
header .wp-block-search__input { outline: none !important; box-shadow: none !important; }
header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { border: 0 !important; border-bottom: 2px solid var(--wp--preset--color--ink) !important; }

/* Top bar: festivals of the month */
.feel-topbar { background: var(--wp--preset--color--forest); color: #fff; font-family: var(--wp--preset--font-family--archivo); font-size: 13px; }
.feel-topbar-inner { max-width: 1376px; margin: 0 auto; padding: 0 32px; min-height: 36px; display: flex; align-items: center; gap: 16px; }
.feel-topbar-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; flex-shrink: 0; }
.feel-topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.feel-topbar-list { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s ease; }
.feel-topbar-list.is-out { opacity: 0; }
.feel-topbar-link { color: #fff !important; font-weight: 700; text-decoration: none; flex-shrink: 0; }
.feel-topbar-link span { display: inline-block; transition: transform .25s ease; }
.feel-topbar-link:hover span { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
	.feel-topbar-dot { animation: fd-pulse 1.8s ease-in-out infinite; }
}
@media (max-width: 781px) {
	.feel-topbar-inner { padding: 0 16px; gap: 10px; }
	.feel-topbar-label { font-size: 10px; }
	.feel-topbar-link { font-size: 12px; }
}
