/*
Theme Name: Opaline Light
Theme URI: https://soelse.com
Description: Custom child theme for Opaline Light, built on Hello Elementor.
Author: Charlotte
Template: hello-elementor
Version: 1.1
Text Domain: opaline-light
*/

/* ============================================================
   All Opaline Light custom CSS lives in this single file.
   ============================================================ */

/* --- Variables ------------------------------------------------ */
:root {
	--ol-color-bg:     #F5F0EB;
	--ol-color-text:   #4a3f35;
	--ol-color-logo:   #A8895A;
	--ol-color-muted:  #8B7B6A;
	--ol-color-border: #ddd5c8;
	--ol-font-serif:   'Cormorant Garamond', Georgia, serif;
	--ol-font-sans:    'Jost', 'Helvetica Neue', sans-serif;
}

/* --- Hide old Elementor/UAE HFB header, just in case ----------- */
.hfe-header,
.elementor-location-header,
.site-header {
	display: none !important;
}

/* --- Hide Hello Elementor's default theme footer, replaced by ours --- */
#site-footer.site-footer {
	display: none !important;
}

/* ============================================================
   HEADER
   ============================================================ */

.ol-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--ol-color-bg);
	border-bottom: 1px solid var(--ol-color-border);
	width: 100%;
}

.ol-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 36px 6px;
	height: 116px;
	column-gap: 24px;
}

.ol-header__left {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	margin-left: 0;
	margin-right: 10px;
}

.ol-header__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-width: 0;
}

.ol-header__center {
	text-align: center;
	white-space: nowrap;
}

/* --- Logo -------------------------------------------------------- */
.ol-logo {
	text-decoration: none;
	display: inline-block;
}

.ol-logo__name {
	font-family: var(--ol-font-serif);
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--ol-color-logo);
	line-height: 1.1;
	white-space: nowrap;
}

.ol-logo__tagline {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 13px;
	color: var(--ol-color-muted);
	letter-spacing: 0.06em;
	margin-top: 5px;
	display: block;
	white-space: nowrap;
}

/* --- Desktop nav --------------------------------------------------- */
.ol-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 14px;
	white-space: nowrap;
}

.ol-nav a {
	font-family: var(--ol-font-sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.ol-nav a:hover {
	color: var(--ol-color-text);
}

/* --- Social icons --------------------------------------------------- */
/* Visibility toggle lives in Customize > Additional CSS, not here. */

.ol-socials {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ol-social__link {
	color: var(--ol-color-muted);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	transition: opacity 0.2s ease;
}

.ol-social__link:hover {
	opacity: 0.6;
}

/* --- Hamburger button (hidden on desktop) ----------------------------- */
.ol-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	width: 32px;
	height: 32px;
}

.ol-hamburger span {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--ol-color-text);
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

.ol-hamburger.is-active span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.ol-hamburger.is-active span:nth-child(2) {
	opacity: 0;
}
.ol-hamburger.is-active span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Mobile menu drawer ----------------------------------------------- */
.ol-mobile-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--ol-color-bg);
	border-bottom: 1px solid var(--ol-color-border);
	padding: 24px 28px 32px;
	transform: translateY(-8px);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.ol-mobile-menu.is-open {
	display: block;
	transform: translateY(0);
	opacity: 1;
}

.ol-mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ol-mobile-menu a {
	font-family: var(--ol-font-sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	text-decoration: none;
}

.ol-mobile-menu a:hover {
	color: var(--ol-color-text);
}

/* --- Overlay ----------------------------------------------------------- */
.ol-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.2);
	z-index: 999;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.ol-overlay.is-visible {
	opacity: 1;
}

/* --- Mobile breakpoint --------------------------------------------------- */
@media (max-width: 1024px) {

	.ol-header__inner {
		grid-template-columns: 1fr auto 1fr;
		height: 78px;
		padding: 0 20px;
	}

	.ol-nav {
		display: none;
	}

	.ol-hamburger {
		display: flex;
	}

	.ol-logo__name {
		font-size: 15px;
		letter-spacing: 0.14em;
	}

	.ol-logo__tagline {
		display: none;
	}
}

/* ============================================================
   FOOTER
   ============================================================ */

.ol-footer {
	background: var(--ol-color-bg);
	border-top: 1px solid var(--ol-color-border);
	padding: 56px 36px 0;
}

.ol-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 40px;
}

