/*
Theme Name: Sydney Child
Theme URI: https://athemes.com/theme/sydney/
Description: Child theme for Sydney
Author: Your Name
Template: sydney
Version: 1.0
*/

/* Add your custom CSS below this line */

/* =====================
GLOBAL
===================== */
* {
	box-sizing: border-box;
	font-family: 'Segoe UI', sans-serif;
}

body {
	margin: 0;
	background: #f2f6fb;
	color: #1a1a1a;
}

.content-wrapper.container {
	width: 100%;
}
.page-wrap {
	padding-bottom: 0px;
	padding-top: 0px;
}

section {
	padding: 90px 20px;
}

section.disclaimer-footer-sec {
	padding: 30px 0px 20px;
	border-top: 2px solid #ED1C24;
}
.shfb-footer .shfb-row-wrapper {
	padding: 0px;
	border-bottom: 2px solid #ED1C24;
}

/* =====================================
AIRLINE HERO – MAP + FLIGHT PATHS
===================================== */

.airline-hero-map {
	position: relative;
	padding: 120px 20px 160px;
	overflow: hidden;
	background: #ffffff;
}

/* World map background */
.hero-map-bg {
	position: absolute;
	inset: 0;
	background: url("https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg")
		center / contain no-repeat;
	opacity: 0.08;
	z-index: 0;
}

/* =====================================
FLIGHT PATHS
===================================== */

.flight-paths {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.flight-line {
	fill: none;
	stroke: #0b2d42;
	stroke-width: 2;
	stroke-dasharray: 6 8;
	opacity: 0.35;
}

/* =====================================
AIRPLANES FOLLOWING PATHS
===================================== */

.plane {
	position: absolute;
	font-size: 22px;
	z-index: 2;
	animation: flyPath 14s linear infinite;
}

.plane-1 {
	top: 62%;
	left: 10%;
	animation-delay: 0s;
}

.plane-2 {
	top: 70%;
	left: 35%;
	animation-delay: 6s;
}

@keyframes flyPath {
	0% {
		transform: translate(0,0) rotate(20deg);
		opacity: 0;
	}
	10% { opacity: 1; }
	100% {
		transform: translate(700px,-120px) rotate(25deg);
		opacity: 0;
	}
}

/* =====================================
HERO CONTENT
===================================== */

.hero-content {
	position: relative;
	z-index: 3;
	text-align: center;
}

.hero-content h1 {
	font-size: 3.3rem;
	font-weight: 800;
	color: #0b2d42;
	margin-bottom: 14px;
}

.hero-content h1 i {
	color: #ef1c24;
	margin-right: 8px;
}

.hero-content p {
	font-size: 1.2rem;
	max-width: 760px;
	margin: auto;
	color: #425e72;
}

/* =====================================
SEARCH BAR
===================================== */

.plane-search-form {
	max-width: 680px;
	margin: 36px auto 0;
	display: flex;
	background: #ffffff;
	border-radius: 60px;
	padding: 8px 14px;
	box-shadow: 0 14px 35px rgba(0,0,0,.12);
}

.plane-search-input {
	flex: 1;
	border: none;
	padding: 16px 20px;
	font-size: 16px;
	outline: none;
}
input.plane-search-input {
	border-radius: 25px 0px 0px 25px;
}
.plane-search-btn {
	border: 1px solid #ef1c24;
	border-radius: 0px 25px 25px 0px;;
	font-size: 22px;
	cursor: pointer;
}

/* =====================================
CTA BUTTONS
===================================== */

.hero-actions {
	margin-top: 42px;
	display: flex;
	justify-content: center;
	gap: 18px;
}

.hero-actions a {
	padding: 14px 38px;
	border-radius: 40px;
	font-weight: 600;
	text-decoration: none;
}

.btn-primary {
	background: #0b2d42;
	color: #ffffff;
}

.btn-primary:hover {
	background: #ef1c24;
	color: #ffffff;
}

.btn-secondary {
	border: 2px solid #0b2d42;
	color: #0b2d42;
	background: transparent;
}

.btn-secondary:hover {
	border: 2px solid #ef1c24;
	background: #ef1c24;
	color: #ffffff;
}


/* =====================================
MOBILE
===================================== */

@media (max-width: 768px) {

	.airline-hero-map {
		padding: 90px 15px 120px;
	}

	.hero-content h1 {
		font-size: 2.4rem;
	}

	.hero-map-bg {
		background-size: cover;
	}
}

@media (max-width: 380px) {
	input.plane-search-input {
		padding: 10px;
		padding-right: 0px;
	}
	button.plane-search-btn {
		padding: 10px;
	}
}


/* =====================
SECTION HEADER
===================== */
.section-title {
	text-align: center;
	margin-bottom: 55px;
}

.section-title h2 {
	font-size: 2.4rem;
}

/* =====================
FEATURED AIRLINES
===================== */
.airlines-grid {
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* always 4 columns on desktop */
	gap: 26px;
}

.airline-tile-link {
	text-decoration: none; /* remove underline */
}

.airline-tile {
	background: #fff;
	border-radius: 18px;
	padding: 35px 25px;
	text-align: center;
	box-shadow: 0 14px 35px rgba(0,0,0,0.08);
	position: relative;
	overflow: hidden;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: transform 0.3s, box-shadow 0.3s;
}

.airline-tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.airline-tile::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, #ed1c24 0%, #17415f 100%);
}

