/*
 * Tema A — UIN Sunan Kalijaga inspired university portal stylesheet.
 */

:root {
	--ta-primary: #01747b;
	--ta-primary-rgb: 1, 116, 123;
	--ta-primary-dark: #006166;
	--ta-accent: #f08619;
	--ta-accent-hover: #e69647;
	--ta-muted-teal: #4c8285;
	--ta-surface-alt: #f4f4f4;
	--ta-text: #333333;
	--ta-text-muted: #5e666e;
	--ta-border: #e3e7ea;
	--ta-font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--ta-font-hero: "Lora", Georgia, "Times New Roman", serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ta-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ta-text);
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--ta-primary);
	text-decoration: none;
	transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus {
	color: var(--ta-primary-dark);
}

.ta-container {
	width: 100%;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 18px;
	padding-right: 18px;
}

.ta-text-center {
	text-align: center;
}

.ta-rounded {
	border-radius: 6px;
}

.ta-img-responsive {
	display: block;
	width: 100%;
	height: auto;
}

.ta-img-h-240 {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}

/* =========================================================
 * Two-Tier Sticky Header (Teal Topbar + Gradient Nav)
 * ========================================================= */
.ta-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
}

.admin-bar .ta-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ta-header {
		top: 46px;
	}
}

.ta-header-top {
	background-color: var(--ta-primary);
	color: #ffffff;
	position: relative;
	z-index: 20;
}

.ta-header-top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.ta-brand {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.ta-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.ta-logo-plate {
	background: rgba(255, 255, 255, 0.96);
	padding: 5px 12px;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ta-logo-invert .ta-logo-img {
	filter: brightness(0) invert(1);
}

.ta-logo-img {
	display: block;
	width: auto;
	height: 36px;
	max-width: 210px;
	object-fit: contain;
}

.ta-logo-text-link {
	color: #ffffff !important;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.ta-topbar-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	min-width: 0;
}

.ta-topbar-nav {
	display: none;
}

.ta-topbar-list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 18px;
	flex-wrap: wrap;
}

.ta-topbar-list li a {
	color: rgba(255, 255, 255, 0.94);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 6px 0;
	display: inline-block;
}

.ta-topbar-list li a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ta-topbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ta-search-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	cursor: pointer;
}

.ta-search-trigger:hover {
	background: rgba(255, 255, 255, 0.24);
}

.ta-header-cta {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 4px;
	background-color: var(--ta-accent);
	color: #ffffff !important;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ta-header-cta:hover {
	background-color: var(--ta-accent-hover);
}

.ta-mobile-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 36px;
	border: 0;
	border-radius: 4px;
	background-color: var(--ta-muted-teal);
	color: #ffffff;
	cursor: pointer;
}

.ta-header-search-bar {
	background: var(--ta-primary-dark);
	padding: 12px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tier 2 Nav Bar */
.ta-header-main {
	display: none;
	background: #ffffff;
	border-bottom: 1px solid var(--ta-border);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

body.ta-has-hero .ta-header-main {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	border-bottom: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 72%, rgba(255, 255, 255, 0) 100%);
}

body.ta-has-hero .ta-header.is-scrolled .ta-header-main,
body:not(.ta-has-hero) .ta-header.is-scrolled .ta-header-main {
	background: #ffffff;
	border-bottom: 1px solid var(--ta-border);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ta-main-nav .ta-menu-list {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 6px 0 8px;
	gap: 6px;
	flex-wrap: wrap;
}

.ta-main-nav .ta-nav-item {
	position: relative;
}

.ta-main-nav .ta-menu-list > .ta-nav-item > .ta-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 16px;
	font-size: 0.98rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--ta-primary);
}

