/* ==========================================================================
   Shen Creative — theme base. Components (cards, banner, sidebar, forms,
   menus, popups) come from the Shen Core plugin. Colours and fonts follow
   Elementor > Site Settings so a client rebrand is one change.
   ========================================================================== */

body {
	--shen-ink: var(--e-global-color-primary, #13233a);
	--shen-brand: var(--e-global-color-secondary, #8c1c3a);
	--shen-text: var(--e-global-color-text, #4b5563);
	--shen-accent2: var(--e-global-color-accent, #d4a24c);
	--shen-bg: var(--e-global-color-shenbg, #ffffff);
	--shen-surface: var(--e-global-color-shensf, #ffffff);
	--shen-border: var(--e-global-color-shenbd, #e5e7eb);
	--shen-soft: var(--e-global-color-shenst, #f5efe6);
	--shen-on: var(--e-global-color-shenon, #ffffff);
	--shen-head-font: var(--e-global-typography-primary-font-family, Georgia), "Noto Sans Tamil", serif;
	--shen-body-font: var(--e-global-typography-text-font-family, system-ui), "Noto Sans Tamil", -apple-system, "Segoe UI", sans-serif;
	margin: 0;
	background: var(--shen-bg);
	color: var(--shen-text);
	font-family: var(--shen-body-font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

img,
video,
iframe {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--shen-brand);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--shen-ink);
	font-family: var(--shen-head-font);
	line-height: 1.2;
	text-wrap: balance;
}

:focus-visible {
	outline: 2px solid var(--shen-brand);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	border-radius: 6px;
	background: var(--shen-ink);
	color: #fff;
}

/* ---------- Layout ---------- */

.shen-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) 20px;
}

.shen-wrap.is-narrow {
	max-width: 840px;
}

.shen-wrap.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}

.shen-blog__main {
	min-width: 0;
}

/* ---------- Blog post ---------- */

.shen-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 22px;
	color: var(--shen-text);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.shen-post__meta span + span::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-right: 18px;
	border-radius: 50%;
	background: var(--shen-brand);
	vertical-align: middle;
}

.shen-post__hero {
	margin: 0 0 32px;
}

.shen-post__hero img {
	display: block;
	width: 100%;
	border-radius: 16px;
}

.shen-post__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 32px 0;
}

.shen-post__tags a {
	padding: 6px 14px;
	border: 1px solid var(--shen-border);
	border-radius: 99px;
	color: var(--shen-ink);
	font-size: 14px;
	text-decoration: none;
}

.shen-post__tags a:hover {
	border-color: var(--shen-brand);
	color: var(--shen-brand);
}

.post-navigation {
	margin: 40px 0;
	padding: 24px 0;
	border-block: 1px solid var(--shen-border);
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.post-navigation a {
	display: grid;
	gap: 2px;
	color: var(--shen-ink);
	font-family: var(--shen-head-font);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}

.post-navigation small {
	color: var(--shen-brand);
	font-family: var(--shen-body-font);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-navigation .nav-next {
	text-align: right;
}

/* ---------- Comments ---------- */

.shen-comments__list {
	padding: 0;
	list-style: none;
}

.shen-comments__list .comment-body {
	margin-bottom: 20px;
	padding: 20px 22px;
	border: 1px solid var(--shen-border);
	border-radius: 14px;
	background: var(--shen-surface);
}

.shen-comments__list .children {
	list-style: none;
}

.comment-form input:not([type=submit]):not([type=checkbox]),
.comment-form textarea,
.search-form .search-field {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--shen-border);
	border-radius: 10px;
	background: var(--shen-surface);
	font: inherit;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
}

.search-form .search-submit,
.comment-form .submit {
	padding: 12px 22px;
	border: 0;
	border-radius: 10px;
	background: var(--shen-brand);
	color: var(--shen-on);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* ---------- Fallback header & footer (before the demo is imported) ---------- */

.shen-fallback-header {
	border-bottom: 1px solid var(--shen-border);
	background: var(--shen-surface);
}

.shen-fallback-header__inner,
.shen-fallback-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 16px 20px;
}

.shen-fallback-header__brand a {
	color: var(--shen-ink);
	font-family: var(--shen-head-font);
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
}

.shen-fallback-header__brand img {
	display: block;
	max-height: 56px;
	width: auto;
}

.shen-fallback-header__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shen-fallback-header__nav a {
	color: var(--shen-ink);
	font-weight: 600;
	text-decoration: none;
}

.shen-fallback-header__nav .sub-menu {
	display: none;
}

.shen-fallback-header__toggle {
	display: none;
	padding: 8px 12px;
	border: 1px solid var(--shen-border);
	border-radius: 8px;
	background: none;
	font-size: 20px;
	cursor: pointer;
}

.shen-fallback-footer {
	margin-top: 40px;
	background: var(--shen-ink);
	color: rgba(255, 255, 255, 0.8);
	font-size: 15px;
}

.shen-fallback-footer a {
	color: #fff;
}

.shen-fallback-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shen-fallback-footer p {
	margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.shen-wrap.has-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.shen-wrap {
		padding-inline: 16px;
	}

	.shen-fallback-header__toggle {
		display: block;
	}

	.shen-fallback-header__nav {
		display: none;
		flex-basis: 100%;
	}

	.shen-fallback-header__nav.is-open {
		display: block;
	}

	.shen-fallback-header__nav ul {
		flex-direction: column;
	}

	.post-navigation .nav-links {
		flex-direction: column;
	}

	.post-navigation .nav-next {
		text-align: left;
	}
}

/* ==========================================================================
   Elementor section helpers (added through "CSS Classes" fields).
   Everything below is cosmetic; content and colours stay editable in Elementor.
   ========================================================================== */

.shen-eyebrow .elementor-heading-title::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	margin-right: 10px;
	background: currentColor;
	vertical-align: middle;
}

.shen-head .shen-eyebrow[class*="elementor-widget"] .elementor-heading-title[style*="center"]::after {
	display: none;
}

.e-con.shen-ecard {
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.e-con.shen-ecard:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 48px -24px rgba(19, 35, 58, 0.28);
}

.shen-img-tall img,
.shen-img-wide img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.shen-img-tall img {
	aspect-ratio: 4 / 5;
}

.shen-img-wide img {
	aspect-ratio: 3 / 2;
}

/* Hero */
.e-con.shen-hero h1 em {
	color: var(--e-global-color-accent, #c9963f);
	font-style: italic;
}

.e-con.shen-quick {
	position: relative;
	z-index: 3;
	margin-top: -96px;
}

.e-con.shen-quick .shen-quick__item {
	box-shadow: 0 30px 60px -30px rgba(19, 35, 58, 0.45);
}

.e-con.shen-hero-media {
	position: relative;
}

.e-con.shen-hero-badge {
	position: absolute;
	left: -28px;
	bottom: 36px;
	width: auto;
	max-width: 240px;
	box-shadow: 0 24px 50px -24px rgba(19, 35, 58, 0.45);
}

.e-con.shen-hero-stats .elementor-counter {
	align-items: flex-start;
}

.e-con.shen-hero-stats .elementor-counter-number-wrapper {
	justify-content: flex-start;
}

/* Collage */
.e-con.shen-collage {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 0.8fr;
	grid-template-rows: auto auto;
	gap: 18px;
}

.shen-collage .shen-collage__a {
	grid-row: span 2;
}

.shen-collage .shen-collage__b {
	align-self: end;
}

.e-con.shen-collage__badge {
	align-self: start;
	text-align: left;
}

/* Timeline */
.e-con.shen-tl {
	position: relative;
	gap: 0;
}

.e-con.shen-tl__item {
	position: relative;
	padding: 0 0 36px 0;
}

.shen-tl__year {
	flex: none;
	width: 120px !important;
}

.e-con.shen-tl__item::before {
	content: "";
	position: absolute;
	left: 138px;
	top: 14px;
	bottom: 0;
	width: 2px;
	background: var(--shen-border);
}

.e-con.shen-tl__item::after {
	content: "";
	position: absolute;
	left: 132px;
	top: 10px;
	width: 14px;
	height: 14px;
	border: 3px solid var(--shen-brand);
	border-radius: 50%;
	background: var(--shen-surface);
}

.e-con.shen-tl__item > .e-con {
	padding-left: 40px;
}

/* Image tiles */
a.e-con.shen-tile,
.e-con.shen-tile {
	overflow: hidden;
	text-decoration: none;
	isolation: isolate;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.e-con.shen-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, transparent 35%, rgba(15, 27, 45, 0.88) 100%);
	border-radius: inherit;
	pointer-events: none;
}

.e-con.shen-tile:hover {
	transform: translateY(-4px);
}

/* Chips list (clubs) */
.shen-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shen-chips li {
	padding: 10px 18px;
	border: 1px solid var(--shen-border);
	border-radius: 99px;
	background: var(--shen-surface);
	color: var(--shen-ink);
	font-weight: 600;
}

.shen-chips li:nth-child(3n+1) {
	border-color: transparent;
	background: var(--shen-soft);
}

/* Tables */
.shen-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--shen-border);
	border-radius: 14px;
}

.shen-table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 16px;
}

.shen-table th,
.shen-table td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--shen-border);
	text-align: left;
}