.ol-footer__logo {
	font-family: var(--ol-font-serif);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ol-color-logo);
	margin: 0 0 12px;
}

.ol-footer__quote {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 12.5px;
	color: var(--ol-color-muted);
	line-height: 1.8;
	margin: 0;
}

.ol-footer__heading {
	font-family: var(--ol-font-sans);
	font-size: 8.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-color-text);
	margin: 0 0 14px;
}

.ol-footer__col {
	display: flex;
	flex-direction: column;
}

.ol-footer__col a {
	font-family: var(--ol-font-sans);
	font-size: 12px;
	color: var(--ol-color-muted);
	text-decoration: none;
	margin-bottom: 8px;
	transition: color 0.2s ease;
}

.ol-footer__col a:hover {
	color: var(--ol-color-text);
}

.ol-footer__bottom {
	border-top: 1px solid var(--ol-color-border);
	padding: 20px 0;
	text-align: center;
}

.ol-footer__bottom p {
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--ol-color-muted);
	margin: 0;
}

@media (max-width: 1024px) {
	.ol-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 32px 24px;
	}

	.ol-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.ol-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ol-footer__brand {
		grid-column: auto;
		text-align: center;
	}
}

/* ============================================================
   SINGLE POST — uniform spacing under header
   ============================================================ */

.ol-single-main {
	padding-top: 48px;
	max-width: 760px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.ol-single-content {
	padding-bottom: 64px;
}

/* ============================================================
   UNIFIED POST CONTENT STYLES
   One system for every post. No per-post <style> blocks needed.
   Plain tags get base styling automatically. Optional classes
   (below) are for occasional special treatment only.
   ============================================================ */

/* --- Base paragraph --- */
.ol-single-content p {
	font-family: var(--ol-font-serif);
	font-size: 19px;
	line-height: 1.5;
	color: var(--ol-color-text);
	margin: 0 0 1em;
}

/* --- Subheading inside a post --- */
.ol-single-content h2 {
	font-family: var(--ol-font-serif);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--ol-color-text);
	margin: 1.6em 0 0.8em;
}

/* --- Emphasis / italic --- */
.ol-single-content em {
	color: #6b5a4a;
}

/* --- Divider line (use <hr>) --- */
.ol-single-content hr {
	border: none;
	width: 40px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin: 2em auto;
}

/* --- Pull quote (use <blockquote>) --- */
.ol-single-content blockquote {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 22px;
	font-weight: 400;
	color: #7A6240;
	line-height: 1.7;
	text-align: center;
	border-top: 0.5px solid var(--ol-color-border);
	border-bottom: 0.5px solid var(--ol-color-border);
	padding: 1.6em 1.2em;
	margin: 2em 0;
}

/* --- Photos (use <figure><img></figure>) --- */
.ol-single-content figure {
	margin: 2.4em 0;
	text-align: center;
}

.ol-single-content figure img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 6px 24px rgba(74, 63, 53, 0.12);
}

.ol-single-content figcaption {
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--ol-color-muted);
	margin-top: 10px;
}

/* ============================================================
   OPTIONAL SPECIAL CLASSES
   Use sparingly, only when a post needs a specific flourish.
   Add class="..." to a <p> tag to apply.
   ============================================================ */

/* Drop cap on opening paragraph: <p class="drop-cap"> */
.ol-single-content .drop-cap::first-letter {
	font-family: var(--ol-font-serif);
	font-size: 72px;
	font-weight: 400;
	line-height: 0.75;
	float: left;
	margin-right: 8px;
	padding-top: 4px;
	color: var(--ol-color-logo);
}

/* Italic aside / quiet interjection: <p class="aside"> */
.ol-single-content .aside {
	font-style: italic;
	color: var(--ol-color-muted);
}

/* Closing sign-off line: <p class="closing"> */
.ol-single-content .closing {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--ol-color-muted);
	text-align: center;
	margin-top: 2em;
	padding-top: 2em;
	border-top: 0.5px solid var(--ol-color-border);
}

/* Small uppercase label / subtitle line: <p class="subtitle"> */
.ol-single-content .subtitle {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 18px;
	color: var(--ol-color-muted);
	text-align: center;
	line-height: 1.7;
	margin-bottom: 1.6em;
}

.ol-single-header {
	text-align: center;
	margin-bottom: 40px;
}

.ol-single-cat {
	font-family: var(--ol-font-sans);
	font-size: 10px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	margin: 0 0 18px;
}

