/* Studito Online shared site layout.
 * Loaded on every public front-end page via studito-public-site mu-plugin.
 * Covers the common header/nav, the common footer, and the thanks pages.
 */

.studito-site-header *,
.studito-site-footer *,
.studito-thanks-page * {
	box-sizing: border-box;
}

/* ===== Header / nav ===== */
.studito-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #ffffff;
	border-bottom: 1px solid #e2e8f4;
}
.studito-site-header__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.studito-site-header__logo {
	font-size: 1.15rem;
	font-weight: 800;
	color: #061e4d;
	text-decoration: none;
	letter-spacing: 0.01em;
}
.studito-site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
}
.studito-site-nav a {
	font-size: 0.95rem;
	font-weight: 600;
	color: #34405e;
	text-decoration: none;
	white-space: nowrap;
}
.studito-site-nav a:hover {
	color: #061e4d;
}
.studito-site-nav a.studito-site-nav__cta {
	background: #061e4d;
	color: #ffffff;
	padding: 8px 16px;
	border-radius: 8px;
}
.studito-site-nav a.studito-site-nav__cta:hover {
	background: #0a2a63;
	color: #ffffff;
}
@media (max-width: 600px) {
	.studito-site-header__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.studito-site-nav {
		gap: 6px 16px;
	}
}

/* ===== Footer ===== */
.studito-site-footer {
	background: #061e4d;
	color: #d7e0f3;
}
.studito-site-footer__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 54px 24px 40px;
}
.studito-site-footer__brand {
	font-size: 1.1rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 8px;
}
.studito-site-footer__desc {
	font-size: 0.95rem;
	color: #aebfe2;
	margin: 0 0 22px;
}
.studito-site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}
.studito-site-footer__links a {
	color: #d7e0f3;
	text-decoration: none;
	font-size: 0.95rem;
}
.studito-site-footer__links a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.studito-site-footer__copy {
	font-size: 0.8rem;
	color: #7e93c2;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 18px;
	margin: 0;
}

/* ===== Thanks pages (page IDs 35 / 37 / 39) ===== */
/* Hide the theme-printed bare page title; the card supplies its own heading. */
body.page-id-35 main,
body.page-id-37 main,
body.page-id-39 main {
	font-size: 0;
	max-width: none;
	padding: 0;
}
body.page-id-35 main > *,
body.page-id-37 main > *,
body.page-id-39 main > * {
	font-size: 1rem;
}

.studito-thanks-page {
	background: #f4f7fc;
	padding: 64px 24px;
	font-size: 16px;
	line-height: 1.8;
	color: #1f2a44;
}
.studito-thanks-card {
	max-width: 640px;
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid #e2e8f4;
	border-radius: 16px;
	padding: 48px 40px;
	text-align: center;
	box-shadow: 0 4px 18px rgba(6, 30, 77, 0.06);
}
.studito-thanks-card__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: #061e4d;
	color: #ffffff;
	font-size: 1.6rem;
	line-height: 1;
}
.studito-thanks-card__title {
	font-size: clamp(1.3rem, 3vw, 1.7rem);
	font-weight: 800;
	color: #061e4d;
	line-height: 1.5;
	margin: 0 0 18px;
}
.studito-thanks-card__text {
	font-size: 1rem;
	line-height: 1.9;
	color: #34405e;
	margin: 0 0 30px;
}
.studito-thanks-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.studito-thanks-actions a {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
}
.studito-thanks-actions a.is-primary {
	background: #061e4d;
	color: #ffffff;
}
.studito-thanks-actions a.is-secondary {
	background: #ffffff;
	color: #061e4d;
	box-shadow: inset 0 0 0 2px #061e4d;
}
@media (max-width: 600px) {
	.studito-thanks-card {
		padding: 36px 22px;
	}
	.studito-thanks-actions {
		flex-direction: column;
	}
	.studito-thanks-actions a {
		width: 100%;
		text-align: center;
	}
}