.ta-main-nav .ta-menu-list > .ta-nav-item > .ta-nav-link:hover,
.ta-main-nav .ta-menu-list > .current-menu-item > .ta-nav-link,
.ta-main-nav .ta-menu-list > .current-menu-ancestor > .ta-nav-link {
	color: var(--ta-primary-dark);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.ta-main-nav .ta-submenu-toggle {
	display: none;
}

.ta-caret {
	display: inline-flex;
	align-items: center;
}

/* Desktop Dropdown Submenus (supports up to 4 nested levels) */
.ta-main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 250px;
	max-width: 310px;
	background: #ffffff;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	border-top: 3px solid var(--ta-primary);
	border-radius: 0 0 6px 6px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	z-index: 90;
}

.ta-main-nav .ta-nav-item:hover > .sub-menu,
.ta-main-nav .ta-nav-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ta-main-nav .sub-menu .ta-nav-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 16px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ta-text);
	text-transform: none;
	white-space: normal;
	line-height: 1.35;
}

.ta-main-nav .sub-menu .ta-nav-link:hover {
	background-color: var(--ta-surface-alt);
	color: var(--ta-primary);
}

.ta-main-nav .sub-menu .sub-menu {
	top: -3px;
	left: 100%;
	border-radius: 6px;
}

.ta-main-nav .ta-nav-item.ta-flip-left > .sub-menu {
	left: auto;
	right: 0;
}

.ta-main-nav .sub-menu .ta-nav-item.ta-flip-left > .sub-menu {
	left: auto;
	right: 100%;
}

@media (min-width: 992px) {
	.ta-topbar-nav,
	.ta-header-main {
		display: block;
	}
	.ta-mobile-toggle {
		display: none;
	}
}

/* Mobile Drawer */
.ta-mobile-drawer {
	background: #ffffff;
	border-bottom: 3px solid var(--ta-primary);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
	max-height: calc(100vh - 60px);
	overflow-y: auto;
}

.ta-mobile-drawer[hidden] {
	display: none;
}

.ta-mobile-drawer-inner {
	padding: 14px 18px 20px;
}

.ta-mobile-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	color: var(--ta-primary);
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--ta-border);
}

.ta-mobile-close {
	border: 0;
	background: transparent;
	color: var(--ta-text);
	cursor: pointer;
	padding: 4px;
}

.ta-mobile-search {
	margin-bottom: 12px;
}

.ta-mobile-menu-list,
.ta-mobile-menu-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ta-mobile-menu-list .ta-nav-item {
	position: relative;
	border-bottom: 1px solid #eef1f3;
}

.ta-mobile-menu-list .ta-nav-link {
	display: block;
	padding: 11px 44px 11px 4px;
	font-weight: 700;
	font-size: 0.94rem;
	color: var(--ta-text);
}

.ta-mobile-menu-list .ta-caret {
	display: none;
}

.ta-mobile-menu-list .ta-submenu-toggle {
	position: absolute;
	right: 0;
	top: 4px;
	width: 36px;
	height: 36px;
	border: 0;
	background: var(--ta-surface-alt);
	color: var(--ta-primary);
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ta-mobile-menu-list .ta-submenu-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.ta-mobile-menu-list .sub-menu {
	display: none;
	padding-left: 14px;
	background: #fafafa;
}

.ta-mobile-menu-list .ta-nav-item.is-open > .sub-menu {
	display: block;
}

.ta-mobile-quick-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	margin-top: 16px;
}

.ta-mobile-quick-item {
	text-align: center;
	padding: 8px 10px;
	border: 1px solid var(--ta-border);
	border-radius: 4px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ta-primary);
}

/* =========================================================
 * Hero Fullscreen Slider (UIN Suka Style)
 * ========================================================= */
.ta-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--ta-primary-dark);
}

.ta-hero-fullscreen {
	min-height: 540px;
	height: calc(100vh - 58px);
	max-height: 820px;
}

.ta-hero-medium {
	height: 540px;
}

.ta-hero-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.ta-hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease;
	display: flex;
	align-items: flex-end;
}

.ta-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.ta-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(var(--ta-primary-rgb), 0.24);
}