.airline-icon {
	font-size: 3rem;
	color: #0b3c5d;
	margin-bottom: 15px;
}

.airline-tile span {
	font-weight: 600;
	color: #000;
	font-family: inherit; /* keep the same font as your theme */
}

/* Placeholder tiles (empty, invisible but keeps layout) */
.airline-tile.placeholder {
	background: transparent;
	box-shadow: none;
	pointer-events: none;
}

/* Responsive: 2 columns on tablet, 1 on mobile */
@media (max-width: 992px) {
	.airlines-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.airlines-grid {
		grid-template-columns: 1fr;
	}
}



/* =====================
TRUST SECTION
===================== */
.trust {
	background: #fff;
}

.trust-grid {
	max-width: 1100px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 30px;
}

.trust-box {
	padding: 35px;
	border-radius: 18px;
	background: #f2f6fb;
	text-align: center;
}

.trust-box i {
	font-size: 2.6rem;
	color: #0b3c5d;
}

/* =====================
RATINGS
===================== */
.ratings {
	background: linear-gradient(135deg, #0b3c5d, #144d73);
	color: #fff;
}

.rating-grid {
	max-width: 1000px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	text-align: center;
}

.rating-box i {
	font-size: 2.4rem;
	color: #ffcc00;
}

/* =====================
POSTS
===================== */
.posts-grid {
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
}

.post-card {
	background: #fff;
	padding: 28px;
	border-radius: 18px;
	box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.post-icon {
	font-size: 2.4rem;
	color: #0b3c5d;
}


/* =========================
SEARCH PAGE LAYOUT
========================= */

.search-page-wrapper {
	max-width: 1200px;
	margin: 50px auto;
	padding: 0 20px;
}

/* SEARCH BOX */
.search-page-form {
	display: flex;
	max-width: 700px;
	margin: 0 auto 30px;
	background: #fff;
	border-radius: 50px;
	box-shadow: 0 10px 25px rgba(0,0,0,.15);
	overflow: hidden;
}

.search-page-form input {
	flex: 1;
	padding: 16px 20px;
	border: none;
	font-size: 16px;
	outline: none;
}

.search-page-form button {
	background: transparent;
	border: none;
	font-size: 26px;
	padding: 0 20px;
	cursor: pointer;
}

/* SEARCH HEADING */
.search-heading h2 {
	text-align: center;
	font-size: 26px;
	margin-bottom: 40px;
	font-weight: 600;
}

.search-heading h2 span {
	font-weight: 700;
	color: #0b5ed7;
}

/* RESULTS GRID */
.search-results-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
}

/* RESULT CARD */
.search-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 22px;
	box-shadow: 0 8px 22px rgba(0,0,0,.1);
	transition: transform .3s ease, box-shadow .3s ease;
}