/* ===== Content pages (service / pricing / faq / privacy-policy) ===== */
/* Hide the theme-printed bare page title; each page supplies its own hero title.
   The body class is added by the mu-plugin for these managed pages. */
body.studito-content-managed main {
	font-size: 0;
	max-width: none;
	padding: 0;
}
body.studito-content-managed main > * {
	font-size: 1rem;
}

.studito-content-page {
	font-size: 16px;
	line-height: 1.9;
	color: #1f2a44;
	background: #ffffff;
}
.studito-content-page * {
	box-sizing: border-box;
}
.studito-content-inner {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 24px;
}

.studito-content-hero {
	background: linear-gradient(160deg, #061e4d 0%, #0a2a63 100%);
	color: #ffffff;
	padding: 66px 0 56px;
	text-align: center;
}
.studito-content-hero .studito-content-inner {
	max-width: 760px;
}
.studito-content-hero__title {
	font-size: clamp(1.7rem, 3.8vw, 2.4rem);
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 16px;
}
.studito-content-hero__lead {
	font-size: 1.02rem;
	line-height: 1.9;
	color: #d7e0f3;
	margin: 0;
}

.studito-content-section {
	padding: 64px 0;
}
.studito-content-section--tint {
	background: #f4f7fc;
}
.studito-content-section__title {
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	font-weight: 800;
	color: #061e4d;
	margin: 0 0 14px;
}
.studito-content-section__intro {
	font-size: 1.02rem;
	color: #34405e;
	margin: 0 0 30px;
}

/* Prose */
.studito-prose h2 {
	margin-top: 38px;
}
.studito-prose h2:first-child {
	margin-top: 0;
}
.studito-prose h3 {
	font-size: 1.15rem;
	font-weight: 800;
	color: #061e4d;
	margin: 28px 0 10px;
}
.studito-prose p {
	margin: 0 0 16px;
	color: #34405e;
}
.studito-prose ul {
	margin: 0 0 18px;
	padding-left: 1.3em;
	color: #34405e;
}
.studito-prose li {
	margin: 0 0 8px;
}
.studito-prose__note {
	font-size: 0.88rem;
	color: #5a6680;
	margin-top: 24px;
}

/* Content cards */
.studito-content-cards {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
}
.studito-content-cards--2 {
	grid-template-columns: repeat(2, 1fr);
}
.studito-content-card {
	background: #ffffff;
	border: 1px solid #e2e8f4;
	border-radius: 14px;
	padding: 28px 26px;
	box-shadow: 0 2px 12px rgba(6, 30, 77, 0.05);
}
.studito-content-card__name {
	font-size: 1.15rem;
	font-weight: 800;
	color: #061e4d;
	margin: 0 0 6px;
}
.studito-content-card__role {
	font-size: 0.88rem;
	font-weight: 700;
	color: #2f5bd0;
	margin: 0 0 12px;
}
.studito-content-card__text {
	font-size: 0.98rem;
	line-height: 1.85;
	color: #34405e;
	margin: 0;
}

/* Pricing card */
.studito-price-card {
	max-width: 520px;
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid #e2e8f4;
	border-radius: 16px;
	padding: 36px 30px;
	text-align: center;
	box-shadow: 0 4px 16px rgba(6, 30, 77, 0.06);
}
.studito-price-card__label {
	font-size: 1.05rem;
	font-weight: 800;
	color: #061e4d;
	margin: 0 0 6px;
}
.studito-price-card__price {
	font-size: clamp(1.5rem, 4.5vw, 1.85rem);
	font-weight: 800;
	line-height: 1.4;
	color: #061e4d;
	margin: 0 0 4px;
}
.studito-price-card__note {
	font-size: 0.82rem;
	color: #5a6680;
	margin: 0 0 10px;
}
.studito-price-card__desc {
	font-size: 0.95rem;
	color: #34405e;
	margin: 0;
}

/* Steps */
.studito-content-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.studito-content-step {
	background: #ffffff;
	border: 1px solid #e2e8f4;
	border-radius: 12px;
	padding: 24px 18px;
	text-align: center;
}
.studito-content-step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #061e4d;
	color: #ffffff;
	font-weight: 800;
}
.studito-content-step__label {
	display: block;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #34405e;
}