.ol-single-title {
	font-family: var(--ol-font-serif);
	font-size: 56px;
	font-weight: 400;
	line-height: 1.15;
	color: var(--ol-color-text);
	margin: 0 0 22px;
}

.ol-single-divider {
	width: 28px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin: 0 auto;
}

@media (max-width: 600px) {
	.ol-single-title {
		font-size: 36px;
	}
}

@media (max-width: 600px) {
	.ol-single-main {
		padding-top: 32px;
	}
}

body.single-post {
	background-color: #FFFFFF !important;
}

body.single-post .site-main,
body.single-post .entry-content,
body.single-post article {
	background-color: #FFFFFF !important;
}

/* Hides the default WP title to prevent duplicate-title issue on posts
   where Elementor template also renders a title. */
.entry-title {
	display: none !important;
}

/* ============================================================
   COMMENTS
   ============================================================ */

#comments,
.comments-area {
	max-width: 680px;
	margin: 60px auto 0;
	padding: 40px 24px 0;
	font-family: var(--ol-font-serif);
	color: var(--ol-color-text);
	border-top: 1px solid var(--ol-color-border);
}

#comments h2,
.comments-area h2,
.comments-title {
	font-family: var(--ol-font-serif);
	font-weight: 400;
	font-size: 26px;
	color: var(--ol-color-text);
	margin-bottom: 32px;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-list .comment-body {
	padding: 24px 0;
	border-bottom: 1px solid #EFE9E1;
}

.comment-author .fn {
	font-family: var(--ol-font-sans);
	font-weight: 500;
	font-size: 14px;
	color: #2A1F15;
}

.comment-metadata a {
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.05em;
	color: var(--ol-color-muted);
	text-decoration: none;
}

.comment-content p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ol-color-text);
	margin: 8px 0 0;
}

.comment-reply-link {
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
}

#respond,
.comment-respond {
	max-width: 680px;
	margin: 40px auto 0;
}

#respond h3,
.comment-reply-title {
	font-family: var(--ol-font-serif);
	font-weight: 400;
	font-size: 22px;
	color: var(--ol-color-text);
}

.comment-form textarea,
#comments textarea {
	font-family: var(--ol-font-serif);
	font-size: 16px;
	border: 1px solid var(--ol-color-border);
	border-radius: 2px;
	padding: 16px;
	width: 100%;
}

.comment-form input[type="submit"],
#submit {
	font-family: var(--ol-font-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--ol-color-muted);
	color: #fff;
	border: none;
	padding: 12px 28px;
	cursor: pointer;
}

/* ============================================================
   SIDEBAR — shared by [opaline_sidebar] shortcode + page widgets
   ============================================================ */

.opal-sb-heading {
	font-family: var(--ol-font-sans);
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #3A2E22;
	margin-bottom: 8px;
}

.opal-sb-block {
	margin-bottom: 8px;
}

.opal-sb-divider {
	width: 80px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin-bottom: 8px;
}

.opal-sb-archive-link {
	display: block;
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7A6240;
	text-decoration: none;
	margin-bottom: 8px;
}

.opal-sb-archive-link:hover {
	color: #4A3728;
}

.opal-sb-cat {
	display: block;
	font-family: var(--ol-font-sans);
	font-size: 12px;
	color: var(--ol-color-muted);
	text-decoration: none;
	margin-bottom: 10px;
	letter-spacing: 0.04em;
}

.opal-sb-cat:hover {
	color: var(--ol-color-logo);
}

.opal-sb-subscribe-text {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 12.5px;
	color: var(--ol-color-muted);
	line-height: 1.7;
	margin-bottom: 14px;
}

/* "About" block used alongside [opaline_sidebar] on Essays/Journal sidebars */
.opal-sb-about-block {
	margin-bottom: 40px;
}

.opal-sb-about-divider {
	width: 24px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin-bottom: 40px;
}

.opal-sb-about-heading {
	font-family: var(--ol-font-sans);
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #3A2E22;
	margin-bottom: 16px;
}

.opal-sb-about-text {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 13px;
	color: var(--ol-color-muted);
	line-height: 1.8;
}

/* ============================================================
   PAGE HEADER — reused across Journal / Fashion / Essays / Contact / About
   ============================================================ */

.opal-page-header {
	text-align: center;
}

.opal-page-header--shaded {
	padding: 60px 48px;
	background: #F5F0E8;
}

