/* =========================================================================
   Vani Kaushal — global.css
   Small, hand-written rules for things theme.json cannot express:
   the skip link, visible focus states, reduced-motion support, the native
   accordion (core/details) chevron, and a couple of block style variations.
   Everything else (color, type, spacing, shadows) comes from theme.json.
   ========================================================================= */

   body {
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--body);
   }

   p, ol, ul, blockquote {
	font-size: 15px;
	font-family: var(--wp--preset--font-family--body);
	color: var(--wp--preset--color--ink-soft);
   }

/* ---- Skip link -------------------------------------------------------- */
.skip-link {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	padding: 12px 20px;
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 100000;
	text-decoration: none;
	border-radius: 2px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 8px;
}

/* ---- Visible focus everywhere ------------------------------------------
   theme.json already sets a focus outline for .wp-element-button; this
   covers every other interactive element so keyboard users always see
   where they are. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-dark);
	outline-offset: 2px;
}

/* ---- Reduced motion ----------------------------------------------------
   Respect the OS-level preference: stop decorative motion, keep the site
   fully usable. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---- Accordion (core/details) ------------------------------------------
   Native <details>/<summary> is used for the FAQ pattern instead of a
   custom accordion block: it is keyboard operable, works with find-in-page,
   and needs no JavaScript. This just restyles the disclosure marker. */
.wp-block-details {
	position: relative;
}

.wp-block-details > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
}

.wp-block-details > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details > summary::after {
	content: "";
	flex: 0 0 auto;
	width: 11px;
	height: 11px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.wp-block-details[open] > summary::after {
	transform: rotate(-135deg);
}

/* ---- Quote style variation: Signature -----------------------------------
   Registered in functions.php as `signature`. Sets the quote in the
   cursive signature face for testimonials and personal notes. */
.wp-block-quote.is-style-signature {
	font-family: var(--wp--preset--font-family--signature);
	font-size: var(--wp--preset--font-size--xx-large);
	font-style: normal;
	line-height: 1.3;
}

.wp-block-quote.is-style-signature cite {
	display: block;
	margin-top: var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	color: var(--wp--preset--color--ink-soft);
}

.client-testimonials cite span {
    line-height: 1.3;
    display: block;
}

/* ---- Header ------------------------------------------------------------ */
header .wp-block-site-tagline {
	max-width: 65%;
	line-height: 1.3;
}

/* ---- Footer ------------------------------------------------------------ */
footer {
	margin-block-start: 0 !important;

	a {
		text-decoration: none;
	}
}

.site-footer {
	margin: 0 auto;
}

.wp-block-social-links .wp-social-link svg {
	width: 1.5em !important;
	height: 1.5em !important;
}

.site-footer .wp-block-shortcode {
	font-size: 12.5px;
	opacity: 0.6;
	margin: 0;
}

.site-footer ul:not(.wp-block-social-links) li {
	margin-bottom: 11px;
	list-style: none;
}

.site-footer ul:not(.wp-block-social-links) {
	padding-left: 0;
}

.site-footer a:hover {
	color: var(--wp--preset--color--white);
}

/* The global focus-visible outline (accent-dark) only reaches ~1.9:1 against
   the footer's dark background — well under the 3:1 WCAG 2.4.11 minimum for
   a focus indicator. Use white here instead, which reaches 15.8:1. */
.site-footer a:focus-visible,
.site-footer button:focus-visible,
.site-footer [tabindex]:focus-visible {
	outline-color: var(--wp--preset--color--white);
}

/* ---- Navigation submenu ---------------------------------------------- */
.wp-block-navigation .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--paper);
	box-shadow: var(--wp--preset--shadow--popover);
	border-radius: 2px;
}

/* ---- Testimonials ---------------------------------------------- */
.testimonials {
	cite {
		font-style: normal;
		color: var(--wp--preset--color--ink-soft);
		text-transform: uppercase;
	}

	p {
		font-style: italic;
	}
}

/* ---- Contact Page ---------------------------------------------- */
.contact h2 {
	font-weight: 600;
}

.contact .contact-mail a {
	font-size: var(--wp--preset--font-size--medium) !important;
	text-decoration: none;
}

.social-row {
	margin-bottom: 10px;
}

.social-row a {
    border: 1px solid var(--wp--preset--color--line) !important;
	color: var(--wp--preset--color--contrast) !important;
    padding: 9px 18px;
    letter-spacing: .03em;
	transition: all .2s ease-in-out;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
}

.social-row a:hover {
	border: 1px solid var(--wp--preset--color--accent-dark) !important;
}

.social-row a span{
	font-size: 0.75rem !important;
}

