/* ==========================================================================
   MenarikDi Theme — Custom CSS
   Color Palette: Orange/Coral Gradient from Logo
   Typography: Poppins (Headings) + Inter (Body)
   Mobile-First Responsive Design
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #E8863A;
    --primary-dark: #C46A2E;
    --primary-light: #F0A84C;
    --accent: #E06B6B;
    --accent-light: #F08B8B;
    --text-dark: #2D1B0E;
    --text-body: #4A4A4A;
    --text-light: #7A7A7A;
    --bg: #FFF9F5;
    --bg-surface: #FFF3EB;
    --white: #FFFFFF;
    --border: #F0E0D4;
    --shadow: rgba(45, 27, 14, 0.08);
    --shadow-lg: rgba(45, 27, 14, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --max-width: 1200px;
    --header-height: 70px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

p {
    margin-bottom: 1rem;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    height: var(--header-height);
}

.site-header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    height: 42px;
    width: auto;
}

/* --- Navigation --- */
.main-nav {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.75rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: var(--primary);
}

/* Dropdown arrow */
.nav-menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 2px;
    margin-top: -2px;
    transition: transform var(--transition);
}

/* --- Mega Menu --- */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 30px var(--shadow-lg);
    padding: 1.5rem;
    min-width: 280px;
    z-index: 100;
}

.mega-menu.mega-menu--wide {
    min-width: 500px;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mega-menu-columns.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mega-menu h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--bg-surface);
}

.mega-menu a {
    display: block;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--text-body);
    transition: color var(--transition), padding-left var(--transition);
}

.mega-menu a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.mega-menu .view-all {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.mega-menu .view-all:hover {
    background: var(--primary);
    color: var(--white);
    padding-left: 0.8rem;
}

/* Show mega-menu on hover (desktop) */
.nav-menu > li:hover > .mega-menu,
.nav-menu > li.mega-open > .mega-menu {
    display: block;
}

.nav-menu > li:hover.menu-item-has-children > a::after {
    transform: rotate(-135deg);
}

/* --- Search toggle in nav --- */
.nav-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: color var(--transition);
}

.nav-search-toggle:hover {
    color: var(--primary);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 36px;
    height: 36px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: transform var(--transition), opacity var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    overflow-y: auto;
    padding: 1rem;
}

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

.mobile-nav-overlay .nav-menu {
    flex-direction: column;
    gap: 0;
}

.mobile-nav-overlay .nav-menu > li > a {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-overlay .mega-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1rem;
    min-width: auto;
    border-left: 3px solid var(--primary-light);
    margin-bottom: 0.5rem;
}

.mobile-nav-overlay .mega-menu-columns {
    grid-template-columns: 1fr;
}

/* --- Search Overlay --- */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 27, 14, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-overlay .search-form {
    width: 90%;
    max-width: 600px;
}

.search-overlay .search-field {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.3rem;
    border: none;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.search-overlay .search-field:focus {
    outline: 3px solid var(--primary-light);
}

.search-overlay .search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* ---------- Hero Section ---------- */
.hero-banner {
    position: relative;
    background: url('/wp-content/uploads/2026/03/hero-banner.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.hero-search .search-form {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-search .search-field {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.hero-search .search-field:focus {
    outline: none;
}

.hero-search .search-submit {
    padding: 1rem 1.5rem;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition);
}

.hero-search .search-submit:hover {
    background: var(--text-dark);
}

/* ---------- Section Styles ---------- */
.section {
    padding: 3rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 134, 58, 0.4);
    color: var(--white);
}

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

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--primary);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-lg);
    color: var(--primary);
}

.btn--sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-image .card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-image .card-location {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 1rem;
}

.card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.card-body h3 a {
    color: var(--text-dark);
}

.card-body h3 a:hover {
    color: var(--primary);
}

.card-body p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* --- State Card --- */
.state-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

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

.state-card .state-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

.state-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.state-card .state-count {
    font-size: 0.8rem;
    opacity: 0.85;
}

.state-card:hover img {
    transform: scale(1.05);
    transition: transform var(--transition);
}

/* ---------- Single Post Layout ---------- */
.single-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-surface);
}

.single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-hero .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: var(--white);
}

.single-hero .hero-overlay h1 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 0.75rem 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .sep {
    margin: 0 0.4rem;
}

/* --- Single Content --- */
.single-content {
    padding: 2rem 0;
}

.single-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.single-content .entry-content {
    font-size: 1rem;
    line-height: 1.8;
}

.single-content .entry-content h2 {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.single-content .entry-content h3 {
    margin-top: 1.5rem;
}

.single-content .entry-content ul,
.single-content .entry-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.single-content .entry-content ul {
    list-style: disc;
}

.single-content .entry-content ol {
    list-style: decimal;
}

.single-content .entry-content li {
    margin-bottom: 0.5rem;
}

.single-content .entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-surface);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

/* --- Info Box --- */
.info-box {
    background: var(--bg-surface);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}

.info-box h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.info-box-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-box-row .info-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.info-box-row .info-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 80px;
}

/* --- FAQ Section --- */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--bg-surface);
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
    content: '\2212';
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* --- Tags / Taxonomy badges --- */
.taxonomy-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.taxonomy-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-surface);
    color: var(--primary-dark);
    font-size: 0.8rem;
    border-radius: 50px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.taxonomy-badge:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- Related Posts --- */
.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ---------- Archive / Listing Pages ---------- */
.archive-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 2.5rem 0;
    text-align: center;
}

.archive-header--has-image {
    background-size: cover;
    background-position: center;
    padding: 3.5rem 0;
}