.search-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(0,0,0,.15);
}

/* TITLE */
.search-card-title {
	font-size: 18px;
	margin-bottom: 10px;
}

.search-card-title a {
	text-decoration: none;
	color: #222;
	font-weight: 600;
}

/* EXCERPT */
.search-card-excerpt {
	font-size: 14px;
	color: #555;
	margin-bottom: 15px;
}

/* LINK */
.search-card-link {
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	color: #0b5ed7;
}

/* NO RESULTS */
.no-results {
	text-align: center;
	font-size: 16px;
	grid-column: 1 / -1;
}




/* =========================
PARENT PAGE TEMPLATE
========================= */

/* WRAPPER */
.parent-page-wrapper {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 16px;
}

/* TITLE */
.parent-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 10px;
}

/* BREADCRUMB */
.parent-breadcrumb {
	margin-bottom: 30px;
	font-size: 14px;
	color: #666;
}

/* GRID */
.parent-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

/* CARD */
.parent-card {
	background: #fff;
	border-radius: 18px;
	padding: 30px 20px;
	text-align: center;
	text-decoration: none;
	color: #000;
	position: relative;
	box-shadow: 0 15px 40px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
}

/* TOP COLOR STRIP */
.parent-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 6px;
	width: 100%;
	background: linear-gradient(90deg, #ed1c24 0%, #17415f 100%);
	border-radius: 18px 18px 0 0;
}

/* ICON */
.card-icon {
	font-size: 34px;
	margin-bottom: 16px;
}

/* TITLE */
.parent-card h3 {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

/* HOVER */
.parent-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* LOAD MORE */
#load-more-parent {
	margin: 40px auto 0;
	display: block;
	padding: 12px 30px;
	background: #1c3d4f;
	color: #fff;
	border-radius: 30px;
	border: none;
	cursor: pointer;
}

/* NO PAGES */
.no-pages {
	text-align: center;
	font-size: 18px;
	color: #777;
	margin: 40px 0;
}

/* MOBILE */
@media (max-width: 768px) {
	.parent-title {
		font-size: 26px;
	}
}






/* --- Child Page CSS ---*/

:root {
	/* Replace this with your actual theme primary color */
	--theme-color: #0073aa; 
	--box-bg: #ffffff;
	--box-border: #dddddd;
	--text-main: #222222;
}

/* Nav Section */
.AIF-top-quick-nav {
	padding: 0px;
}

.AIF-nav-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* The Box Grid */
.AIF-box-grid {
	display: flex;
	gap: 12px;
}

/* Individual Box Item */
.AIF-nav-item {
	background: var(--box-bg);
	border: 1px solid var(--box-border);
	border-radius: 8px;
	padding: 15px;
	text-align: center;
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: all 0.25s ease;
}
a.AIF-nav-item.is-active {
	border: 1px solid;
	border-radius: 5px;
	padding: 10px 15px;
	display: inline-block;
}

/* Hover Functionality */
.AIF-nav-item:hover {
	border-color: var(--theme-color);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	transform: translateY(-3px);
}

.AIF-item-title {
	display: block;
	font-weight: 700;
	color: var(--text-main);
	font-size: 14px;
	line-height: 1.3;
}