/* FAQ accordion */
.studito-faq-item {
	border: 1px solid #e2e8f4;
	border-radius: 12px;
	background: #ffffff;
	margin: 0 0 14px;
	overflow: hidden;
}
.studito-faq-item > summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 52px 20px 24px;
	font-weight: 700;
	font-size: 1.02rem;
	color: #061e4d;
	position: relative;
}
.studito-faq-item > summary::-webkit-details-marker {
	display: none;
}
.studito-faq-item > summary::after {
	content: "+";
	position: absolute;
	right: 22px;
	top: 16px;
	font-size: 1.4rem;
	color: #2f5bd0;
}
.studito-faq-item[open] > summary::after {
	content: "\2013";
}
.studito-faq-item__body {
	padding: 0 24px 22px;
	color: #34405e;
	line-height: 1.9;
}
.studito-faq-item__body p {
	margin: 0;
}

/* Content CTA band */
.studito-content-cta {
	background: linear-gradient(160deg, #061e4d 0%, #0a2a63 100%);
	color: #ffffff;
	text-align: center;
}
.studito-content-cta .studito-content-inner {
	padding: 64px 24px;
}
.studito-content-cta__title {
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 16px;
}
.studito-content-cta__text {
	font-size: 1rem;
	line-height: 1.9;
	color: #d7e0f3;
	max-width: 600px;
	margin: 0 auto 28px;
}
.studito-content-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}
.studito-content-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
}
.studito-content-btn--primary {
	background: #ffffff;
	color: #061e4d;
}
.studito-content-btn--ghost {
	background: transparent;
	color: #ffffff;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

/* ===== Bridge page (reuses .studito-content-*; minimal extras) ===== */
.studito-content-hero .studito-content-actions {
	margin-top: 30px;
}
.studito-bridge-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.studito-bridge-feature {
	position: relative;
	margin: 0;
	padding: 14px 16px 14px 40px;
	background: #ffffff;
	border: 1px solid #e2e8f4;
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #34405e;
}
.studito-bridge-feature::before {
	content: "\2713";
	position: absolute;
	left: 16px;
	top: 14px;
	color: #2f5bd0;
	font-weight: 800;
}
.studito-bridge-note {
	margin: 22px 0 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #5a6680;
	text-align: center;
}
.studito-more-link {
	display: inline-block;
	margin-top: 14px;
	font-size: 0.9rem;
	font-weight: 700;
	color: #2f5bd0;
	text-decoration: none;
}
.studito-more-link:hover {
	text-decoration: underline;
}
.studito-more-center {
	margin: 24px 0 0;
	text-align: center;
}
@media (max-width: 760px) {
	.studito-bridge-features {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 880px) {
	.studito-content-cards {
		grid-template-columns: repeat(2, 1fr);
	}
	.studito-content-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.studito-content-section {
		padding: 46px 0;
	}
	.studito-content-cards,
	.studito-content-cards--2,
	.studito-content-steps {
		grid-template-columns: 1fr;
	}
	.studito-content-actions {
		flex-direction: column;
	}
	.studito-content-btn {
		width: 100%;
		text-align: center;
	}
}

/* ===== Use-case cards ===== */
.studito-usecase-cards {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, 1fr);
}
.studito-usecase-card {
	background: #ffffff;
	border: 1px solid #e2e8f4;
	border-radius: 14px;
	padding: 30px 28px;
	box-shadow: 0 2px 12px rgba(6, 30, 77, 0.05);
}
.studito-usecase-card__title {
	font-size: 1.15rem;
	font-weight: 800;
	color: #061e4d;
	margin: 0 0 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eef2f9;
}
.studito-usecase-row {
	margin: 0 0 14px;
}
.studito-usecase-label {
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 700;
	color: #2f5bd0;
	background: #eef2fb;
	padding: 2px 9px;
	border-radius: 5px;
	margin-bottom: 6px;
}
.studito-usecase-row p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.8;
	color: #34405e;
}
.studito-usecase-card__layer {
	margin: 16px 0 0;
	font-size: 0.9rem;
	font-weight: 700;
	color: #061e4d;
}