.opal-page-header__label {
	font-family: var(--ol-font-sans);
	font-size: 9.5px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	margin-bottom: 16px;
}

.opal-page-header__title {
	font-family: var(--ol-font-serif);
	font-size: 48px;
	font-weight: 300;
	color: #4A3728;
	line-height: 1.15;
}

.opal-page-header__title--tight {
	letter-spacing: 0.04em;
}

.opal-page-header__divider {
	width: 40px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin: 24px auto;
}

.opal-page-header__sub {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 16px;
	color: var(--ol-color-muted);
	max-width: 480px;
	margin: 0 auto;
	line-height: 1.8;
}

.opal-page-header__sub--tight {
	letter-spacing: 0.04em;
	max-width: none;
}

/* ============================================================
   HOMEPAGE — Hero
   ============================================================ */

.opal-hero {
	position: relative;
	width: 100%;
	height: 480px;
	overflow: hidden;
}

.opal-hero__bg {
	position: absolute;
	inset: 0;
	background: url('https://soelse.com/wp-content/uploads/2026/06/opaline_hero.png') center/cover no-repeat;
}

.opal-hero__box {
	position: absolute;
	left: 48px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(248,247,250,0.45);
	padding: 36px 40px;
	border-radius: 12px;
	width: 320px;
	border: 0.5px solid rgba(200,185,160,0.4);
}

/* ============================================================
   HOMEPAGE — Search
   ============================================================ */

.opal-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #F5F0E8;
	border: 0.5px solid #D8CCBA;
	padding: 6px 16px;
	width: 100%;
}

.opal-search-form input[type="search"] {
	border: none;
	background: transparent;
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.08em;
	color: var(--ol-color-muted);
	outline: none;
	width: 100%;
}

@media (max-width: 767px) {
	#opal-search-widget input[type="search"]::placeholder {
		font-size: 0;
	}
	#opal-search-widget input[type="search"]::-webkit-input-placeholder {
		font-size: 0;
	}
}

/* ============================================================
   HOMEPAGE — Stories + Sidebar
   ============================================================ */

.opal-section {
	display: flex;
	gap: 0;
	padding: 20px 16px;
	background: #FAF8F4;
	box-sizing: border-box;
	width: 100%;
}

.opal-stories {
	flex: 1 1 auto;
	padding-right: 32px;
	border-right: 0.5px solid #D8CCBA;
	min-width: 0;
}

.opal-stories-heading {
	text-align: center;
	margin-bottom: 28px;
}

.opal-stories-heading p {
	font-family: var(--ol-font-sans);
	font-size: 10px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	margin-bottom: 10px;
}

.opal-divider {
	width: 28px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin: 0 auto;
}

