/* ============================================
   SPIN YOUR DESTINATION - GUIDE PAGES STYLES
   Global stylesheet for country guide pages
   ============================================ */

/* ========== GOOGLE FONTS ========== */
@import url('../css/fonts.css');

/* ========== CSS VARIABLES ========== */
:root {
    /* Colors */
    --accent-color: #e67e22;
    --accent-orange: #e67e22;
    --text-primary: #1f2937;
    --text-body: #334155;
    --text-muted: #6b7280;
    --teal: #0097b2;
    --teal-dark: #00768b;
    --panel: #f8fafc;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --page-bg: rgb(245, 243, 238);
    --black: #000000;
    
    /* Fonts */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 25px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    background: var(--white);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 60px;
    letter-spacing: -0.03em;
    line-height: 0.95;
}

h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

h3, .h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

p, .p, li, span, button, a, input, textarea {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

p {
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

a:hover {
    text-decoration: underline;
}

/* ========== LAYOUT & CONTAINERS ========== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.main, main, .page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    margin-bottom: 48px;
}

.section h2 {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    color: #e67e22;
    font-size: 28px;
    margin-bottom: 16px;
}

.local-tips-header {
    background: white;
    padding: 40px 20px;
    text-align: center;
    margin: 30px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.local-tips-header h2 {
    font-family: "Sora", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0b1b2b;
    margin-bottom: 8px;
}

.local-tips-header p {
    font-size: 1rem;
    color: #64748b;
}

/* ========== NAVIGATION ========== */
.top-nav, .page-header {
    background: var(--white);
    padding: var(--spacing-md);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.top-nav p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.top-nav a.reset-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
}

.top-nav a.reset-link:hover {
    text-decoration: underline;
}

.nav-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px auto;
    max-width: 600px;
}

/* ========== BUTTONS ========== */
/* Static Navigation Buttons */
.nav-btn, .static-btn {
    background: var(--white);
    color: var(--teal-dark);
    border: 2px solid var(--teal-dark);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover, .static-btn:hover {
    background: var(--teal) !important;
    color: var(--white) !important;
    border-color: var(--teal) !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 151, 178, 0.3);
}

.nav-btn.active {
    background: var(--teal-dark);
    color: var(--white);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Dynamic Guide Buttons */
.dynamic-btn, .guide-btn-primary {
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.dynamic-btn:hover, .guide-btn-primary:hover {
    background: var(--teal-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

/* Action Buttons (Email, Share, Bookmark) */
.save-btn, .action-btn {
    background: var(--white);
    color: var(--teal-dark);
    border: 2px solid var(--teal-dark);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    min-width: 100px;
}

.save-btn:hover, .action-btn:hover {
    background: var(--teal) !important;
    color: var(--white) !important;
    border-color: var(--teal) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Primary Button (CTA) */
.btn, .browse-btn {
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

.btn:hover, .browse-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* Book Now Button */
.book-btn {
    background: #0097b2;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.book-btn:hover {
    background: #00768b;
    transform: translateY(-2px);
}

/* Pick Badge */
.pick-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* ========== HERO SECTION ========== */
.hero {
    max-width: 900px;
    margin: var(--spacing-xl) auto 14px auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.hero-media {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-color) 0%, #f97316 100%);
}

.hero-media-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

img.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 18px;
    text-align: center;
}

.hero-right {
    text-align: left;
}

.subheading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-orange);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.destination-name {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 14px 0;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.ingress {
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}

.intro {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 32px;
    text-align: left;
}

/* ========== HEADER (GUIDE PAGES) ========== */
.header {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange) 100%);
    padding: var(--spacing-lg) 0;
    text-align: center;
    color: var(--white);
    margin-bottom: 28px;
}

.header h1 {
    color: var(--white) !important;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.header p {
    color: var(--white) !important;
    font-size: 18px;
}

/* ========== SECTION HEADERS ========== */
.section-header, .section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.section-intro {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-orange);
    margin: 32px 0 16px 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* ========== VIDEO ========== */
.video-container {
    max-width: 900px;
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-md);
}

.video-container video {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ========== IMAGES ========== */
.content-image {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--panel);
    display: block;
}

.image-wrapper {
    position: relative;
    width: 65%;
    max-width: 460px;
    margin: 26px auto;
    display: block;
}

.image-credit {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-size: 9px;
    padding: 2px 4px;
    border-radius: 2px;
    z-index: 10;
    line-height: 1.1;
}

.image-credit a {
    color: var(--white);
    text-decoration: none;
    font-size: 9px;
}

.image-credit a:hover {
    text-decoration: underline;
}

/* ========== CARDS & GRIDS ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.info-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.info-label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #1f2937;
}

.info-value {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.cultural-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.cultural-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.cultural-card h4 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cultural-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.season-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.season-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.season-card h4 {
    color: #f97316;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.season-weather {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.season-pros {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #1f2937;
}

.season-cons {
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.category-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
}

.category-card .arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
    color: #0097b2;
}

.special-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e67e22;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: var(--spacing-lg);
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: var(--spacing-lg);
}

.exp-card {
    background: var(--panel);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.exp-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.activity-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--white);
}

.activity-card h4 {
    color: #0b1b2b;
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.activity-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.experience-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

/* ========== TIPS & LISTS ========== */
.tip-box {
    margin-top: 24px;
    margin-bottom: 32px;
    background: white;
    border-left: 5px solid #0097b2;
    border-radius: 8px;
    padding: 24px;
    text-align: left;
}

.tips-list {
    background: #e0f5f6;
    border-left: 4px solid #008080;
    padding: 24px;
    margin-top: var(--spacing-lg);
    border-radius: 10px;
}

.tips-list li {
    margin-bottom: var(--spacing-sm);
    list-style-position: inside;
}

.simple-list {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: var(--spacing-xl);
    list-style: none;
}

.simple-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 13px;
    line-height: 1.5;
}

/* ========== SAVE & SHARE SECTION ========== */
.save-share {
    background: var(--white);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-xl);
}

.save-share-text {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.save-share-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== CLOSING CTA (ORANGE BOX) ========== */
.closing {
    background: var(--accent-orange);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin: 34px 0 0;
    text-align: center;
}

.closing p {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--white) !important;
    font-size: 18px;
    line-height: 1.7;
}

.closing button {
    background: var(--white);
    color: var(--accent-orange);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== SAVE SECTION ========== */
.save-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.save-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== BOTTOM CTA (ORANGE BOX) ========== */
.bottom-cta {
    background: #e67e22;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.bottom-cta p {
    color: white !important;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.cta-button {
    background: white;
    color: #e67e22;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========== MODALS ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

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

.modal {
    background: #0097b2;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 12px;
}

.modal .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 24px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-link {
    background: white;
    color: #0097b2;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.modal-link:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========== ALTERNATIVE STAYS ========== */
.highlight {
    background: #f9fafb;
    padding: 32px 24px;
    border-radius: 16px;
    margin-top: 48px;
}

.sub-section {
    margin-bottom: 32px;
}

.sub-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.sub-section p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.sub-section-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sub-link {
    background: white;
    color: #0097b2;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sub-link:hover {
    background: #0097b2;
    color: white;
    border-color: #0097b2;
}

/* ========== GLAMPING ========== */
.glamping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.glamping-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.glamping-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.glamping-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.glamping-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.glamping-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

.site-btn {
    display: inline-block;
    background: #0097b2;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.site-btn:hover {
    background: #00768b;
    transform: translateY(-2px);
}

/* ========== ESSENTIAL APPS PAGE ========== */
.social-cta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px auto 0;
    max-width: 600px;
}

.social-cta p {
    font-size: 16px;
    margin-bottom: 16px;
    color: white;
}

.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    background: white;
    color: #0097b2;
    border: 2px solid #0097b2;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 100px;
}

.social-btn:hover {
    background: #0097b2;
    color: white;
    border-color: #0097b2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

.category {
    margin-bottom: 48px;
}

.category-header {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 24px;
}

.app-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.app-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.app-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.app-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
}

.app-link {
    display: inline-block;
    color: #0097b2;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.app-link:hover {
    text-decoration: underline;
}

.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    color: white;
}

.badge-niche {
    background: #8b5cf6;
}

.badge-new {
    background: #10b981;
}

.badge-game-changer {
    background: #e67e22;
}

.badge-luxury {
    background: #ec4899;
}

.badge-essential {
    background: #3b82f6;
}

.badge-advanced {
    background: #6366f1;
}

.badge-authentic {
    background: #14b8a6;
}

.tip-box-header {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.tip-box-content {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.tip-box-content p {
    margin-bottom: 12px;
}

.tip-box-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 12px;
}

.tip-box-list li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #64748b;
}

.tip-box-link {
    display: inline-block;
    color: #0097b2;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    text-decoration: none;
}

.tip-box-link:hover {
    text-decoration: underline;
}

/* ========== TRAVEL BUDDIES PAGE STYLES ========== */
.hero-bar {
    background: var(--teal);
    color: var(--white);
    padding: 36px 24px;
    text-align: center;
}
.hero-bar h1 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 8px;
}
.hero-bar p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto;
}
.tb-intro { padding: 36px 0 12px; }
.tb-intro p { font-size: 18px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.tb-section { padding: 40px 0 16px; }
.tb-section-title { margin-bottom: 24px; }
.tb-section-title h2 { font-size: 28px; color: var(--orange); margin-bottom: 6px; }
.tb-section-title p { font-size: 16px; color: var(--text-muted); max-width: 680px; }
.tb-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tb-card-grid.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.tb-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 18px;
}
.tb-card-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.tb-card-type { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 8px; }
.tb-card-desc { font-size: 14px; color: var(--text-body); line-height: 1.65; margin-bottom: 10px; }
.tb-card-details { font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-color); padding-top: 9px; margin-bottom: 10px; line-height: 1.9; }
.tb-card-details span { display: block; }
.tb-card-link { font-size: 14px; font-weight: 600; color: var(--teal); }
.tb-card-link:hover { color: var(--teal-dark); text-decoration: underline; }
.tb-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.tb-badge-popular { background: rgba(230,126,34,0.12); color: #c06a00; }
.tb-badge-verified { background: rgba(0,151,178,0.1); color: var(--teal); }
.tb-badge-premium { background: rgba(31,41,55,0.08); color: var(--text-primary); }
.tb-badge-young { background: rgba(100,80,200,0.08); color: #5540b0; }
.tb-badge-free { background: rgba(0,151,178,0.1); color: var(--teal); }
.tb-age-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--panel); padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; margin-left: 6px; }
.tb-compare-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 13px; }
.tb-compare-table th { background: var(--panel); padding: 10px 12px; text-align: left; font-family: var(--font-heading); font-weight: 700; font-size: 12px; color: var(--text-primary); border-bottom: 2px solid var(--border-color); }
.tb-compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-color); color: var(--text-body); }
.tb-compare-table tr:hover td { background: var(--panel); }
.tb-compare-table .name { font-weight: 700; color: var(--text-primary); }
.tb-tipbox { background: #e0f5f6; border-left: 4px solid #008080; padding: 20px 22px; border-radius: 10px; margin-bottom: 20px; }
.tb-tipbox.orange .dot { color: var(--teal); }
.tb-tipbox h4 { font-family: var(--font-heading); font-size: 16px; color: var(--text-primary); margin-bottom: 10px; }
.tb-tipbox p { font-size: 14px; color: var(--text-body); margin-bottom: 4px; }
.tb-tipbox .dot { font-weight: 700; margin-right: 6px; color: var(--teal); }
.tb-safety-box { background: var(--page-bg); border-radius: 12px; padding: 28px 24px; color: var(--text-primary); margin-bottom: 24px; border: 1px solid var(--border-color); }
.tb-safety-box h3 { font-family: var(--font-heading); font-size: 20px; color: var(--orange); margin-bottom: 18px; text-align: center; }
.tb-safety-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tb-safety-item { background: var(--white); border: 1px solid var(--border-color); border-radius: 8px; padding: 14px 16px; }
.tb-safety-item strong { font-family: var(--font-heading); font-size: 14px; color: var(--orange); display: block; margin-bottom: 4px; }
.tb-safety-item p { font-size: 13px; color: var(--text-body); line-height: 1.55; }
.tb-insider { padding: 24px 0 40px; }
.tb-insider h2 { font-size: 28px; color: var(--orange); margin-bottom: 16px; }
.tb-insider-box { background: #e0f5f6; border-left: 4px solid #008080; border-radius: 10px; padding: 24px 22px; margin-bottom: 24px; }
.tb-insider-box p { font-size: 16px; color: var(--text-body); line-height: 1.8; margin-bottom: 10px; padding-left: 4px; }
.tb-insider-box p:last-child { margin-bottom: 0; }
@media (max-width: 840px) {
    .hero-bar h1 { font-size: 32px; }
    .tb-section-title h2, .tb-insider h2 { font-size: 24px; }
}
@media (max-width: 640px) {
    .hero-bar h1 { font-size: 28px; }
    .tb-section-title h2, .tb-insider h2 { font-size: 22px; }
    .tb-card-grid, .tb-card-grid.wide, .tb-safety-grid { grid-template-columns: 1fr; }
    .tb-compare-table { font-size: 12px; }
    .tb-compare-table th, .tb-compare-table td { padding: 8px 6px; }
}

/* ============================================
   DESKTOP SIDEBAR LAYOUT
   Shows right ad column on wide screens only
   ============================================ */
.guide-with-sidebar {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.guide-main-content {
    width: 100%;
}

.ad-sidebar {
    display: none;
}

@media (min-width: 1280px) {
    .guide-with-sidebar {
        display: grid;
        grid-template-columns: 900px 300px;
        align-items: start;
        gap: 40px;
        max-width: 1240px;
        padding: 0 var(--spacing-md);
    }

    .ad-sidebar {
        display: block;
        width: 300px;
        position: sticky;
        top: 20px;
        align-self: start;
    }
}


/* ============================================
   MOBILE AD BAR — below page header
   Hidden when sidebar is visible (≥1280px)
   ============================================ */
.ad-bar {
    margin: 24px auto;
    padding: 0 20px;
    max-width: 900px;
}
.ad-bar-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.ad-bar-slot:nth-child(2),
.ad-bar-slot:nth-child(3) {
    display: none;
}
@media (min-width: 600px) {
    .ad-bar-inner {
        grid-template-columns: 1fr 1fr;
    }
    .ad-bar-slot:nth-child(2) {
        display: block;
    }
}
@media (min-width: 900px) {
    .ad-bar-inner {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .ad-bar-slot:nth-child(3) {
        display: block;
    }
}
@media (min-width: 1280px) {
    .ad-bar {
        display: none;
    }
}

/* ============================================
   MOBILE AD BAR — below page header
   Hidden when sidebar is visible (≥1280px)
   ============================================ */
.ad-bar {
    margin: 24px auto;
    padding: 0 20px;
    max-width: 900px;
}
.ad-bar-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.ad-bar-slot:nth-child(2),
.ad-bar-slot:nth-child(3) {
    display: none;
}
@media (min-width: 600px) {
    .ad-bar-inner {
        grid-template-columns: 1fr 1fr;
    }
    .ad-bar-slot:nth-child(2) {
        display: block;
    }
}
@media (min-width: 900px) {
    .ad-bar-inner {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .ad-bar-slot:nth-child(3) {
        display: block;
    }
}
@media (min-width: 1280px) {
    .ad-bar {
        display: none;
    }
}

/* Fix ad-bar centering and mobile slot visibility */
.ad-bar {
    text-align: center;
}
.ad-bar-inner {
    justify-items: center;
}
.ad-bar-slot {
    width: 100%;
    max-width: 300px;
}

/* ========== HERO — MOBILE LAYOUT (below 900px) ========== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-media {
        order: 3;
        margin-top: 20px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right {
        order: 1;
    }
}

/* ========== TB-INTRO — consistent with other guide pages ========== */
.tb-intro {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding: 36px 20px 12px;
}
.tb-intro p {
    text-align: left;
    max-width: 860px;
}
