@charset "UTF-8";

/*
Theme Name: AirportMaps Theme
Theme URI: https://airportmaps.net/
Author: Aircraft Zone
Author URI: https://airportmaps.net/
Description: A custom fork of Twenty Twenty-One for AirportMaps.net.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: airportmaps-theme
*/

/* ==================================================
   AirportMaps Theme - Minimal Clean Styles
   ================================================== */

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background: #fff;
}

a {
    color: #1e88e5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
#primary {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    padding: 10px 35px;
    text-align: center;
    background: #0077B6;
}

.site-branding {
    display: inline-block;
    text-align: center;
}

.site-logo {
    margin-bottom: 10px;
}

.site-logo img {
    max-height: 60px;
    height: auto;
    width: auto;
	margin-top: 10px;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 5px 0 0;
}

.site-title a {
    color: #222;
    text-decoration: none;
}

.site-description {
    font-size: 1rem;
    color: #666;
    margin-top: 4px;
}

/* Hero Section */
.home-hero {
    text-align: center;
    margin: 40px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.home-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.home-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.primary-navigation {
    text-align: center;
    margin: 20px 0;
}

.primary-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 20px;
}

.primary-navigation a {
    text-decoration: none;
    color: #1e88e5;
    font-weight: 600;
}

/* Page Title */
.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 20px;
}

.page-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 16px;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.5rem;
}

/* Global Containers */
.airport-detail,
#airport-home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.results-count {
    font-size: 1rem;
    color: #495057;
    margin: 15px 0;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #1e88e5;
}

/* === FILTERS === */
/* Layout containers */
.filter-inputs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    justify-content: center;
}

.filter-buttons-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0;
}

/* Shared input-like styles */
.filter-select,
.filter-input,
.filter-checkbox-wrapper {
    height: 40px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    background: white;
}

/* Flexible sizing */
.filter-select,
.filter-input {
    flex: 1;
    min-width: 150px;
}

.filter-input[type="text"] {
    flex: 2;
    min-width: 200px;
}

/* Checkbox wrapper */
.filter-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    white-space: nowrap;
    height: 40px;
}