.opal-sidebar {
	flex: 0 0 200px;
	width: 200px;
	padding-left: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.opal-sidebar-heading {
	font-family: var(--ol-font-sans);
	font-size: 8.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #3A2E22;
	text-align: center;
	margin-bottom: 8px;
	line-height: 1.6;
}

.opal-sidebar-sub {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 12px;
	color: var(--ol-color-muted);
	text-align: center;
	line-height: 1.7;
	margin-bottom: 12px;
}

.opal-email {
	width: 100%;
	border: 0.5px solid #D8CCBA;
	background: #F5F0E8;
	padding: 7px 10px;
	font-family: var(--ol-font-sans);
	font-size: 11px;
	color: var(--ol-color-muted);
	outline: none;
	margin-bottom: 8px;
	border-radius: 1px;
	box-sizing: border-box;
}

.opal-subscribe {
	width: 100%;
	background: #C4A882;
	border: none;
	color: #FAF8F4;
	font-family: var(--ol-font-sans);
	font-size: 8px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	padding: 9px;
	cursor: pointer;
}

@media (max-width: 1024px) {
	.opal-sidebar {
		flex: 0 0 180px;
		width: 180px;
	}
}

@media (max-width: 767px) {
	.opal-section {
		flex-direction: column;
		padding: 32px 12px;
	}
	.opal-stories {
		padding-right: 0;
		border-right: none;
		border-bottom: 0.5px solid #D8CCBA;
		padding-bottom: 32px;
		margin-bottom: 32px;
	}
	.opal-sidebar {
		flex: none;
		width: 100%;
		padding-left: 0;
	}
}

/* ============================================================
   ABOUT PAGE — Bio panel
   ============================================================ */

.opal-bio__label {
	font-family: var(--ol-font-sans);
	font-size: 9.5px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	margin-bottom: 20px;
}

.opal-bio__title {
	font-family: var(--ol-font-serif);
	font-size: 34px;
	font-weight: 400;
	color: #4A3728;
	line-height: 1.2;
	margin-bottom: 24px;
}

.opal-bio__divider {
	width: 40px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin-bottom: 28px;
}

.opal-bio__text {
	font-family: var(--ol-font-serif);
	font-size: 16px;
	color: #6B5D52;
	line-height: 1.9;
	margin-bottom: 20px;
}

.opal-bio__text--italic {
	font-style: italic;
}

.opal-bio__text--last {
	margin-bottom: 36px;
}

.opal-bio__sign-off {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 20px;
	font-weight: 300;
	color: var(--ol-color-logo);
	line-height: 2;
}

.opal-bio__link {
	font-family: var(--ol-font-sans);
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #7A6240;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.opal-bio__link-line {
	display: inline-block;
	width: 28px;
	height: 0.5px;
	background: var(--ol-color-logo);
	vertical-align: middle;
}

/* ============================================================
   ABOUT PAGE — Closing quote panel
   ============================================================ */

.opal-quote-panel {
	text-align: center;
	max-width: 680px;
	margin: 0 auto;
}

.opal-quote-panel__divider {
	width: 40px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin: 0 auto 36px;
}

.opal-quote-panel__divider--bottom {
	margin: 36px auto 0;
}

.opal-quote-panel blockquote {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 26px;
	font-weight: 300;
	color: #4A3728;
	line-height: 1.7;
	letter-spacing: 0.02em;
	margin: 0 0 36px;
}

.opal-quote-panel__attribution {
	font-family: var(--ol-font-sans);
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
}

/* ============================================================
   CONTACT PAGE — Form styling (WPForms override)
   ============================================================ */

.opal-form .wpforms-field-label {
	font-family: var(--ol-font-sans) !important;
	font-size: 9.5px !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	color: var(--ol-color-muted) !important;
	font-weight: 300 !important;
}

.opal-form input[type="text"],
.opal-form input[type="email"],
.opal-form textarea {
	font-family: var(--ol-font-sans) !important;
	font-size: 13px !important;
	color: #4A3728 !important;
	background: #F5F0E8 !important;
	border: 0.5px solid #D8CCBA !important;
	padding: 12px 16px !important;
	width: 100% !important;
	outline: none !important;
	box-shadow: none !important;
	border-radius: 2px !important;
}

.opal-form textarea {
	min-height: 140px !important;
}

.opal-form .wpforms-submit {
	font-family: var(--ol-font-sans) !important;
	font-size: 9.5px !important;
	letter-spacing: 0.24em !important;
	text-transform: uppercase !important;
	background: #C4A882 !important;
	color: #FAF8F4 !important;
	border: none !important;
	padding: 14px 40px !important;
	cursor: pointer !important;
	margin-top: 8px !important;
}

.opal-form .wpforms-field {
	margin-bottom: 24px !important;
}

/* ============================================================
   CONTACT PAGE — "Let us create" panel
   ============================================================ */

.opal-cta__divider {
	width: 40px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin-bottom: 32px;
}

.opal-cta__title {
	font-family: var(--ol-font-serif);
	font-size: 28px;
	font-weight: 400;
	color: #4A3728;
	line-height: 1.3;
	margin-bottom: 20px;
}

.opal-cta__text {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 15px;
	color: var(--ol-color-muted);
	line-height: 1.9;
	margin-bottom: 32px;
}

/* ============================================================
   SIDEBAR SHORTCODE — additional rule not yet in style.css
   (.opal-sb-heading, .opal-sb-block, .opal-sb-divider, .opal-sb-archive-link,
   .opal-sb-cat, .opal-sb-subscribe overrides already added previously)
   ============================================================ */

/* ============================================================
   ARCHIVE GRID — [opaline_archive] shortcode
   ============================================================ */

.opal-archive-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 16px 0;
}

.opal-archive-card {
	cursor: pointer;
}

.opal-archive-thumb {
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 12px;
}

.opal-archive-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.opal-archive-cat {
	font-family: var(--ol-font-sans);
	font-size: 8.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	margin-bottom: 6px;
}