.ta-hero-bottom-gradient {
	position: relative;
	z-index: 3;
	width: 100%;
	padding: 90px 0 56px;
	background: linear-gradient(
		0deg,
		rgba(var(--ta-primary-rgb), 0.92) 0%,
		rgba(var(--ta-primary-rgb), 0.76) 55%,
		rgba(var(--ta-primary-rgb), 0) 100%
	);
}

.ta-hero-title {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.18;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.ta-hero-subtitle {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.95);
	font-size: clamp(1.05rem, 1.7vw, 1.4rem);
	font-weight: 400;
	max-width: 780px;
}

.ta-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(0, 0, 0, 0.28);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ta-hero-arrow:hover {
	background: var(--ta-primary);
}

.ta-hero-prev {
	left: 16px;
}

.ta-hero-next {
	right: 16px;
}

.ta-hero-dots {
	position: absolute;
	bottom: 20px;
	right: 28px;
	z-index: 10;
	display: flex;
	gap: 8px;
}

.ta-hero-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.ta-hero-dot.is-active {
	background: var(--ta-accent);
	transform: scale(1.2);
}

.ta-hero-timer-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	z-index: 12;
	background: rgba(255, 255, 255, 0.16);
}

.ta-hero-timer-bar span {
	display: block;
	height: 100%;
	width: 0;
	background-color: var(--ta-accent);
}

@media (max-width: 767px) {
	.ta-hero-fullscreen,
	.ta-hero-medium {
		height: auto;
		min-height: 400px;
	}
	.ta-hero-bottom-gradient {
		padding: 70px 0 42px;
	}
	.ta-hero-arrow {
		display: none;
	}
}

/* =========================================================
 * Buttons & Badges
 * ========================================================= */
.ta-btn-primary,
.ta-btn-accent,
.ta-btn-outline-primary,
.ta-btn-outline-light {
	display: inline-block;
	font-weight: 600;
	font-size: 0.96rem;
	padding: 11px 24px;
	border-radius: 4px;
	text-align: center;
	cursor: pointer;
	border: 2px solid transparent;
	text-decoration: none;
}

.ta-btn-primary {
	background-color: var(--ta-primary);
	color: #ffffff !important;
}

.ta-btn-primary:hover {
	background-color: var(--ta-primary-dark);
	color: #ffffff !important;
}

.ta-btn-accent {
	background-color: var(--ta-accent);
	color: #ffffff !important;
}

.ta-btn-accent:hover {
	background-color: var(--ta-accent-hover);
	color: #ffffff !important;
}

.ta-btn-outline-primary {
	border-color: var(--ta-primary);
	color: var(--ta-primary) !important;
	background: transparent;
}

.ta-btn-outline-primary:hover {
	background-color: var(--ta-primary);
	color: #ffffff !important;
}

.ta-btn-outline-light {
	border-color: rgba(255, 255, 255, 0.85);
	color: #ffffff !important;
	background: transparent;
}

.ta-btn-outline-light:hover {
	background-color: #ffffff;
	color: var(--ta-primary) !important;
}

.ta-btn-wide {
	min-width: min(100%, 340px);
}

.ta-badge-accent {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	background-color: var(--ta-accent);
	color: #ffffff !important;
}

.ta-badge-accent:hover {
	background-color: var(--ta-accent-hover);
}

/* =========================================================
 * Alternating Section Typography & Spacing
 * ========================================================= */
.ta-section {
	padding: 64px 0;
}

.ta-bg-white {
	background-color: #ffffff;
}

.ta-bg-alt {
	background-color: var(--ta-surface-alt);
}

.ta-section-title {
	margin: 0 0 12px;
	text-align: center;
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--ta-primary);
	line-height: 1.25;
}

.ta-section-desc {
	margin: 0 auto 38px;
	max-width: 820px;
	text-align: center;
	font-size: 1.25rem;
	line-height: 1.5;
	color: var(--ta-text-muted);
}

.ta-section-cta {
	margin-top: 38px;
	text-align: center;
}

