.ast-tarot {
	--ink: #2c2523;
	--petrol: #075f65;
	--deep: #123d43;
	--gold: #caa65b;
	--cream: #fffaf1;
	--paper: #f7f0e5;
	max-width: 1160px;
	margin: 12px auto 56px;
	padding: 0 18px;
	color: var(--ink);
	font-family: Arial, Helvetica, sans-serif;
}
.ast-tarot *, .ast-tarot *::before, .ast-tarot *::after { box-sizing: border-box; }
.ast-tarot__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
	align-items: center;
	min-height: 430px;
	margin-bottom: 26px;
	padding: clamp(34px, 6vw, 72px);
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 76% 20%, rgba(225,190,112,.28), transparent 25%),
		linear-gradient(125deg, #102f35 0%, #0b565c 62%, #8d7757 145%);
	border: 1px solid #c8aa6e;
	border-radius: 22px;
}
.ast-tarot__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .15;
	background-image: radial-gradient(circle, #fff 1px, transparent 1px);
	background-size: 31px 31px;
	mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.ast-tarot__hero > div { position: relative; z-index: 1; }
.ast-tarot__eyebrow {
	margin: 0 0 10px;
	color: #d5b66e;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.ast-tarot__hero h1 {
	max-width: 690px;
	margin: 0 0 17px;
	color: #fff;
	font: 700 clamp(39px, 5.5vw, 65px)/1.03 Georgia, "Times New Roman", serif;
}
.ast-tarot__hero > div:first-child > p:last-child {
	max-width: 660px;
	margin: 0;
	color: rgba(255,255,255,.91);
	font-size: 18px;
	line-height: 1.68;
}
.ast-tarot__hero-cards {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 300px;
	padding-left: 28px;
}
.ast-tarot__hero-cards img {
	position: relative;
	width: 138px;
	height: auto;
	border: 1px solid rgba(230,201,136,.72);
	box-shadow: 0 18px 32px rgba(0,0,0,.38);
}
.ast-tarot__hero-cards img:first-child { z-index: 1; transform: rotate(-9deg) translate(42px, 12px); }
.ast-tarot__hero-cards img:nth-child(2) { z-index: 3; transform: translateY(-10px); }
.ast-tarot__hero-cards img:last-child { z-index: 2; transform: rotate(9deg) translate(-42px, 12px); }
.ast-tarot__tools {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 22px;
}
.ast-tarot__lookup, .ast-tarot__random {
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 4vw, 38px);
	background: #fff;
	border: 1px solid #dfc99c;
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(60,43,28,.08);
}
.ast-tarot__random { background: linear-gradient(145deg, #fffdf8, #f2e7d7); }
.ast-tarot__tool-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; align-items: start; }
.ast-tarot__tool-number {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin: 0;
	color: #b49351;
	background: #fff9ed;
	border: 1px solid #ddc38c;
	border-radius: 50%;
	font: 700 13px/1 Georgia, serif;
}
.ast-tarot__tools h2, .ast-tarot__random-result h2, .ast-tarot__intro h2, .ast-tarot__group h2 {
	margin: 0 0 9px;
	color: var(--deep);
	font: 700 clamp(25px, 3vw, 34px)/1.15 Georgia, "Times New Roman", serif;
}
.ast-tarot__tools p { margin: 0 0 20px; line-height: 1.55; }
.ast-tarot__select-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-top: auto; }
.ast-tarot__select-row select {
	min-width: 0;
	width: 100%;
	padding: 12px 38px 12px 13px;
	color: var(--ink);
	background: #fff;
	border: 1px solid #cbbda8;
	border-radius: 9px;
	font: 700 14px/1.3 Arial, sans-serif;
}
.ast-tarot__select-row button { white-space: nowrap; }
.ast-tarot__random > button { align-self: flex-start; margin-top: auto; }
.ast-tarot button, .ast-tarot__draw-card a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 12px 17px;
	color: #fff;
	background: var(--petrol);
	border: 1px solid var(--petrol);
	border-radius: 999px;
	font: 900 13px/1.35 Arial, sans-serif;
	text-decoration: none;
	cursor: pointer;
}
.ast-tarot button:hover, .ast-tarot__draw-card a:hover { background: var(--deep); }
.ast-tarot button:disabled { opacity: .45; cursor: not-allowed; }
.ast-tarot__random-result {
	margin: 0 0 30px;
	padding: clamp(22px, 4vw, 42px);
	background: linear-gradient(135deg, #eef6f3, #fffaf1);
	border: 1px solid #b9d1ca;
	border-radius: 20px;
}
.ast-tarot__draw-card {
	display: grid;
	grid-template-columns: minmax(190px, 280px) 1fr;
	gap: clamp(25px, 5vw, 55px);
	align-items: center;
	max-width: 850px;
	margin: 0 auto;
}
.ast-tarot__draw-card img { width: 100%; height: auto; box-shadow: 0 18px 35px rgba(31,27,24,.24); }
.ast-tarot__draw-meta { margin: 0 0 9px; color: #76613e; font-size: 13px; font-weight: 800; }
.ast-tarot__draw-card > div > p:not(.ast-tarot__eyebrow):not(.ast-tarot__draw-meta) { line-height: 1.68; }
.ast-tarot__draw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.ast-tarot__draw-actions > a, .ast-tarot__draw-actions > button { margin: 0; }
.ast-tarot__draw-actions > button { color: var(--petrol); background: #fff; border: 2px solid var(--petrol); }
.ast-tarot__draw-actions > button:hover, .ast-tarot__draw-actions > button:focus-visible { color: #fff; background: var(--deep); border-color: var(--deep); }
.ast-tarot__intro {
	max-width: 880px;
	margin: 52px auto 36px;
	font-size: 16px;
	line-height: 1.75;
}
.ast-tarot__intro p { margin: 0 0 15px; }
.ast-tarot__group-nav {
	position: sticky;
	top: 8px;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 0 0 44px;
	padding: 10px;
	background: rgba(255,250,241,.94);
	border: 1px solid #e0ceb0;
	border-radius: 999px;
	backdrop-filter: blur(8px);
}
.ast-tarot__group-nav a {
	padding: 8px 13px;
	color: var(--petrol);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}
.ast-tarot__group-nav a:hover { color: #fff; background: var(--petrol); }
.ast-tarot__group { margin: 0 0 60px; scroll-margin-top: 78px; }
.ast-tarot__group-head { max-width: 800px; margin-bottom: 24px; }
.ast-tarot__group-head > p:last-child { margin: 0; font-size: 16px; line-height: 1.66; }
.ast-tarot__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px 13px;
}
.ast-tarot__grid a, .ast-tarot__grid article { display: block; margin: 0; color: var(--ink); text-decoration: none; }
.ast-tarot__grid img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2/3;
	object-fit: contain;
	box-shadow: 0 7px 17px rgba(50,37,26,.13);
	transition: transform .18s ease, box-shadow .18s ease;
}
.ast-tarot__grid a:hover img { transform: translateY(-4px); box-shadow: 0 13px 25px rgba(50,37,26,.22); }
.ast-tarot__grid span { display: block; padding: 9px 3px; font-size: 13px; font-weight: 800; line-height: 1.3; }
.ast-tarot__grid small { display: block; margin-top: 4px; color: #8b7656; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.ast-tarot__editorial-note { padding: 11px 14px; color: #695638; background: rgba(255,255,255,.66); border-left: 3px solid var(--gold); }
.ast-tarot__breadcrumb { display: flex; flex-wrap: wrap; align-items: center; width: fit-content; gap: 6px; margin: 30px 0 30px; padding: 7px 12px; color: #745f48; background: rgba(255,250,241,.78); border: 1px solid #e1d2b8; border-radius: 999px; font-size: 11px; line-height: 1.35; }
.ast-tarot__breadcrumb a, .ast-tarot__breadcrumb strong { font-size: 11px; line-height: 1.35; }
.ast-tarot__breadcrumb a { color: var(--petrol); font-weight: 700; text-decoration: none; }
.ast-tarot__breadcrumb a:hover, .ast-tarot__breadcrumb a:focus { color: var(--deep); text-decoration: underline; }
.ast-tarot__breadcrumb strong { font-weight: 800; }
.ast-tarot__breadcrumb span { color: #b49351; font-size: 10px; }
.ast-tarot__card-head {
	display: grid;
	grid-template-columns: minmax(250px, 390px) 1fr;
	gap: clamp(32px, 6vw, 72px);
	align-items: start;
	padding: clamp(24px, 5vw, 54px);
	background:
		radial-gradient(circle at 88% 8%, rgba(202,166,91,.16), transparent 27%),
		linear-gradient(145deg, #f7f1e7, #fffdf9);
	border: 1px solid #dfc99c;
	border-radius: 22px;
}
.ast-tarot__card-visual img { display: block; width: 100%; height: auto; box-shadow: 0 24px 45px rgba(40,30,24,.22); }
.ast-tarot__card-head h1 { margin: 0 0 18px; color: var(--deep); font: 700 clamp(38px, 5vw, 58px)/1.05 Georgia, "Times New Roman", serif; }
.ast-tarot__card-summary > p { margin: 0 0 15px; font-size: 17px; line-height: 1.72; }
.ast-tarot__glance {
	position: relative;
	grid-column: 1 / -1;
	overflow: hidden;
	margin-top: 0;
	padding: clamp(20px, 3vw, 30px);
	color: #fff;
	background:
		radial-gradient(circle at 96% 0, rgba(225,194,125,.24), transparent 35%),
		linear-gradient(135deg, #123d43, #09666d);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 18px;
	box-shadow: 0 16px 34px rgba(18,61,67,.16);
}
.ast-tarot__glance-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.ast-tarot__glance-head > span {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	color: #123d43;
	background: #e1c27d;
	border-radius: 50%;
	box-shadow: 0 5px 14px rgba(0,0,0,.16);
	font-size: 18px;
}
.ast-tarot__glance-head > span svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ast-tarot__glance-head strong { display: block; color: #fff; font: 700 22px/1.15 Georgia, "Times New Roman", serif; }
.ast-tarot__glance-head small { display: block; margin-top: 3px; color: #dcebea; font-size: 12px; line-height: 1.35; }
.ast-tarot__glance ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ast-tarot__glance li {
	position: relative;
	margin: 0;
	padding: 13px 14px 13px 43px;
	color: #f9f5ec;
	background: rgba(255,255,255,.09);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.5;
}
.ast-tarot__glance li::before {
	content: "✓";
	position: absolute;
	left: 14px;
	top: 14px;
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	color: #123d43;
	background: #e1c27d;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}
.ast-tarot__glance li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ast-tarot__section-nav {
	position: sticky;
	top: 8px;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 22px 0 46px;
	padding: 10px;
	background: rgba(255,250,241,.95);
	border: 1px solid #e0ceb0;
	border-radius: 999px;
	backdrop-filter: blur(8px);
}
.ast-tarot__section-nav a { padding: 7px 10px; color: var(--petrol); border-radius: 999px; font-size: 12px; font-weight: 900; text-decoration: none; }
.ast-tarot__section-nav a:hover { color: #fff; background: var(--petrol); }
.ast-tarot__copy { max-width: 920px; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.ast-tarot__content-section { margin: 0 0 62px; scroll-margin-top: 84px; }
.ast-tarot__content-section > h2, .ast-tarot__content-section > div > h2, .ast-tarot__more > h2 {
	margin: 0 0 16px;
	color: var(--deep);
	font: 700 clamp(28px, 4vw, 40px)/1.14 Georgia, "Times New Roman", serif;
}
.ast-tarot__content-section p { margin: 0 0 17px; }
.ast-tarot__discover { padding: clamp(24px, 5vw, 45px); background: linear-gradient(135deg, #eef6f3, #fffaf1); border: 1px solid #bad3cc; border-radius: 20px; }
.ast-tarot__discover-layout { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px 28px; align-items: start; }
.ast-tarot__discover-card { grid-row: 1 / span 2; margin: 0; }
.ast-tarot__discover-card img { display: block; width: 100%; height: auto; aspect-ratio: 2/3; object-fit: contain; border: 1px solid rgba(202,166,91,.65); box-shadow: 0 10px 24px rgba(44,37,35,.18); }
.ast-tarot__discover-card figcaption { margin-top: 8px; color: #6e5c45; font-size: 12px; font-weight: 800; line-height: 1.3; text-align: center; }
.ast-tarot__discover-controls > p { margin-top: -3px; }
.ast-tarot__symbol-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.ast-tarot__symbol-pills button { padding: 9px 14px; color: var(--petrol); background: #fff; border-color: #9cbeb8; }
.ast-tarot__symbol-pills button:hover, .ast-tarot__symbol-pills button:focus-visible { color: #fff; background: var(--deep); border-color: var(--deep); }
.ast-tarot__symbol-pills button.is-active { color: #fff; background: var(--petrol); }
.ast-tarot__symbol-readings { padding: 22px; background: rgba(255,255,255,.72); border: 1px solid #d7e4df; border-radius: 14px; }
.ast-tarot__symbol-readings h3, .ast-tarot__symbol-grid h3, .ast-tarot__meaning-grid h3, .ast-tarot__combination-list h3 { margin: 0 0 9px; color: var(--deep); font-size: 19px; line-height: 1.3; }
.ast-tarot__visual-evidence { color: #7d684d; font-size: 13px; font-style: italic; }
.ast-tarot__source-ref { margin-left: 2px; font-size: .68em; line-height: 0; vertical-align: super; }
.ast-tarot__source-ref a { color: var(--petrol); font-weight: 900; text-decoration: none; }
.ast-tarot__source-ref a:hover, .ast-tarot__source-ref a:focus { text-decoration: underline; }
.ast-tarot__sources { margin: 0 0 62px; padding-top: 22px; border-top: 1px solid #e0ceb0; scroll-margin-top: 84px; }
.ast-tarot__sources h2 { margin: 0 0 15px; color: var(--deep); font: 700 25px/1.2 Georgia, "Times New Roman", serif; }
.ast-tarot__source-list { display: grid; gap: 9px; }
.ast-tarot__source-item { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; color: #6e5c45; font-size: 13px; line-height: 1.55; }
.ast-tarot__source-number { display: grid; width: 28px; height: 28px; place-items: center; color: #123d43; background: #ead49d; border-radius: 50%; font-size: 12px; font-weight: 900; }
.ast-tarot__source-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: 110px; }
.ast-tarot__sources a { color: var(--petrol); overflow-wrap: anywhere; }
.ast-tarot__first-notice { margin-top: 18px !important; padding: 15px 17px; color: #4e4031; background: #fff8e8; border-left: 4px solid var(--gold); }
.ast-tarot__symbol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ast-tarot__symbol-grid article, .ast-tarot__meaning-grid section, .ast-tarot__combination-list article { padding: 22px; background: #fffaf3; border: 1px solid #e4d3b4; border-radius: 13px; }
.ast-tarot__symbol-grid p, .ast-tarot__meaning-grid p, .ast-tarot__combination-list p { font-size: 15px; line-height: 1.66; }
.ast-tarot__meaning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ast-tarot__meaning-grid section:first-child { grid-column: 1 / -1; background: #edf5f2; border-color: #bdd3cd; }
.ast-tarot__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ast-tarot__split > div { padding: 26px; background: #f5efe5; border-radius: 14px; }
.ast-tarot__combination-list { display: grid; gap: 11px; margin-bottom: 36px; }
.ast-tarot__check-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.ast-tarot__check-list li { position: relative; padding: 13px 15px 13px 43px; background: #fffaf3; border: 1px solid #e5d7be; border-radius: 10px; }
.ast-tarot__check-list li::before { content: "✦"; position: absolute; left: 16px; color: var(--gold); }
.ast-tarot__questions { padding: clamp(25px, 5vw, 46px); color: #fff; background: linear-gradient(135deg, #123d43, #07636a); border-radius: 20px; }
.ast-tarot__questions .ast-tarot__eyebrow { color: #e1c27d; }
.ast-tarot__questions > h2 { color: #fff; }
.ast-tarot__questions ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; margin: 25px 0 0; padding-left: 25px; }
.ast-tarot__questions li { padding-left: 7px; line-height: 1.55; }
.ast-tarot__practice { padding: clamp(25px, 5vw, 42px); background: #f5efe5; border: 1px solid #dec9a8; border-radius: 20px; }
.ast-tarot__practice li { margin-bottom: 10px; padding-left: 5px; }
.ast-tarot__faq { display: grid; gap: 10px; }
.ast-tarot__faq details { padding: 16px 18px; background: #fffaf3; border: 1px solid #e0cfaf; border-radius: 11px; }
.ast-tarot__faq summary { color: var(--deep); font-weight: 900; cursor: pointer; }
.ast-tarot__faq details p { margin: 13px 0 0; font-size: 15px; }
.ast-tarot__advisors { margin: 52px 0; }
.ast-tarot__more { margin-top: 56px; }
.ast-tarot__more-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.ast-tarot__more-grid a { color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1.3; text-decoration: none; }
.ast-tarot__more-grid img { display: block; width: 100%; height: auto; margin-bottom: 8px; box-shadow: 0 6px 14px rgba(50,37,26,.15); }
@media (max-width: 960px) {
	.ast-tarot__hero { grid-template-columns: 1fr; }
	.ast-tarot__hero-cards { position: absolute !important; right: -55px; bottom: -95px; opacity: .38; }
	.ast-tarot__hero > div:first-child { max-width: 720px; }
	.ast-tarot__tools { grid-template-columns: 1fr; }
	.ast-tarot__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.ast-tarot__card-head { grid-template-columns: minmax(220px, 310px) 1fr; gap: 35px; }
	.ast-tarot__more-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.ast-tarot { padding: 0 12px; }
	.ast-tarot--detail { padding-top: 18px; }
	.ast-tarot__hero { min-height: 430px; padding: 34px 23px; }
	.ast-tarot__hero-cards { display: none; }
	.ast-tarot__lookup, .ast-tarot__random { padding: 24px 20px; }
	.ast-tarot__select-row { flex-direction: column; }
	.ast-tarot__select-row { grid-template-columns: 1fr; }
	.ast-tarot__select-row select { width: 100%; }
	.ast-tarot__select-row button, .ast-tarot__random > button { width: 100%; }
	.ast-tarot__draw-card { grid-template-columns: 1fr; }
	.ast-tarot__draw-card img { max-width: 250px; margin: 0 auto; }
	.ast-tarot__draw-actions { gap: 10px; }
	.ast-tarot__draw-actions > a, .ast-tarot__draw-actions > button { width: 100%; margin: 0; }
	.ast-tarot__group-nav { position: static; border-radius: 14px; }
	.ast-tarot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 9px; }
	.ast-tarot__grid span { font-size: 12px; }
	.ast-tarot__card-head { grid-template-columns: 1fr; padding: 22px; }
	.ast-tarot__card-visual img { max-width: 300px; margin: 0 auto; }
	.ast-tarot__glance { padding: 19px 17px; border-radius: 15px; }
	.ast-tarot__glance-head { margin-bottom: 14px; }
	.ast-tarot__glance-head > span { flex-basis: 34px; width: 34px; height: 34px; font-size: 16px; }
	.ast-tarot__glance-head strong { font-size: 20px; }
	.ast-tarot__glance ul { grid-template-columns: 1fr; gap: 8px; }
	.ast-tarot__glance li, .ast-tarot__glance li:last-child:nth-child(odd) { grid-column: auto; padding: 12px 12px 12px 39px; font-size: 13px; line-height: 1.48; }
	.ast-tarot__glance li::before { left: 12px; top: 12px; }
	.ast-tarot__breadcrumb { margin: 0 0 22px; border-radius: 13px; }
	.ast-tarot__section-nav { position: static; border-radius: 14px; }
	.ast-tarot__discover-layout { grid-template-columns: 1fr; gap: 18px; }
	.ast-tarot__discover-card { grid-row: auto; width: min(68vw, 230px); justify-self: center; }
	.ast-tarot__discover-card figcaption { font-size: 11px; }
	.ast-tarot__discover-controls { width: 100%; }
	.ast-tarot__discover-controls .ast-tarot__symbol-pills { margin: 13px 0 0; }
	.ast-tarot__discover-controls .ast-tarot__symbol-pills button { padding: 7px 10px; font-size: 11px; }
	.ast-tarot__symbol-readings { grid-column: 1 / -1; }
	.ast-tarot__symbol-grid, .ast-tarot__meaning-grid, .ast-tarot__split, .ast-tarot__questions ol { grid-template-columns: 1fr; }
	.ast-tarot__meaning-grid section:first-child { grid-column: auto; }
	.ast-tarot__more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
	.ast-tarot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.ast-tarot__grid img { transition: none; }
}
