/* This is a CSS comment */

/*
========================================
STYLESHEET ORGANIZATION
========================================
1.  VARIABLES
2.  GENERAL & BASE STYLES
3.  LAYOUT & CONTAINER
4.  NAVIGATION BAR
5.  HEADER & PAGE TITLE
6.  SEARCH & FILTERS
7.  CARD GRID & STATE CARDS
8.  TABLE & BADGES
9.  BLOG & CONTENT STYLES
10. UTILITY CLASSES
11. ANIMATIONS & EFFECTS
12. RESPONSIVE DESIGN
========================================
*/

/* 1. VARIABLES
---------------------------------------- */
:root {
    --primary-color: #3498db;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --secondary-color: #95a5a6;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --background-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --background-solid: #f8f9fa;
    --white: #fff;
    --border-light: #f1f3f4;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
    --radius-pill: 30px;
    --radius-card: 20px;
    --radius-button: 20px;
}

/* 2. GENERAL & BASE STYLES
---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: var(--background-gradient);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    padding-top: 80px; /* Space for fixed navbar */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* 3. LAYOUT & CONTAINER
---------------------------------------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* 4. NAVIGATION BAR
---------------------------------------- */
.navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            box-shadow: 
                0 2px 10px rgba(0, 0, 0, 0.1),
                0 1px 3px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid #dee2e6;
            z-index: 1000;
            height: 60px;
}

.nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
}

.logo, .site-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
            display: block;
            padding: 18px 20px;
            color: #6c757d;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
            border-radius: 4px;
            margin: 0 2px;
}

.nav-link:hover, .nav-link.active {
            color: #495057;
            background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
            box-shadow: 
                0 1px 3px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px); }


/* 5. HEADER & PAGE TITLE
---------------------------------------- */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header p, .site-description {
    color: var(--light-text);
    font-size: 1.1rem;
    font-style: italic;
}

.page-header {
    margin-bottom: 1.5em;
}

.page-title:before {
    content: "#";
    margin-right: 5px;
    color: var(--primary-color);
}

/* 6. SEARCH & FILTERS
---------------------------------------- */
.search-bar {
    max-width: 500px;
    margin: 30px auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
    font-size: 1.2rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.results-count {
    text-align: center;
    margin: 20px 0;
    color: var(--light-text);
}

/* 7. CARD GRID & STATE CARDS
---------------------------------------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
	grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.cards-grid-single{
    display: grid;
    /*grid-template-columns: repeat(1, minmax(280px, 1fr));*/
	grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.state-card {
    background: rgba(239, 243, 249, 0.95);
    border-radius: var(--radius-card);
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease forwards;
}

.state-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.state-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.state-card:hover::before {
    transform: scaleX(1);
}

.state-header {
    margin-bottom: 15px;
}

.state-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.state-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--background-solid);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.stat-label {
    font-weight: 500;
    color: #5a6c7d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-count {
    font-weight: 700;
    background: var(--primary-color);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    min-width: 24px;
    text-align: center;
}
/* Detail Card Styles */
        .detail-card {
            /*background: rgba(255, 255, 255, 0.95);*/
			background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .detail-header {
            display: flex;
            align-items: center;
            gap: 15px;
            /*margin-bottom: 20px;
            padding-bottom: 15px;*/
            border-bottom: 2px solid #f1f3f4;
			border-radius: 20px;
        }

        .detail-icon {
            width: 50px;
            height: 50px;
            /*background: linear-gradient(135deg, #3498db, #2ecc71);
			background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);*/
			background: #020024;
			background: linear-gradient(90deg,rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 39, 214, 1) 100%);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
        }

        .detail-title {
            font-size: 1.8rem;
            font-weight: 600;
            color: #2c3e50;
            margin: 0;
        }

        .detail-subtitle {
            color: #7f8c8d;
            font-size: 1rem;
            margin: 5px 0 0 0;
        }

        /* List Styles */
        .info-list {
            list-style: none;
            padding: 0;
        }

        .info-item {
            display: flex;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid #f1f3f4;
            transition: all 0.3s ease;
        }

        .info-item:hover {
            padding-left: 10px;
            background: rgba(52, 152, 219, 0.05);
            margin: 0 -10px;
            border-radius: 8px;
        }

        .info-icon {
            width: 20px;
            height: 20px;
            background: #3498db;
            border-radius: 50%;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.8rem;
        }

        .info-label {
            font-weight: 500;
            color: #5a6c7d;
            min-width: 60px;
        }

        .info-value {
            color: #2c3e50;
            font-weight: 600;
        }