/* Tagline Statement */
.ta-tagline-section {
	padding: 58px 0;
}

.ta-tagline-quote {
	margin: 0 auto 24px;
	max-width: 960px;
	font-family: var(--ta-font-hero);
	font-size: clamp(1.85rem, 3.2vw, 2.85rem);
	font-weight: 500;
	line-height: 1.32;
	color: var(--ta-text);
}

/* =========================================================
 * Grids & Cards (News, Photo Cards, Research Group)
 * ========================================================= */
.ta-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ta-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

@media (max-width: 991px) {
	.ta-grid-3,
	.ta-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.ta-grid-3,
	.ta-grid-4 {
		grid-template-columns: 1fr;
	}
}

.ta-news-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 32px;
}

.ta-news-tab {
	padding: 7px 18px;
	border-radius: 999px;
	border: 1px solid var(--ta-primary);
	background: #ffffff;
	color: var(--ta-primary);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}

.ta-news-tab.is-active,
.ta-news-tab:hover {
	background-color: var(--ta-primary);
	color: #ffffff;
}

.ta-news-pane[hidden] {
	display: none;
}

.ta-card {
	background: #ffffff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.14), 0 3px 10px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ta-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.ta-card-thumb-link {
	display: block;
	overflow: hidden;
	background: #e9eef0;
}

.ta-card-img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.ta-card-body {
	padding: 18px 20px 22px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.ta-card-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.ta-card-date {
	font-size: 0.78rem;
	color: var(--ta-text-muted);
}

.ta-card-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.4;
}

.ta-dark-link {
	color: var(--ta-text) !important;
}

.ta-dark-link:hover {
	color: var(--ta-primary) !important;
}

/* Photo Grid (Academic, Campus Life, Admission) */
.ta-photo-grid {
	margin-top: 10px;
}

.ta-photo-item {
	text-align: center;
}

.ta-photo-thumb {
	display: block;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 6px;
}

.ta-photo-thumb img {
	transition: transform 0.3s ease;
}

.ta-photo-thumb:hover img {
	transform: scale(1.03);
}

.ta-photo-title {
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 700;
}

.ta-photo-title a {
	color: var(--ta-primary);
}

.ta-photo-desc {
	margin: 0;
	font-size: 0.95rem;
	color: var(--ta-text-muted);
}

/* Pipe-Separated Inline Quick Links (UIN Suka Style) */
.ta-inline-links-wrap {
	margin-top: 38px;
	text-align: center;
}

.ta-inline-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline;
	font-size: 1.18rem;
	line-height: 1.7;
}

.ta-inline-links li {
	display: inline-block;
	margin: 4px 0;
}

.ta-inline-links li:not(:last-child)::after {
	content: "|";
	margin: 0 10px;
	color: #9aa3aa;
}

.ta-inline-links li a {
	font-weight: 600;
}

@media (max-width: 767px) {
	.ta-inline-links li {
		display: block;
	}
	.ta-inline-links li:not(:last-child)::after {
		content: "";
		margin: 0;
	}
}

/* Connected Card Group (Research Section) */
.ta-card-group {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: #ffffff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.15), 0 4px 14px rgba(0, 0, 0, 0.08);
	max-width: 980px;
	margin: 0 auto;
}

.ta-card-group-item {
	padding: 34px 26px;
	text-align: center;
	border-right: 1px solid var(--ta-border);
}

.ta-card-group-item:last-child {
	border-right: 0;
}

.ta-card-group-title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	font-weight: 700;
}

.ta-card-group-desc {
	margin: 0;
	font-size: 0.94rem;
	color: var(--ta-text-muted);
}

@media (max-width: 767px) {
	.ta-card-group {
		grid-template-columns: 1fr;
	}
	.ta-card-group-item {
		border-right: 0;
		border-bottom: 1px solid var(--ta-border);
	}
	.ta-card-group-item:last-child {
		border-bottom: 0;
	}
}

/* Leader Message Section (#ta-leader-hero) */
.ta-leader-section {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #ffffff;
}

