/*
Theme Name: Reve Porter
Theme URI: 
Author: Reve Porter Custom Sheet Metal
Author URI: 
Description: Custom FSE theme for Reve Porter - HVAC Sheet Metal Fabrication and Custom Ductwork Manufacturing
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reve-porter
Tags: full-site-editing, block-patterns, block-styles

This theme, like WordPress, is licensed under the GPL.
*/

.hero-banner-extended {background-image: url(/wp-content/uploads/2025/12/rpcsm-hero.jpg) !important;}

.modern-footer .footer-main {max-width: 1400px !important;}

.hero-banner-extended::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.90) 100%
    );
}

@media (max-width: 768px) {
  th .slighty-vary {
    display: block;
    margin-top: 4px;
    font-weight: normal;
  }
}

.spec-table {
  width: 100%;
  table-layout: fixed;
}

.spec-table th,
.spec-table td {
  width: 25%;
}

.hero-banner-extended::before {
    background: linear-gradient(to bottom, rgba(0, 146, 206, 0.45) 0%, rgba(0, 146, 206, 0.90) 100%) !Important;
}



.catalogue-block::after,
.page-id-14 .wp-block-group.alignfull.has-neutral-50-background-color.has-background.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-173cf564.wp-block-group-is-layout-constrained::after{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/wp-content/uploads/2025/12/reve-porter-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.50;
    pointer-events: none;
    z-index: 0;
}

.catalogue-block > *,
.page-id-14 .wp-block-group.alignfull.has-neutral-50-background-color.has-background.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-173cf564.wp-block-group-is-layout-constrained > * {
    position: relative;
    z-index: 1;
}