/* 8. TABLE & BADGES
---------------------------------------- */
.table-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow-x: auto; /* IMPORTANT: Makes table responsive */
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap; /* Prevents text wrapping in cells */
}

.table th {
    background: var(--background-solid);
    font-weight: 600;
    color: #5a6c7d;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 3px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}

.badge-primary { background: var(--primary-color); }
.badge-success { background: var(--success-color); }
.badge-warning { background: var(--warning-color); }
.badge-secondary { background: var(--secondary-color); }



.badgeCount {
	background-color: #1b6dd7;
	color: #fff;
	padding: 2px 6px;
	border-radius: 4px;
}
/* 9. BLOG & CONTENT STYLES
---------------------------------------- */
.hentry {
    margin: 0 0 3em;
}

.entry-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.entry-title a { color: var(--dark-text); }
.entry-title a:hover { color: var(--primary-color); }

.entry-meta, .entry-footer {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--light-text);
}

.entry-meta a, .entry-footer a { color: var(--light-text); }
.entry-meta a:hover, .entry-footer a:hover { text-decoration: underline; }

.entry-content, .page-content, .entry-summary {
    margin: 1.5em 0;
}

/* 10. UTILITY CLASSES
---------------------------------------- */
.highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.no-stats {
    text-align: center;
    color: var(--secondary-color);
    font-style: italic;
    padding: 20px 0;
}

.smoothup {
    position: fixed;
    bottom: 22px;
    right: 15px;
    display: none;
}

/* 11. ANIMATIONS & EFFECTS
---------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered card animation */
.state-card:nth-child(1) { animation-delay: 0.05s; }
.state-card:nth-child(2) { animation-delay: 0.1s; }
.state-card:nth-child(3) { animation-delay: 0.15s; }
.state-card:nth-child(4) { animation-delay: 0.2s; }
.state-card:nth-child(5) { animation-delay: 0.25s; }


/* Gallery Container - Uses Flexbox for alignment */
.image-gallery {
    display: flex;         /* Enables flexbox layout */
    flex-wrap: wrap;       /* Allows items to wrap to the next line */
    justify-content: center; /* Centers the cards horizontally */
    gap: 25px;             /* Space between cards */
    padding: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	margin:20px;
}

/* Individual Image Card Styling */
.image-card {
    width: 300px;                      /* Fixed width for each card */
    background-color: #ffffff;
    border-radius: 10px;               /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Drop shadow effect */
    overflow: hidden;                  /* Ensures nothing spills out of the rounded corners */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Add a slight lift effect on hover */
.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* The container that holds the image */
.image-container {
    width: 100%;
    height: 220px;                     /* Fixed height for a consistent aspect ratio */
    padding: 10px;                     /* Slight padding around the image */
    
    /* Center the image inside this container if it's smaller */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The actual image element */
.image-container img {
    max-width: 100%;   /* Ensures large images scale down to fit */
    max-height: 100%;  /* Ensures tall images scale down to fit */
    object-fit: cover; /* This will cover the area, cropping if necessary to maintain aspect ratio */
}
iframe { 
  width: 100%;
  aspect-ratio: 16 / 9;
}
/* The title area below the image */
.imagecard-title {
    padding: 15px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}
.blog-sidebar ul li, ul.ql-list li{ display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px dashed rgba(255,255,255,.15);}
.blog-sidebar p { text-align:justify-content; padding:4px;margin:1px; font-size:12px; }
	
/* 12. RESPONSIVE DESIGN
---------------------------------------- */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    /* Typography */
    h1, .header h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3, .entry-title { font-size: 1.4rem; }

    /* Layout */
    .container, .content, .nav-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    /* Filters */
    .filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .cards-grid , .cards-grid-single{
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
        padding-top: 75px;
    }

    /* Typography */
    h1, .header h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3, .state-title, .entry-title { font-size: 1.25rem; }

    /* Search */
    .search-input {
        padding: 12px 40px 12px 15px;
    }
    
    /* Cards */
    .state-card {
        padding: 15px;
    }
}
hr {
	margin: 20px;
	color: #d0e7f7;
	background-color: white;
	border-color: aliceblue;
	/* border: 0; */
	height: 1px;
}
hr.gradient {
  border: 0;
  height: 1px;
  /* Create a gradient that fades to transparent */
  background-color:none;
  background-image: linear-gradient(to right, transparent, #d0e7f7, transparent);
}
/* Go to top */
.smoothup {
	bottom:22px;
	display:none;
	position:fixed;
	right:10px;
	transition:all 0.2s ease-in-out 0s;
}
a.smoothup {
		text-decoration: none;
}
.figcaption{ font-size:10px; color: gray; }


.flex-container {
  display: flex;
  flex-direction: row; /* Default layout: horizontal */
  flex-wrap: wrap; /* Allows items to wrap to a new line */
  min-height: 100vh; /* Ensures the container takes up the full viewport height */
}

.sidebar {
  flex: 0 0 30%; /* Takes up exactly 20% of the container's width 
  background-color: #f0f0f0;*/
  padding: 20px;
  box-sizing: border-box; /* Includes padding in the 20% calculation */
}

.main-content {
  flex: 1; /* This is the key. 'flex: 1' makes this div fill all remaining space 
  background-color: #fff;*/
  padding: 20px;
  box-sizing: border-box;
}

/* --- Media Query for Mobile Responsiveness --- */
@media (max-width: 768px) {
  .flex-container {
    flex-direction: column; /* On small screens, stack the items vertically */
  }

  .sidebar,
  .main-content {
    flex: 1 1 100%; /* Each item takes up 100% of the width */
  }
}
#sidebar{
	
	background-color: #f9f9f9;border-radius: 8px;padding: 20px;box-shadow: 0 2px 5px rgba(0,0,0,0.05);float:right;margin:10px;
}
#sidebar ul {
            list-style: none;
            padding: 10px;
			font-size:12px;
        }