.ta-leader-overlay {
	background: rgba(0, 0, 0, 0.72);
	padding: 68px 0;
}

.ta-leader-inner {
	max-width: 900px;
	text-align: center;
}

.ta-leader-heading {
	margin: 0 0 28px;
	font-size: 2.3rem;
	font-weight: 800;
	color: #ffffff;
}

.ta-leader-avatar-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.ta-leader-avatar {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.ta-leader-meta {
	margin-bottom: 22px;
}

.ta-leader-name {
	display: block;
	font-size: 1.2rem;
	color: #ffffff;
}

.ta-leader-role {
	display: block;
	font-size: 0.94rem;
	color: rgba(255, 255, 255, 0.8);
}

.ta-leader-text {
	font-size: 1.03rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.94);
}

.ta-leader-text p {
	margin: 0 0 14px;
}

.ta-leader-cta {
	margin-top: 26px;
}

/* =========================================================
 * Inner Pages, Single Posts, Sidebar & Pagination
 * ========================================================= */
.ta-page-banner {
	background: linear-gradient(135deg, var(--ta-primary-dark), var(--ta-primary));
	color: #ffffff;
	padding: 36px 0;
}

.ta-breadcrumbs {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 8px;
}

.ta-breadcrumbs a {
	color: #ffffff;
	font-weight: 600;
}

.ta-bc-sep {
	margin: 0 8px;
	opacity: 0.7;
}

.ta-page-banner-title {
	margin: 0;
	font-size: clamp(1.5rem, 2.8vw, 2.2rem);
	font-weight: 700;
	color: #ffffff;
}

.ta-page-banner-desc {
	margin-top: 8px;
	color: rgba(255, 255, 255, 0.9);
}

.ta-content-layout.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 36px;
}

@media (max-width: 991px) {
	.ta-content-layout.has-sidebar {
		grid-template-columns: 1fr;
	}
}

.ta-single-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 18px;
	font-size: 0.9rem;
	color: var(--ta-text-muted);
}

.ta-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ta-single-thumb {
	margin: 0 0 24px;
}

.ta-entry-content {
	font-size: 1.02rem;
	line-height: 1.75;
}

.ta-entry-content h2,
.ta-entry-content h3,
.ta-entry-content h4 {
	color: var(--ta-primary);
	margin-top: 1.5em;
}

.ta-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.ta-entry-content th,
.ta-entry-content td {
	border: 1px solid var(--ta-border);
	padding: 10px 12px;
	text-align: left;
}

.ta-entry-content th {
	background: var(--ta-surface-alt);
}

.ta-post-tags {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ta-tag-pill {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ta-surface-alt);
	font-size: 0.84rem;
	font-weight: 600;
}

.ta-post-nav {
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--ta-border);
	display: flex;
	justify-content: space-between;
	gap: 18px;
	font-weight: 600;
}

.ta-sidebar-col .ta-widget {
	background: var(--ta-surface-alt);
	padding: 20px 22px;
	border-radius: 6px;
	margin-bottom: 22px;
}

.ta-widget-title {
	margin: 0 0 14px;
	font-size: 1.1rem;
	color: var(--ta-primary);
	border-bottom: 2px solid var(--ta-accent);
	padding-bottom: 8px;
}

.ta-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ta-widget ul li {
	padding: 6px 0;
	border-bottom: 1px solid var(--ta-border);
}

.ta-widget ul li:last-child {
	border-bottom: 0;
}

/* Search Form */
.ta-search-form {
	display: flex;
	gap: 8px;
	max-width: 640px;
	margin: 0 auto;
}

.ta-search-input {
	flex: 1 1 auto;
	padding: 10px 14px;
	border: 1px solid var(--ta-border);
	border-radius: 4px;
	font-size: 0.95rem;
}

.ta-search-submit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border: 0;
	border-radius: 4px;
	background-color: var(--ta-accent);
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

/* Pagination (Teal Active Pills) */
.ta-pagination-wrap {
	margin-top: 40px;
}

