/* OneDay City Guide – one-day itinerary posts (builds on country-guide.css) */
.odcg-city #qodef-page-title,
.odcg-city .qodef-page-title { display: none !important; }
.odcg-city #qodef-page-inner { padding-top: 0 !important; }
.odcg-cityguide #ez-toc-container { display: none !important; }

/* ---------- HERO (split: text + photo) ---------- */
.odcg-chero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: linear-gradient(180deg, var(--odcg-cream) 0%, #fff 100%); overflow: hidden; }
.odcg-chero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--odcg-pink-soft); left: -180px; top: -220px; }
.odcg-chero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(249, 192, 208, .35); right: 38%; bottom: -150px; }
.odcg-chero__inner { position: relative; z-index: 1; max-width: 1300px; margin: 0 auto; padding: 56px 30px 60px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.odcg-chero--noimg .odcg-chero__inner { grid-template-columns: minmax(0, 860px); }
.odcg-ccrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; margin-bottom: 22px; color: var(--odcg-muted); }
.odcg-ccrumbs a { color: var(--odcg-ink) !important; font-weight: 500 !important; text-decoration: none !important; border-bottom: 1px solid var(--odcg-pink-strong); }
.odcg-ccrumbs a:hover { color: var(--odcg-pink-strong) !important; }
.odcg-ccrumbs span[aria-hidden] { color: var(--odcg-pink-strong); }
.odcg-ccrumbs [aria-current] { color: var(--odcg-muted); }
.odcg-chero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px !important; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--odcg-pink-strong); }
.odcg-chero__eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.odcg-chero__title { font-size: clamp(34px, 4.2vw, 58px) !important; line-height: 1.08 !important; letter-spacing: -.02em; margin: 0 0 18px !important; color: var(--odcg-ink) !important; }
.odcg-chero__intro { font-size: 19px; line-height: 1.6; color: #444; margin: 0 0 26px !important; max-width: 620px; }
.odcg-chero__meta { display: flex; align-items: center; gap: 14px; }
.odcg-chero__avatar { width: 48px !important; height: 48px !important; border-radius: 50%; object-fit: cover; object-position: 65% 40%; margin: 0 !important; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.odcg-chero__meta span { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; }
.odcg-chero__meta strong { font-weight: 600; }
.odcg-chero__meta strong a { color: var(--odcg-ink) !important; text-decoration: none !important; }
.odcg-chero__meta em { font-style: normal; color: var(--odcg-muted); font-size: 14px; }
.odcg-chero__media { position: relative; margin: 0; }
.odcg-chero__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 28px; background: var(--odcg-pink); z-index: -1; }
.odcg-chero__img { display: block; width: 100% !important; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; margin: 0 !important; box-shadow: 0 24px 50px rgba(0,0,0,.14); }

/* ---------- LAYOUT ---------- */
.odcg-clayout { max-width: 1240px; margin: 0 auto; padding: 56px 30px 70px; display: grid; grid-template-columns: minmax(0, 760px) 340px; justify-content: space-between; gap: 60px; align-items: start; }
.odcg-ccontent { grid-column: 1; grid-row: 1; min-width: 0; }
.odcg-csidebar { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 22px; align-self: stretch; }

/* sidebar cards */
.odcg-glance dl { margin: 0; }
.odcg-glance dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(0,0,0,.12); font-size: 15px; }
.odcg-glance dl > div:last-child { border-bottom: 0; }
.odcg-glance dt { color: var(--odcg-muted); }
.odcg-glance dd { margin: 0; font-weight: 600; text-align: right; }
.odcg-glance dd a { color: var(--odcg-ink) !important; text-decoration: underline; text-decoration-color: var(--odcg-pink-strong); text-underline-offset: 3px; }
.odcg-ccountry { display: block; padding: 0; overflow: hidden; background: var(--odcg-ink); color: #fff !important; text-decoration: none !important; position: relative; }
.odcg-ccountry img { display: block; width: 100%; height: 170px; object-fit: cover; margin: 0; opacity: .85; transition: transform .5s; }
.odcg-ccountry:hover img { transform: scale(1.05); }
.odcg-ccountry span { display: block; padding: 18px 22px 22px; }
.odcg-ccountry small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--odcg-pink); margin-bottom: 6px; }
.odcg-ccountry strong { display: block; font-size: 21px; font-weight: 500; line-height: 1.25; margin-bottom: 6px; }
.odcg-ccountry em { display: block; font-style: normal; font-size: 14px; color: rgba(255,255,255,.8); }