/* ---- About Page ---------------------------------------------- */
.wrap {
    margin: 0 auto;
    padding: 0 32px;
}

.narrow {
    max-width: 760px;
}

.creds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--wp--preset--color--accent);
    border: 1px solid var(--wp--preset--color--accent);
	margin-bottom: 15px;
}

.creds-grid div {
    background: var(--wp--preset--color--paper);
    padding: 24px 30px;
    font-size: 15px;
}

.creds-grid .yr {
    color: var(--wp--preset--color--accent);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-right: 10px;
}

.nudge {
    background: var(--wp--preset--color--sand);
    border-left: 3px solid var(--wp--preset--color--accent);
    padding: 26px 30px;
    margin-top: 52px;
}

@media (max-width: 520px) {
    .creds-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Breadcrumbs */
#breadcrumbs .wp-block-breadcrumbs li:not(:last-child):after {
    margin: 0 .35em;
}

#breadcrumbs a {
	font-size: var(--wp--preset--font-size--small);
}

/* Artwork Page */ 
@media (max-width: 520px) {
    .artwork {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Testimonial Carousel Styles */
.testimonial-carousel-section {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.testimonial-swiper {
    position: relative;
    overflow: hidden;
    padding-bottom: 50px !important;
	max-width: 1120px !important;
	width: 100%;
}

.testimonial-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.testimonial-slide .wp-block-quote {
    margin: 0 auto;
    max-width: 80%;
    text-align: center;
    border: none;
    padding: 0;
}

.testimonial-slide .wp-block-quote p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #1a1a1a;
}

.testimonial-slide .wp-block-quote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
    font-style: normal;
}

/* Arrow controls styling */
.testimonial-carousel-section .swiper-button-next,
.testimonial-carousel-section .swiper-button-prev {
    color: #2b3a4a;
    width: 32px;
    height: 32px;
}

.testimonial-carousel-section .swiper-button-next::after,
.testimonial-carousel-section .swiper-button-prev::after {
    font-size: 18px;
}

/* Bullet pagination styling */
.testimonial-carousel-section .swiper-pagination-bullet {
    background: #bbb;
    opacity: 1;
}

.testimonial-carousel-section .swiper-pagination-bullet-active {
    background: #2b3a4a;
}

/* Blog Page */
.blog #content, .single-post #content {
    padding: 0 16px;
}

.wp-block-query-pagination {
    font-size: 15px;
    display: flex;
    gap: 10px;
}

.wp-block-query-pagination a {
    display: inline-flex;
    background-color: var(--wp--preset--color--white);
    padding: 5px;
    line-height: 1;
    text-decoration: none;
}

.wp-block-query-pagination .current {
    background-color: var(--wp--preset--color--accent-dark);
    color: var(--wp--preset--color--white);
    display: inline-flex;
    padding: 5px;
    line-height: 1;
}

/* ---- Blog card read-more link (left aligned) ---- */
.blog .wp-block-post-template.is-layout-grid > .wp-block-post > .wp-block-group {
	border: 1px solid var(--wp--preset--color--sand) !important;
	transition: border-color .2s, transform .2s;
}

.blog .wp-block-post-template.is-layout-grid > .wp-block-post > .wp-block-group:hover {
    border-color: var(--wp--preset--color--ink) !important;
    transform: translateY(-3px);
}

.wp-block-read-more.has-text-align-left {
    margin-left: 0 !important;
    margin-right: auto !important; 
}


/* ---- Blog card equal height ---- */
.wp-block-post-template.is-layout-grid > .wp-block-post > .wp-block-group {
    height: 100%;
    box-sizing: border-box;
}


/* ---- Blog post blockquote styling ---- */
.single-post .wp-block-post-content .wp-block-quote {
    border-left: 3px solid var(--wp--preset--color--accent);
    padding-left: 28px;
    margin-left: 0;
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.65;
}

.single-post .wp-block-post-content .wp-block-quote p {
    font-size: 15px;
}

.single-post .wp-block-post-content .wp-block-quote cite {
    display: block;
    margin-top: var(--wp--preset--spacing--20);
    /* font-family: var(--wp--preset--font-family--body); */
    font-size: var(--wp--preset--font-size--small);
    font-style: normal;
    color: var(--wp--preset--color--ink);
	text-transform: uppercase;
}

/* ---- Blog post table styling ---- */
.wp-block-post-content .wp-block-table {
    background: var(--wp--preset--color--paper);
    border: 1px solid var(--wp--preset--color--line);
    overflow: hidden;
}

.wp-block-post-content .wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}

