* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #3d2e22;
    line-height: 1.7;
    background: #faf6f0;
}

a, a:visited { color: #b8860b; }
a:hover { color: #2c1810; }

/* ── Nav ── */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #2c1810;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.top-nav .logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(0.85rem, 3vw, 1.15rem);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.top-nav .logo span { color: #d4a843; }

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
}

.nav-links a {
    color: #d4a843;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Source Serif 4', Georgia, serif;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: #fff; }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #d4a843;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-nav.collapsed .hamburger { display: block; }

.top-nav.collapsed .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #2c1810;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.top-nav.collapsed .nav-links.open { display: flex; }
.top-nav.collapsed .nav-links li { border-top: 1px solid rgba(255,255,255,0.08); }

.top-nav.collapsed .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
}


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

/* ── Header (legacy) ── */
.site-header {
    background: #2c1810;
    color: #f0e6d6;
    padding: 20px 24px;
    text-align: center;
    position: relative;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #b8860b, #d4a843, #b8860b, transparent);
}

.site-header a {
    color: #f0e6d6;
    text-decoration: none;
}

.site-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-header h1 span {
    color: #d4a843;
}

.site-header nav {
    margin-top: 8px;
    font-size: 0.9rem;
}

.site-header nav a {
    color: #d4a843;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.site-header nav a:hover {
    color: #fff;
}

/* ── Sections ── */
.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 24px;
}

.section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #b8860b;
    font-size: 0.65rem;
}

.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #d4a843, transparent);
}

.section p {
    font-size: 1.1rem;
    color: #5c4a3a;
}

/* ── Breadcrumb ── */
.breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px 0;
    font-size: 0.9rem;
    color: #7a6a5a;
}

.breadcrumb a {
    color: #b8860b;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #2c1810;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    color: #c0b0a0;
}

.site-search {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px;
}
.site-search .bank-search {
    margin: 0;
}

/* ── Article ── */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 24px 60px;
}

.article-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.article-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c1810;
    margin: 30px 0 12px;
}

.article-content p {
    font-size: 1.1rem;
    color: #5c4a3a;
    line-height: 1.85;
    margin-bottom: 16px;
}

.article-content ul, .article-content ol {
    margin: 12px 0 20px 24px;
    color: #5c4a3a;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content li {
    margin-bottom: 6px;
}

.article-content strong {
    color: #2c1810;
}

/* ── Related Articles ── */
.related-articles {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
    border-top: 1px solid #e0d0be;
    padding-top: 30px;
}

.related-articles h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    color: #2c1810;
    margin-bottom: 12px;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 8px;
}

.related-articles a {
    color: #b8860b;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.related-articles a:hover {
    color: #2c1810;
    text-decoration: underline;
}

/* ── Guide Cards ── */
.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.guide-card {
    background: #f0e6d6;
    border-radius: 8px;
    padding: 30px 24px;
    box-shadow: 0 2px 12px rgba(44,24,16,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.guide-card::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 3px;
    pointer-events: none;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44,24,16,0.12);
}

.guide-card .icon {
    font-size: 1.8rem;
    color: #b8860b;
    margin-bottom: 10px;
}

.guide-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    color: #2c1810;
    margin-bottom: 6px;
}

.guide-card h3 a {
    color: #2c1810;
    text-decoration: none;
}

.guide-card h3 a:hover {
    color: #b8860b;
}

.guide-card p {
    font-size: 0.9rem;
    color: #5c4a3a;
    margin-bottom: 14px;
}

.guide-card ul {
    list-style: none;
    padding: 0;
}

.guide-card li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.guide-card li a {
    color: #b8860b;
    text-decoration: none;
}

.guide-card li a:hover {
    color: #2c1810;
    text-decoration: underline;
}

/* ── Category Section on Guides Page ── */
.category-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

.category-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: #2c1810;
    margin-bottom: 8px;
}

.article-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.article-list li {
    padding: 14px 0;
    border-bottom: 1px solid #e0d0be;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list a {
    color: #2c1810;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-list a:hover {
    color: #b8860b;
}

.article-list .desc {
    display: block;
    font-size: 0.9rem;
    color: #7a6a5a;
    margin-top: 4px;
    font-weight: 400;
}

/* ── Bank Directory ── */
.bank-search {
    display: flex;
    gap: 0;
    margin: 24px 0 30px;
}

.bank-search input {
    flex: 1;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: 'Source Serif 4', Georgia, serif;
    border: 1px solid #d0c0a8;
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: #fff;
    color: #3d2e22;
}