p:empty, .d-none { display:none; }
.font-0 a { font-size:0 !important; }
:where(.wp-site-blocks) > * { margin-top:0; }
header > .wp-block-group.alignfull { overflow:visible !important; }
.end-block.font-0 > a { padding: 0 !important; min-height:50px !important; cursor: initial !important; }
.end-block.font-0 > a:before { display:none !important }
.end-block.font-0 > a.wp-block-button__link:hover { background-color: var(--wp--preset--color--primary) !important; }
/*.has-black-background-color { background-color: var(--wp--preset--color--primary) !important; }*/
.social-icons { margin-top:15px !important; } 
.social-icons a > svg { width:20px; height:20px; display:block; }
.social-icons a > svg path { transition:all 0.3s ease; }
.social-icons a:hover > svg path { fill:#0092CE; }

.img-content-block .img-content-block-inner { display: flex; gap: 40px;  }
.img-content-block .img-content-block-inner > div { width:calc(50% - 20px); }
.img-content-block .img-content-block-inner .img-block img { display: block; border-radius: 6px; width: 100%; height: 100%; object-fit: cover; }
.img-content-block .img-content-block-inner .img-block figure { margin:0; height:100%; }
.img-content-block .img-content-block-inner .content-block ul { list-style: none; margin: 0; padding-left: 0; }
.img-content-block .img-content-block-inner .content-block ul li { position:relative; padding-left:1.5rem; }
.img-content-block .img-content-block-inner .content-block ul li:before { content: ''; display: inline-block !important; transform: rotate(45deg); min-height: 12px !important; min-width: 6px !important; border-bottom: 2px solid var(--wp--preset--color--primary); border-right: 2px solid var(--wp--preset--color--primary); position: absolute; left: 0; top:0.4rem; }
.img-content-block .img-content-block-inner .content-block ul li a:hover { color:var(--wp--preset--color--tertiary) !important; }
.img-content-block .img-content-block-inner .content-block .wp-block-heading { margin-top:0px; }

.wp-block-buttons.header-phone.is-layout-flex.wp-block-buttons-is-layout-flex a, .mobile-cta-buttons a.mobile-btn-call {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 0.5rem;
  vertical-align: middle;
}
.wp-block-buttons.header-phone a:after, .mobile-cta-buttons a.mobile-btn-call:after {
    position: initial;
    content: '\f095';
    font-size: 14px;
    font-family: "Font Awesome 6 Free";
    vertical-align: middle;
}

header .wp-block-buttons a { display:inline-flex; }

/* CSS for Home Page Only */
body.home .wp-block-button__link {
  border: none !important; /* Remove border on home page only */
}
/* Completely remove hover effect on the button only on the home page */
body.home .wp-block-button__link {
  /*transition: none !important;   /* Remove any transitions */*/
}

body.home .wp-block-button__link:hover {
  /*background-color: inherit !important;*/  /* Prevent background color change */
  color: inherit !important;             /* Prevent text color change */
  border: none !important;               /* Prevent border change */
  box-shadow: none !important;           /* Prevent shadow effect */
  transform: none !important;            /* Prevent transform on hover */
}
body .wp-block-button .wp-block-button__link.has-white-background-color{
    border: 1px solid #fff !important;
}
body .wp-block-button .wp-block-button__link.has-white-background-color:before{
    display: none !important;
}
body .wp-block-button .wp-block-button__link.has-tertiary-background-color:hover{
    transform: none !important;
    box-shadow: none;
}
body .wp-block-button .wp-block-button__link.has-white-background-color:hover {
    background: transparent !important;
    color:rgb(255,255,255) !important;
    box-shadow: none;
    transform: none !important;
}

.wp-block-button__link.has-primary-bg::before {
    background: rgb(95 154 225 / 15%) !important;
}

/* Apply 10px border-radius to all buttons within wp-block-buttons container */
.wp-block-buttons.is-content-justification-center.is-layout-flex.wp-container-core-buttons-is-layout-9587046d.wp-block-buttons-is-layout-flex .wp-block-button__link {
   .btn-rounded {
    border-radius: 10em !important;  /* Set border-radius to 10px */
}
/* Make the footer links text color white */

.footer-links a {
    color: #ffffff !important;  /* Ensure the color stays white */
}
.footer-description {
    color: #ffffff !important;  /* Set text color to white */
}

.footer-bottom
{
    background: #000 !important;
}







/* Additional custom styles can be added here */

/* Fix unwanted spacing after header - target only header and first hero section */
:where(.wp-site-blocks) > header:first-child {
    margin-block-start: 0 !important;
}

:where(.wp-site-blocks) > header:first-child + * {
    margin-block-start: 0 !important;
}

/* Remove spacing from template parts (header) */
.wp-block-template-part:first-child {
    margin-block-start: 0 !important;
}

.wp-block-template-part:first-child + .wp-block-cover,
.wp-block-template-part:first-child + .wp-block-group {
    margin-block-start: 0 !important;
}

.page-id-54 .wp-block-post-title {
    display: none !important;
}

.page-id-56 .wp-block-post-title {
    display: none !important;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination .current {
    background-color: #0073aa;
    color: #fff;
}


/* Styling for the search form */
.search-form {
    margin: 20px 0;
}

.search-form input {
    padding: 10px;
    font-size: 16px;
    width: 80%;
    margin-right: 10px;
}

.search-form button {
    padding: 10px 15px;
    font-size: 16px;
}

/* Styling for the category filter */
.category-filter {
    margin: 20px 0;
}

.category-filter select, .category-filter button {
    padding: 10px;
    font-size: 16px;
    margin-right: 10px;
}

/* Styling for recent posts */
.recent-posts {
    margin-top: 20px;
}

.recent-posts h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.recent-posts ul {
    list-style: none;
    padding-left: 0;
}

.recent-posts ul li {
    margin: 5px 0;
}

.recent-posts ul li a {
    text-decoration: none;
    color: #0073aa;
}

.recent-posts ul li a:hover {
    text-decoration: underline;
}
/* General Layout Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
}

h1 {
    font-size: 48px;
    color: #444;
    text-align: center;
    margin-top: 50px;
}

p {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    background-color: #ff7a00;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin: 20px auto;
}

.btn:hover {
    background-color: #e66a00;
}

/* List Styling */
ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

ul li {
    margin: 15px 0;
}

ul li a {
    font-size: 20px;
    text-decoration: none;
    color: #0073aa;
}

ul li a:hover {
    color: #005f87;
    text-decoration: underline;
}

/* Search Box Styling */
.wp-block-search {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.wp-block-search input[type="search"] {
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 60%;
}

.wp-block-search button {
    padding: 10px 20px;
    background-color: #ff7a00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.wp-block-search button:hover {
    background-color: #e66a00;
}

/* Image Styling */
.wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 50px auto 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .wp-block-group {
        padding: 20px;
    }

    .wp-block-search input[type="search"] {
        width: 80%;
    }

    .wp-block-search button {
        width: 30%;
    }
}




/* Default (Desktop) Styles */
.twg-breadcrumbs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    padding: 15px 30px;
    border-radius: 5px;
}

.twg-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.twg-breadcrumbs a {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
    margin-right: 10px;
}

.twg-breadcrumbs a:hover {
    text-decoration: underline;
}

.twg-breadcrumbs .separator {
    padding-right: 10px;
    color: #aaa;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .twg-breadcrumbs-container {
        padding: 10px 20px;
        font-size: 14px; /* Slightly smaller font for mobile */
    }

    .twg-breadcrumbs {
        flex-direction: column; /* Stack breadcrumbs vertically on mobile */
        align-items: flex-start; /* Align items to the left */
    }

    .twg-breadcrumbs a {
        margin-right: 0; /* Remove the right margin between breadcrumb items */
        margin-bottom: 5px; /* Add space between breadcrumb items */
    }

    .twg-breadcrumbs .separator {
        display: none; /* Hide the separator on mobile to make it cleaner */
    }
}

/* Optional: Small Screen (Mobile) Styling */
@media (max-width: 480px) {
    .twg-breadcrumbs-container {
        padding: 10px 15px;
        font-size: 12px; /* Even smaller font on very small devices */
    }

    .twg-breadcrumbs {
        padding-left: 0; /* Remove left padding to make it cleaner */
    }

    .twg-breadcrumbs a {
        font-size: 14px; /* Adjust font size for small screens */
    }
}