.shen-table thead th {
	background: var(--shen-ink);
	color: #fff;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.shen-table tbody tr:nth-child(even) td {
	background: var(--shen-soft);
}

.shen-table td:last-child,
.shen-table th:last-child {
	text-align: right;
}

.elementor-widget-text-editor > .shen-table {
	border-radius: 14px;
	overflow: hidden;
}

/* Steps */
.shen-step__num .elementor-heading-title {
	font-style: italic;
}

/* Stats band */
.e-con.shen-stats .elementor-counter {
	text-align: center;
}

.e-con.shen-stats > .elementor-element + .elementor-element {
	border-left: 1px solid rgba(255, 255, 255, 0.18);
}

/* CTA */
.e-con.shen-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.e-con.shen-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -90px;
	bottom: -150px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	border: 56px solid color-mix(in srgb, var(--shen-brand) 55%, transparent);
}

/* Tabs */
.shen-tabs .e-n-tabs-heading {
	gap: 10px;
	justify-content: center;
}

.shen-tabs .e-n-tab-title {
	padding: 12px 24px !important;
	border: 1px solid var(--shen-border) !important;
	border-radius: 99px !important;
	background: var(--shen-surface) !important;
	color: var(--shen-ink) !important;
	font-weight: 700;
}

.shen-tabs .e-n-tab-title[aria-selected="true"] {
	border-color: var(--shen-ink) !important;
	background: var(--shen-ink) !important;
	color: #fff !important;
}