#sidebar h1,h2,h3,h4 { /*color: #43a7ff;*/ }
#sidebar .badge-secondary{ background: #3498db;padding: 2px 6px;
            border-radius: 4px;margin: 0 30px;font-size: 0.7rem; }
  :root{ --ft-bg:#0a0f1c; --ft-fg:#333; --ft-dim:#c7d3ea; --ft-line:rgba(255,255,255,.12); --ft-card:#0f182a; --ft-accent:#4cc3ff; }
  .site-footer{/*background:var(--ft-bg);*/color:var(--ft-fg);border-top:1px solid var(--ft-line);margin-top:40px}
  .ft-wrap{max-width:1200px;margin:0 auto;display:grid;gap:22px;padding:28px 16px;grid-template-columns:2fr 1fr 1fr 1fr 1fr}
  @media (max-width: 980px){ .ft-wrap{grid-template-columns:1fr 1fr; } }
  @media (max-width: 560px){ .ft-wrap{grid-template-columns:1fr; } }
  .ft-brand{padding-right:10px}
  .ft-logo{display:inline-block;color:var(--ft-fg);text-decoration:none;font-weight:900;font-size:1.25rem;letter-spacing:.3px;margin-bottom:6px}
  .ft-blurb{color:var(--ft-dim);max-width:40ch;margin:.35rem 0 1rem}
  .ft-newsletter{margin:8px 0 0}
  .ft-label{font-size:.95rem;color:var(--ft-fg);display:block;margin:0 0 .35rem}
  .ft-news-row{display:flex;gap:8px}
  .ft-news-row input{flex:1;min-width:0;padding:10px 12px;border-radius:12px;border:1px solid var(--ft-line);background:#0e1626;color:var(--ft-fg)}
  .ft-news-row button{padding:10px 14px;border-radius:12px;border:1px solid var(--ft-line);background:#13203a;color:var(--ft-fg);cursor:pointer}
  .ft-news-row button:hover{background:#152846;border-color:#1e3d5f}
  .ft-legal{display:block;margin-top:6px;color:var(--ft-dim);font-size:.8rem}
  .ft-col{padding-right:10px}
  .ft-title{font-size:1rem;margin:0 0 .5rem;font-weight:800}
  .ft-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
  .ft-list a{color:var(--ft-fg);text-decoration:none;display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px dashed transparent}
  .ft-list a:hover{color:var(--ft-accent);border-bottom-color:var(--ft-line)}
  .ft-count{font-variant-numeric:tabular-nums;opacity:.8}
  .ft-bottom{border-top:1px solid var(--ft-line);display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between;padding:14px 16px}
  .ft-mini{display:flex;gap:12px;flex-wrap:wrap}
  .ft-mini a{/*color:var(--ft-dim);*/text-decoration:none}
  .ft-mini a:hover{color:var(--ft-fg)}
  .ft-copy{color:var(--ft-dim);margin:0}
  .ft-top{margin-left:auto}