.AIF-item-slug {
	display: block;
	font-size: 11px;
	color: #888;
	margin-top: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Active State Styles */
.AIF-nav-item.is-active {
	background: var(--theme-color);
	border-color: var(--theme-color);
}

.AIF-nav-item.is-active .AIF-item-title,
.AIF-nav-item.is-active .AIF-item-slug {
	color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
	.AIF-box-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
/* --- Layout Containers --- */
.AIF-airport-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 8/4 Grid Layout */
.AIF-grid-layout {
	display: grid;
	grid-template-columns: 8fr 4fr;
	gap: 40px;
	margin-top: 30px;
}

/* --- Content Area (Col-8) --- */
.AIF-article-body {
	min-width: 0;
}

.AIF-inline-image {
	margin: 25px 0;
}

.AIF-inline-image img {
	border-radius: 8px;
	width: 100%;
	height: auto;
}

/* --- Sidebar (Col-4) --- */
.AIF-sidebar {
	position: sticky;
	top: 20px;
	height: fit-content;
}

/* Custom TOC Styling */
.AIF-custom-toc {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.AIF-toc-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 15px;
	color: #003251;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 10px;
}

#AIF-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

#AIF-toc-list li {
	margin-bottom: 12px;
	padding-left: 25px;
	position: relative;
}

/* The "Checkbox" look from your image */
#AIF-toc-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 16px;
	height: 16px;
	border: 2px solid #ddd;
	border-radius: 3px;
}

#AIF-toc-list a {
	text-decoration: none;
	color: #444;
	font-size: 14px;
	line-height: 1.4;
	transition: color 0.2s;
}

#AIF-toc-list a:hover {
	color: #E5212D;
}

/* --- Related Cards Section (Col-12) --- */

.AIF-related-bottom {
	margin-top: 30px;
	padding-top: 40px;
	border-top: 1px solid #eee;
}

.AIF-section-label {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 25px;
	color: #222;
}

.AIF-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.AIF-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s ease;
	text-decoration: none;
	display: flex;
	flex-direction: column;
}

.AIF-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.AIF-card-image {
	height: 150px;
	background: #f5f5f5;
}

.AIF-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.AIF-card-content {
	padding: 15px;
}

.AIF-card-content h4 {
	margin: 0;
	font-size: 15px;
	color: #333;
	line-height: 1.4;
	text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
	.AIF-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.AIF-grid-layout {
		grid-template-columns: 1fr;
	}

	.AIF-sidebar {
		order: -1; /* TOC moves above content on mobile */
		position: static;
	}

	.AIF-card-grid {
		grid-template-columns: 1fr;
	}
}






/*--- All Parent Page Template ---*/

/* --- AIF Alphabetical Directory Unique Styles --- */

.AIF-directory-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.AIF-alpha-header {
	text-align: center;
	margin-bottom: 50px;
}

.AIF-alpha-main-title {
	font-size: 38px;
	font-weight: 800;
	color: #1a1a1a;
	margin-bottom: 10px;
}

/* Breadcrumb Styling */
.parent-breadcrumb {
	font-size: 14px;
	color: #777;
	margin-top: 10px;
}

.parent-breadcrumb a {
	color: #E5212D;
	text-decoration: none;
	font-weight: 500;
}

/* Alphabetical Grouping */
.AIF-alpha-group-wrap {
	margin-bottom: 60px;
	padding-top: 25px;
}

.AIF-alpha-letter-label {
	font-size: 36px;
	font-weight: 900;
	color: #003251;
	border-bottom: 4px solid #E5212D;
	display: inline-block;
	margin-bottom: 25px;
	padding-right: 20px;
	line-height: 1;
	width: 100%;
	text-align: center;
}

/* Grid for Boxes */
.AIF-alpha-box-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

/* Individual Card Styling */
.AIF-alpha-item-card {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px 15px;
	background: #ffffff;
	border: 1px solid #ebebeb;
	border-radius: 10px;
	text-decoration: none;
	color: #2c3e50;
	font-weight: 700;
	font-size: 17px;
	text-align: center;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.AIF-alpha-item-card:hover {
	border-color: #E5212D;
	color: #E5212D;
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.AIF-alpha-empty {
	text-align: center;
	font-size: 18px;
	color: #888;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.AIF-alpha-box-grid {
		grid-template-columns: 1fr;
	}

	.AIF-alpha-main-title {
		font-size: 30px;
	}

	.AIF-alpha-letter-label {
		font-size: 28px;
	}
}

h2.AIF-alpha-letter {
	text-align: center;
	margin-top: 50px;
}