/* ===== Implementation steps (vertical) ===== */
.studito-impl-steps {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 700px;
}
.studito-impl-step {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 22px 0;
	border-bottom: 1px solid #eef2f9;
}
.studito-impl-step:last-child {
	border-bottom: none;
}
.studito-impl-step__num {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #061e4d;
	color: #ffffff;
	font-weight: 800;
}
.studito-impl-step__title {
	font-size: 1.05rem;
	font-weight: 800;
	color: #061e4d;
	margin: 4px 0 4px;
}
.studito-impl-step__text {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #34405e;
	margin: 0;
}

@media (max-width: 880px) {
	.studito-usecase-cards {
		grid-template-columns: 1fr;
	}
}

/* ===== "Next pages" internal navigation ===== */
.studito-next {
	background: #f4f7fc;
	border-top: 1px solid #e2e8f4;
	padding: 60px 0;
}
.studito-next__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 24px;
}
.studito-next__title {
	font-size: clamp(1.3rem, 2.8vw, 1.7rem);
	font-weight: 800;
	color: #061e4d;
	text-align: center;
	margin: 0 0 12px;
}
.studito-next__text {
	text-align: center;
	color: #34405e;
	max-width: 640px;
	margin: 0 auto 28px;
}
.studito-next-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
}
.studito-next-card {
	display: block;
	background: #ffffff;
	border: 1px solid #e2e8f4;
	border-radius: 14px;
	padding: 24px 24px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 10px rgba(6, 30, 77, 0.05);
	transition: transform .15s ease, box-shadow .15s ease;
}
.studito-next-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(6, 30, 77, 0.10);
}
.studito-next-card__label {
	font-size: 1.1rem;
	font-weight: 800;
	color: #061e4d;
	margin: 0 0 6px;
}
.studito-next-card__label::after {
	content: " \2192";
	color: #2f5bd0;
}
.studito-next-card__text {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #5a6680;
	margin: 0;
}

/* Inline callout (used inside the front page sections) */
.studito-next-inline {
	text-align: center;
	margin-top: 38px;
}
.studito-next-inline__title {
	font-size: 1.2rem;
	font-weight: 800;
	color: #061e4d;
	margin: 0 0 10px;
}
.studito-next-inline__text {
	color: #34405e;
	max-width: 580px;
	margin: 0 auto 20px;
}

/* Buttons + supplementary link */
.studito-next-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}
.studito-next-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
}
.studito-next-btn--primary {
	background: #061e4d;
	color: #ffffff;
}
.studito-next-btn--secondary {
	background: #ffffff;
	color: #061e4d;
	box-shadow: inset 0 0 0 2px #061e4d;
}

/* ===== Unified button interactions (content / next / thanks) ===== */
.studito-content-btn,
.studito-next-btn,
.studito-thanks-actions a {
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.studito-content-btn:hover,
.studito-next-btn:hover,
.studito-thanks-actions a:hover {
	transform: translateY(-2px);
}
.studito-next-btn--primary:hover,
.studito-thanks-actions a.is-primary:hover {
	background: #0a2a63;
}
.studito-next-sub {
	margin: 18px 0 0;
	text-align: center;
	font-size: 0.92rem;
}
.studito-next-sub a {
	color: #bcd0f7;
	text-decoration: none;
}
.studito-next-sub a:hover {
	text-decoration: underline;
}

@media (max-width: 760px) {
	.studito-next-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 600px) {
	.studito-next-actions {
		flex-direction: column;
	}
	.studito-next-btn {
		width: 100%;
		text-align: center;
	}
}
