/* Travytour Forms & Lead Magnet Styling */
.tt-public-form,
.tt-newsletter-form {
    display: grid;
    gap: 1rem;
}

.tt-form-grid {
    display: grid;
    gap: 1rem;
}

.tt-form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tt-field {
    margin: 0;
}

.tt-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.tt-field input,
.tt-field select,
.tt-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 15px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tt-field input:focus,
.tt-field select:focus,
.tt-field textarea:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.tt-consent-field label {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    cursor: pointer;
}

.tt-consent-field input[type="checkbox"] {
    margin-top: 2px;
}

.tt-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.tt-button {
    cursor: pointer;
    padding: 0.85rem 1.4rem;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tt-button-gold {
    background: #d97706;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.tt-button-gold:hover {
    background: #b45309;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
}

.tt-form-notice {
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.tt-form-notice-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.tt-form-notice-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.tt-newsletter-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.tt-newsletter-row .tt-field {
    flex: 1;
}

.tt-newsletter-row .tt-button {
    white-space: nowrap;
}

/* In-Article High-Converting Lead Magnet Box */
.tt-article-newsletter-cta,
.tt-lead-resource {
    border: 1.5px solid #e2e8f0;
    border-left: 5px solid #d97706;
    border-radius: 10px;
    background: linear-gradient(135deg, #fdfbf7 0%, #f8fafc 100%);
    padding: clamp(1.2rem, 3vw, 2rem);
    margin: 2.2rem 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.tt-cta-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tt-article-newsletter-cta h2,
.tt-resource-optin h2 {
    margin-top: 0;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.tt-article-newsletter-cta p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tt-cta-microcopy {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tt-resource-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.tt-resource-optin {
    border-top: 1.5px dashed #cbd5e1;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
}

@media (max-width: 680px) {
    .tt-form-grid-two {
        grid-template-columns: 1fr;
    }
    .tt-newsletter-row {
        display: grid;
    }
    .tt-newsletter-row .tt-button {
        width: 100%;
    }
}

/* ==========================================================================
   Travel Resources Hub & Dedicated Resource Pages Styling
   ========================================================================== */

.tt-resources-hub-wrap,
.tt-lead-resource-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.5rem 0;
    color: #1e293b;
    font-family: inherit;
}

.tt-resources-hero,
.tt-resource-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tt-resources-hero h1,
.tt-resource-header h1 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0.8rem 0 0.6rem 0;
}

.tt-lead-p {
    font-size: 16px;
    color: #475569;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.tt-download-action-banner {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.tt-btn-hero {
    padding: 1rem 1.8rem !important;
    font-size: 16px !important;
}

.tt-button-outline {
    background: transparent;
    border: 1.5px solid #0284c7 !important;
    color: #0284c7 !important;
}

.tt-button-outline:hover {
    background: #f0f9ff;
    border-color: #0369a1 !important;
    color: #0369a1 !important;
}

/* 3-Column Resource Cards Grid */
.tt-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tt-resource-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.tt-resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    border-color: #cbd5e1;
}

.tt-resource-card-icon {
    font-size: 32px;
    margin-bottom: 0.5rem;
}

.tt-resource-card-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #0284c7;
    margin-bottom: 0.5rem;
}

.tt-resource-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 0.75rem 0;
}

.tt-resource-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tt-resource-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    font-size: 13px;
    color: #334155;
}

.tt-resource-bullets li {
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.tt-resource-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
}

/* Framework Box */
.tt-resource-framework-box {
    background: linear-gradient(135deg, #0a192f 0%, #0f2b48 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 3rem;
}

.tt-resource-framework-box h2 {
    color: #ffffff;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 2rem 0;
}

.tt-framework-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.tt-framework-step {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 1.25rem;
}

.tt-step-num {
    display: inline-block;
    font-size: 14px;
    font-weight: 900;
    color: #d97706;
    margin-bottom: 0.5rem;
}

.tt-framework-step h4 {
    color: #ffffff;
    font-size: 15px;
    margin: 0 0 0.5rem 0;
}

.tt-framework-step p {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Checklist Grid */
.tt-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.tt-checklist-box {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.tt-box-highlight {
    grid-column: span 2;
    background: #f0fdf4;
    border-color: #86efac;
}

.tt-checklist-box h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem 0;
}

.tt-checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.tt-checklist-items li {
    margin-bottom: 0.65rem;
    position: relative;
    padding-left: 1.2rem;
}

.tt-checklist-items li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d97706;
    font-weight: bold;
}

/* Budget Explanation & Benchmark Table Grid */
.tt-budget-explanation-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    margin: 2.5rem 0;
    align-items: start;
}

.tt-budget-text-col h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem 0;
}

.tt-pillar-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
}

.tt-pillar-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 14px;
}

.tt-pillar-icon {
    font-size: 22px;
    line-height: 1;
}

.tt-pillar-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 2px;
}

.tt-pillar-item span {
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

/* Benchmark Table Card */
.tt-benchmark-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.tt-benchmark-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem 0;
}

.tt-benchmark-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tt-benchmark-table th,
.tt-benchmark-table td {
    padding: 0.7rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.tt-benchmark-table th {
    background: #f1f5f9;
    font-weight: 700;
    color: #0f172a;
}

.tt-benchmark-table td strong {
    color: #0f172a;
}

.tt-benchmark-table td small {
    color: #64748b;
    font-size: 11px;
}

.tt-table-footnote {
    font-size: 11px;
    color: #64748b;
    margin: 0.8rem 0 0 0;
}

@media (max-width: 840px) {
    .tt-resources-grid {
        grid-template-columns: 1fr;
    }
    .tt-framework-steps {
        grid-template-columns: 1fr;
    }
    .tt-checklist-grid {
        grid-template-columns: 1fr;
    }
    .tt-box-highlight {
        grid-column: span 1;
    }
    .tt-budget-explanation-grid {
        grid-template-columns: 1fr;
    }
}
