html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Compare Toast Styling */
#compareToast {
    min-width: 350px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#compareToast .toast-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#compareToast .btn-light {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out;
}

#compareToast .btn-light:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

/* Base layout */
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f7;
    color: #222;
}

#primary.content-area {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

/* Typography */
.post-header {
    margin-bottom: 1.5rem;
}

.post-meta {
    font-size: 0.85rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.post-title {
    margin: 0.25rem 0 0.75rem;
    font-size: 2rem;
    line-height: 1.2;
}

.post-intro {
    font-size: 1rem;
    color: #444;
}

.section {
    margin-top: 2rem;
}

    .section h2 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
        color: #1a3b5d;
    }

    .section h3 {
        font-size: 1.1rem;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
        color: #23476b;
    }

    .section p {
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

/* Lists */
.attraction-list,
.trip-list,
.tips-list {
    padding-left: 1.2rem;
    margin: 0.5rem 0 1rem;
}

    .attraction-list li,
    .trip-list li,
    .tips-list li {
        margin-bottom: 0.5rem;
    }

/* Contact section */
.contact-section {
    border-top: 1px solid #e3e3e8;
    padding-top: 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.contact-block {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e6f0;
}

    .contact-block h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

/* CTA box */
.cta-box {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-color: #1a3b5d;
    border-width: 1px;
    border-style: solid;
    color: #1a3b5d;
}

    .cta-box p {
        margin: 0.25rem 0;
    }

/* Tags */
.tags {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

    .tags span {
        display: inline-block;
        background: #eef2ff;
        color: #374151;
        padding: 0.15rem 0.5rem;
        border-radius: 999px;
        margin-right: 0.4rem;
    }

/* Back link */
.back-link {
    margin-top: 1rem;
}

    .back-link a {
        color: #1a3b5d;
        text-decoration: none;
        font-weight: 600;
    }

        .back-link a:hover {
            text-decoration: underline;
        }

/* Responsive tweaks */
@media (max-width: 600px) {
    #primary.content-area {
        margin: 1rem;
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.6rem;
    }
}