.filter-checkbox-input {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-checkbox-label {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    cursor: pointer;
}

/* Disabled state */
.filter-select:disabled {
    background: #f1f3f5;
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading indicator */
.loading-indicator-container {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    padding: 4px 0;
}

.loading-indicator {
    display: none;
    font-size: 14px;
    color: #1e88e5;
    font-weight: 500;
}

/* Button Styles */
.filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    min-height: 40px;
    min-width: 120px;
    transition: background-color 0.2s;
}

.filter-btn-primary {
    background: #1e88e5;
    color: white;
}

.filter-btn-primary:hover {
    background: #0d76d8;
}

.filter-btn-secondary {
    background: #6c757d;
    color: white;
}

.filter-btn-secondary:hover {
    background: #5a6268;
}

/* Buttons (General) */
.button,
button,
input[type="submit"],
input[type="reset"] {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    opacity: 0.9;
}

/* Tables */
.airport-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.airport-data-table thead {
    background: #1e88e5;
    color: white;
}

.airport-data-table th,
.airport-data-table td {
    padding: 14px 12px;
    text-align: left;
}

.airport-data-table th {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.airport-data-table tbody tr {
    border-bottom: 1px solid #f1f3f5;
}

.airport-data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.airport-data-table a {
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.airport-data-table a:hover {
    background-color: #e3f2fd;
    text-decoration: underline;
}

/* Maps */
.world-map-container,
#airport-detail-map,
#world-map {
    height: 600px;
    width: 100%;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Pagination */
.pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #333;
    min-width: 40px;
    text-align: center;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    background-color: #1e88e5;
    color: white;
    border-color: #1e88e5;
}

.pagination-btn.active {
    background-color: #1e88e5;
    color: white;
    border-color: #1e88e5;
    cursor: default;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 8px 4px;
    color: #666;
}

/* Minimal Footer */
.site-footer {
	background: #1e88e5;
	color: white;
	padding: 10px 0;       /* Reduced height */
	text-align: center;
	font-size: 13px;
	line-height: 1.4;
}

.footer-content p {
	margin: 0;
}
/* Content */
.entry-content,
.page-content {
    margin: 20px 0;
}

.entry-title {
    font-size: 2rem;
    margin: 0 0 20px;
}

.post-navigation,
.comments-pagination {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin: 40px 0;
}

/* Comments */
.comments-area {
    margin: 40px 0;
}

.comment-meta {
    font-weight: 600;
}

.comment-content {
    margin: 10px 0 20px;
}

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

figure {
    margin: 20px 0;
}

figcaption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 8px;
}

/* Lists */
ul, ol {
    padding-left: 20px;
    margin: 16px 0;
}

li {
    margin-bottom: 8px;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus {
    background: #f1f1f1;
    color: #21759b;
    padding: 15px;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 100000;
    text-decoration: none;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 992px) {
    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    #primary {
        padding: 0 15px;
    }
    
    .site-header {
        padding: 15px 0;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .home-hero {
        padding: 30px 15px;
    }
    
    .home-hero h1 {
        font-size: 2rem;
    }
    
    /* Mobile: Stack filters vertically */
    .filter-inputs-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select,
    .filter-input,
    .filter-checkbox-wrapper {
        width: 100%;
        flex: none;
    }/* === Minimal Burger Menu (Global) === */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 16px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #222;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Optional: X animation */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}
.main-navigation {
  display: none;
  margin-top: 16px;
}

.main-navigation.active {
  display: block;
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation a {
  display: block;
  padding: 10px 0;
  color: #1e88e5;
  text-decoration: none;
  font-weight: 600;
}

.main-navigation a:hover {
  text-decoration: underline;
}

/* Desktop: dropdown style */
@media (min-width: 769px) {
  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    padding: 8px 0;
    z-index: 1000;
  }

  .main-navigation.active {
    display: block !important;
  }

  .main-navigation a {
    padding: 10px 16px;
    border-radius: 4px;
  }

  .main-navigation a:hover {
    background: #f8f9fa;
    text-decoration: none;
  }
}

/* Mobile: full width */
@media (max-width: 768px) {
  .site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin: 0 20px;
  }

  .main-navigation {
    width: 100%;
    margin-top: 16px;
    padding: 16px 0;
    border-top: 1px solid #eee;
  }
}
    
    .filter-buttons-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .airport-data-table {
        display: block;
        overflow-x: auto;
    }
    
    .world-map-container,
    #airport-detail-map,
    #world-map {
        height: 300px;
    }
}


/* === Responsive Navigation === */
.site-branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Desktop nav */
.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}

.desktop-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.desktop-nav a:hover {
  text-decoration: none;
}

/* Mobile nav (hidden by default) */
.mobile-nav {
  display: none;
  margin-top: 16px;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

.mobile-nav a:hover {
  text-decoration: underline;
}

/* Burger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile-only */
@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav.active {
    display: block;
  }
}


/* ------------------------ */

/* Ensure branding is always visible */
.site-title-tagline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0; /* prevents overflow issues */
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.site-title:hover {
  text-decoration: underline;
}

.site-tagline {
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
}

.site-main {
  margin-top: 30px;
}

.page-id-36 .site-main, .page-id-34 .site-main{
    border: 1px solid #e2e8f0; /* Very subtle light gray border */
    border-radius: 9px;       /* Modern, friendly curve */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Soft, diffused shadow */
    background-color: #ffffff; /* Ensures the shadow is visible */
    padding: 30px;             /* Gives the content room to breathe */
    margin-bottom: 30px;       /* Spacing from the footer */
}

select#region-filter, select#type-filter
 {
    text-align: center;
}