.navigation.pagination .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 4px;
	border: 1px solid var(--ta-border);
	background: #ffffff;
	color: var(--ta-primary);
	font-weight: 600;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
	background-color: var(--ta-primary);
	border-color: var(--ta-primary);
	color: #ffffff;
}

/* 404 */
.ta-404-box {
	max-width: 620px;
	margin: 0 auto;
	padding: 20px;
}

.ta-404-code {
	display: block;
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
	color: var(--ta-primary);
	margin-bottom: 12px;
}

.ta-404-search {
	margin: 24px 0;
}

/* =========================================================
 * Three-Tier Footer (Teal Directory -> Orange Contact/Map -> Teal Copyright)
 * ========================================================= */
.ta-footer {
	color: #ffffff;
}

.ta-footer-directory {
	background-color: var(--ta-primary);
	padding: 52px 0 42px;
}

.ta-footer-logo-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 36px;
}

.ta-footer-logo-img {
	max-height: 54px;
	width: auto;
}

.ta-footer-dir-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}

@media (max-width: 991px) {
	.ta-footer-dir-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.ta-footer-dir-grid {
		grid-template-columns: 1fr;
	}
}

.ta-footer-dir-col {
	border-left: 1px solid rgba(255, 255, 255, 0.25);
	padding-left: 18px;
}

.ta-footer-heading {
	margin: 0 0 14px;
	font-size: 0.96rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #ffffff;
}

.ta-footer-link-list,
.ta-footer-dir-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

.ta-footer-link-list li,
.ta-footer-dir-col ul li {
	margin-bottom: 8px;
}

.ta-footer-directory a {
	color: rgba(255, 255, 255, 0.92);
}

.ta-footer-directory a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Footer Tier 2: Accent Orange Contact + Social + Map */
.ta-footer-contact {
	background-color: var(--ta-accent);
	padding: 48px 0;
	color: #ffffff;
}

.ta-footer-contact-grid {
	display: grid;
	grid-template-columns: 1fr 0.85fr 1.6fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 991px) {
	.ta-footer-contact-grid {
		grid-template-columns: 1fr;
	}
}

.ta-footer-subhead {
	margin: 0 0 16px;
	font-size: 1.18rem;
	font-weight: 700;
	color: #ffffff;
}

.ta-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ta-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 0.95rem;
}

.ta-ci-icon {
	flex: 0 0 auto;
	margin-top: 3px;
}

.ta-footer-contact a {
	color: #ffffff;
}

.ta-footer-contact a:hover {
	text-decoration: underline;
}

.ta-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ta-social-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--ta-accent) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.ta-social-btn:hover {
	transform: translateY(-2px);
	color: var(--ta-primary) !important;
}

.ta-social-hint {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.9);
}

.ta-map-frame-wrap {
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
	background: rgba(255, 255, 255, 0.2);
}

/* Footer Tier 3: Copyright */
.ta-footer-copyright {
	background-color: var(--ta-primary);
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ta-copyright-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	text-align: center;
}

.ta-copyright-text {
	margin: 0;
	font-size: 0.92rem;
	color: #ffffff;
}

.ta-footer-bottom-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 14px;
}

.ta-footer-bottom-menu a {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.86rem;
}

/* Floating Quick Action Capsule (.sticky-qa) */
.ta-sticky-qa {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 990;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--ta-primary) !important;
	font-weight: 700;
	font-size: 0.92rem;
	box-shadow: 0 8px 24px rgba(var(--ta-primary-rgb), 0.28);
	border: 1px solid rgba(var(--ta-primary-rgb), 0.14);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ta-sticky-qa:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(var(--ta-primary-rgb), 0.36);
}

.ta-sticky-qa-icon {
	display: inline-flex;
	color: var(--ta-accent);
}

@media (max-width: 600px) {
	.ta-sticky-qa {
		right: 16px;
		bottom: 16px;
		padding: 10px 14px;
	}
}