.archive-header--has-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
}

.archive-header--has-image .container {
    position: relative;
    z-index: 1;
}

.archive-header h1 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.archive-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.archive-content {
    padding: 2rem 0;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}

.pagination a {
    background: var(--white);
    color: var(--text-body);
    box-shadow: 0 1px 4px var(--shadow);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
}

/* ---------- Page Template ---------- */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 2.5rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 1.75rem;
}

.page-content {
    padding: 2rem 0;
}

.page-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.page-content .entry-content {
    font-size: 1rem;
    line-height: 1.8;
}

.page-content .entry-content h2 {
    margin-top: 2rem;
}

.page-content .entry-content p {
    margin-bottom: 1rem;
}

.page-content .entry-content ul,
.page-content .entry-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.page-content .entry-content ul {
    list-style: disc;
}

.page-content .entry-content ol {
    list-style: decimal;
}

/* ---------- 404 Page ---------- */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-404 .error-code {
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404 h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.error-404 p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-404 .search-form {
    max-width: 400px;
    margin: 0 auto 2rem;
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.error-404 .search-field {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.error-404 .search-submit {
    padding: 0.8rem 1.2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

/* ---------- Search Results ---------- */
.search-results-page .search-summary {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.search-results-page .search-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.search-results-page .search-item h3 {
    margin-bottom: 0.3rem;
}

.search-results-page .search-item h3 a {
    color: var(--text-dark);
}

.search-results-page .search-item h3 a:hover {
    color: var(--primary);
}

.search-results-page .search-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.search-results-page .search-item .search-item-meta {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    background: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    transition: background var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-nav h4::after,
.footer-contact h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary);
    margin-top: 0.4rem;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-menu li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- States Grid (Homepage) ---------- */
.states-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.states-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 1px 4px var(--shadow);
    transition: all var(--transition);
}

.states-list a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(4px);
}

.states-list .state-post-count {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ---------- Featured States Grid (Homepage) ---------- */
.featured-states-grid {
    grid-template-columns: 1fr !important;
}

.featured-states-grid .state-card {
    transition: transform var(--transition);
}

.featured-states-grid .state-card:hover {
    transform: translateY(-4px);
}

.penginapan-type-card {
    text-align: center;
}

.penginapan-type-card .card-body h3 {
    font-size: 1.05rem;
}

@media (min-width: 600px) {
    .featured-states-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 900px) {
    .featured-states-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .featured-states-grid .state-card:nth-child(4),
    .featured-states-grid .state-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (min-width: 1200px) {
    .featured-states-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-section p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

/* ---------- No Results ---------- */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
}

.no-results h2 {
    margin-bottom: 0.75rem;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ---------- WordPress defaults ---------- */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.wp-caption img {
    border-radius: var(--radius-sm);
}

.wp-caption-text {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.4rem;
}

.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 1rem auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* ---------- Responsive: Tablet (min 600px) ---------- */
@media (min-width: 600px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .single-hero .hero-overlay h1 {
        font-size: 1.75rem;
    }

    .archive-header h1 {
        font-size: 2rem;
    }

    .states-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-box {
        padding: 1.5rem;
    }
}

/* ---------- Responsive: Desktop (min 900px) ---------- */
@media (min-width: 900px) {
    :root {
        --header-height: 76px;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }

    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    /* Show desktop nav, hide toggle */
    .main-nav {
        display: flex;
        align-items: center;
    }

    .menu-toggle {
        display: none;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-grid.grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .hero-banner {
        padding: 5rem 0;
    }

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

    .single-hero .hero-overlay h1 {
        font-size: 2.25rem;
    }

    .single-hero .hero-overlay {
        padding: 3rem 2rem 2rem;
    }

    .single-content {
        padding: 3rem 0;
    }

    .archive-header {
        padding: 3.5rem 0;
    }

    .archive-header h1 {
        font-size: 2.25rem;
    }

    .states-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .error-404 {
        padding: 6rem 0;
    }

    .error-404 .error-code {
        font-size: 10rem;
    }
}

/* ---------- Responsive: Large Desktop (min 1200px) ---------- */
@media (min-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .card-grid.grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .states-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ---------- Taxonomy Sidebar Layout ---------- */
.archive-with-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .archive-with-sidebar {
        grid-template-columns: 1fr 300px;
    }

    .archive-with-sidebar .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .archive-with-sidebar .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.taxonomy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: #FFF3EB;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(232, 134, 58, 0.15);
}

.sidebar-widget h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2D1B0E;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E8863A;
}

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

.sidebar-list li {
    margin-bottom: 0.25rem;
}

.sidebar-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    color: #4A4A4A;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.sidebar-list li a:hover {
    background: rgba(232, 134, 58, 0.12);
    color: #C46A2E;
}

.sidebar-count {
    font-size: 0.8rem;
    color: #999;
}

.sidebar-pillar {
    background: linear-gradient(135deg, #FFF3EB, #FFE8D6);
    border: 1px solid #E8863A;
}

.pillar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #C46A2E;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.pillar-link:hover {
    background: rgba(232, 134, 58, 0.15);
}

.pillar-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sidebar-popular {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-popular li {
    margin-bottom: 0.5rem;
}

.sidebar-popular li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #4A4A4A;
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 0.35rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.sidebar-popular li a:hover {
    background: rgba(232, 134, 58, 0.1);
    color: #C46A2E;
}

.sidebar-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* ---------- Print ---------- */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .search-overlay,
    .mobile-nav-overlay,
    .pagination,
    .related-posts {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
