/*
Theme Name: Astra Child - Sri Amit Ray
Description: Deep orange and saffron child theme for sriamitray.com.
Author: Sri Amit Ray
Template: astra
Version: 1.0.4
*/

:root {
	--sar-deep: #E65100;
	--sar-orange: #F4511E;
	--sar-saffron: #FF9933;
	--sar-gold: #FFB74D;
	--sar-cream: #FFF8F0;
	--sar-ink: #3B1F0B;
	--sar-muted: #7A5A45;
	--sar-line: #F3DCC6;
	/* Astra global palette, so theme elements follow the same colours wherever the database goes. */
	--ast-global-color-0: #E65100;
	--ast-global-color-1: #BF360C;
	--ast-global-color-2: #3B1F0B;
	--ast-global-color-3: #5A3A28;
	--ast-global-color-4: #FFF8F0;
	--ast-global-color-5: #FFFFFF;
	--ast-global-color-6: #FFE8D1;
	--ast-global-color-7: #FF9933;
	--ast-global-color-8: #2A1508;
}

body { background: var(--sar-cream); color: var(--sar-ink); }
h1, h2, h3, h4, .entry-title, .site-title { font-family: Georgia, "Times New Roman", serif; color: var(--sar-ink); }
a { color: var(--sar-deep); }
a:hover { color: #BF360C; }

/* Header and footer */
.ast-primary-header-bar, .main-header-bar { background: #fff; border-bottom: 3px solid var(--sar-saffron); }
.site-title a, .site-title a:hover { color: var(--sar-deep); font-weight: 700; text-decoration: none; }
.main-header-menu .menu-link { text-decoration: none; }
.main-header-menu .menu-link { color: var(--sar-ink); font-weight: 600; }
.main-header-menu .menu-link:hover, .main-header-menu .current-menu-item > .menu-link { color: var(--sar-deep); }
.site-footer, .ast-small-footer, .site-below-footer-wrap { background: linear-gradient(135deg, #BF360C, var(--sar-deep)); color: #fff; }
.site-footer a, .ast-small-footer a, .ast-footer-copyright, .ast-footer-copyright p { color: #FFE8D1; }

/* Articles */
.single .entry-content, .page .entry-content { font-size: 1.06rem; line-height: 1.75; }
.entry-content h2 { border-left: 5px solid var(--sar-saffron); padding-left: .6em; margin-top: 1.8em; }
.entry-content blockquote { border-left: 4px solid var(--sar-orange); background: #fff; padding: 1em 1.2em; }
.entry-content table th { background: var(--sar-deep); color: #fff; }
.ast-separate-container .ast-article-single, .ast-separate-container .ast-article-post { border-radius: 14px; box-shadow: 0 2px 14px rgba(230, 81, 0, .07); }

/* Buttons: theme buttons and the catalogue's own */
.sar-btn, .wp-block-button__link, .ast-button, input[type="submit"] {
	display: inline-block; background: linear-gradient(135deg, var(--sar-saffron), var(--sar-orange) 55%, var(--sar-deep));
	color: #fff !important; border: 0; border-radius: 999px; padding: .62em 1.5em; font-weight: 700; text-decoration: none;
	box-shadow: 0 4px 12px rgba(230, 81, 0, .28); transition: transform .15s, box-shadow .15s;
}
.sar-btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(230, 81, 0, .36); }
.sar-link { font-weight: 600; text-decoration: none; }
.sar-register-block { text-align: center; margin: 2em 0; }

/* Front page */
.sar-front { width: 100%; }
.sar-hero { background: linear-gradient(135deg, var(--sar-saffron) 0%, var(--sar-orange) 50%, var(--sar-deep) 100%); color: #fff; padding: 72px 20px 84px; text-align: center; border-radius: 0 0 50% 50% / 0 0 36px 36px; }
.sar-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .3em; }
.sar-hero p { max-width: 720px; margin: 0 auto; font-size: 1.15rem; opacity: .96; }
.sar-hero .sar-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; margin-bottom: 1em; }
.sar-stats { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.sar-stats b { display: block; font-size: 1.9rem; font-family: Georgia, serif; }
.sar-pills { display: flex; gap: 10px; overflow-x: auto; padding: 16px 20px; position: sticky; top: 0; z-index: 9; background: var(--sar-cream); max-width: 1200px; margin: 0 auto; }
.sar-pills a { white-space: nowrap; background: #fff; border: 1px solid var(--sar-line); border-radius: 999px; padding: .45em 1.1em; font-weight: 600; text-decoration: none; color: var(--sar-ink); }
.sar-pills a:hover { border-color: var(--sar-orange); color: var(--sar-deep); }
.sar-pills span { background: var(--sar-saffron); color: #fff; border-radius: 999px; padding: 0 .55em; font-size: .78rem; margin-left: .3em; }
.sar-group { max-width: 1200px; margin: 0 auto; padding: 44px 20px 8px; scroll-margin-top: 70px; }
.sar-group h2 { font-size: 1.8rem; margin: 0 0 .2em; border: 0; padding: 0; }
.sar-group h2::after { content: ""; display: block; width: 72px; height: 4px; margin-top: .35em; border-radius: 4px; background: linear-gradient(90deg, var(--sar-saffron), var(--sar-deep)); }
.sar-group-intro { color: var(--sar-muted); margin: .6em 0 1.4em; }
.sar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.sar-card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--sar-line); box-shadow: 0 2px 12px rgba(230, 81, 0, .07); transition: transform .2s, box-shadow .2s; }
.sar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(230, 81, 0, .16); }
.sar-card-img { display: block; aspect-ratio: 1200 / 628; overflow: hidden; background: linear-gradient(135deg, var(--sar-saffron), var(--sar-deep)); }
.sar-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sar-card:hover .sar-card-img img { transform: scale(1.04); }
.sar-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--sar-saffron); }
.sar-card-body h3 { font-size: 1.14rem; line-height: 1.3; margin: 0 0 .45em; }
.sar-card-body h3 a { color: var(--sar-ink); text-decoration: none; }
.sar-card-body h3 a:hover { color: var(--sar-deep); }
.sar-card-body p { color: var(--sar-muted); font-size: .95rem; margin: 0 0 1em; flex: 1; }
.sar-card-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sar-band { background: #fff; border-top: 1px solid var(--sar-line); border-bottom: 1px solid var(--sar-line); margin-top: 48px; padding-bottom: 44px; }
.sar-more { margin-top: 1.2em; }
.sar-section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; }

@media (max-width: 600px) {
	.sar-hero { padding: 48px 16px 60px; }
	.sar-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.sar-card, .sar-card-img img, .sar-btn { transition: none; }
}

/* Cards never underline their titles; courses and pages show no author/date line. */
.sar-card a, .sar-pills a, .sar-btn, .sar-link { text-decoration: none !important; }
.single-course .entry-meta, .page .entry-meta { display: none; }
.single-course .entry-title, .page .entry-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.sar-card-article .sar-card-img { aspect-ratio: 16 / 9; }

/* Cover image at the top of an article */
.sar-cover { margin: 0 0 1.6em; }
.sar-cover img { width: 100%; height: auto; border-radius: 12px; display: block; }

/* Single article with right sidebar */
.single-post #secondary .widget { background: #fff; border: 1px solid var(--sar-line); border-radius: 14px; padding: 18px 18px 14px; margin-bottom: 18px; box-shadow: 0 2px 12px rgba(230, 81, 0, .06); }
.single-post #secondary .widget-title { font-family: Georgia, serif; font-size: 1.08rem; margin: 0 0 .8em; padding-bottom: .45em; border-bottom: 3px solid var(--sar-saffron); color: var(--sar-ink); }
.single-post #secondary { font-size: .93rem; }
.single-post .entry-content { font-size: 1.08rem; }
.sar-side-courses, .sar-side-list, .sar-side-topics { list-style: none; margin: 0; padding: 0; }
.sar-side-courses li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--sar-line); }
.sar-side-courses li:last-child { border-bottom: 0; }
.sar-side-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--sar-saffron), var(--sar-deep)); }
.sar-side-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.sar-side-title { display: block; font-weight: 700; line-height: 1.3; color: var(--sar-ink); text-decoration: none; }
.sar-side-title:hover { color: var(--sar-deep); }
.sar-side-register { display: inline-block; margin-top: .25em; font-size: .86rem; font-weight: 700; color: var(--sar-deep); text-decoration: none; }
.sar-side-register:hover { text-decoration: underline; }
#secondary .sar-more { margin: .7em 0 0; font-size: .88rem; }
.sar-side-label { font-weight: 700; color: var(--sar-deep); margin: 0 0 .5em; }
.sar-side-list li { padding: .5em 0; border-bottom: 1px dashed var(--sar-line); line-height: 1.35; }
.sar-side-list li:last-child { border-bottom: 0; }
.sar-side-list a, .sar-side-topics a { text-decoration: none; color: var(--sar-ink); }
.sar-side-list a:hover, .sar-side-topics a:hover { color: var(--sar-deep); }
.sar-side-topics li { display: flex; justify-content: space-between; align-items: center; padding: .42em 0; }
.sar-side-topics span { background: var(--ast-global-color-6); color: var(--sar-deep); border-radius: 999px; padding: 0 .6em; font-size: .8rem; font-weight: 700; }