.opal-archive-title {
	font-family: var(--ol-font-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	color: #4A3728;
	margin-bottom: 8px;
}

.opal-archive-title a {
	text-decoration: none;
	color: #4A3728;
}

.opal-archive-read {
	font-family: var(--ol-font-sans);
	font-size: 8px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #7A6240;
	text-decoration: none;
	border-bottom: 0.5px solid var(--ol-color-logo);
	padding-bottom: 2px;
	display: inline-block;
}

.opal-archive-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	margin: 48px auto 0;
	padding-bottom: 40px;
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.opal-archive-pagination a,
.opal-archive-pagination span {
	color: #7A6240;
	text-decoration: none;
}

.opal-archive-pagination a:hover {
	color: #4A3728;
}

.opal-archive-pagination .opal-disabled {
	color: #D8CCBA;
}

@media (max-width: 1024px) {
	.opal-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.opal-archive-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */

.opal-search-results-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	font-family: var(--ol-font-serif);
}

.opal-search-heading {
	font-family: var(--ol-font-sans);
	font-size: 9.5px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	text-align: center;
	margin-bottom: 8px;
}

.opal-search-title {
	font-family: var(--ol-font-serif);
	font-size: 36px;
	font-weight: 300;
	color: #4A3728;
	text-align: center;
	margin-bottom: 4px;
}

.opal-search-title em {
	font-style: italic;
	color: var(--ol-color-logo);
}

.opal-search-divider {
	width: 40px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin: 16px auto 48px;
	border: none;
}

.opal-search-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.opal-search-item {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	padding: 28px 0;
	border-bottom: 0.5px solid #EDE7D9;
	text-decoration: none;
}

.opal-search-item:first-child {
	border-top: 0.5px solid #EDE7D9;
}

.opal-search-thumb {
	width: 140px;
	min-width: 140px;
	height: 95px;
	overflow: hidden;
	background: #EDE7D9;
	flex-shrink: 0;
}

.opal-search-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 1 !important;
	filter: none !important;
}

.opal-search-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.opal-search-cat {
	font-family: var(--ol-font-sans);
	font-size: 8.5px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ol-color-muted);
}

.opal-search-post-title {
	font-family: var(--ol-font-serif);
	font-size: 22px;
	font-weight: 400;
	color: #4A3728;
	line-height: 1.2;
	text-decoration: none;
}

.opal-search-excerpt {
	font-family: var(--ol-font-serif);
	font-size: 15px;
	font-weight: 300;
	color: var(--ol-color-muted);
	line-height: 1.7;
	font-style: italic;
}

