/* ==========================================================================
   Fahrenheit Hotels & Resorts - Blog & Single Post Styles
   ========================================================================== */

/* --- Single Post Styles --- */
.fhr-single-post-wrapper {
    background-color: #ffffff;
    padding-top: 150px;
    padding-bottom: 80px;
}

.fhr-single-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.fhr-post-breadcrumbs {
    font-size: 14px;
    color: #888888;
    margin-bottom: 20px;
    font-family: "Source Sans Pro", sans-serif;
}

.fhr-post-breadcrumbs a {
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fhr-post-breadcrumbs a:hover {
    color: #DB2519;
}

.fhr-post-breadcrumbs .separator {
    margin: 0 8px;
    color: #cccccc;
}

.fhr-post-category-tag {
    display: inline-block;
    background-color: #FAF2F0;
    color: #DB2519;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-decoration: none;
    font-family: "Source Sans Pro", sans-serif;
}

h1.fhr-single-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 42px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 18px 0 !important;
}

@media (max-width: 768px) {
    h1.fhr-single-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}

.fhr-post-meta-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #777777;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEEEEE;
    font-family: "Source Sans Pro", sans-serif;
}

.fhr-post-meta-bar .meta-author {
    font-weight: 600;
    color: #222222;
}

.fhr-post-featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.fhr-post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Article Body Typography */
.fhr-post-content {
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
}

.fhr-post-content p {
    margin-bottom: 24px;
}

.fhr-post-content h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #111111;
    margin-top: 45px;
    margin-bottom: 18px;
    line-height: 1.35;
}

.fhr-post-content h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #222222;
    margin-top: 35px;
    margin-bottom: 14px;
    line-height: 1.4;
}

.fhr-post-content ul, .fhr-post-content ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.fhr-post-content li {
    margin-bottom: 10px;
}

.fhr-post-content a {
    color: #DB2519;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.fhr-post-content a:hover {
    color: #A51A0F;
}

.fhr-post-content blockquote {
    border-left: 4px solid #DB2519;
    padding: 15px 25px;
    margin: 30px 0;
    background-color: #FAF8F5;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #444444;
}

/* Single Post CTA & Nav */
.fhr-single-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #EEEEEE;
}

.fhr-single-cta-box {
    background: linear-gradient(135deg, #FAF8F5 0%, #F5EFEB 100%);
    border: 1px solid #EAE3DC;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    margin: 50px 0 40px 0;
}

.fhr-single-cta-box h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    color: #111111;
    margin: 0 0 12px 0;
}

.fhr-single-cta-box p {
    font-size: 16px;
    color: #555555;
    max-width: 600px;
    margin: 0 auto 25px auto;
}

.fhr-single-cta-box a.btn-cta {
    display: inline-block;
    background-color: #DB2519;
    color: #ffffff;
    padding: 13px 34px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(219,37,25,0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.fhr-single-cta-box a.btn-cta:hover {
    background-color: #b51a0f;
    transform: translateY(-2px);
}

.fhr-back-to-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #555555;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.fhr-back-to-blog-link:hover {
    color: #DB2519;
}


/* ==========================================================================
   --- Blog Archive / Listing Styles ---
   ========================================================================== */
.fhr-blog-archive-page {
    background-color: #FCFBF9;
    min-height: 80vh;
}

/* Hero Section */
.fhr-blog-hero {
    background: linear-gradient(180deg, #FAF8F5 0%, #F5ECE5 100%);
    padding: 150px 20px 60px 20px;
    text-align: center;
    border-bottom: 1px solid #ECE5DE;
}

.fhr-blog-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.fhr-blog-badge {
    display: inline-block;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #DB2519;
    background: rgba(219, 37, 25, 0.08);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.fhr-blog-hero h1 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 46px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 16px 0 !important;
}

@media (max-width: 768px) {
    .fhr-blog-hero h1 {
        font-size: 32px !important;
    }
}

.fhr-blog-hero p {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

/* Blog Grid */
.fhr-blog-grid-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 20px 90px 20px;
}

.fhr-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
}

@media (max-width: 768px) {
    .fhr-blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.fhr-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ECE7E1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fhr-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.09);
    border-color: #DFD7CE;
}

.fhr-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #EFEFEF;
}

.fhr-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fhr-blog-card:hover .fhr-card-media img {
    transform: scale(1.05);
}

.fhr-card-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(17, 17, 17, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}