/* Book covers in the sidebar */
.sar-side-books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sar-side-books a { display: block; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--ast-global-color-6); border: 1px solid var(--sar-line); }
.sar-side-books img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sar-side-amazon { margin: 14px 0 0; text-align: center; }
.sar-side-amazon .sar-btn { display: block; }

/* The sidebar stays beside the article and scrolls on its own when it is taller than the window. */
@media (min-width: 922px) {
	.single-post #secondary { align-self: flex-start; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--sar-gold) transparent; padding-right: 6px; }
	.admin-bar.single-post #secondary { top: 48px; max-height: calc(100vh - 64px); }
	.single-post #secondary::-webkit-scrollbar { width: 6px; }
	.single-post #secondary::-webkit-scrollbar-thumb { background: var(--sar-gold); border-radius: 6px; }
}

/* eBooks: catalogue cards and single book header */
.sar-grid-ebooks { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.sar-ebook-card-cover { display: flex; align-items: center; justify-content: center; height: 300px; padding: 18px; background: linear-gradient(160deg, #FFF3E4, #FFE1C2); }
.sar-ebook-card-cover img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; box-shadow: 0 8px 20px rgba(59, 31, 11, .25); border-radius: 4px; }
.sar-ebook-nocover { display: flex; align-items: center; justify-content: center; text-align: center; width: 170px; height: 250px; padding: 16px; border-radius: 6px; color: #fff; font-family: Georgia, serif; font-weight: 700; line-height: 1.3; background: linear-gradient(160deg, var(--sar-saffron), var(--sar-orange) 55%, var(--sar-deep)); box-shadow: 0 8px 20px rgba(59, 31, 11, .25); }
.sar-btn-ghost { background: #fff !important; color: var(--sar-deep) !important; border: 2px solid var(--sar-orange) !important; box-shadow: none; }
.sar-ebook-card .sar-btn { padding: .45em 1.1em; font-size: .9rem; }
.sar-ebook-head { display: flex; gap: 32px; align-items: flex-start; margin: 0 0 2em; padding: 24px; background: #fff; border: 1px solid var(--sar-line); border-radius: 16px; }
.sar-ebook-cover { flex: 0 0 240px; text-align: center; }
.sar-ebook-cover img { max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 26px rgba(59, 31, 11, .28); }
.sar-ebook-cover .sar-ebook-nocover { width: 220px; height: 320px; margin: 0 auto; font-size: 1.15rem; }
.sar-ebook-info { flex: 1; min-width: 0; }
.sar-ebook-sub { font-family: Georgia, serif; font-size: 1.25rem; color: var(--sar-muted); margin: 0 0 .8em; }
.sar-ebook-facts { list-style: none; margin: 0 0 1.2em; padding: 0; }
.sar-ebook-facts li { padding: .35em 0; border-bottom: 1px dashed var(--sar-line); }
.sar-ebook-facts span { display: inline-block; min-width: 130px; font-weight: 700; color: var(--sar-deep); }
.sar-ebook-buy { display: flex; gap: 12px; flex-wrap: wrap; }
.sar-ebook-buy-foot { justify-content: center; margin: 2em 0 1em; }
.single-ebook .entry-meta { display: none; }
@media (max-width: 700px) {
	.sar-ebook-head { flex-direction: column; align-items: center; padding: 18px; }
	.sar-ebook-cover { flex-basis: auto; }
}
.sar-ebook-card-sub { font-style: italic; color: var(--sar-deep) !important; margin: 0 0 .5em !important; flex: 0 0 auto !important; }
.sar-ebook-related { margin-top: 2.5em; }
.sar-ebook-preview { margin: 1em 0 2em; text-align: center; }
.sar-ebook-preview img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 26px rgba(59, 31, 11, .25); }
.sar-ebook-preview figcaption { font-size: .9rem; color: var(--sar-muted); margin-top: .6em; }

/* Footer policy links */
.sar-footer-links { margin: 0 0 .6em; font-weight: 600; }
.sar-footer-links a { color: #fff; text-decoration: none; }
.sar-footer-links a:hover { text-decoration: underline; }
.sar-footer-links span { opacity: .6; padding: 0 .35em; }

/* Biography: facts table and timelines */
.sar-bio-table { width: 100%; border-collapse: collapse; margin: 1em 0 1.8em; background: #fff; border: 1px solid var(--sar-line); border-radius: 12px; overflow: hidden; }
.entry-content .sar-bio-table th { background: var(--ast-global-color-6); color: var(--sar-deep); text-align: left; vertical-align: top; width: 150px; padding: 12px 16px; font-weight: 700; border: 0; border-bottom: 1px solid var(--sar-line); white-space: nowrap; }
.sar-bio-table td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--sar-line); vertical-align: top; text-align: left; }
.sar-bio-table tr:last-child th, .sar-bio-table tr:last-child td { border-bottom: 0; }
.sar-bio-timeline th { border-left: 4px solid var(--sar-saffron) !important; }
@media (max-width: 600px) {
	.sar-bio-table th, .sar-bio-table td { display: block; width: auto !important; white-space: normal !important; }
	.entry-content .sar-bio-table th { border-bottom: 0; padding-bottom: 4px; }
}

/* Consistency. Astra paints single posts white and Bootstrap (loaded on course pages) resets the body font,
   background and link style; these rules keep every page on the same cream background and theme font. */
body, body.ast-plain-container, body.ast-separate-container, body.ast-page-builder-template, body.ast-two-container {
	background-color: var(--sar-cream);
	color: var(--sar-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: 1.65;
}
.ast-plain-container .site-content .ast-article-single, .ast-plain-container .ast-article-post { background: transparent; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content table { max-width: 100%; }
@media (max-width: 700px) {
	.entry-content table:not(.sar-bio-table) { display: block; overflow-x: auto; }
}

/* Biography as a narrative */
.sar-bio-lead { font-size: 1.18rem; line-height: 1.8; }
.sar-bio-lead img { float: left; margin: 6px 26px 14px 0; border-radius: 12px; box-shadow: 0 8px 22px rgba(59, 31, 11, .22); }
.page-id-9 .entry-content { max-width: 860px; margin-left: auto; margin-right: auto; font-size: 1.1rem; line-height: 1.85; }
.page-id-9 .entry-content h2 { clear: both; font-size: 1.65rem; margin-top: 2.2em; }
.page-id-9 .entry-content blockquote { border-left: 4px solid var(--sar-saffron); background: #fff; border-radius: 0 12px 12px 0; font-family: Georgia, serif; font-size: 1.12rem; font-style: italic; margin: 1.8em 0; }
.page-id-9 .entry-content blockquote cite { display: block; margin-top: .6em; font-style: normal; font-size: .95rem; color: var(--sar-deep); font-weight: 700; }
.sar-bio-note { font-size: .98rem; color: var(--sar-muted); border-top: 1px solid var(--sar-line); padding-top: 1em; }

/* Biography: the six streams of the sadhana */
.sar-bio-streams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 1.4em 0 2em; }
.sar-bio-streams > div { background: #fff; border: 1px solid var(--sar-line); border-top: 4px solid var(--sar-saffron); border-radius: 12px; padding: 18px 18px 14px; }
.page-id-9 .entry-content .sar-bio-streams h3 { font-size: 1.14rem; margin: 0 0 .5em; color: var(--sar-deep); }
.sar-bio-streams p { font-size: .97rem; line-height: 1.65; margin: 0; }
.sar-bio-streams a { display: block; margin-top: .7em; font-weight: 700; font-size: .92rem; text-decoration: none; }
.sar-bio-streams a::after { content: " \2192"; }
.page-id-9 .entry-content { max-width: 920px; }
@media (max-width: 900px) { .sar-bio-streams { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sar-bio-streams { grid-template-columns: 1fr; } }
.sar-bio-books-links { font-weight: 700; margin-top: 1.4em; }
.sar-bio-books-links a { text-decoration: none; }

/* A second registration option on a merged course page */
.sar-course-option { margin: 2.5em 0 1em; padding: 22px 24px; background: #fff; border: 1px solid var(--sar-line); border-left: 5px solid var(--sar-saffron); border-radius: 12px; }
.sar-course-option h2 { border: 0 !important; padding: 0 !important; margin: 0 0 .5em !important; font-size: 1.3rem; }
.sar-short-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 28px 32px; background: linear-gradient(135deg, #FFF3E4, #FFE1C2); border: 1px solid var(--sar-line); border-radius: 18px; }
.sar-short-band h2::after { display: none; }
.sar-short-band .sar-group-intro { margin-bottom: 0; max-width: 760px; }
.sar-cover figcaption { font-size: .9rem; color: var(--sar-muted); text-align: center; margin-top: .5em; }
.single-course .entry-content blockquote cite { display: block; margin-top: .5em; font-style: normal; font-weight: 700; color: var(--sar-deep); }

/* ---------------------------------------------------------------------------------------------------------
   Classes used inside articles and course pages carried over from amitray.com. Its old theme styled them
   (child style.css and the Customizer's Additional CSS); the rules are kept here in this site's colours.
   --------------------------------------------------------------------------------------------------------- */
.entry-content .btn-ray1, .entry-content .RegButton, .entry-content .button5, .entry-content .register-now .btn-success {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: linear-gradient(135deg, var(--sar-saffron), var(--sar-orange) 55%, var(--sar-deep));
	color: #fff !important; border: 0; border-radius: 999px; padding: 13px 30px; font-size: 1.15rem; font-weight: 700;
	text-decoration: none !important; cursor: pointer; box-shadow: 0 4px 12px rgba(230, 81, 0, .28); transition: transform .15s, box-shadow .15s;
}
.entry-content .btn-ray1:hover, .entry-content .RegButton:hover, .entry-content .button5:hover, .entry-content .register-now .btn-success:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(230, 81, 0, .38); }
.entry-content .register-now { text-align: center; margin: 22px 0; }
.entry-content .boxquote { font-family: Georgia, serif; font-size: 1.3rem; line-height: 1.7; text-align: center; color: var(--sar-ink); border-top: 5px solid var(--sar-saffron); border-bottom: 5px solid var(--sar-saffron); padding: 18px 12px; margin: 2.2em auto; max-width: 92%; }
.entry-content .quote { font-size: 1.12rem; font-style: italic; line-height: 1.6; text-align: center; padding: 12px 0; margin: 1.8em auto; max-width: 95%; }
.entry-content .css-summary { background: #fff; line-height: 1.7; margin: 30px 0; padding: 24px 28px; border-left: 4px solid var(--sar-orange); border-radius: 0 10px 10px 0; }
.entry-content .css-strong { color: var(--sar-deep); font-weight: 700; display: block; margin-bottom: 6px; text-transform: uppercase; }
.entry-content .css-ul-linkline { display: flex; flex-wrap: wrap; justify-content: center; list-style: none !important; margin: 0 0 1em; padding: 0; }
.entry-content .css-li-linkline { white-space: nowrap; margin: 0; padding: 0; line-height: 1.6; }
.entry-content .css-a-linkline { text-decoration: none !important; font-size: 1rem; padding: 0 12px; }
.entry-content .top-links { text-align: center !important; line-height: 2.2 !important; }
.entry-content .hr-separator { border-top: 1px solid var(--sar-line); border-bottom: 1px solid var(--sar-line); }
.entry-content .highlight_box { box-shadow: 0 0 3px rgba(59, 31, 11, .35); padding: 14px; background: #fff; width: 88%; margin: 30px auto 20px; border-radius: 8px; }
.entry-content .highlights { margin: 0; }
.entry-content .highlights li { margin: 14px 0 6px 32px !important; font-size: 1.1rem; line-height: 1.5; }
.entry-content .boxsteps { box-sizing: border-box; max-width: 895px; margin: 1.5rem auto; padding: 1.6rem 1.25rem; background: #fff; border-radius: 8px; }
.entry-content .boxsteps h2, .entry-content .boxsteps h3, .entry-content .boxsteps h4 { background: var(--ast-global-color-6); border: 1px solid var(--sar-line); margin: 0 0 1.4rem; padding: 1rem 1rem 1rem 1.4rem; }
.entry-content .boxsteps ul li, .entry-content .boxsteps ol li { margin: 0 0 .75em; font-weight: 700; }
.entry-content .green_check { list-style: none; padding-left: 0; }
.entry-content .green_check li { position: relative; padding-left: 34px; margin: 5px 0 12px 5px; line-height: 1.5; }
.entry-content .green_check li::before { content: "\2713"; position: absolute; left: 4px; top: 0; color: #2E7D32; font-weight: 700; }
.entry-content .box-container { display: flex; flex-wrap: wrap; gap: 10px; }
.entry-content .box-container > div { background: #fff; border: 1px solid var(--sar-line); padding: 18px; border-radius: 8px; }
.entry-content .columns { float: left; width: 33.3%; padding: 8px; box-sizing: border-box; }
@media (max-width: 700px) { .entry-content .columns { float: none; width: 100%; } }

/* Contact form ([ilp_contact_form]) and "see also" link rows */
.sar-contact { max-width: 640px; margin: 1.5em auto; padding: 24px; background: #fff; border: 1px solid var(--sar-line, #F3DCC6); border-radius: 12px; text-align: left; }
.sar-contact label { display: block; font-weight: 600; margin-bottom: 4px; color: #3B1F0B; }
.sar-contact input[type="text"], .sar-contact input[type="email"], .sar-contact textarea { width: 100%; padding: 10px 12px; border: 1px solid #E3C7AC; border-radius: 8px; background: #FFF8F0; font: inherit; }
.sar-contact input:focus, .sar-contact textarea:focus { outline: 2px solid #FF9933; outline-offset: 1px; border-color: #E65100; }
.sar-contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sar-contact-note { padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.sar-contact-note.is-ok { background: #EAF6EA; color: #2E7D32; }
.sar-contact-note.is-error { background: #FFE8D1; color: #BF360C; }
.sar-see-also { margin: 1.5em 0; padding: 12px 16px; background: #FFF3E4; border-left: 4px solid #FF9933; border-radius: 0 8px 8px 0; }

/* Header logo: round portrait left of the site title */
.site-header .custom-logo-link { display: inline-flex; line-height: 0; }
.site-header .custom-logo-link img.custom-logo { width: 56px; height: 56px; max-width: none; border-radius: 50%; object-fit: cover; border: 2px solid #FF9933; box-shadow: 0 0 0 2px #FFF3E4; background: #fff; }
.site-header .ast-site-identity { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.site-header .site-logo-img { padding-right: 0; }
@media (max-width: 921px) { .site-header .custom-logo-link img.custom-logo { width: 46px; height: 46px; } }

/* A picture floated beside the text leaves a column of a few letters on a phone: there it stands alone, centred. */
@media (max-width: 600px) {
	.entry-content img.alignleft, .entry-content img.alignright { float: none; display: block; margin: 0 auto 1em; }
}

/* Author page */
.sar-author-head { max-width: 1200px; margin: 0 auto; padding: 44px 20px 10px; display: flex; gap: 34px; align-items: flex-start; }
.sar-author-photo { width: 168px; height: 168px; flex: none; border-radius: 50%; object-fit: cover; border: 4px solid var(--sar-saffron); box-shadow: 0 0 0 6px #FFF3E4; background: #fff; }
.sar-author-text h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0 0 .3em; }
.sar-author-text p { max-width: 820px; margin: 0 0 1em; }
.sar-author-head .sar-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--sar-deep); margin-bottom: .6em; }
.sar-author-head .sar-stats { justify-content: flex-start; margin: 0 0 18px; color: var(--sar-muted); }
.sar-author-head .sar-stats b { color: var(--sar-deep); }
.sar-author-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sar-author-links a { background: #fff; border: 1px solid var(--sar-line); border-radius: 999px; padding: .4em 1.1em; font-weight: 600; text-decoration: none; color: var(--sar-ink); }
.sar-author-links a:hover { border-color: var(--sar-orange); color: var(--sar-deep); }
.sar-card-meta { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sar-deep); margin-bottom: .5em; }
.sar-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px 0 48px; }
.sar-pagination .page-numbers { min-width: 2.6em; text-align: center; background: #fff; border: 1px solid var(--sar-line); border-radius: 10px; padding: .45em .8em; font-weight: 600; text-decoration: none; color: var(--sar-ink); }
.sar-pagination .page-numbers.current { background: var(--sar-deep); border-color: var(--sar-deep); color: #fff; }
.sar-pagination a.page-numbers:hover { border-color: var(--sar-orange); color: var(--sar-deep); }
@media (max-width: 700px) {
	.sar-author-head { flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-top: 28px; }
	.sar-author-photo { width: 132px; height: 132px; }
	.sar-author-head .sar-stats, .sar-author-links { justify-content: center; }
}

/* Footer: social profiles */
.sar-footer-social { display: flex; justify-content: center; gap: 12px; margin: 0 0 14px; }
.sar-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; transition: background .2s, color .2s, transform .2s; }
.sar-footer-social a:hover, .sar-footer-social a:focus-visible { background: #fff; color: var(--sar-deep); transform: translateY(-2px); }
.sar-footer-social a::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--sar-icon) center / contain no-repeat; mask: var(--sar-icon) center / contain no-repeat; }
.sar-soc-facebook { --sar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-8.2h2.8l.4-3.2h-3.2V8.5c0-.9.3-1.6 1.6-1.6h1.7V4.1C16.5 4 15.500 4 14.400 4 12 4 10.300 5.500 10.300 8.200v2.400H7.500v3.200h2.800V22z'/%3E%3C/svg%3E"); }
.sar-soc-twitter { --sar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.750 3h3.070l-6.710 7.670L22 21h-6.180l-4.840-6.330L5.440 21H2.370l7.170-8.200L2 3h6.340l4.370 5.780zm-1.080 16.170h1.700L7.400 4.740H5.580z'/%3E%3C/svg%3E"); }
.sar-soc-instagram { --sar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7.300A4.700 4.700 0 1 0 12 16.700 4.700 4.700 0 0 0 12 7.300zm0 7.750A3.050 3.050 0 1 1 12 8.950a3.050 3.050 0 0 1 0 6.100zM17.980 7.110a1.100 1.100 0 1 1-2.200 0 1.100 1.100 0 0 1 2.200 0zM21.100 8.220c-.07-1.470-.4-2.770-1.480-3.840S17.250 2.970 15.780 2.900C14.270 2.810 9.730 2.810 8.220 2.900 6.750 2.970 5.450 3.300 4.380 4.380S2.970 6.750 2.900 8.220c-.09 1.510-.09 6.050 0 7.560.07 1.470.4 2.770 1.480 3.840s2.370 1.410 3.840 1.480c1.510.09 6.050.09 7.560 0 1.470-.07 2.770-.4 3.840-1.480s1.410-2.370 1.480-3.840c.09-1.510.09-6.040 0-7.560zm-1.960 9.180a3.090 3.090 0 0 1-1.740 1.740c-1.210.48-4.070.37-5.400.37s-4.200.11-5.400-.37a3.090 3.090 0 0 1-1.740-1.740c-.48-1.210-.37-4.070-.37-5.400s-.11-4.200.37-5.400A3.090 3.090 0 0 1 6.600 4.860c1.210-.48 4.070-.37 5.400-.37s4.200-.11 5.400.37a3.090 3.090 0 0 1 1.740 1.740c.48 1.210.37 4.070.37 5.400s.11 4.200-.37 5.400z'/%3E%3C/svg%3E"); }
.sar-soc-linkedin { --sar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.940 21H3.300V9.320h3.640zM5.120 7.720a2.110 2.110 0 1 1 0-4.220 2.110 2.110 0 0 1 0 4.220zM21 21h-3.630v-5.690c0-1.360-.03-3.100-1.890-3.100-1.890 0-2.180 1.480-2.180 3V21H9.670V9.320h3.490v1.600h.05c.49-.92 1.670-1.890 3.440-1.890 3.680 0 4.360 2.420 4.360 5.570z'/%3E%3C/svg%3E"); }
.sar-soc-youtube { --sar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.580 7.190a2.510 2.510 0 0 0-1.770-1.780C18.250 5 12 5 12 5s-6.250 0-7.810.410a2.510 2.510 0 0 0-1.770 1.780C2 8.760 2 12 2 12s0 3.240.420 4.810c.230.870.910 1.520 1.770 1.750C5.750 19 12 19 12 19s6.250 0 7.810-.440a2.470 2.470 0 0 0 1.770-1.750C22 15.240 22 12 22 12s0-3.240-.420-4.810zM9.950 14.930V9.070L15.180 12z'/%3E%3C/svg%3E"); }
.sar-soc-google-scholar { --sar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.242 13.769 0 9.5 12 0l12 9.5-5.242 4.269C17.548 11.249 14.978 9.5 12 9.5c-2.977 0-5.548 1.748-6.758 4.269zM12 10a7 7 0 1 0 0 14 7 7 0 0 0 0-14z'/%3E%3C/svg%3E"); }
.sar-soc-wikipedia { --sar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.5 5h5.2v1.2H5.5l3.3 9 2.1-5.3-1.4-3.7H8.2V5h5v1.2h-1.3l1.3 3.4 1.3-3.4h-1.3V5h4.6v1.2h-1.2l-2.6 6 1.9 4.9 3.6-10.900h-1.400V5H22.500v1.200h-1.200L16.800 19h-1.300l-2.500-6.300L10.300 19H9L4.300 6.200H1.500z'/%3E%3C/svg%3E"); }
.sar-footer-social { flex-wrap: wrap; }
