/* Blog-specific styles layered on top of /css/home/style.css */

.blog_hero {
    padding: 140px 0 50px;
    text-align: center;
    background: #f1f8fd;
}

.blog_hero .common_heading {
    margin-top: 0;
}

.blog_tag_bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.blog_tag_pill {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #78b8f0;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1d70b8;
    text-decoration: none;
    transition: background 0.15s;
}

.blog_tag_pill:hover,
.blog_tag_pill.is-active {
    background: #1d70b8;
    color: #fff;
}

.blog_index_section {
    padding: 40px 0 80px;
}

.blog_index_section .travel_row {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: flex-start;
    width: 100%;
    margin: 30px 0 0;
}

.blog_index_section .travel_col {
    width: calc((100% - 56px) / 3) !important;
}

@media (max-width: 900px) {
    .blog_index_section .travel_col {
        width: calc(50% - 14px) !important;
    }
}

@media (max-width: 600px) {
    .blog_index_section .travel_col {
        width: 100% !important;
    }
}

.blog_card_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 8px;
}

.blog_card_tag {
    display: inline-block;
    padding: 3px 10px;
    background: #e2ecf7;
    border-radius: 999px;
    color: #1d70b8;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.blog_card_tag:hover {
    background: #1d70b8;
    color: #fff;
}

.blog_empty {
    text-align: center;
    padding: 60px 0;
    font-family: 'Inter', sans-serif;
    color: #64748b;
}

.blog_pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.blog_pagination .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.blog_pagination a,
.blog_pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #78b8f0;
    border-radius: 5px;
    color: #1d70b8;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.blog_pagination .active span {
    background: #1d70b8;
    color: #fff;
    border-color: #1d70b8;
}

.blog_show_section {
    padding: 40px 0 80px;
}

.blog_back_link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 12px;
    text-align: left;
}

.blog_back_link a {
    color: #1d70b8;
    text-decoration: none;
}

.blog_back_link a:hover {
    text-decoration: underline;
}

.blog_show_wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.blog_show_hero_img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 24px;
}

.blog_show_meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

.blog_show_title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    color: #1d70b8;
    font-size: 42px;
    line-height: 1.15;
    margin: 24px 0 20px;
    text-align: left;
}

.blog_show_tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.blog_content {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #1e293b;
    text-align: left;
}

.blog_content h1,
.blog_content h2,
.blog_content h3,
.blog_content h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #1d70b8;
    margin: 32px 0 12px;
    line-height: 1.25;
}

.blog_content h1 { font-size: 32px; }
.blog_content h2 { font-size: 26px; }
.blog_content h3 { font-size: 22px; }

.blog_content p { margin-bottom: 16px; }
.blog_content ul,
.blog_content ol { margin: 0 0 16px 24px; padding-left: 20px; }
.blog_content ul { list-style: disc outside; }
.blog_content ol { list-style: decimal outside; }
.blog_content ul ul { list-style: circle outside; }
.blog_content li { margin-bottom: 6px; list-style: inherit; display: list-item; }

.blog_content a {
    color: #1d70b8;
    text-decoration: underline;
}

.blog_content blockquote {
    border-left: 4px solid #78b8f0;
    padding: 8px 18px;
    margin: 24px 0;
    color: #475569;
    font-style: italic;
    background: #f1f8fd;
    border-radius: 0 6px 6px 0;
}

.blog_content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px 0;
}

.blog_related {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.blog_related h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #1d70b8;
    margin-bottom: 16px;
    text-align: left;
}

.blog_related .travel_row {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    margin: 16px 0 0;
    width: 100%;
}

.blog_related .travel_col {
    width: calc(50% - 12px) !important;
}

@media (max-width: 680px) {
    .blog_related .travel_col {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .blog_show_title { font-size: 30px; }
    .blog_content { font-size: 16px; }
}