.fhr-card-body {
    padding: 26px 26px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fhr-card-meta {
    font-size: 13px;
    color: #888888;
    margin-bottom: 12px;
    font-family: "Source Sans Pro", sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fhr-card-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
}

.fhr-card-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fhr-card-title a:hover {
    color: #DB2519;
}

.fhr-card-excerpt {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.fhr-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #F3EFEA;
}

.fhr-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #DB2519;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.fhr-read-more-btn:hover {
    color: #a51a0f;
    gap: 10px;
}

/* Pagination */
.fhr-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.fhr-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #E5DFD7;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fhr-pagination .page-numbers:hover,
.fhr-pagination .page-numbers.current {
    background: #DB2519;
    border-color: #DB2519;
    color: #ffffff;
}

/* ==========================================================================
   Fahrenheit Hotels & Resorts - Universal Hero & Booking Bar Styles
   ========================================================================== */

.wpr-slider-content {
    border-radius: 20px !important;
}

.wpr-slider-item-bg {
    border-radius: 20px !important;
}

/* Universal Booking Widget Selector (matches any page ID, demo or live) */
div.wpcf7:has(.GuestSearchRow),
div[id*="wpcf7-f5345"],
div.wpcf7:has(.check-in-out) {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 20px 25px 25px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin: 0 auto;
    max-width: 100%;
}

div.wpcf7:has(.GuestSearchRow) form,
div[id*="wpcf7-f5345"] form,
div.wpcf7:has(.check-in-out) form {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 20px !important;
    flex-wrap: wrap;
}

div.wpcf7:has(.GuestSearchRow) input,
div.wpcf7:has(.GuestSearchRow) textarea,
div.wpcf7:has(.GuestSearchRow) select,
div[id*="wpcf7-f5345"] input,
div[id*="wpcf7-f5345"] textarea,
div[id*="wpcf7-f5345"] select {
    border: 1px solid #e5e4e4 !important;
    background: #ffffff !important;
    padding: 8px 15px !important;
    margin: 5px 0 0 !important;
    border-radius: 8px !important;
    font-family: "Source Sans Pro", sans-serif !important;
    font-size: 15px !important;
    color: #333333 !important;
}

div.wpcf7:has(.GuestSearchRow) label,
div[id*="wpcf7-f5345"] label {
    margin-top: 5px !important;
    margin-bottom: 2px !important;
    text-align: center !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: block !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.check-in-out {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
}

.check-in-out .date-field {
    display: flex;
    flex-direction: column;
}

.GuestSearchRow {
    display: flex !important;
    gap: 25px !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.GuestSearchRow .inc-div {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 5px;
    background: #ffffff;
    border-radius: 8px;
    padding: 3px 6px;
    border: 1px solid #e5e4e4;
}

.GuestSearchRow .inc-div button.incr-btn {
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    background: #f0f0f0 !important;
    color: #333333 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: background 0.2s;
}

.GuestSearchRow .inc-div button.incr-btn:hover {
    background: #e0e0e0 !important;
}

.GuestSearchRow .inc-div input.quantity {
    max-width: 40px !important;
    text-align: center !important;
    border: none !important;
    padding: 2px 4px !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

a.booking-submit-btn,
#fhr-book-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #DB2519 !important;
    font-family: "Source Sans Pro", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 30px !important;
    margin: 5px 0 0 !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(219, 37, 25, 0.3) !important;
}

a.booking-submit-btn:hover,
#fhr-book-btn:hover {
    background-color: #b71c1c !important;
    transform: translateY(-1px) !important;
}

@media only screen and (max-width: 768px) {
    div.wpcf7:has(.GuestSearchRow),
    div[id*="wpcf7-f5345"],
    div.wpcf7:has(.check-in-out) {
        background: rgba(255, 255, 255, 0.92) !important;
        padding: 15px !important;
        width: calc(100% - 20px) !important;
        margin: 0 auto !important;
    }

    div.wpcf7:has(.GuestSearchRow) form,
    div[id*="wpcf7-f5345"] form {
        flex-direction: column !important;
        gap: 12px !important;
    }

    div.wpcf7:has(.GuestSearchRow) label,
    div[id*="wpcf7-f5345"] label {
        color: #333333 !important;
        text-shadow: none !important;
    }

    .check-in-out,
    .GuestSearchRow {
        width: 100% !important;
        justify-content: space-between !important;
    }

    a.booking-submit-btn,
    #fhr-book-btn {
        width: 100% !important;
    }
}