/* ---------- CONTENT (old classic posts + new block posts) ---------- */
.odcg-ccontent { font-size: 18px; line-height: 1.8; color: #222; }
.odcg-ccontent h2 { color: var(--odcg-ink) !important; }
.odcg-ccontent h2 strong, .odcg-ccontent h3 strong { font-weight: inherit; }
.odcg-ccontent h4 { font-size: 20px !important; margin: 1.4em 0 .4em !important; }
.odcg-ccontent img { max-width: 100%; height: auto; border-radius: 16px; }
.odcg-ccontent p > img, .odcg-ccontent > img, .odcg-ccontent p > a > img { display: block; margin: 1.4em auto; }
.odcg-ccontent .wp-block-image, .odcg-ccontent .wp-caption { margin: 1.8em 0; max-width: 100% !important; }
.odcg-ccontent .wp-caption-text { font-size: 14px; color: var(--odcg-muted); text-align: center; margin-top: 8px; }
.odcg-ccontent .wp-block-gallery { margin: 1.8em 0; gap: 12px; }
.odcg-ccontent .wp-block-gallery figure img { border-radius: 14px; }
.odcg-ccontent hr { border: 0; height: 1px; background: var(--odcg-line); margin: 2.4em 0; }
.odcg-ccontent blockquote { margin: 1.8em 0; padding: 18px 24px; background: var(--odcg-pink-soft); border-left: 4px solid var(--odcg-pink-strong); border-radius: 0 16px 16px 0; font-size: 18px; }
.odcg-ccontent blockquote p:last-child { margin-bottom: 0; }
.odcg-ccontent iframe { max-width: 100%; border-radius: 16px; }
.odcg-ccontent > div[style*="padding-bottom"] { border-radius: 18px; overflow: hidden; margin: 1.6em 0 2em; }
.odcg-ccontent strong { color: var(--odcg-ink); }
/* lists that hold "Opening hours / Entrance fee" style details */
.odcg-ccontent ul { background: transparent; }
.odcg-ccontent h3 + ul, .odcg-ccontent p + ul { padding: 16px 20px 16px 38px; background: var(--odcg-cream); border-radius: 16px; }
.odcg-ccontent ol { padding-left: 1.4em; }
.odcg-ccontent ol li::marker { color: var(--odcg-pink-strong); font-weight: 600; }
/* ez-toc anchors inside headings are harmless; hide the box itself */
.odcg-ccontent .ez-toc-container { display: none; }

/* author box */
.odcg-author { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; margin: 3em 0 0; padding: 26px; background: var(--odcg-cream); border-radius: 24px; }
.odcg-author img { width: 96px !important; height: 96px !important; border-radius: 50% !important; object-fit: cover; object-position: 65% 40%; margin: 0 !important; }
.odcg-author h3 { margin: 0 0 6px !important; font-size: 24px !important; }
.odcg-author p { font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
.odcg-author__eyebrow { font-size: 12px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--odcg-pink-strong); margin: 0 0 4px !important; }
.odcg-btn--ghost { background: transparent; border: 2px solid var(--odcg-ink); padding: 9px 18px; margin-left: 6px; }
.odcg-btn--ghost:hover { background: var(--odcg-ink); color: #fff !important; }

/* more itineraries */
.odcg-cmore { width: 100vw; margin-left: calc(50% - 50vw); background: var(--odcg-pink-soft); }
.odcg-cmore__inner { max-width: 1240px; margin: 0 auto; padding: 64px 30px 72px; }
.odcg-cmore__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.odcg-cmore__head h2 { font-size: clamp(28px, 3vw, 40px) !important; line-height: 1.15 !important; margin: 0 !important; }
.odcg-cmore__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.odcg-cmore__card { display: block; background: #fff; border-radius: 20px; overflow: hidden; padding-bottom: 18px; color: var(--odcg-ink) !important; text-decoration: none !important; transition: transform .25s, box-shadow .25s; }
.odcg-cmore__card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.odcg-cmore__img { display: block; height: 170px; background: linear-gradient(135deg, var(--odcg-pink), var(--odcg-pink-strong)); overflow: hidden; margin-bottom: 14px; }
.odcg-cmore__img img { width: 100%; height: 100%; object-fit: cover; margin: 0; display: block; }
.odcg-cmore__card small { display: block; padding: 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--odcg-pink-strong); }
.odcg-cmore__card strong { display: block; padding: 2px 18px 0; font-size: 20px; font-weight: 500; line-height: 1.3; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
	.odcg-clayout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
	.odcg-cmore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.odcg-chero__inner { grid-template-columns: 1fr; gap: 26px; padding: 18px 16px 34px; }
	.odcg-chero__media { order: -1; margin: 0 -4px; }
	.odcg-chero__media::before { inset: 14px -10px -12px 14px; border-radius: 22px; }
	.odcg-chero__img { border-radius: 22px; aspect-ratio: 16 / 11; }
	.odcg-chero__intro { font-size: 17px; }
	.odcg-ccrumbs { margin-bottom: 14px; font-size: 13px; }
	.odcg-chero::after { display: none; }
	.odcg-chero::before { width: 360px; height: 360px; left: -160px; top: -160px; }
}
@media (max-width: 1024px) {
	.odcg-clayout { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding: 28px 20px 50px; }
	.odcg-csidebar { display: contents; }
	.odcg-csidebar .odcg-sticky { display: contents; }
	.odcg-ccontent { order: 1; font-size: 17px; }
	.odcg-glance { order: 2; }
	.odcg-ccountry { order: 3; }
	.odcg-csidebar .odcg-popular { order: 4; }
	.odcg-csidebar .odcg-work { order: 5; }
}
@media (max-width: 600px) {
	.odcg-author { grid-template-columns: 1fr; padding: 22px; }
	.odcg-cmore__inner { padding: 44px 16px 52px; }
	.odcg-cmore__head { flex-direction: column; align-items: flex-start; }
	.odcg-cmore__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.odcg-cmore__img { height: 120px; }
	.odcg-cmore__card strong { font-size: 16px; padding: 2px 12px 0; }
	.odcg-cmore__card small { padding: 0 12px; font-size: 11px; }
	.odcg-ccontent h3 + ul, .odcg-ccontent p + ul { padding: 14px 16px 14px 32px; }
}
