/* Siddhi Olympia theme – header, footer, typography, blog and page layouts.
   Page sections (hero, cards, forms…) are styled by the Siddhi Olympia Core plugin. */

:root {
	--sot-gold: #b8894a;
	--sot-gold-2: #d6b47c;
	--sot-gold-dark: #8f6a35;
	--sot-ink: #1f1b16;
	--sot-text: #4d473f;
	--sot-muted: #7a7266;
	--sot-cream: #f8f3ea;
	--sot-dark: #16130f;
	--sot-line: rgba(31, 27, 22, .1);
	--sot-head: "Cormorant Garamond", Georgia, serif;
	--sot-body: "Jost", "Helvetica Neue", Arial, sans-serif;
	--sot-radius: 14px;
	--sot-header-h: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--so-header-h, 92px) + 16px); }
body { margin: 0; font-family: var(--sot-body); font-size: 17px; line-height: 1.7; color: var(--sot-text); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--sot-gold-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sot-gold); }
h1, h2, h3, h4, h5, h6 { font-family: var(--sot-head); color: var(--sot-ink); font-weight: 600; line-height: 1.2; margin: 1.4em 0 .5em; }
h1 { font-size: clamp(34px, 4.6vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.sot-skip { position: absolute; left: -9999px; top: 8px; z-index: 100001; background: #fff; padding: 10px 16px; border-radius: 8px; }
.sot-skip:focus { left: 8px; }
.sot-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sot-main { display: block; }

/* ---------- Buttons ---------- */
.sot-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; background: var(--sot-gold); color: #fff !important; border: 1px solid var(--sot-gold); font-weight: 500; font-size: 15px; letter-spacing: .04em; line-height: 1.2; cursor: pointer; transition: background .2s, transform .2s, color .2s; }
.sot-btn:hover { background: var(--sot-gold-dark); border-color: var(--sot-gold-dark); color: #fff !important; transform: translateY(-1px); }
.sot-btn--outline { background: transparent; color: var(--sot-gold-dark) !important; }
.sot-btn--outline:hover { background: var(--sot-gold); color: #fff !important; }
.sot-btn--wa { background: #25d366; border-color: #25d366; }
.sot-btn--wa:hover { background: #1ebe57; border-color: #1ebe57; }
.sot-btn--block { width: 100%; }
.sot-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }

/* ---------- Top bar ---------- */
.sot-topbar { background: var(--sot-dark); color: #cfc6b8; font-size: 13.5px; letter-spacing: .03em; }
.sot-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.sot-topbar__contact { display: flex; gap: 22px; }
.sot-topbar a { color: #efe4d0; display: inline-flex; align-items: center; gap: 6px; }
.sot-topbar a:hover { color: var(--sot-gold-2); }
.sot-topbar .so-ico { color: var(--sot-gold-2); }

/* ---------- Header ---------- */
.sot-header { position: relative; z-index: 9990; background: #fff; border-bottom: 1px solid rgba(184, 137, 74, .18); box-shadow: 0 2px 14px rgba(31, 27, 22, .06); transition: box-shadow .25s; }
body.sot-sticky .sot-header { position: -webkit-sticky; position: sticky; top: 0; }
body.admin-bar.sot-sticky .sot-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar.sot-sticky .sot-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar.sot-sticky .sot-header { top: 0; } }
.sot-header.is-scrolled { box-shadow: 0 6px 22px rgba(31, 27, 22, .12); }
.sot-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--sot-header-h); transition: min-height .25s; }
.sot-header.is-scrolled .sot-header__inner { min-height: 76px; }
.sot-header__brand { flex: none; }
.sot-logo { display: inline-flex; align-items: center; line-height: 0; }
.sot-logo__img { display: block; width: auto; max-height: 72px; max-width: 200px; object-fit: contain; transition: max-height .25s; }
.sot-header.is-scrolled .sot-logo__img { max-height: 60px; }
.sot-nav { flex: 1; display: flex; justify-content: flex-end; }
.sot-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.sot-menu li { position: relative; margin: 0; }
.sot-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--sot-ink); font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.sot-menu > li > a:hover,
.sot-menu > li.current-menu-item > a, .sot-menu > li.current-menu-ancestor > a, .sot-menu > li.current_page_item > a, .sot-menu > li.current-menu-parent > a { color: var(--sot-gold); }
.sot-menu > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 2px; }
.sot-menu .sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(31, 27, 22, .3); border: 1px solid var(--sot-line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 10; }
.sot-menu li:hover > .sub-menu, .sot-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sot-menu .sub-menu a { display: block; padding: 9px 20px; color: var(--sot-ink); font-size: 15px; }
.sot-menu .sub-menu a:hover, .sot-menu .sub-menu .current-menu-item > a { color: var(--sot-gold); background: var(--sot-cream); }
.sot-menu .sub-menu .sub-menu { top: -10px; left: 100%; }
.sot-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.sot-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--sot-line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.sot-burger span { display: block; height: 2px; background: var(--sot-ink); border-radius: 2px; }

/* ---------- Off-canvas mobile menu ---------- */
.sot-offcanvas { position: fixed; inset: 0; z-index: 100000; visibility: hidden; pointer-events: none; }
.sot-offcanvas.is-open { visibility: visible; pointer-events: auto; }
.sot-offcanvas__backdrop { position: absolute; inset: 0; background: rgba(14, 11, 8, .55); opacity: 0; transition: opacity .25s; }
.sot-offcanvas.is-open .sot-offcanvas__backdrop { opacity: 1; }
.sot-offcanvas__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
.sot-offcanvas.is-open .sot-offcanvas__panel { transform: none; }
.sot-offcanvas__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--sot-line); }
.sot-logo--small .sot-logo__img { max-height: 56px; }
.sot-offcanvas__close { width: 42px; height: 42px; border: 1px solid var(--sot-line); background: #fff; border-radius: 10px; font-size: 26px; line-height: 1; cursor: pointer; color: var(--sot-ink); }
.sot-mobile-menu { list-style: none; margin: 0; padding: 10px 20px; }
.sot-mobile-menu li { margin: 0; border-bottom: 1px solid var(--sot-line); position: relative; }
.sot-mobile-menu a { display: block; padding: 14px 44px 14px 0; color: var(--sot-ink); font-size: 16px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.sot-mobile-menu .current-menu-item > a { color: var(--sot-gold); }
.sot-mobile-menu .sub-menu { list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; display: none; }
.sot-mobile-menu .sub-menu li { border: 0; }
.sot-mobile-menu .sub-menu a { text-transform: none; font-size: 15px; padding: 9px 0; color: var(--sot-text); }
.sot-mobile-menu li.is-open > .sub-menu { display: block; }
.sot-sub-toggle { position: absolute; right: 0; top: 8px; width: 36px; height: 36px; border: 0; background: var(--sot-cream); border-radius: 8px; cursor: pointer; color: var(--sot-ink); }
.sot-sub-toggle::before { content: "+"; font-size: 20px; line-height: 36px; }
li.is-open > .sot-sub-toggle::before { content: "–"; }
.sot-offcanvas__actions { padding: 20px; display: grid; gap: 10px; margin-top: auto; }
body.sot-menu-open { overflow: hidden; }
body.sot-menu-open .so-sticky, body.sot-menu-open .so-wa-float { display: none !important; }

/* ---------- Banners ---------- */
.sot-banner, .sot-post-hero { position: relative; background: var(--sot-dark) var(--sot-banner, none) center / cover no-repeat; color: #eee5d6; }
.sot-banner::before, .sot-post-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 11, 8, .88), rgba(14, 11, 8, .45)); }
.sot-banner__inner, .sot-post-hero__inner { position: relative; padding-top: 110px; padding-bottom: 60px; }
.sot-banner__title, .sot-post-hero__title { color: #fff; margin: 10px 0 12px; font-size: clamp(34px, 4.6vw, 58px); max-width: 900px; line-height: 1.08; }
.sot-banner__sub { font-size: 19px; color: #e0d7c7; max-width: 720px; margin: 0; }
.sot-crumbs { font-size: 14px; letter-spacing: .04em; color: #cfc4b1; }
.sot-crumbs a { color: var(--sot-gold-2); }
.sot-crumbs span { margin: 0 6px; opacity: .6; }
.sot-meta { font-size: 14px; color: var(--sot-muted); margin: 0 0 8px; letter-spacing: .03em; }
.sot-post-hero .sot-meta { color: #d9cfbe; }
.sot-post-hero .sot-meta a { color: var(--sot-gold-2); }
.sot-meta__sep { margin: 0 8px; }

/* ---------- Content ---------- */
.sot-content-area { padding-top: 70px; padding-bottom: 90px; }
.sot-has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.sot-entry { max-width: 820px; margin: 0 auto; }
.sot-has-sidebar .sot-entry { max-width: none; margin: 0; }
.sot-entry--page { max-width: 900px; }
.sot-entry__content > *:first-child { margin-top: 0; }
.sot-entry__content h2 { font-size: clamp(28px, 3vw, 36px); }
.sot-entry__content ul, .sot-entry__content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.sot-entry__content li { margin-bottom: .4em; }
.sot-entry__content blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--sot-gold); background: var(--sot-cream); border-radius: 0 12px 12px 0; font-family: var(--sot-head); font-size: 22px; color: var(--sot-ink); }
.sot-entry__content img { border-radius: 12px; }
.sot-entry__content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 16px; }
.sot-entry__content th, .sot-entry__content td { padding: 12px 14px; border-bottom: 1px solid var(--sot-line); text-align: left; }
.sot-entry__content .alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.sot-entry__footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--sot-line); }
.sot-tags a { display: inline-block; padding: 4px 12px; margin: 0 6px 6px 0; background: var(--sot-cream); border-radius: 999px; font-size: 14px; }
.sot-post-nav { display: flex; justify-content: space-between; gap: 20px; font-weight: 500; }
.sot-post-nav div:last-child { text-align: right; }
.sot-fullwidth-content > *:first-child { margin-top: 0; }

/* Blog grid */
.sot-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.sot-card { background: #fff; border: 1px solid var(--sot-line); border-radius: var(--sot-radius); overflow: hidden; box-shadow: 0 18px 40px -22px rgba(31, 27, 22, .35); display: flex; flex-direction: column; transition: transform .3s; }
.sot-card:hover { transform: translateY(-4px); }
.sot-card__media { display: block; aspect-ratio: 16 / 10; background: var(--sot-cream); overflow: hidden; }
.sot-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sot-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.sot-card__title { font-size: 24px; margin: 4px 0 10px; line-height: 1.25; }
.sot-card__title a { color: var(--sot-ink); }
.sot-card__body p { font-size: 15.5px; }
.sot-card .sot-link { margin-top: auto; }
.sot-pagination { margin-top: 44px; text-align: center; }
.sot-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; margin: 0 3px; border-radius: 999px; border: 1px solid var(--sot-line); color: var(--sot-ink); }
.sot-pagination .page-numbers.current, .sot-pagination .page-numbers:hover { background: var(--sot-gold); border-color: var(--sot-gold); color: #fff; }
.sot-empty { text-align: center; max-width: 640px; margin: 0 auto; }
.sot-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Search, sidebar, comments */
.sot-search { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 0; }
.sot-search input { flex: 1; border: 1px solid #ddd3c3; border-radius: 999px; padding: 12px 18px; background: #fdfbf7; }
.sot-sidebar .sot-widget { background: var(--sot-cream); border-radius: var(--sot-radius); padding: 24px; margin-bottom: 24px; }
.sot-widget__title { font-size: 22px; margin: 0 0 12px; }
.sot-sidebar ul { list-style: none; padding: 0; margin: 0; }
.sot-sidebar li { padding: 6px 0; border-bottom: 1px solid var(--sot-line); }
.sot-comments { margin-top: 56px; }
.sot-comment-list { list-style: none; padding: 0; }
.sot-comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--sot-line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid #ddd3c3; border-radius: 10px; padding: 12px 14px; background: #fdfbf7; }
.comment-form .submit { background: var(--sot-gold); color: #fff; border: 0; padding: 13px 26px; border-radius: 999px; cursor: pointer; }

/* ---------- Footer ---------- */
.sot-footer { background: #14110d; color: #b9b0a2; font-size: 15.5px; }
.sot-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-top: 80px; padding-bottom: 56px; }
.sot-footer .sot-logo__img { max-height: 110px; max-width: 200px; }
.sot-footer__about p { margin: 18px 0 0; }
.sot-footer__title { font-family: var(--sot-head); color: #fff; font-size: 24px; margin: 0 0 18px; }
.sot-footer__menu, .sot-footer__contact { list-style: none; margin: 0; padding: 0; }
.sot-footer__menu li { margin: 0 0 10px; }
.sot-footer a { color: #ddd3c3; }
.sot-footer a:hover { color: var(--sot-gold-2); }
.sot-footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.sot-footer__contact .so-ico { flex: none; color: var(--sot-gold); margin-top: 4px; }
.sot-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.sot-social a { display: inline-block; padding: 6px 14px; border: 1px solid rgba(214, 180, 124, .35); border-radius: 999px; font-size: 13px; }
.sot-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 26px; font-size: 13px; color: #8f877a; text-align: center; }
.sot-footer__bottom p { margin: 4px 0; }
.sot-footer__bottom .so-rera { font-size: 13px; }
.sot-footer__bottom a { color: var(--sot-gold-2); }

/* The theme prints the RERA/disclaimer line itself. */
body.sot .so-legal-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.sot-nav, .sot-header__cta { display: none; }
	.sot-burger { display: inline-flex; }
	.sot-header__inner { justify-content: space-between; min-height: 80px; }
	.sot-logo__img { max-height: 60px; }
}
@media (max-width: 960px) {
	.sot-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sot-has-sidebar { grid-template-columns: 1fr; }
	.sot-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.sot-topbar__text { display: none; }
	.sot-topbar__inner { justify-content: center; }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.sot-container { padding: 0 16px; }
	.sot-topbar { display: none; }
	.sot-header__inner { min-height: 70px; }
	.sot-header.is-scrolled .sot-header__inner { min-height: 64px; }
	.sot-logo__img, .sot-header.is-scrolled .sot-logo__img { max-height: 50px; max-width: 150px; }
	.sot-post-grid { grid-template-columns: 1fr; }
	.sot-footer__grid { grid-template-columns: 1fr; padding-top: 56px; gap: 30px; }
	.sot-banner__inner, .sot-post-hero__inner { padding-top: 70px; padding-bottom: 44px; }
	.sot-banner__sub { font-size: 16px; }
	.sot-content-area { padding-top: 48px; padding-bottom: 64px; }
	.sot-post-nav { flex-direction: column; }
	.sot-post-nav div:last-child { text-align: left; }
	.sot-search { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sot-offcanvas__panel, .sot-card { transition: none; }
}
