/* ============================================================
   blog.css
   Destination To Plan | destinationtoplan.com
   Shared stylesheet for all blog pages.

   Depends on:
     /css/nav.css    — header/nav (always loaded)
     /css/style.css  — hero, breadcrumb, booking form, footer
                       (loaded automatically by header.php)

   Deploy path: css/blog.css
   ============================================================ */

/* ============================================================
   BLOG LAYOUT
   ============================================================ */
.blog-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 60px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
        padding: 32px 16px 48px;
    }
}

/* ============================================================
   ARTICLE
   ============================================================ */
.blog-article { min-width: 0; }

.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eae6df;
}
.blog-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdf6ec;
    border: 1px solid #e8d9bc;
    color: #a8894e;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.blog-meta-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: 0.85rem;
}
.blog-meta-info i { color: #a8894e; font-size: 0.8rem; }

/* ============================================================
   INTRO
   ============================================================ */
.blog-intro {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #3d3d3d;
    margin-bottom: 36px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #fdf9f4 0%, #faf5ec 100%);
    border-left: 4px solid #a8894e;
    border-radius: 0 8px 8px 0;
    text-align: justify;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.blog-article h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 44px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8d9bc;
    line-height: 1.3;
}
.blog-article h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 28px 0 10px;
}
.blog-article p {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
    margin-bottom: 18px;
    text-align: justify;
}
.blog-article a { color: #a8894e; text-decoration: underline; text-underline-offset: 3px; }
.blog-article a:hover { color: #7a6238; }

/* ============================================================
   TIPS NUMBERED LIST
   ============================================================ */
.tips-numbered {
    counter-reset: tips-counter;
    list-style: none;
    padding: 0;
    margin: 28px 0;
}
.tips-numbered li {
    counter-increment: tips-counter;
    display: block;
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid #eae6df;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(168,137,78,0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
    overflow: hidden;
}
.tips-numbered li:hover { border-color: #c8a96e; box-shadow: 0 4px 16px rgba(168,137,78,0.12); }
.tips-numbered li::before { display: none; }
.tips-numbered li strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.02rem;
    color: #1a1a2e;
    padding: 16px 22px 14px;
    border-bottom: 1px dashed #e8d9bc;
    text-align: center;
    line-height: 1.4;
}
.tip-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #c8a96e 0%, #a8894e 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tips-numbered li p {
    margin: 0;
    padding: 16px 22px 18px;
    font-size: 0.96rem;
    color: #555;
    line-height: 1.78;
    text-align: justify;
}
@media (max-width: 600px) {
    .tips-numbered li strong { font-size: 0.97rem; padding: 14px 16px 12px; gap: 10px; }
    .tips-numbered li p { padding: 14px 16px 16px; }
}

/* ============================================================
   WHY ARGENTINA CARDS
   ============================================================ */
.why-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}
@media (max-width: 600px) { .why-cards { grid-template-columns: 1fr; } }
.why-card {
    padding: 26px 20px 22px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #c8a96e;
    box-shadow: 0 2px 8px rgba(168,137,78,0.08);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-align: center;
}
.why-card:hover { transform: translateY(-3px); border-color: #a8894e; box-shadow: 0 8px 24px rgba(168,137,78,0.18); }
.why-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdf6ec 0%, #f5e9d0 100%);
    border-radius: 14px;
    border: 1px solid #e8d9bc;
}
.why-card-icon svg { width: 26px; height: 26px; fill: #a8894e; stroke: none; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin: 0 0 8px; text-align: center; }
.why-card p  { font-size: 0.9rem; color: #666; line-height: 1.6; margin: 0; text-align: justify; }

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.blog-highlight-box {
    margin: 32px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
    border-radius: 12px;
    color: #fff;
}
.blog-highlight-box h3 { color: #c8a96e; font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; }
.blog-highlight-box p  { color: #d4c9b8; font-size: 0.95rem; line-height: 1.75; margin: 0; text-align: justify; }

/* ============================================================
   DESTINATION SECTIONS
   ============================================================ */
.destination-block { margin: 36px 0; border-radius: 12px; overflow: hidden; border: 1px solid #eae6df; }
.destination-block-header {
    background: linear-gradient(135deg, #c8a96e 0%, #a8894e 100%);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.destination-block-header i  { font-size: 1.2rem; color: rgba(255,255,255,0.85); }
.destination-block-header h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0; }
.destination-block-body { padding: 22px 24px; background: #fff; }
.destination-block-body p { font-size: 0.97rem; color: #444; line-height: 1.8; margin: 0 0 10px; text-align: justify; }
.destination-block-body p:last-child { margin: 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.blog-cta-banner {
    margin: 40px 0;
    background: linear-gradient(135deg, #c8a96e 0%, #a8894e 100%);
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
}
.blog-cta-banner h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin: 0 0 10px; }
.blog-cta-banner p  { color: rgba(255,255,255,0.88); font-size: 0.95rem; margin: 0 0 20px; line-height: 1.6; text-align: center; }
.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.55);
    transition: border-color 0.22s, background 0.22s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.blog-cta-btn:hover { border-color: #fff; background: rgba(255,255,255,0.15); color: #fff; }

/* ============================================================
   QUICK FACTS TABLE
   ============================================================ */
.quick-facts-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.93rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.quick-facts-table th {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
    color: #c8a96e;
    padding: 13px 18px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}
.quick-facts-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #eae6df;
    color: #444;
    vertical-align: top;
    line-height: 1.6;
}
.quick-facts-table tr:last-child td  { border-bottom: none; }
.quick-facts-table tr:nth-child(even) td { background: #f8f8f8; }
.quick-facts-table tr:nth-child(odd)  td { background: #fff; }
.quick-facts-table td:first-child { font-weight: 600; color: #1a1a2e; white-space: nowrap; width: 35%; }
@media (max-width: 480px) { .quick-facts-table td:first-child { white-space: normal; } }

/* ============================================================
   SIDEBAR
   ============================================================ */
.blog-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (max-width: 992px) { .blog-sidebar { position: static; } }

.sidebar-widget {
    background: #fff;
    border: 1px solid #eae6df;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.sidebar-widget:hover { box-shadow: 0 6px 24px rgba(168,137,78,0.1); }
.sidebar-widget-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-widget-header h3 { font-size: 0.82rem; font-weight: 700; color: #c8a96e; margin: 0; text-transform: uppercase; letter-spacing: 0.08em; }
.sidebar-widget-header i  { color: #c8a96e; font-size: 0.85rem; }
.sidebar-widget-body { padding: 18px 20px; }

/* Quote Widget */
.quote-widget-body {
    padding: 28px 20px 22px;
    text-align: center;
    background: linear-gradient(160deg, #fdfaf5 0%, #fff 60%);
}
.quote-widget-body .quote-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #c8a96e 0%, #a8894e 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(168,137,78,0.3);
}
.quote-widget-body .quote-icon i { font-size: 1.4rem; color: #fff; }
.quote-widget-body h3 { font-size: 1.05rem; font-weight: 800; color: #1a1a2e; margin: 0 0 8px; line-height: 1.3; }
.quote-widget-body p  { font-size: 0.86rem; color: #777; line-height: 1.6; margin: 0 0 18px; }
.quote-price {
    display: block;
    background: #F5E6CC;
    border: 1px solid #ddd0b0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 14px;
    text-align: center;
}
.quote-price .q-from   { font-size: 0.68rem; color: #7a6030; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 2px; font-weight: 700; }
.quote-price .q-amount { font-size: 1.6rem; font-weight: 800; color: #4a3010; line-height: 1.2; }
.quote-price .q-per    { font-size: 0.72rem; color: #7a6030; margin-top: 2px; }
.quote-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #E27D60; color: #fff; font-weight: 800; font-size: 0.83rem;
    padding: 13px 20px; border-radius: 10px; text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 3px 10px rgba(226,125,96,0.3);
}
.quote-btn:hover { background: #c9674c; transform: translateY(-2px); color: #fff; }
.quote-wa-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #2D4F1E; color: #fff; font-weight: 800; font-size: 0.83rem;
    padding: 13px 20px; border-radius: 10px; text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 3px 10px rgba(45,79,30,0.3);
}
.quote-wa-btn:hover { background: #1e3a12; transform: translateY(-2px); color: #fff; }

/* Related Posts Widget */
.related-post-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid #eee;
    text-decoration: none; transition: background 0.15s;
}
.related-post-item:last-child  { border-bottom: none; padding-bottom: 0; }
.related-post-item:first-child { padding-top: 0; }
.related-post-thumb { flex-shrink: 0; width: 62px; height: 52px; border-radius: 6px; object-fit: cover; background: #e8d9bc; display: block; }
.related-post-info  { min-width: 0; }
.related-post-region { font-size: 0.7rem; font-weight: 700; color: #a8894e; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.related-post-title {
    font-size: 0.86rem; font-weight: 600; color: #2d2d2d; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-post-item:hover .related-post-title { color: #a8894e; }

/* Popular Destinations Widget */
.pop-dest-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid #eee;
    text-decoration: none; transition: color 0.15s;
}
.pop-dest-item:last-child  { border-bottom: none; padding-bottom: 0; }
.pop-dest-item:first-child { padding-top: 0; }
.pop-dest-left  { display: flex; align-items: center; gap: 10px; }
.pop-dest-flag  { width: 28px; height: 20px; border-radius: 3px; object-fit: cover; display: block; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.pop-dest-name  { font-size: 0.9rem; font-weight: 600; color: #2d2d2d; }
.pop-dest-item:hover .pop-dest-name { color: #a8894e; }
.pop-dest-arrow { color: #c8a96e; font-size: 0.75rem; }

/* Tags Widget */
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.blog-tag {
    display: inline-block; padding: 5px 12px; background: #fdf6ec;
    border: 1px solid #e8d9bc; color: #a8894e; font-size: 0.78rem; font-weight: 600;
    border-radius: 9999px; text-decoration: none; transition: background 0.15s, color 0.15s;
}
.blog-tag:hover { background: #a8894e; color: #fff; border-color: #a8894e; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .breadcrumb            { display: none !important; }
    .blog-highlight-box    { padding: 18px 16px; }
    .blog-intro            { padding: 18px 16px; }
    .destination-block-body { padding: 16px; }
    .blog-cta-banner       { padding: 24px 16px; }
    .why-cards             { gap: 14px; }
    .blog-article h2       { font-size: 1.35rem; }
}