.opal-search-read {
	font-family: var(--ol-font-sans);
	font-size: 8.5px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #7A6240;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}

.opal-search-read span {
	display: inline-block;
	width: 20px;
	height: 0.5px;
	background: var(--ol-color-logo);
	vertical-align: middle;
}

.opal-search-none {
	text-align: center;
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 18px;
	color: var(--ol-color-muted);
	padding: 60px 0;
}

@media (max-width: 600px) {
	.opal-search-thumb {
		width: 90px;
		min-width: 90px;
		height: 70px;
	}
	.opal-search-post-title {
		font-size: 18px;
	}
	.opal-search-excerpt {
		display: none;
	}
}

/* ============================================================
   RECENT POSTS GRID — [opaline_recent_posts] (homepage)
   ============================================================ */

.opal-recent-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.opal-recent-card {
	cursor: pointer;
}

.opal-recent-thumb {
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 12px;
}

.opal-recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.opal-recent-cat {
	font-family: var(--ol-font-sans);
	font-size: 8.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	margin-bottom: 6px;
}

.opal-recent-title {
	font-family: var(--ol-font-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	color: #4A3728;
	margin-bottom: 8px;
}

.opal-recent-title a {
	text-decoration: none;
	color: #4A3728;
}

.opal-recent-read {
	font-family: var(--ol-font-sans);
	font-size: 8px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #7A6240;
	text-decoration: none;
	border-bottom: 0.5px solid var(--ol-color-logo);
	padding-bottom: 2px;
	display: inline-block;
}

@media (max-width: 1024px) {
	.opal-recent-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.opal-recent-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

.opal-recent-excerpt {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 12px;
	color: var(--ol-color-muted);
	line-height: 1.6;
	margin-bottom: 8px;
}

.opal-archive-excerpt {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 12px;
	color: var(--ol-color-muted);
	line-height: 1.6;
	margin-bottom: 8px;
}


/* ============================================================
   HERO POST — [opaline_hero_post] (homepage)
   ============================================================ */

.opal-hero-post__cat {
	font-family: var(--ol-font-sans);
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	text-align: center;
	margin-bottom: 6px;
}

.opal-hero-post__divider {
	width: 28px;
	height: 0.5px;
	background: var(--ol-color-logo);
	margin: 0 auto 18px;
}

.opal-hero-post__title {
	font-family: var(--ol-font-serif);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.15;
	color: #4A3728;
	margin-bottom: 14px;
}

.opal-hero-post__excerpt {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 13.5px;
	color: var(--ol-color-muted);
	line-height: 1.7;
	margin-bottom: 22px;
}

.opal-hero-post__link {
	font-family: var(--ol-font-sans);
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #7A6240;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
}

.opal-hero-post__link-line {
	display: inline-block;
	width: 28px;
	height: 0.5px;
	background: var(--ol-color-logo);
	vertical-align: middle;
}

/* ============================================================
   FASHION GRID — [opaline_posts category="fashion"]
   ============================================================ */

.opal-fashion-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.opal-fashion-card {
	cursor: pointer;
}

.opal-fashion-img {
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 14px;
	background: #D4C4B0;
}

.opal-fashion-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.opal-fashion-cat {
	font-family: var(--ol-font-sans);
	font-size: 8.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	margin-bottom: 6px;
}

.opal-fashion-title {
	font-family: var(--ol-font-serif);
	font-size: 20px;
	font-weight: 400;
	color: #4A3728;
	line-height: 1.3;
	margin-bottom: 8px;
}

.opal-fashion-title a {
	text-decoration: none;
	color: #4A3728;
}

.opal-fashion-excerpt {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 13px;
	color: var(--ol-color-muted);
	line-height: 1.7;
	margin-bottom: 12px;
}

.opal-fashion-read {
	font-family: var(--ol-font-sans);
	font-size: 8px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #7A6240;
	text-decoration: none;
	border-bottom: 0.5px solid var(--ol-color-logo);
	padding-bottom: 2px;
}

@media (max-width: 768px) {
	.opal-fashion-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 480px) {
	.opal-fashion-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   JOURNAL / ESSAYS EDITORIAL LIST — [opaline_posts category="journal|essays"]
   ============================================================ */

.opal-post {
	margin-bottom: 60px;
	padding-bottom: 60px;
	border-bottom: 0.5px solid var(--ol-color-border);
}

.opal-post:last-child {
	border-bottom: none;
}

.opal-post-img {
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 24px;
	background: #D4C4B0;
}

.opal-post-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.opal-post-cat {
	font-family: var(--ol-font-sans);
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-color-muted);
	margin-bottom: 12px;
}

.opal-post-title {
	font-family: var(--ol-font-serif);
	font-size: 32px;
	font-weight: 400;
	color: #4A3728;
	line-height: 1.2;
	margin-bottom: 16px;
}

.opal-post-title a {
	text-decoration: none;
	color: #4A3728;
}

.opal-post-excerpt {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 15px;
	color: var(--ol-color-muted);
	line-height: 1.9;
	margin-bottom: 20px;
}

.opal-post-meta {
	font-family: var(--ol-font-sans);
	font-size: 9px;
	letter-spacing: 0.14em;
	color: #B0A090;
	margin-bottom: 20px;
}

.opal-read-more {
	font-family: var(--ol-font-sans);
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #7A6240;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.opal-read-more::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 0.5px;
	background: var(--ol-color-logo);
}

/* ============================================================
   HEART / LIKE BUTTON
   ============================================================ */

.opal-heart {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--ol-color-muted);
	transition: color 0.2s ease;
}

.opal-heart:hover {
	color: var(--ol-color-logo);
}

.opal-heart__icon {
	transition: transform 0.2s ease;
}

.opal-heart.is-liked {
	color: #C4536A;
}

.opal-heart.is-liked .opal-heart__icon path {
	fill: currentColor;
}

.opal-heart:active .opal-heart__icon {
	transform: scale(1.15);
}

.opal-heart__count {
	font-family: var(--ol-font-sans);
	font-size: 13px;
	letter-spacing: 0.04em;
}

/* --- Smaller heart variant for grid cards (Recent Stories) --- */
.opal-card-heart {
	margin-bottom: 6px;
}

.opal-card-heart .opal-heart {
	padding: 0;
	gap: 6px;
}

.opal-card-heart .opal-heart__icon {
	width: 16px;
	height: 16px;
}

.opal-card-heart .opal-heart__count {
	font-size: 11px;
}



/* ============================================================
   SUBSCRIBE FORM
   ============================================================ */

.opal-subscribe-form {
	max-width: 480px;
}

.opal-subscribe-form input[type="email"] {
	width: 100%;
	border: 0.5px solid #D8CCBA;
	background: #F5F0E8;
	padding: 12px 16px;
	font-family: var(--ol-font-sans);
	font-size: 14px;
	color: var(--ol-color-text);
	outline: none;
	margin-bottom: 12px;
	border-radius: 2px;
	box-sizing: border-box;
}

.opal-subscribe-submit {
	background: #C4A882 !important;
	border: none !important;
	color: #FAF8F4 !important;
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 12px 32px;
	cursor: pointer;
	border-radius: 2px;
}

.opal-subscribe-submit:hover {
	background: #B89870 !important;
}

.opal-subscribe-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.opal-subscribe-msg {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 13px;
	margin-top: 12px;
}

.opal-subscribe-msg.is-success {
	color: #6B8F6B;
}

.opal-subscribe-msg.is-error {
	color: #C4536A;
}

.opal-confirm-msg {
	font-family: var(--ol-font-serif);
	font-style: italic;
	font-size: 16px;
	text-align: center;
	margin-bottom: 24px;
}

.opal-confirm-msg.is-success {
	color: #6B8F6B;
}

.opal-confirm-msg.is-error {
	color: #C4536A;
}

.opal-confirm-msg.is-info {
	color: var(--ol-color-muted);
}
.opal-sb-subscribe-btn {
	display: block;
	text-align: center;
	background: #C4A882;
	color: #FAF8F4;
	font-family: var(--ol-font-sans);
	font-size: 8.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	padding: 9px;
	text-decoration: none;
	border-radius: 0;
}

.opal-sb-subscribe-btn:hover {
	background: #B89870;
}

.opal-subscribe-page {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 24px 80px;
}

.opal-subscribe-page .ol-single-title {
	font-family: var(--ol-font-serif) !important;
	color: #4a3f35 !important;
	font-weight: 400 !important;
}

.opal-subscribe-intro {
	max-width: 100%;
	margin-bottom: 40px;
}

.opal-subscribe-intro__text {
	font-family: var(--ol-font-serif);
	font-size: 18px;
	color: var(--ol-color-muted);
	line-height: 1.9;
	margin-bottom: 20px;
}

.opal-confirm-continue {
	text-align: center;
	font-family: var(--ol-font-sans);
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-top: 8px;
}

.opal-confirm-continue a {
	color: #7A6240;
	text-decoration: none;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.opal-cookie-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2000;
	background: #F5F0E8;
	border-bottom: 2px solid #A8895A;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.opal-cookie-banner__text {
	font-family: var(--ol-font-sans);
	font-size: 12px;
	color: var(--ol-color-muted);
	line-height: 1.6;
	margin: 0;
	max-width: 700px;
}

.opal-cookie-banner__actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.opal-cookie-banner__accept,
.opal-cookie-banner__decline {
	font-family: var(--ol-font-sans);
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 10px 20px;
	cursor: pointer;
	border-radius: 2px;
	white-space: nowrap;
}

.opal-cookie-banner__accept {
	background: #C4A882;
	border: none;
	color: #FAF8F4;
}

.opal-cookie-banner__accept:hover {
	background: #B89870;
}

.opal-cookie-banner__decline {
	background: transparent;
	border: 0.5px solid #D8CCBA;
	color: var(--ol-color-muted);
}

.opal-cookie-banner__decline:hover {
	border-color: var(--ol-color-logo);
	color: var(--ol-color-text);
}

@media (max-width: 600px) {
	.opal-cookie-banner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.opal-cookie-banner__actions {
		justify-content: center;
	}
}

/* ============================================================
   PRIVACY POLICY 
   ============================================================ */


.opal-privacy-page {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	font-family: var(--ol-font-serif);
	font-size: 16px;
	color: var(--ol-color-text);
	line-height: 1.8;
}

.opal-privacy-page h2 {
	font-family: var(--ol-font-serif);
	font-size: 24px;
	font-weight: 400;
	color: #4A3728;
	margin: 1.8em 0 0.6em;
}

.opal-privacy-page a {
	color: #7A6240;
}