.shen-tabs .e-n-tabs-content > .e-con {
	border: 0 !important;
	background: transparent !important;
}

/* FAQ */
.shen-faq .e-n-accordion-item {
	margin-bottom: 12px;
	border: 1px solid var(--shen-border);
	border-radius: 12px;
	background: var(--shen-surface);
	overflow: hidden;
}

.shen-faq .e-n-accordion-item[open] {
	border-color: var(--shen-brand);
}

.shen-faq .e-n-accordion-item-title {
	padding: 18px 24px !important;
	border: 0 !important;
	background: transparent !important;
}

.shen-faq .e-n-accordion-item > .e-con {
	border: 0 !important;
}

.e-con.shen-faq-head {
	position: sticky;
	top: 120px;
}

/* Misc */
.shen-map iframe {
	border-radius: 16px;
}

.shen-avatar img {
	width: 56px !important;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.shen-signature .elementor-heading-title {
	font-style: italic;
}

.shen-portrait img,
.shen-media-frame img {
	display: block;
	width: 100%;
	border-radius: 18px;
}

.e-con.shen-portrait,
.e-con.shen-media-frame {
	position: relative;
	isolation: isolate;
}

.e-con.shen-portrait::before,
.e-con.shen-media-frame::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 18px -18px -18px 18px;
	border: 2px solid var(--e-global-color-accent, #c9963f);
	border-radius: 18px;
}

.e-con.shen-side-card {
	position: sticky;
	top: 120px;
}

.e-con.shen-award {
	text-align: left;
}

/* Header layout */
.e-con.shen-topbar .elementor-icon-list-text {
	white-space: nowrap;
}

.shen-site-header.is-stuck .e-con.shen-topbar {
	display: none;
}

.e-con.shen-header-main {
	border-bottom: 1px solid var(--shen-border);
}

.e-con.shen-mega-panel {
	border-top: 3px solid var(--shen-brand);
}

/* Footer layout */
.shen-logo--light .shen-logo__name {
	color: #fff;
}

.shen-logo--light .shen-logo__tag {
	color: rgba(255, 255, 255, 0.6);
}

.shen-form--dark .shen-input {
	border-color: rgba(255, 255, 255, 0.18) !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: #fff !important;
}

.shen-form--dark .shen-input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.shen-form--dark .shen-form__msg {
	color: #fff;
}

/* Popup layout */
.shen-popup-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
}

.e-con.shen-popup-media > .elementor-widget-image,
.e-con.shen-popup-media .elementor-widget-container {
	height: 100%;
}

@media (max-width: 1024px) {
	.e-con.shen-quick {
		margin-top: -64px;
	}

	.e-con.shen-faq-head,
	.e-con.shen-side-card {
		position: static;
	}

	.e-con.shen-hero-badge {
		left: 16px;
	}
}

@media (max-width: 767px) {
	.e-con.shen-quick {
		margin-top: -48px;
	}

	.e-con.shen-collage {
		grid-template-columns: 1fr;
	}

	.shen-collage .shen-collage__a {
		grid-row: auto;
	}

	.e-con.shen-stats > .elementor-element + .elementor-element {
		border-left: 0;
	}

	.shen-tl__year {
		width: auto !important;
	}

	.e-con.shen-tl__item::before,
	.e-con.shen-tl__item::after {
		display: none;
	}

	.e-con.shen-tl__item > .e-con {
		padding-left: 0;
	}

	.e-con.shen-portrait::before,
	.e-con.shen-media-frame::before {
		inset: 10px -8px -10px 10px;
	}
}

.e-con.shen-header-main .elementor-button,
.e-con.shen-header-actions .elementor-button {
	white-space: nowrap;
}

.e-con.shen-header-main .shen-header-nav {
	min-width: 0;
}

.e-con.shen-header-actions {
	--width: auto;
	width: auto;
	flex: none;
}

/* Elementor's global heading colours must not darken text on dark banners and cards. */
body .shen-banner h1.shen-banner__title,
body .shen-banner .shen-banner__title {
	color: #fff;
}
