.topbar i,
.topbar .fa,
.topbar .fas,
.topbar .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}/* Reilu PhoneFix - Font Awesome header icon fix */
.location i,
.email i,
.phone i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}



/* ==================================================
   Reilu PhoneFix - Single Blog Post Responsive Design
   ================================================== */

/* Post title banner */
.single-post .title-box .above_title {
    min-height: 180px !important;
    height: auto !important;
    padding: 40px 30px !important;
    näyttö: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-position: center !important;
    background-size: cover !important;
}

/* Post main title */
.single-post .title-box h1 {
    font-size: 42px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    text-align: center !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .single-post .title-box .above_title {
        min-height: 150px !important;
        padding: 30px 20px !important;
    }

    .single-post .title-box h1 {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .single-post .title-box .above_title {
        min-height: 120px !important;
        padding: 25px 15px !important;
    }

    .single-post .title-box h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .single-post .title-box h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
}

/* Reilu PhoneFix - Global Page/Post Title Banner */
.title-box .above_title {
    background-image: none !important;
    background-color: #275319 !important;
}

.title-box .above_title h1 {
    color: #ffffff !important;
}

/* =================================================
   Reilu PhoneFix - Latest Blog / News Cards
   ================================================= */

/* Each blog card */
#latest_news .latest-content {
    position: relative !important;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: auto !important;
}

/* Make ALL blog thumbnails same size */
#latest_news .latest-content img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
    näyttö: block !important;
    border-radius: 20px 20px 0 0 !important;
}

/* Content/data area must sit BELOW image */
#latest_news .latest-content .data {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 18px 20px 22px !important;
    background: #ffffff !important;
}

/* Post title */
#latest_news .latest-content .title {
    position: static !important;
    transform: none !important;
    margin: 8px 0 10px !important;
    line-height: 1.3 !important;
    height: auto !important;
}

/* Description/excerpt */
#latest_news .latest-content p.text {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    height: auto !important;
}

/* Prevent carousel cards from clipping text */
#latest_news .owl-stage,
#latest_news .owl-stage-outer,
#latest_news .owl-item {
    height: auto !important;
}

/* Mobile */
@media (max-width: 767px) {

    #latest_news .latest-content img {
        height: 220px !important;
    }

    #latest_news .latest-content .data {
        padding: 15px !important;
    }

    #latest_news .latest-content .title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    #latest_news .latest-content p.text {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

/* Reilu PhoneFix - Clean Latest Blog Metadata */

/* Hide author */
#latest_news .post-author,
#latest_news .author {
    näyttö: none !important;
}

/* Hide comments */
#latest_news .comments,
#latest_news .comment {
    näyttö: none !important;
}

/* Make remaining date readable */
#latest_news ul {
    margin: 14px 0 8px !important;
}

#latest_news ul li {
    color: #666666 !important;
    font-size: 14px !important;
}

.footer-book-button a {
    background: #99C835;
    color: #0B2A47;
    border: 2px solid #99C835;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.footer-book-button a:hover {
    background: #FFFFFF;
    color: #275319;
    border-color: #99C835;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* Reilu PhoneFix - compact legal footer buttons */
.footer-legal-buttons .wp-block-button {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 6px 6px 0 !important;
}

.footer-legal-buttons .wp-block-button__link,
.footer-legal-buttons .wp-element-button,
footer .footer-legal-buttons a {
    näyttö: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: fit-content !important;

    height: auto !important;
    min-height: 0 !important;

    padding: 5px 10px !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;

    background: transparent !important;
    color: #D9E2EC !important;

    border: 1px solid #60758A !important;
    border-radius: 6px !important;

    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

/* Hover */
.footer-legal-buttons .wp-block-button__link:hover,
.footer-legal-buttons .wp-element-button:hover,
footer .footer-legal-buttons a:hover {
    background: #99C835 !important;
    color: #0B2A47 !important;
    border-color: #99C835 !important;
}

.logo img {
    näyttö: none !important;
}

/* Header social icons */
.header-social-icons a,
.header-social-icons a i,
.social-icons a,
.social-icons a i,
#header_navigation .social-icons a,
#header_navigation .social-icons a i {
    color: #FFFFFF !important;
}

/* Hover */
.header-social-icons a:hover,
.header-social-icons a:hover i,
.social-icons a:hover,
.social-icons a:hover i,
#header_navigation .social-icons a:hover,
#header_navigation .social-icons a:hover i {
    color: #99C835 !important;
}

/* Sticky / fixed header background */
.sticky,
.sticky-header,
.fixed-header,
.header-fixed,
#header_navigation.sticky,
#header_navigation.fixed {
    background: #123B5D !important;
}

/* Sticky menu text */
.sticky a,
.sticky-header a,
.fixed-header a,
.header-fixed a,
#header_navigation.sticky a,
#header_navigation.fixed a {
    color: #FFFFFF !important;
}

/* Sticky menu hover */
.sticky a:hover,
.sticky-header a:hover,
.fixed-header a:hover,
.header-fixed a:hover,
#header_navigation.sticky a:hover,
#header_navigation.fixed a:hover {
    color: #99C835 !important;
}

/* Main navigation contrast */
#header_navigation,
#header_navigation .container,
#header_navigation .row {
    background: #123B5D !important;
}

/* Menu links */
#header_navigation a,
#header_navigation .menu-item a,
#header_navigation nav a {
    color: #FFFFFF !important;
}

/* Menu hover / active */
#header_navigation a:hover,
#header_navigation .menu-item.current-menu-item &gt; a,
#header_navigation .menu-item.current_page_item &gt; a {
    color: #99C835 !important;
}

/* Social icons */
#header_navigation .social-icons a,
#header_navigation .social-icons i,
#header_navigation .fa,
#header_navigation .fab,
#header_navigation .fas {
    color: #FFFFFF !important;
}

/* Search / cart / hamburger */
#header_navigation .search,
#header_navigation .cart,
#header_navigation .menu-toggle,
#header_navigation .menu-toggle i,
#header_navigation button,
#header_navigation button i {
    color: #FFFFFF !important;
}

/* Hover icons */
#header_navigation .social-icons a:hover,
#header_navigation .social-icons a:hover i,
#header_navigation .search:hover,
#header_navigation .cart:hover {
    color: #99C835 !important;
}

/* Make header social icons clickable */
.socialbox {
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.socialbox a {
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    näyttö: inline-block !important;
}

.socialbox a i {
    pointer-events: none !important;
}