.wp-block-post-content .wp-block-table thead {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.wp-block-post-content .wp-block-table th,
.wp-block-post-content .wp-block-table td {
    border: none;
    border-bottom: 1px solid var(--wp--preset--color--line);
    padding: 11px 16px;
    text-align: left;
    font-size: var(--wp--preset--font-size--compact);
    font-family: var(--wp--preset--font-family--body);
    color: var(--wp--preset--color--ink);
}

.wp-block-post-content .wp-block-table th + th,
.wp-block-post-content .wp-block-table td + td {
    /* border-left: 1px solid var(--wp--preset--color--line); */
}

.wp-block-post-content .wp-block-table tbody tr:last-child td {
    border-bottom: none;
}

.wp-block-post-content .wp-block-table thead th {
    background: var(--wp--preset--color--sand);
    font-size: var(--wp--preset--font-size--label);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wp--preset--color--accent-dark);
    font-weight: 600;
    border-bottom: 1px solid var(--wp--preset--color--accent);
}

@media (max-width: 520px) {
    .wp-block-post-content .wp-block-table th,
    .wp-block-post-content .wp-block-table td {
        padding: 10px 10px;
        font-size: 12px;
    }
}


/* ---- Blog post list marker color ---- */
.wp-block-post-content .wp-block-list li::marker {
    color: var(--wp--preset--color--accent);
    font-weight: 600;
}


/* ---- Vani course/pricing cards (Session Fees & Format, Course Fees, etc.) ---- */
/* Uses the shared .nudge box for the left accent border; background is kept
   white/paper here (rather than nudge's sand) since these are dense pricing
   cards, not a CTA callout. .vani-course adds the internal layout rhythm. */
.vani-course.nudge {
    background: var(--wp--preset--color--paper) !important;
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--30);
    padding: 36px;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: 3px solid var(--wp--preset--color--accent) !important;
}

.vani-course > * {
    margin-top: 24px;
    margin-bottom: 0 !important;
}

.vani-course > *:first-child {
    margin-top: 0;
}

.vani-course h2,
.vani-course h3 {
    margin: 0;
    line-height: 1.3;
}

.vani-course h2 a,
.vani-course h3 a {
    color: var(--wp--preset--color--accent-dark);
    text-decoration: none;
}

.vani-course h2 a:hover,
.vani-course h3 a:hover {
    text-decoration: underline;
}

.vani-course > div:first-child p {
    margin-top: 6px;
}

.vani-course .wp-block-vani-definition-grid.has-1-columns .wp-block-vani-definition-item {
    border-bottom: none;
    padding: 0;
}

.vani-course .wp-block-vani-definition-grid dt {
    margin-bottom: 6px;
}

.vani-course .wp-block-vani-definition-grid dd {
    margin: 0;
}

.vani-course > div:last-child {
    align-items: center;
}

.vani-course .wp-block-button.is-style-outline .wp-block-button__link {
    border-color: var(--wp--preset--color--accent);
    border-width: 1.5px;
    background: var(--wp--preset--color--paper);
    color: var(--wp--preset--color--accent-dark);
    border-radius: 3px;
    font-weight: 600;
    padding: 12px 22px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.vani-course .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--white);
}


/* ---- Service page "session meta" row (Duration/Format/etc as bordered cells) ---- */
.session-meta.wp-block-vani-definition-grid {
    gap: 0;
    border: 1px solid var(--wp--preset--color--line);
    padding: 5px 20px;
    overflow: hidden;
    background: var(--wp--preset--color--paper);
    margin: var(--wp--preset--spacing--30) 0;
	box-sizing: border-box;
}

.session-meta .wp-block-vani-definition-item {
    padding: 20px 24px;
    border-right: 1px solid var(--wp--preset--color--line);
    border-bottom: none;
}

.session-meta .wp-block-vani-definition-item:last-child {
    border-right: none;
}

.session-meta.wp-block-vani-definition-grid.has-1-columns {
    display: block;
    gap: 0;
}

.session-meta.wp-block-vani-definition-grid.has-1-columns .wp-block-vani-definition-item {
    display: block;
    flex-wrap: unset;
    border-bottom: none;
}

@media (max-width: 520px) {
    .session-meta .wp-block-vani-definition-item {
        border-right: none;
        border-bottom: 1px solid var(--wp--preset--color--line);
    }
    .session-meta .wp-block-vani-definition-item:last-child {
        border-bottom: none;
    }
}

.related-services {
    gap: 0;
    border: 1px solid var(--wp--preset--color--line);
    padding: 5px 20px;
    overflow: hidden;
    background: var(--wp--preset--color--paper);
    margin: var(--wp--preset--spacing--30) 0;
	box-sizing: border-box;
}

