/*
 Theme Name:   Blue Hawaiian Concierge Child
 Theme URI:    https://bluehawaiianconcierge.com
 Description:  Child theme for Blue Hawaiian Concierge — blog templates and SEO structural fixes
 Author:       Blue Hawaiian Concierge
 Template:     blue
 Version:      1.0.0
*/

/* =============================================
   BLOG INDEX — Post Card Grid
   ============================================= */

.bhc-blog-index {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bhc-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 900px) {
    .bhc-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .bhc-blog-grid {
        grid-template-columns: 1fr;
    }
}

.bhc-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.bhc-post-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    transform: translateY(-2px);
}

.bhc-post-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.bhc-post-card__image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e8f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0b8c4;
    font-size: 14px;
}

.bhc-post-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bhc-post-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.bhc-post-card__category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #0077a8;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
}

.bhc-post-card__date {
    font-size: 12px;
    color: #888;
}

.bhc-post-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.bhc-post-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    flex: 1;
    margin: 0 0 16px;
}

.bhc-post-card__readmore {
    font-size: 13px;
    font-weight: 600;
    color: #0077a8;
    text-decoration: none;
    align-self: flex-start;
}

.bhc-post-card__readmore:hover {
    text-decoration: underline;
}

/* =============================================
   BLOG PAGINATION
   ============================================= */

.bhc-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 40px;
}

.bhc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.15s ease;
}

.bhc-pagination .page-numbers.current {
    background: #0077a8;
    color: #fff;
    border-color: #0077a8;
}

.bhc-pagination .page-numbers:hover:not(.current) {
    background: #f0f8fc;
    border-color: #0077a8;
    color: #0077a8;
}

/* =============================================
   SINGLE POST TEMPLATE
   ============================================= */

.bhc-single-post {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.bhc-single-post__hero {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    margin-bottom: 36px;
}

.bhc-single-post__hero-wrapper {
    margin-bottom: 36px;
    background: #e8f4f8;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

.bhc-single-post__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bhc-single-post__category-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #0077a8;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    text-decoration: none;
}

.bhc-single-post__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 20px;
}

.bhc-single-post__byline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 13px;
    color: #777;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 32px;
}

.bhc-single-post__byline span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bhc-single-post__content {
    font-size: 17px;
    line-height: 1.8;
    color: #222;
}

.bhc-single-post__content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: #1a1a1a;
}

.bhc-single-post__content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: #1a1a1a;
}

.bhc-single-post__content p {
    margin-bottom: 20px;
}

.bhc-single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 8px 0;
}

.bhc-single-post__content ul,
.bhc-single-post__content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.bhc-single-post__content li {
    margin-bottom: 8px;
}

.bhc-single-post__footer-tags {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}

.bhc-single-post__footer-tags h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 0 0 12px;
}

.bhc-single-post__footer-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* =============================================
   RELATED POSTS
   ============================================= */

.bhc-related-posts {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 20px;
    border-top: 2px solid #e8e8e8;
}

.bhc-related-posts h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.bhc-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 680px) {
    .bhc-related-posts__grid {
        grid-template-columns: 1fr;
    }
}

.bhc-related-posts__item a {
    text-decoration: none;
    color: inherit;
}

.bhc-related-posts__item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.bhc-related-posts__item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
}

.bhc-related-posts__item-date {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}