.bank-search input:focus {
    outline: none;
    border-color: #b8860b;
}

.bank-search button {
    padding: 12px 18px;
    background: #b8860b;
    color: #fff;
    border: 1px solid #b8860b;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-size: 1rem;
}

.bank-search button:hover { background: #9a7209; }

.search-matches {
    margin: 20px 0;
}
.search-matches h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: #2c1810;
    margin-bottom: 8px;
}
.search-match-link {
    display: block;
    padding: 12px 16px;
    background: #f0e6d6;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 1rem;
    transition: background 0.2s;
}
.search-match-link i {
    margin-right: 8px;
    color: #b8860b;
}
.search-match-link:hover {
    background: #e8dcc8;
}

.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.state-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #f0e6d6;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 4px rgba(44,24,16,0.06);
    position: relative;
}

.state-card::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 2px;
    pointer-events: none;
}

.state-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(44,24,16,0.1);
}

.state-card strong {
    color: #2c1810;
    font-size: 1rem;
}

.state-card span {
    color: #7a6a5a;
    font-size: 0.85rem;
    margin-top: 2px;
}

.bank-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.bank-table th {
    text-align: left;
    padding: 10px 12px;
    background: #2c1810;
    color: #d4a843;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.bank-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0d0be;
    font-size: 0.95rem;
    color: #5c4a3a;
}

.bank-table tr:hover td { background: #f5efe5; }

.bank-table a {
    color: #b8860b;
    text-decoration: none;
}

.bank-table a:hover {
    color: #2c1810;
    text-decoration: underline;
}

.bank-detail-card {
    background: #f0e6d6;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px 0 30px;
    position: relative;
}

.bank-detail-card::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 3px;
    pointer-events: none;
}

.callout-card {
    background: #f0e6d6;
    border-radius: 8px;
    padding: 24px 28px;
    position: relative;
}

.callout-card::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 3px;
    pointer-events: none;
}

.bank-info {
    border-collapse: collapse;
    width: 100%;
}

.bank-info th {
    text-align: left;
    padding: 6px 16px 6px 0;
    color: #7a6a5a;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.bank-info td {
    padding: 6px 0;
    color: #2c1810;
    font-size: 0.95rem;
}

.bank-info a { color: #b8860b; text-decoration: none; }
.bank-info a:hover { color: #2c1810; text-decoration: underline; }

.currency-issues {
    list-style: none;
    padding: 0;
    margin: 12px 0 30px;
}

.currency-issues li {
    padding: 8px 12px;
    border-bottom: 1px solid #e0d0be;
    color: #5c4a3a;
    font-size: 1rem;
}

.currency-issues li:last-child { border-bottom: none; }
.currency-issues a { color: #b8860b; text-decoration: none; }
.currency-issues a:hover { color: #2c1810; text-decoration: underline; }

.bank-cta {
    background: #2c1810;
    color: #f0e6d6;
    border-radius: 8px;
    padding: 24px;
    margin-top: 30px;
    max-width: 500px;
    position: relative;
}

.bank-cta::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 3px;
    pointer-events: none;
}

.bank-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #d4a843;
    margin-bottom: 8px;
}

.bank-cta p { color: #ddd; margin: 0; }
.bank-cta a { color: #d4a843; }
.bank-cta a:hover { color: #fff; }

/* ── Currency Type Grid ── */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.type-card {
    display: block;
    background: #f0e6d6;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(44,24,16,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 8px 8px 0;
}

.type-card::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 3px;
    pointer-events: none;
    z-index: 1;
}

.type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44,24,16,0.12);
}

.type-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 3px 3px 0 0;
}

.type-card-info {
    padding: 10px 8px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.type-card-info strong {
    font-family: 'Playfair Display', Georgia, serif;
    color: #2c1810;
    font-size: 1.05rem;
}

.type-card-info span {
    font-size: 0.85rem;
    color: #7a6a5a;
}

/* ── Footer ── */
footer {
    text-align: center;
    padding: 35px 20px;
    color: #7a6a5a;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

footer a {
    color: #b8860b;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .site-header h1 { font-size: 1.3rem; }
    .section { padding: 40px 20px; }
    .section h2 { font-size: 1.6rem; }
    .article-content h1 { font-size: 1.7rem; }
    .guide-cards { grid-template-columns: 1fr; }
    .state-grid { grid-template-columns: repeat(2, 1fr); }
    .type-grid { grid-template-columns: 1fr; }
    .bank-table th:nth-child(3), .bank-table td:nth-child(3),
    .bank-table th:nth-child(4), .bank-table td:nth-child(4) { display: none; }
}