.related-services .wp-block-column {
    padding: 20px 24px;
    border-right: 1px solid var(--wp--preset--color--line);
    border-bottom: none;
}

.related-services .wp-block-column:last-child {
    border-right: none;
}

@media (max-width: 520px) {
    .related-services .wp-block-column {
        border-right: none;
        border-bottom: 1px solid var(--wp--preset--color--line);
    }
    .related-services .wp-block-column:last-child {
        border-bottom: none;
    }
}

/* ---- Service page "Sessions & Fees" table spacing ---- */
.wp-block-post-content .session-fee-table {
    margin-top: var(--wp--preset--spacing--20);
    margin-bottom: var(--wp--preset--spacing--20);
}


/* ---- Services & Fees index: scannable list rows ---- */
.service-index-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 18px 0;
	margin: 0 !important;
    border-bottom: 1px solid var(--wp--preset--color--line);
}

.service-index-row:last-child {
    border-bottom: none;
}

.service-index-row .service-index-text h3 {
    margin: 0 0 4px;
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.3;
}

.service-index-row .service-index-text p {
    margin: 0;
    color: var(--wp--preset--color--ink-soft);
    font-size: var(--wp--preset--font-size--compact);
    line-height: 1.5;
}

.service-index-row .service-index-link {
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
    padding-top: 8px;
}

.service-index-row .service-index-link a {
    color: var(--wp--preset--color--accent-dark);
    font-size: var(--wp--preset--font-size--compact);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--wp--preset--color--accent);
    padding-bottom: 2px;
}

.service-index-row .service-index-link a:hover {
    color: var(--wp--preset--color--accent);
}

@media (max-width: 600px) {
    .service-index-row {
        flex-direction: column;
        gap: 8px;
    }

    .service-index-row .service-index-link {
        padding-top: 0;
    }
}

/* Consultation Page */
.expect {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 8px;
	list-style: none;
	padding: 0;
}

.expect li {
    border-right: 1px solid var(--wp--preset--color--sand);
    padding: 26px 28px;
	font-family: var(--wp--preset--font-family--heading);
	color: var(--wp--preset--color--ink);
	font-size: 19px;
}

.expect li:last-child {
	border-right: 0;
}

.expect li strong {
	text-transform: uppercase;
	display: block;
	font-weight: 400;
	font-family: var(--wp--preset--font-family--body);
	color: var(--wp--preset--color--ink-soft);
	margin-bottom: 8px;
	font-size: 11.5px;
    letter-spacing: .1em;
}

.fees {
	    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 22px 28px;
    align-items: center;
	list-style: none;
}

.fees li {
    border-right: 1px solid var(--wp--preset--color--sand);
    padding: 26px 28px;
	font-family: var(--wp--preset--font-family--heading);
	color: var(--wp--preset--color--ink);
	font-size: 19px;
}

.fees li:last-child {
	border-right: 0;
}

.fees li strong {
	text-transform: uppercase;
	display: block;
	font-weight: 400;
	font-family: var(--wp--preset--font-family--body);
	color: var(--wp--preset--color--ink-soft);
	margin-bottom: 8px;
	font-size: 11.5px;
    letter-spacing: .1em;
}

.steps {
    counter-reset: step;
    margin-top: 8px;
}

.step {
    display: grid;
    gap: 10px;
    padding: 22px 0;
    border-bottom: 1px solid var(--wp--preset--color--line);
}

.step strong {
	font-family: var(--wp--preset--font-family--heading);
}

.step .num {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 26px;
    color: var(--wp--preset--color--accent);
	margin-right: 3rem;
}

/* ==============================================
			Contact Form
   ============================================== */
.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-not-valid-tip, .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	font-size: 11px;
}


.contact-form .wpcf7-text,
.contact-form .wpcf7-textarea {
	border: 1px solid var(--wp--preset--color--accent-dark);
	width: 100%;
	height: 50px;
	line-height: 1;
	box-sizing: border-box;
	padding: 5px 13px;
}

.contact-form .wpcf7-textarea {
	height: 180px;
	line-height: 1.25;
}

.contact-form .wpcf7-submit {
    background-color: var(--wp--preset--color--white);
    border-radius: 2px;
    border-color: var(--wp--preset--color--ink);
    border-width: 1px;
    border-style: solid;
    color: var(--wp--preset--color--ink);
    padding-top: 14px;
    padding-right: 30px;
    padding-bottom: 14px;
    padding-left: 30px;
}

@media (max-width: 520px) {
    .flex-wrap {
        flex-wrap: wrap;
    }
}