/*
Theme Name: Super Thin Ribbons
Theme URI: https://superthinribbons.com
Author: Super Thin Ribbons
Author URI: https://superthinribbons.com
Description: Custom theme for Super Thin Ribbons
Version: 1.0.0
Text Domain: ribbons

==== Site Name: index  ====
PAGE BLOCKS:-
    01 - GENERAL STYLES
    02 - GLOBAL STYLES
    03 - GLOBLE-BLOCKS
    04 - HEADER
    05 - FOOTER
    06 - BANNER
*/
/* ===== 01-GENERAL STYLES  ====== */
body { width:100%; height:100%; margin:0; padding:0; color:#1f3036; font-size: 16px; font-weight: 300; font-family: 'Montserrat', sans-serif;background-color: #fff;}
ul { padding:0; margin:0px;}
li { list-style:none; }
ol li {list-style: decimal;}
a {color: #337ab7; ; text-decoration:none; transition: all 0.3s ease 0s; -ms-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -webkit-transition: all 0.3s ease 0s;  }
a:hover, 
a:focus { text-decoration:inherit; outline:none; transition: all 0.3s ease 0s; -ms-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -webkit-transition: all 0.3s ease 0s; }
a img { border:none; transition: all 0.3s ease 0s; }
img {max-width:100%;}
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; color: #0a266a; font-weight: 700; }
h1 { font-size: 42px; line-height: 50px; color: #ffffff; letter-spacing: 1px; }
h2 { font-size: 36px; line-height: 45px; font-family: 'Raleway', sans-serif; color: #000000; letter-spacing: 1px; }
h3 { font-size: 34px; line-height: 38px; }
h4 { font-size: 28px; line-height: 35px; }
h5 { font-size: 20px; line-height: 26px; }
p { margin: 0 0 15px; font-size: 18px; line-height: 26px; color: #000000; }
p.lead {font-size: 20px; line-height: 30px; }
body.overflow-y { overflow-y:hidden; }
section { padding: 60px 0; }
.container-fluid { max-width: 1600px; }
.container-small{ max-width: 900px; margin: 0 auto}
/*======= 02-GLOBAL-STYLES ==========*/
.btn { font-size: 18px; font-weight: 700; color: #ffffff; border: 2px solid #c70021; background-color: #c70021; display: inline-block; border-radius: 0; padding: 12px 39px; line-height: initial; letter-spacing: 0.5px; }
.btn:hover { background-color: transparent; color: #c70021; }
.button-blcok { cursor: pointer; display: flex; max-width: 540px; width: 100%; background-color: #c70021; }
.button-blcok .btn-left { background-color: #0b0b20; padding: 18px 18px 20px 25px; width: 59%; }
.button-blcok .btn-left h5 { font-size: 42px; font-weight: 300; color: #ffffff; margin: 0; text-transform: uppercase; line-height: 40px; }
.button-blcok .btn-left h5 strong { display: block; font-size: 86px; letter-spacing: 3px; line-height: 72px; }
.button-blcok .btn-right { align-self: center; width: 41%; padding-right: 10px; position: relative; }
.button-blcok .btn-right:after { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 0; border-top: 75px solid transparent; border-left: 58px solid #0b0b20; border-bottom: 75px solid transparent; margin-top: -52px; }
.button-blcok .btn-right h6 { font-size: 16px; font-weight: 400; color: #ffffff; margin: 0; text-align: right; }
.button-blcok .btn-right h6 strong { display: block; font-size: 25px; }
.view-btn { position: relative; align-items: center; font-size: 18px; color: #000000; background-color: #c70021; display: inline-block; letter-spacing: 0.5px; }
.view-btn:hover { color: #000000; }
.view-btn:before { content: "\f061"; position: absolute; font-family: fontawesome; font-size: 18px; color: #ffffff; right: 18px; top: 50%; transform: translateY(-50%); transition: all 0.3s ease 0s; -ms-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -webkit-transition: all 0.3s ease 0s; }
.view-btn strong { display: inline-block; border-top: 2px solid #0f0f20; border-left: 2px solid #0f0f20; border-bottom: 2px solid #0f0f20; padding: 14px 5px 14px 18px; background-color: #fff; margin-right: 74px; position: relative; line-height: initial; }
.view-btn strong:after { content: ""; position: absolute; right: -21px; width: 0; height: 0; border-top: 27px solid transparent; border-left: 22px solid #fff; border-bottom: 27px solid transparent; top: -1.5px; }
.view-btn:hover::before { right: 10px; transition: all 0.3s ease 0s; -ms-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -webkit-transition: all 0.3s ease 0s; }
.view-btn:hover { color: #fff; }
.view-btn:hover strong { background-color: #c70021; border-color: #c70021; }
.view-btn:hover strong:after { border-left-color: #c70021; }
.socail-icons li { display: inline-block; padding: 0 16px; }
.socail-icons li:last-child { padding-right: 0; }
.socail-icons li a { display: inline-block; font-size: 22px; color: #ffffff; }
.tick-marks input { padding: 0; height: initial; width: initial; margin-bottom: 0; display: none; cursor: pointer; }
.tick-marks label { position: relative; cursor: pointer; margin: 0; }
.tick-marks label:before { content: ''; padding: 12px; display: inline-block; position: relative; vertical-align: middle; cursor: pointer; background-color: transparent; border-radius: 0; top: -2px; border: 1px solid #333333; }
.tick-marks label:after { content: '\f00c'; position: absolute; font-family: fontawesome; visibility: hidden; font-size: 16px; color: #0b2669; left: 5px; top: 0; }
.tick-marks input:checked + label:after { visibility: visible; }
.select-option { margin: 15px 0; position: relative; max-width: 330px; width: 100%; }
.select-option:after { content: "\f078"; position: absolute; font-family: fontawesome; font-size: 16px; color: #0a266a; top: 12px; right: 13px; }
.select-option .form-control { font-size: 16px; font-weight: 300; color: #041936; box-shadow: none; border: 2px solid #e1e1e9; height: 45px; border-radius: 0; appearance: none; }
/*======= 03-GLOBAL-BLOCKS ==========*/
.newsletter { display: inline-block; max-width: 361px; width: 100%; margin-bottom: 41px; padding-top: 5px; }
.newsletter .form-control {float: left; width:80%; font-size: 14px; font-weight: 300; color: #353535; box-shadow: none; border: 0; height: 46px; border-radius: 0; }
.newsletter button {float: right; width:20%; height:47px; font-size: 18px; color: #ffffff; background-color: #c70021; border: 0; width: 55px; }
.newsletter .mc4wp-form-fields{ position: relative; }
.newsletter .mc4wp-form-fields label{color:#fff; margin-top:15px; font-size: 12px;max-width: 300px;
    position: absolute; display: inline-block !important;  font-weight: 300; padding-left: 16px; top:40px; }
footer figure { margin-top: 15px; }    
.newsletter .form-control { height: 47px !important;}
footer figure { margin-top: 45px; }
footer a {color: #fff;}
.newsletter .mc4wp-form-fields label input { position: absolute; left: 0; }
.newsletter .form-control::-webkit-input-placeholder { color: #353535; }
.newsletter .form-control::-moz-placeholder { color: #353535; }
.newsletter .form-control:-ms-input-placeholder { color: #353535; }
.newsletter .form-control:-moz-placeholder { color: #353535; }
.ribbon-block { display: flex; flex-wrap: wrap; justify-content: center; }
.ribbon-item { position: relative; padding: 54px 20px 24px; text-align: center; width: 18.4%; box-shadow: 1px 0 25px rgb(0, 0, 0, 0.12); border-radius: 5px; margin: 22px 0.8%; }
.ribbon-item figure { margin-bottom: 38px; }
.ribbon-item h5 a { color: #0b2669; font-weight: 400; display: inline-block; letter-spacing: 1px; }
.ribbon-item .tick-marks { position: absolute; top: 16px; right: 11px; }
.select { display: flex; /*overflow: hidden;*/ border-bottom: 0; width: 98%; }
.select li { cursor: pointer; width: 33.4%; margin: 0; padding: 8px 22px 14px 57px; position: relative; background-color: transparent; border: 0; }
.select li:before { content: ""; position: absolute; background-image: url(images/button-shape.png); background-repeat: no-repeat; background-position: center; background-size: 100% 100%; top: 0; left: 0; width: 106.4%; height: 100%; z-index: -1; }
.select li.active:before { background-image: url(images/button-shape-active.png); width: 106.6%; }
.select li h4 { margin: 0; float: left; font-size: 26px; font-weight: 400; color: #041936; line-height: 28px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
.select li strong { display: block; font-size: 16px; color: #041936; font-weight: 400; letter-spacing: 0.5px; text-transform: initial; }
.select li a { float: right; font-size: 16px; color: #081935 !important; text-transform: capitalize; text-decoration: underline; padding: 18px 0 0 0; background-color: transparent !important; border: 0 !important; }
.details { display: flex; align-items: center; border-bottom: 1px solid #b4b4b4; padding-bottom: 50px; margin-bottom: 44px; }
.details:last-child { padding: 0; margin: 0; border: 0; }
.details figure { max-width: 260px; width: 100%; background-color: #fff; box-shadow: 2px 0 28px rgba(0, 0, 0, 0.13); height: 245px; position: relative; }
.details figure img { position: absolute; top: 50%; transform: translateY(-50%); left: 0; right: 0; margin: 0 auto; max-width: 100%; max-height: 100%; }

/* Responsive Builder Page Layout Adaptations to prevent blank layout spacing and CLS on Mobile */
.ribbon-builder-layout #ribbon .details figure {
    height: auto !important;
    aspect-ratio: 3 / 1;
}
.ribbon-builder-layout #ribbon .details figure img {
    position: relative;
    top: 0;
    transform: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.ribbon-builder-layout #medal .details figure,
.medal-builder-layout #medal .details figure {
    height: auto !important;
    aspect-ratio: 1 / 1;
}
.ribbon-builder-layout #medal .details figure img,
.medal-builder-layout #medal .details figure img {
    position: relative;
    top: 0;
    transform: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.details .content { padding-left: 31px; width: 100%; }
.details h5 { font-size: 22px; font-weight: 400; color: #0a266a; letter-spacing: 0.5px; margin-bottom: 25px; }
.details .tick-marks label { font-size: 16px; font-weight: 300; color: #041936; line-height: 30px; }
.details ul { margin-bottom: 20px; }
.details ul li { display: inline-block; vertical-align: top; margin-right: 37px; }
.details .tick-marks label::before { margin-right: 10px; }
/*======= 04-HEADER ==========*/
.mobile-toggle{ display: none; }
header{ position: absolute; top: 0; left: 0; width: 100%; z-index: 1; text-align: center; background: -moz-linear-gradient(top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%); background: -webkit-linear-gradient(top, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0) 100%); background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0) 100%); border-bottom: 2px solid #c70021; padding: 14px 0 15px; }
header .logo { float: left; }
header #nav { display: inline-block; padding-top: 17px; padding-left: 30px;}
header .navbar-nav { padding: 0 ; }
header .navbar-nav li { padding: 0 45px 0 0; }
header .navbar-nav li:after { display: none; }
header .navbar-nav li:last-child { padding-right: 0; }
header .navbar-nav li a { font-size: 16px; font-weight: 500; position: relative; padding: 0; text-transform: uppercase; color: #fff; letter-spacing: 0.5px; padding: 0; line-height: 25px; position: relative; }

header .navbar-nav li a:after { content: ""; position: absolute; bottom: -10px; left: 0; background-color: #f20300; height: 3px; width: 0; transition: all 0.3s ease 0s; -ms-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -webkit-transition: all 0.3s ease 0s; }
header .navbar-nav li.current-menu-item a:after,
header .navbar-nav li a:hover::after { width: 39%; transition: all 0.3s ease 0s; -ms-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -webkit-transition: all 0.3s ease 0s; }


header .right-block { float: right; padding-top: 9px; position:relative; }
header .right-block a { display: inline-block; padding-left: 25px; }
/*======= 05-FOOTER ==========*/
footer { background-repeat: no-repeat; background-position: center; background-size: cover; padding-top: 69px; }
footer .row { display: flex; flex-wrap: wrap; }
footer .container-fluid { max-width: 1550px; }
footer h4 { font-size: 18px; font-weight: 600; color: #ffffff; text-transform: uppercase; letter-spacing: 0.5px; line-height: 26px;margin-bottom: 16px; }
footer h5, footer .footer-phone { font-size: 24px; color: #ffffff; line-height: 31px; letter-spacing: 0.5px; margin-bottom: 13px; font-weight: 500; }
footer p { font-size: 16px; color: #ffffff; line-height: 31px; }
footer p strong { display: block; font-weight: 300; }
footer ul li { font-size: 16px; font-weight: 300; color: #ffffff; line-height: 24px; margin-bottom: 11px; }
footer a:hover { color: #c70021 !important; }
footer .categories ul li { float: left; width: 50%; }
footer .copy-rights { text-align: center; border-top: 1px solid #656371; margin-top: 72px; padding: 54px 0 33px; }
footer .copy-rights ul { margin-bottom: 12px; }
footer .copy-rights p { font-size: 17px; }
/*======= 06-BANNER ==========*/
.banner { position: relative; z-index: 0; padding: 0;text-align: left; }
.banner .item { min-height: 800px; background-repeat: no-repeat; background-size: cover; background-position: left center; position: relative; }
.banner .banner-content { position: absolute; max-width: 670px; width: 100%; top: 54%; transform: translateY(-46%); -webkit-transform: translateY(-46%); -ms-transform: translateY(-46%); -moz-transform: translateY(-46%); }
.banner .banner-content p{ color:#FFF; }
.banner h2 { margin-bottom: 37px; }
.banner h2 strong { font-weight: 300; }
.banner h2 em { display: block; font-style: inherit; }
/*======= 07-RIBBON ==========*/
.ribbon { display: flex; align-items: center; padding: 0; }
.ribbon aside { width: 50%; }
.ribbon .img-block { min-height: 620px; background-repeat: no-repeat; background-position: center; background-size: cover; }
.ribbon .content { max-width: 785px; width: 100%; padding: 0 15px 0 65px; }
.ribbon h2 { font-size: 48px; color: #000000; line-height: 55px; letter-spacing: 1px; margin-bottom: 15px; }
.ribbon p { letter-spacing: 0.5px; font-weight: 400; margin-bottom: 28px; }
.ribbon.in { flex-direction: row-reverse; }
.ribbon.in .content { float: right; padding: 0 65px 0 15px; }
/*======= 08-ABOUT-SUPER ==========*/
.about-super { text-align: center; padding: 92px 0 80px; background-repeat: no-repeat; background-position: center; background-size: cover; background-attachment: fixed; } 
.about-super h2 { color: #fff; }
.about-super p { color: #fff; margin-bottom: 26px; }
.about-super h5 { color: #fff; }
/*======= 09-QUALITY ==========*/
.quality { padding: 93px 0; }
.quality .container-fluid { display: flex; }
.quality aside { width: 48.2%; margin: 0 0.8%; background-repeat: no-repeat; background-position: center; background-size: cover; display: flex; align-items: center; padding: 38px 38px 36px; }
.quality figure { width: 48%; padding-right: 40px; }
.quality .content { width: 52%; }
.quality h2 { letter-spacing: 0; font-weight: 800; margin-bottom: 12px; }
.quality p { color: #191919; margin-bottom: 32px; }
/*======= 10-INNER-BANNER ==========*/
.inner-banner { background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; min-height: 250px; }
.inner-banner .banner-content { position: absolute; max-width: 1600px; width: 100%; padding: 0 15px; margin: 0 auto; left: 0; right: 0; top: 66%; transform: translateY(-34%); -webkit-transform: translateY(-34%); -ms-transform: translateY(-34%); -moz-transform: translateY(-34%); }
.inner-banner h1,
.inner-banner h2 {
    font-size: 42px;
    line-height: 50px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}
.inner-banner p{ color:#FFF; }
/*======= 11-SHOP ==========*/
.shop-page { padding: 76px 0 54px; }
.shop-page .top-search p { font-weight: 400; display: inline-block; color: #000000; padding-top: 10px; }
.shop-page .device { display: inline-block; }
.shop-page .device .btn { display: inline-block; }
.shop-page .newsletter { margin-bottom: 0; padding: 0 0 0 10px; min-width: 410px; }
.shop-page .newsletter .form-control { border-top: 2px solid #e3e3e3; border-left: 2px solid #e3e3e3; border-bottom: 2px solid #e3e3e3; font-size: 14px; height: 50px; }
.shop-page .newsletter .form-control::-webkit-input-placeholder { color: #bbbbbb; }
.shop-page .newsletter .form-control::-moz-placeholder { color: #bbbbbb; }
.shop-page .newsletter .form-control:-ms-input-placeholder { color: #bbbbbb; }
.shop-page .newsletter .form-control:-moz-placeholder { color: #bbbbbb; }
.shop-page .newsletter button { min-width: 56px; }
.shop-page .ribbon-block { padding: 20px 0 20px; }
/*======= 12-SHOP-DETAIL ==========*/
.shop-detail-page { padding: 70px 0 64px; }
.shop-detail-page .details-block { padding-top: 44px; } 
.shop-detail-page .btn { float: right; padding: 12px 27px; margin:0 0 0 15px; }
.shop-detail-page .cart-block { padding-top: 40px; }
.shop-detail-page .order-sumary { display: flex; }
.shop-detail-page .order-sumary .cart-block { width: 70%; }
.shop-detail-page .order-sumary .order-block { width: 30%; margin-top: 30px; padding-left: 20px; }
.shop-detail-page .ribbon-products { border-bottom: 2px solid #dee2ea; padding-bottom: 11px; margin-bottom: 15px; }
.shop-detail-page .ribbon-products.in { border: 0; margin: 0 0 6px; }

.shop-detail-page .products-rack .ribbon-products:last-child{ border: 0; margin: 0 0 6px;  }

.shop-detail-page .total { background-color: #eaedf1; padding: 14px 60px 12px; }
.shop-detail-page .total p { font-size: 18px; font-weight: 500; color: #0b2669; margin: 0; float: right; }
.shop-detail-page .total p strong { font-weight: 500; padding-left: 20px; }
.shop-detail-page .add { border: 0; margin-top: 15px; background-color: #dee2ea; padding: 22px 0 3px; }
.shop-detail-page .add span { display: block; }
.shop-detail-page .add ul { margin-bottom: 20px; }
.shop-detail-page .add ul li.second { width: 55%; }
.shop-detail-page .add ul li.three { width: 14%; }
.shop-detail-page .add .quantity-item { border-color: #c8d0df; }
.shop-detail-page .add ul li.four { width: 11%; }
.shop-detail-page .update-cart { margin-top: 31px; text-align: right; }
.shop-detail-page .update-cart .delete { font-size: 18px; font-weight: 400; color: #333333; line-height: 25px; float: left; padding: 4px 0 0 8px; }
.shop-detail-page .update-cart .delete img { display: inline-block; vertical-align: middle; margin-right: 14px; }
.shop-detail-page .update-cart .btn { float: none; }
.shop-detail-page .update-cart .update-btn { margin-left: 17px; }
.checkbox-box { background-color: #dee2ea; padding: 16px 19px 23px; }
.checkbox-box .btn { float: none; display: block; margin-top: 10px; }
.checkbox-box h5 { font-size: 22px; font-weight: 500; color: #031a39; line-height: 25px; margin-bottom: 14px; }
.checkbox-box ul li { font-size: 16px; font-weight: 400; color: #031a39; line-height: 25px; border-top: 1px solid #d9d9dc; padding: 12px 0 11px; }
.checkbox-box ul li span.amount { float: right; }
.checkbox-box ul li strong { font-size: 20px; color: #031a39; font-weight: 500; }
.cart-block h4 { font-size: 26px; font-weight: 400; color: #041936; line-height: 30px; text-transform: uppercase; letter-spacing: 1px; margin: 30px 0 10px 0; }
.cart-block ul { display: flex; flex-wrap: wrap; align-items: center; }
.cart-block .heading-top { border-bottom: 2px solid #dee2ea; }
.cart-block .heading-top li { color: #031a39; font-weight: 500; }
.cart-block ul li { font-size: 18px; font-weight: 400; color: #0b2669; line-height: 25px; padding: 5px 0; }
.cart-block ul li strong { font-weight: 500; }
.cart-block ul li.first { width: 6%; } 
.cart-block ul li.second { width: 24%; }
.cart-block ul li.three { width: 30%; }
.cart-block ul li.four { width: 16%; }
.cart-block ul li.five { width: 10%; }
.cart-block ul li.str-price{ width: 14%; }
.cart-block .products { margin-bottom: 10px !important; margin-top: 0 !important; }
.cart-block .quantity-item { font-size: 26px; display: flex; font-weight: 600; align-items: center; max-width: 100px; width: 100%; text-align: center; border: 2px solid #dee2ea; justify-content: center; padding: 5px 0; }
.cart-block .quantity-item strong { padding: 0 19px; font-size: 20px; }
.cart-block .quantity-item p { font-size: 26px; font-weight: 400; margin: 0; cursor: pointer; color: #0b2669; }
.cart-block .quantity-item p:first-child { position: relative; top: -9px; }
/*======= FAQ ==========*/
.faq { padding: 88px 0 98px; }
.faq h2 { text-align: center; margin-bottom: 23px; }
.faq p { color: #000000; max-width: 1000px; width: 100%; margin: 0 auto 18px; font-weight: 300; }
.faq p a { color: #c70021; font-style: italic; }
.faq .faq-block { border-bottom: 1px solid #c8c8c8; margin: 44px 0 0; }
.faq-block .panel { border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; box-shadow: none; }
.faq-block h4 { font-size: 22px; color: #000000; font-family: 'Raleway', sans-serif; display: flex; justify-content: space-between; position: relative; padding: 0 10px 0 67px; } 
.faq-block h4 strong { padding-right: 10px; }
.faq-block h4:before { content: "\f059"; position: absolute; top: 0; left: 9px; font-family: fontawesome; font-size: 36px; color: #c70021; }
.faq-block h4 em:after { content: ""; height: 3px; width: 100%; background-color: #000000; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.faq-block h4.collapsed em:before { content: ""; position: absolute; width: 3px; height: 100%; left: 0; right: 0; margin: 0 auto; background-color: #000; }
.faq-block h4 em { display: inline-block; min-width: 31px; height: 31px; position: relative; }
.faq-block .panel-heading { background-color: transparent; padding: 25px 0 20px; }
.faq-block p { max-width: 100%; text-align: left; letter-spacing: 0.5px; }
.faq-block .panel-collapse { padding: 0 65px 17px; }
/*======= CONTACT-US ==========*/
.contact-us .contact-block { box-shadow: 2px 0 28px rgba(0, 0, 0, 0.15); padding: 40px 30px; display: flex; border-bottom: 4px solid #c70021; }
.contact-us h5 { font-size: 22px; font-weight: 600; }
.contact-us h5 strong { display: block; font-weight: 400; font-size: 16px; }
.contact-us .get-in-touch { width: 40%; }
.contact-us .from-block { width: 60%; }
form .form-group .form-control { font-size: 16px; color: #0a266a; font-weight: 300; border: 0; background-color: #eef0f3; height: 48px; border-radius: 0; box-shadow: none; }
form .form-group textarea.form-control { height: 118px; resize: none; }
.woocommerce .products ul, .woocommerce ul.products{ margin: 40px 0 1em; display: flex; flex-wrap: wrap; }
.woocommerce ul.products li.product,
.woocommerce ul.products li.product { padding: 54px 20px 24px; text-align: center; box-shadow: 1px 0 25px rgb(0, 0, 0, 0.12); border-radius: 5px; display: flex !important; flex-direction: column; justify-content: flex-start; align-items: center; content-visibility: auto; contain-intrinsic-size: auto 300px; }
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product img { margin-bottom: 20px; width: 100%; height: auto; }
/* Prevent Cumulative Layout Shift (CLS) on ribbons and medals */
#ribbon-builder-form ul.products li.product img,
.term-ribbons ul.products li.product img {
    aspect-ratio: 3 / 1;
    object-fit: contain;
}
#medal-builder-form ul.products li.product img,
.term-medals ul.products li.product img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h2 { color: #0b2669; font-weight: 400; display: inline-block; letter-spacing: 1px; font-size: 18px !important; line-height: 25px; min-height:50px; }
.woocommerce ul.products .tick-marks { position: absolute; top: 16px; right: 11px; }
.woocommerce ul.products .tick-marks.disabled{ pointer-events: none; }
.tick-marks.disabled label:before{ background-color: #e9e9e9; border:1px solid #eee;  }

.select li.nav-item.active{ pointer-events: none; }
.cart_totals { width: 100% !important; }

.products.cart_item figure img {
    max-width: 130px;
    padding: 10px;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
        font-size: 18px !important;
    font-weight: 700;
    color: #ffffff !important;
    border: 2px solid #c70021 !important;
    background-color: #c70021 !important;
    border-radius: 0;
    padding: 12px 39px;
    line-height: initial;
    letter-spacing: 0.5px;
}

/* check out */
/*.woocommerce-checkout .container-fluid{max-width: 1200px;}*/
.custom-checkout #customer_details h3 { font-size:24px; color: #333; }
.custom-checkout #customer_details #ship-to-different-address { padding-left: 30px; }
.custom-checkout #customer_details #ship-to-different-address .input-checkbox { top: 9px; width: 15px; height: 15px; }
.custom-checkout #customer_details #ship-to-different-address span { padding-left: 3px; }
.custom-checkout #customer_details .form-row input.input-text, 
.custom-checkout #customer_details .select2-container .select2-selection--single, 
.custom-checkout #additional_expiry{ height:40px; border:1px solid #ccc; border-radius: 4px; padding: 2px 10px 0 10px; }
.custom-checkout #customer_details .form-row textarea{ border:1px solid #ccc; border-radius: 4px; padding: 15px 10px 0 10px; min-height: 150px; }
.custom-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.custom-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{ line-height:36px; }
.custom-checkout .woocommerce form .form-row-first, 
.custom-checkout .woocommerce form .form-row-last, 
.custom-checkout .woocommerce-page form .form-row-first, 
.custom-checkout .woocommerce-page form .form-row-last {  width: 100%;}
.custom-checkout #customer_details .form-row { position: relative; margin-bottom:20px; }
.custom-checkout #customer_details .form-row label { position: absolute; top: -4px; background: #fff; padding: 0 10px; margin: 0 10px; font-size: 12px; font-weight: 500; z-index: 1; line-height: 14px;}
.custom-checkout #order_review { font-size:14px; }
.custom-checkout #customer_details  td.product-thumbnail { max-width: 100px; }
.custom-checkout .col2-set .col-2 { background-color: #ebf2fa; padding: 10px;}
.custom-checkout #order_review table.shop_table, 
.custom-checkout #order_review table.shop_table td{ border: none; }
.custom-checkout #order_review table.shop_table tfoot th, 
.custom-checkout .woocommerce table.shop_table tfoot td{border-top: 1px solid #ccc !important; }
.custom-checkout h3#order_review_heading{ padding-left: 5px; font-size: 24px; color: #222; }
.custom-checkout p{ font-size: 14px; }
.custom-checkout .woocommerce button.button.alt { background-color: #005b94 !important; }
.custom-checkout .cart-subtotal td{ border-top: 1px solid #ccc !important; border-bottom: 1px solid #ccc !important; }
.custom-checkout .order-total td{  border-top: 1px solid #ccc !important; }
.woocommerce form .form-row .input-checkbox{ position: absolute; top: 2px; left: -8px; }
.custom-checkout #customer_details .woocommerce-account-fields{ position: relative; }

/*my account*/
.woocommerce-account .input-text { height: 40px; border: 1px solid #bbb; border-radius: 4px; }
.woocommerce-account .form-row label { font-weight: 500; }
.woocommerce-account .woocommerce-form__label-for-checkbox{line-height: 52px !important; font-size: 15px;}
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button { font-size: 18px !important; font-weight: 700; color: #ffffff !important; border: 2px solid #c70021 !important; background-color: #c70021 !important; border-radius: 0; padding: 12px 39px; line-height: initial; letter-spacing: 0.5px;}
.woocommerce-account .woocommerce-privacy-policy-text p{ font-size: 15px; font-weight: 400; line-height: 24px;}
.woocommerce-account .lost_password { float: right; font-size: 14px; margin-top: -54px; font-size: 15px; font-weight: 500; }
.woocommerce table.my_account_orders td, .woocommerce table.my_account_orders th {  height: 40px; }
.woocommerce .woocommerce-MyAccount-orders a.button { font-size: 14px !important;  padding: 5px 25px;}
.woocommerce-account .woocommerce form.login, .woocommerce-account .woocommerce form.register {margin-top: 15px;} 
.woocommerce-account .woocommerce h2{font-size: 30px; margin-bottom: 0; }
.woocommerce-MyAccount-content legend{ font-weight: 600; } 
.woocommerce-account .woocommerce-MyAccount-navigation {width: 24%;}
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid #ddd; list-style: none; margin-bottom: 0;}
.woocommerce-MyAccount-navigation ul li a{padding: 13px 15px; display: block; color: #626262; font-weight: 500; font-size: 16px;}
.woocommerce-account .woocommerce-MyAccount-content{float: right; width: 74%;}
.woocommerce-account .woocommerce-MyAccount-content p{margin-bottom: 5px; font-size: 16px; color: #262626; line-height: 28px; font-weight: 300;}
.woocommerce-account .woocommerce-MyAccount-content p a{color: #262626;}
.woocommerce-account address{color:#626262;}
.woocommerce-account h2.woocommerce-order-details__title, .woocommerce-account .woocommerce-customer-details h2 { font-size: 26px; }
.woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details, 
.woocommerce-account .woocommerce-columns {  padding-top:10px; padding-bottom: 0; }
.woocommerce-account address{ line-height:30px; }
.woocommerce-account .woocommerce-MyAccount-content fieldset { margin-top: 30px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea{ height: 40px; padding: 0 10px; }
/*.woocommerce-checkout .woocommerce-additional-fields{ display: none; }*/
.woocommerce-checkout .container .woocommerce, .woocommerce-account .container .woocommerce{ padding: 60px 0 50px; }
.woocommerce-checkout .woocommerce-checkout #payment { background: #f9f9f9;}
.u-columns.woocommerce-Addresses.col2-set.addresses{ margin-top:20px; }
.woocommerce-Addresses header { position:relative; background: none; border: none;  }
.woocommerce ul.products li.first, .woocommerce-page ul.products li.first{ clear: initial;  }
.woocommerce-account .addresses .title h3{margin-bottom: 0; color: #111; font-size:26px;}
.woocommerce-account .addresses .title .edit{ line-height: 38px; }
.select2-container--default .select2-selection--single{height:40px;}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height: 40px;}
.woocommerce-cart .container { width:100% !important; max-width:1600px !important; }

.woocommerce-message{ margin-bottom: 0;  }

.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
    display: none;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {  margin: 0 2.5% 2.992em 0; }
 .woocommerce ul.products li.last, .woocommerce-page ul.products li.last { margin-right: 2.5%; }
.newsletter .mc4wp-form-fields{display: flex}
.woocommerce-cart .cart-collaterals .cart_totals .woocommerce-shipping-destination { font-size: 16px; padding:10px 0; }
.shop-detail-page .add .quantity-item input{ background: transparent; text-align: center; }
.custom-checkout #customer_details #wc-authnet-cc-form .form-row label{ position:relative; background: transparent; padding: 0; margin: 0 0 10px 0;}
.custom-checkout #customer_details #wc-authnet-cc-form .form-row input{ font-size: 1em !important; }
.page-id-89 .select2-container .select2-selection--single .select2-selection__rendered{  font-size: 14px; padding-left: 10px;}
.page-id-89.woocommerce-cart .cart-collaterals .shipping-calculator-form { font-size: 14px; padding-top: 0; padding-bottom: 0; }
.page-id-89 .woocommerce form .form-row input.input-text{ font-size: 14px; border:1px solid #aaa; border-radius: 4px; }
.page-id-89.woocommerce-cart .cart-collaterals .shipping-calculator-form .button{ padding:5px 15px; font-size:14px !important; }

.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 0;  }

#add_payment_method .cart-collaterals .cart_totals table th, 
.woocommerce-cart .cart-collaterals .cart_totals table th, 
.woocommerce-checkout .cart-collaterals .cart_totals table th { width: 30%; font-weight: 500; padding-left: 0;}
.woocommerce-cart .cart-collaterals .cart_totals table td{ border: none; text-align: right; font-weight: 500;}
.shop_table.shop_table_responsive{ border: none !important; }
.woocommerce-cart .cart_totals strong, .woocommerce ul#shipping_method li label {  }
.woocommerce-cart .cart-collaterals ul li{ padding: 9px 0; margin-bottom: 0 !important; }
.woocommerce-cart .cart-collaterals .cart_totals table td,
.woocommerce-cart .cart-collaterals .cart_totals table th{ border-top: 1px solid #d9d9dc !important; }

.woocommerce-account .woocommerce-MyAccount-navigation { background-color: #f9f9f9; padding: 75px 0; }
.woocommerce-account .woocommerce-MyAccount-content { margin: 75px 0; }
.woocommerce-MyAccount-navigation ul li.is-active, .woocommerce-MyAccount-navigation ul li:hover { position: relative; border-right: 5px solid #c70021; } 
.woocommerce-MyAccount-navigation ul li.is-active:after, .woocommerce-MyAccount-navigation ul li:hover:after { content: ""; position: absolute; top: 45%;  right: -9px; width: 7px; transform: rotate(45deg); height: 7px; background: #c70021;}
.woocommerce-MyAccount-navigation ul li.is-active a{ color: #c70021; }
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads{ display: none; }
.woocommerce .woocommerce-MyAccount-orders a.button {  margin: 1px 5px 1px 0px; width: 100px; border-radius: 3px; text-align: center; }
.cart-num { position: relative; }
.cart-num span {position: absolute; right: 13px; color: #c70021; font-weight: 600; font-size: 19px; top: -6px; }
.woocommerce-checkout .container-fluid > .woocommerce { padding:75px 0; }
.woocommerce-cart ul.products li.first a{ position: relative; font-size: 0; width: 28px; height: 28px;}
.woocommerce-cart ul.products li.first a:after { content:"\f014"; color: #c70021;  font-family: fontawesome; font-size: 18px;  position: absolute; top:5px; right: 6px;  }
.woocommerce-cart ul.products li.first a:hover:after {color: #fff; }
.woocommerce #customer_login{ padding-top: 60px; }

.single-product.woocommerce .product{ overflow: hidden;  }
.single-product.woocommerce .product .woocommerce-product-gallery{ min-height: 450px;  background: #f5f5f5;  }
.single-product.woocommerce .product .woocommerce-product-gallery a{ pointer-events: none; }
.single-product.woocommerce .product .woocommerce-product-gallery img{ width: auto; position: absolute; top: 50%;transform: translateY(-50%);
    left: 0; right: 0;  margin: 0 auto;}
.single-product.woocommerce .product h1.product_title{ font-size: 28px; line-height: 34px; color:#0a266a; font-weight: 400; }
.single-product.woocommerce .product div.quantity{ display: none !important; }
.single-product.woocommerce .product .price-information{ display: flex; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding:15px 0px; margin: 20px 0; }
.single-product.woocommerce .product .price-information p.price, 
.single-product.woocommerce .product .single_variation_wrap span.price{ font-size: 28px;
    font-weight: 700;  display: inline-block;  float: left; margin: 10px 30px 0 0; padding: 0 !important; color: #004391; }
.single-product.woocommerce .product .price-information .button{ padding:10px 20px; }
.single-product.woocommerce .product-info > h2,
.single-product.woocommerce .related.products > h2{ font-size: 22px; color: #0a266a; border-bottom: 1px solid #0a266a; }
.single-product.woocommerce .product-info p{ font-size: 17px; margin-bottom: 0; }
.single-product.woocommerce .product-info li{ margin: 15px 0; display: flex; }
.single-product.woocommerce .product-info li strong{ width: 150px; }
.single-product.woocommerce .product-info li em{ font-weight: 500; font-style:normal; margin-right: 40px; }

.single-product.woocommerce .product.product-type-variable .price-information{ display: block; }

.product.product-type-variable table.variations{ margin-top:4em; }
.product.product-type-variable table.variations select{ font-size: 16px;  font-weight: 300; color: #041936; box-shadow: none; border: 2px solid #e1e1e9;
    height: 45px;  border-radius: 0; padding: 0 8px; }
.product.product-type-variable table.variations label{ min-width: 60px; font-size: 20px; color: #1f3036; margin-top: 10px; }

.woocommerce .wpsi_social_share_buttons{ margin-left: 0px !important;  }
.woocommerce .wpsi_social_share_buttons a{ padding:0px !important; }

.woocommerce ul#shipping_method{ text-align: left; margin: 10px 0; }
.woocommerce ul#shipping_method li{ border:none; font-size: 13px; margin: 0 !important; padding: 5px 0 !important; }

.woocommerce-tabs ul.tabs{border-bottom: 1px solid #0a266a; margin-bottom: 30px;}
.woocommerce-tabs ul.tabs li{ display: inline-block; margin-right: 20px; }
.woocommerce-tabs ul.tabs li a{ font-size: 22px; color: #0a266a; font-weight: 500; padding: 15px 20px 10px 0; display: block;}
.woocommerce-tabs ul.tabs li:hover, .woocommerce-tabs ul.tabs li.active{border-bottom: 3px solid #0a266a; }

#tab-add_desc_tab ul li p{ font-size: 17px; margin-bottom: 0; }
#tab-add_desc_tab ul li{ margin: 15px 0; display: flex; }
#tab-add_desc_tab ul li strong{ width: 150px; }
#tab-add_desc_tab ul li em{ font-weight: 500; font-style:normal; margin-right: 40px; }

.search-input{ position: absolute; right: 120px; width: 400px; }
.aws-search-result .aws_result_image img{ width: 70px; }
.aws-search-result .aws_result_title{ font-size: 16px; color: #000; }
.aws-search-result .aws_result_price{ font-size: 15px; font-weight: 700; }

.wpcf7-form .wpcf7-submit{ font-size: 18px; color: #FFF; background-color: #c70021; letter-spacing: 0.5px; text-transform: uppercase; border: none; padding: 10px 30px; font-weight: 600;}
section.contact-us .map{ margin:40px 0 -80px 0; }
section.contact-us .map iframe{ width:100%; }

.order_details tr.product-magnets td{ border: none !important; }
.disabled-link { pointer-events: none; opacity: 0.5; }

table.devices-info{    margin-bottom: 1em;
    border: 0;
    width: 100%;}
table.devices-info label{font-size: 20px;    font-weight: 700;
    text-align: left;
    color: #1f3036;
    margin-top: 10px;}
table.devices-info select{font-size: 16px;
    font-weight: 300;
    color: #041936;
    box-shadow: none;
    border: 2px solid #e1e1e9;
    height: 45px;
    border-radius: 0;
    padding: 0 8px;max-width: 100%;
    min-width: 75%;
    display: inline-block;
    margin-right: 1em; margin-bottom: 1em;}
table.devices-info tr{ margin-bottom:15px; }

.order-sumary .total .ribbon-sets{ margin-right:30px; }
.order-sumary .total .ribbon-sets input{ width: 3.631em; text-align: center; }

.welcome-section{ background:#0b0b20; text-align:center; color:#FFF; padding:40px 0; }
.welcome-section h2, .welcome-section p{ color:#FFF; margin:0; }


.top-search{ display: block; text-align:right; }

ul.medals-category{ display:flex; flex-wrap:wrap; }
ul.medals-category li{}
ul.medals-category li a{ border: 2px solid #ccc; padding: 8px 17px;  margin-right: 15px; text-transform: uppercase;
    font-weight: 600; display:inline-block; }
ul.medals-category li a:hover, ul.medals-category li a.active{border-color: #F00}
.banner-build-rack{ max-width:540px; position:relative; }
.banner-build-rack .select-service{ position:relative; margin-bottom:15px; }
.banner-build-rack .select-service select{ width: 100%; height: 42px; padding: 10px; appearance: none; -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none;}
.banner-build-rack .select-service::after{ content:'\f078'; position:absolute; font-family:fontawesome; font-size:16px; color:#000; right:10px; top: 50%; transform: translateY(-50%); }
.banner-build-rack .select-service select:focus-visible,
.banner-build-rack .select-service select:focus{ outline:inherit; border:none;  }
.banner .banner-content p.alert{ margin: 0; padding: 0; color: #F00; position: absolute; bottom: -30px; left: 0; font-weight:500; }

.medal-modal .modal-title{ font-size:20px; }
.medal-modal .btn-submit{ padding: 7px 25px; border-radius: 3px; margin-top:10px; width:auto; }
.medal-modal.in { display: flex !important; }
.medal-modal .modal-dialog { margin: auto; }
.medal-modal .alert{ color: #F00; font-size: 12px; font-weight: 700; padding: 0; margin: 0;}
.wpcr3_review {max-width: 1200px; padding: 20px; margin-top: 30px}

/*======= 13-BLOG-DETAIL-REDESIGN ==========*/
.blog-detail-banner {
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 40px;
  text-align: left;
  z-index: 0;
}
.banner-content-detail {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0;
  color: #ffffff;
}
.banner-content-detail .post-category {
  margin-bottom: 15px;
}
.banner-content-detail .post-category a {
  display: inline-block;
  background-color: #c70021;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.banner-content-detail .post-category a:hover {
  background-color: #ffffff;
  color: #0a266a !important;
  transform: translateY(-2px);
}
.banner-content-detail h1.post-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  line-height: 56px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 25px;
  text-transform: none;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.post-meta-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
}
.post-meta-detail .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-meta-detail .meta-item i {
  color: #c70021;
}

/* Banner Meta details (needs to be white) */
.banner-content-detail .post-meta-detail {
  color: #ffffff;
}
.banner-content-detail .post-meta-detail a,
.banner-content-detail .post-meta-detail .meta-item {
  color: #ffffff !important;
}

.blog-page {
  background-color: #f7fafc;
  padding: 40px 0;
}
.blog-page .post-entry.block {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #edf2f7;
  margin-bottom: 30px;
}
.blog-page .featured-image {
  margin: -30px -30px 25px -30px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}
.blog-page .featured-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-page .featured-image:hover img {
  transform: scale(1.02);
}

/* Editorial content styling */
.post-content.entry-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #2d3748;
}
.post-content.entry-content p {
  font-size: 17px;
  line-height: 1.85;
  color: #2d3748;
  margin-bottom: 18px;
}
.post-content.entry-content h2,
.post-content.entry-content h3,
.post-content.entry-content h4 {
  font-family: 'Montserrat', sans-serif;
  color: #0a266a;
  font-weight: 700;
  margin: 25px 0 15px;
}
.post-content.entry-content h2 { font-size: 28px; line-height: 36px; }
.post-content.entry-content h3 { font-size: 24px; line-height: 32px; }
.post-content.entry-content h4 { font-size: 20px; line-height: 28px; }

/* Image alignments inside content */
.post-content.entry-content img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 25px;
}
.post-content.entry-content .aligncenter,
.post-content.entry-content img.aligncenter,
.post-content.entry-content figure.aligncenter,
.post-content.entry-content .wp-block-image.aligncenter {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  float: none !important;
}
.post-content.entry-content .aligncenter img,
.post-content.entry-content figure.aligncenter img,
.post-content.entry-content .wp-block-image.aligncenter img,
.post-content.entry-content p.aligncenter img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.post-content.entry-content .alignleft,
.post-content.entry-content img.alignleft,
.post-content.entry-content figure.alignleft,
.post-content.entry-content .wp-block-image.alignleft {
  float: left !important;
  margin-right: 25px !important;
  margin-top: 5px !important;
  display: block;
}
.post-content.entry-content .alignright,
.post-content.entry-content img.alignright,
.post-content.entry-content figure.alignright,
.post-content.entry-content .wp-block-image.alignright {
  float: right !important;
  margin-left: 25px !important;
  margin-top: 5px !important;
  display: block;
}

/* Image Caption Redesign & Layout Width fix */
.post-content.entry-content .wp-block-image:not(.alignleft):not(.alignright),
.post-content.entry-content .wp-caption:not(.alignleft):not(.alignright),
.post-content.entry-content figure:not(.alignleft):not(.alignright) {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  clear: both;
}
.post-content.entry-content .wp-block-image img,
.post-content.entry-content .wp-caption img,
.post-content.entry-content figure img {
  max-width: 100%;
  height: auto;
}
.post-content.entry-content figcaption,
.post-content.entry-content .wp-element-caption,
.post-content.entry-content .wp-caption-text {
  display: block !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #4a5568 !important;
  background-color: #f8fafc !important;
  border-left: 4px solid #c70021 !important;
  padding: 8px 10px !important;
  margin: 15px auto 25px auto !important;
  text-align: left !important;
  border-radius: 0 8px 8px 0 !important;
  max-width: 100% !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02) !important;
  box-sizing: border-box !important;
}

/* Blockquotes */
.post-content.entry-content blockquote {
  position: relative;
  font-style: italic;
  font-size: 19px;
  line-height: 1.8;
  color: #4a5568;
  border-left: 4px solid #c70021;
  background-color: #f8fafc;
  padding: 10px 15px;
  margin: 35px 0;
  border-radius: 0 8px 8px 0;
}
.post-content.entry-content blockquote::before {
  content: "\f10d";
  font-family: fontawesome;
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 40px;
  color: rgba(199, 0, 33, 0.08);
  pointer-events: none;
}

/* Lists in content */
.post-content.entry-content ul,
.post-content.entry-content ol {
  margin: 0 0 25px 25px;
}
.post-content.entry-content ul li {
  list-style: disc;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.8;
}
.post-content.entry-content ol li {
  list-style: decimal;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.8;
}

/* Tag buttons */
.post-tags {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.post-tags .tags-label {
  font-weight: 600;
  color: #4a5568;
  font-size: 15px;
}
.post-tags a {
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  color: #4a5568 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.post-tags a:hover {
  background-color: #c70021;
  border-color: #c70021;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Sidebar Widgets Redesign */
.sidebar-widgets .widget {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sidebar-widgets .widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.sidebar-widgets .widget h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0a266a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #c70021;
  position: relative;
}
.sidebar-widgets .widget h4::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #0a266a;
}
.sidebar-widgets .widget ul li {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 24px;
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 0;
}
.sidebar-widgets .widget ul li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.sidebar-widgets .widget ul li a {
  color: #2d3748 !important;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.sidebar-widgets .widget ul li a:hover {
  color: #c70021 !important;
  padding-left: 5px;
}

/* Sidebar Search Widget styling (Traditional and Gutenberg Block) */
.widget_search .search-form,
.sidebar-widgets .widget_search .search-form,
.widget_search .wp-block-search {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Style label/headings to match standard widget titles */
.widget_search .search-form label,
.sidebar-widgets .widget_search .search-form label,
.widget_search .wp-block-search__label {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0a266a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #c70021 !important;
  display: block !important;
  width: 100% !important;
}

/* Screen reader wrapper reset */
.widget_search .screen-reader-text,
.sidebar-widgets .widget_search .screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/* Container wrappers alignment */
.widget_search .wp-block-search__inside-wrapper {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Text Input Fields */
.widget_search .search-form input.search-field,
.sidebar-widgets .widget_search .search-form input.search-field,
.widget_search input.wp-block-search__input {
  flex-grow: 1 !important;
  width: 100% !important;
  height: 46px !important;
  padding: 10px 15px !important;
  font-size: 16px !important;
  color: #0a266a !important;
  background-color: #f7fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-right: none !important; /* Join with the button */
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.widget_search .search-form input.search-field:focus,
.sidebar-widgets .widget_search .search-form input.search-field:focus,
.widget_search input.wp-block-search__input:focus {
  border-color: #0a266a !important;
  box-shadow: 0 0 0 2px rgba(10, 38, 106, 0.15) !important;
}

/* Submit Buttons */
.widget_search .search-form input.search-submit,
.sidebar-widgets .widget_search .search-form input.search-submit,
.widget_search button.wp-block-search__button {
  height: 46px !important;
  padding: 0 24px !important;
  background-color: #0a266a !important;
  color: #ffffff !important;
  border: 1px solid #0a266a !important;
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.widget_search .search-form input.search-submit:hover,
.sidebar-widgets .widget_search .search-form input.search-submit:hover,
.widget_search button.wp-block-search__button:hover {
  background-color: #c70021 !important;
  border-color: #c70021 !important;
}

/* Comments Area Wrapper */
.comments-area-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #edf2f7;
  margin-top: 30px;
}
.comments-area-wrapper h2.comments-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #0a266a;
  margin-bottom: 20px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 15px;
}
.comments-area-wrapper .comment-list {
  padding-left: 0;
  margin-bottom: 40px;
}
.comments-area-wrapper .comment-list li.comment {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f1f5f9;
  list-style: none;
}
.comments-area-wrapper .comment-list li.comment:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.comments-area-wrapper .comment-body {
  display: flex;
  gap: 20px;
}
.comments-area-wrapper .comment-avatar img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.comments-area-wrapper .comment-meta {
  margin-bottom: 8px;
}
.comments-area-wrapper .comment-author {
  font-weight: 700;
  color: #0a266a;
  font-size: 16px;
}
.comments-area-wrapper .comment-metadata {
  font-size: 13px;
  color: #718096;
}
.comments-area-wrapper .comment-content {
  font-size: 15px;
  line-height: 1.6;
  color: #4a5568;
}
.comments-area-wrapper .reply a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #c70021 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
}
.comments-area-wrapper .reply a:hover {
  color: #0a266a !important;
}

/* Comment Form styling */
.comments-area-wrapper .comment-respond {
  margin-top: 30px;
}
.comments-area-wrapper .comment-respond h3.comment-reply-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0a266a;
  margin-bottom: 20px;
}
.comments-area-wrapper .comment-form .form-group {
  margin-bottom: 20px;
}
.comments-area-wrapper .comment-form label {
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  display: block;
}
.comments-area-wrapper .comment-form input.form-control,
.comments-area-wrapper .comment-form textarea.form-control,
.comments-area-wrapper .comment-form input[type="text"],
.comments-area-wrapper .comment-form input[type="email"],
.comments-area-wrapper .comment-form input[type="url"],
.comments-area-wrapper .comment-form textarea {
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
}
.comments-area-wrapper .comment-form input.form-control:focus,
.comments-area-wrapper .comment-form textarea.form-control:focus,
.comments-area-wrapper .comment-form input[type="text"]:focus,
.comments-area-wrapper .comment-form input[type="email"]:focus,
.comments-area-wrapper .comment-form input[type="url"]:focus,
.comments-area-wrapper .comment-form textarea:focus {
  border-color: #c70021;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(199, 0, 33, 0.08);
  outline: none;
}
.comments-area-wrapper .comment-form input.submit {
  background-color: #c70021;
  border: 2px solid #c70021;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 35px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.comments-area-wrapper .comment-form input.submit:hover {
  background-color: transparent;
  color: #c70021;
}

/* Responsive adjustment for blog pages */
@media (max-width: 991px) {
  .banner-content-detail h1.post-title {
    font-size: 38px;
    line-height: 46px;
  }
  .home-faq-section .faq-section-title{
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 10px;
  }
  .blog-page .post-entry.block,
  .comments-area-wrapper {
    padding: 10px;
  }
  .blog-page .featured-image {
    margin: -30px -30px 25px -30px;
  }
}
@media (max-width: 767px) {
  .blog-detail-banner {
    min-height: 300px;
    padding: 100px 0 40px;
  }
  .banner-content-detail .post-category {
    margin-bottom: 15px;
    gap: 5px;
    display: flex;
    flex-wrap: wrap;
}
    .blog-page .featured-image {
        margin: -10px -10px 25px -10px;
    }
  .banner-content-detail h1.post-title {
    font-size: 26px;
    line-height: 32px;
  }
  .blog-page {
    padding: 40px 0;
  }
  .post-content.entry-content {
    font-size: 16px;
  }
  .post-content.entry-content p {
    font-size: 16px;
  }
  .reviews-section-title {
    font-size: 28px !important;
    line-height: 24px !important;
  }
}

/* Hide empty/blank widgets in sidebar */
.sidebar-widgets .widget:not(:has(h1, h2, h3, h4, h5, h6, ul, ol, p, a, form, input, textarea, select, button, img, iframe)) {
  display: none !important;
}

/* Sticky Sidebar layout */
@media (min-width: 992px) {
  .blog-page .row {
    display: flex !important;
    align-items: flex-start !important;
  }
  .blog-page .col-sm-8,
  .blog-page .col-sm-9 {
    float: none !important;
  }
  .blog-page .col-sm-4,
  .blog-page .col-sm-3 {
    float: none !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 40px !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    scrollbar-width: none !important; /* Firefox */
  }
  .blog-page .col-sm-4::-webkit-scrollbar,
  .blog-page .col-sm-3::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
  }
}

/* Custom Post Search Form in Header */
.search-input .search-form {
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border-radius: 4px !important;
  border: 2px solid #e1e1e9 !important;
  overflow: hidden !important;
  width: 100% !important;
}
.search-input .search-form label {
  flex: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.search-input .search-form input.search-field {
  width: 100% !important;
  height: 44px !important;
  border: none !important;
  outline: none !important;
  padding: 0 15px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  background: transparent !important;
  color: #1f3036 !important;
}
.search-input .search-form button.search-submit {
  width: 46px !important;
  height: 44px !important;
  background: #c70021 !important;
  border: none !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  padding: 0 !important;
  font-size: 16px !important;
}
.search-input .search-form button.search-submit:hover {
  background: #0a266a !important;
}

/*======= 14-FOOTER-REVIEWS-3COL-GRID ==========*/
.reviews-section-container {
  padding: 60px 15px !important;
}
.reviews-section-title {
  font-size: 48px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
}
.wpcr3_reviews_holder:not(.owl-carousel) {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}
@media (max-width: 991px) {
  .wpcr3_reviews_holder:not(.owl-carousel) {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}
@media (max-width: 767px) {
  .wpcr3_reviews_holder:not(.owl-carousel) {
    grid-template-columns: 1fr !important;
  }
}
.wpcr3_dotline {
  display: none !important; /* Hide dotlines completely */
}
/* Ensure intermediate wrappers stretch fully to allow equal height reviews */
.wpcr3_review_item {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.wpcr3_item.wpcr3_business,
.wpcr3_item.wpcr3_product {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
body div.wpcr3_review {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 35px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #ced4db !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
}
/* Absolute position stars on top right */
body div.wpcr3_review div.wpcr3_review_ratingValue {
  position: absolute !important;
  top: 35px !important;
  right: 35px !important;
  display: block !important;
  margin: 0 !important;
  float: none !important;
}
body div.wpcr3_review div.wpcr3_review_ratingValue img {
  height: 15px !important;
  width: auto !important;
  margin-right: 2px !important;
}
body div.wpcr3_review div.wpcr3_review_ratingValue div.wpcr3_rating_style1_base {
  float: none !important;
  margin-right: 0 !important;
}
/* Show date below heading */
body div.wpcr3_review div.wpcr3_review_datePublished {
  display: block !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #718096 !important;
  margin-bottom: 20px !important;
  order: 2.5 !important;
  font-style: normal !important;
}
/* Author Name on top left */
body div.wpcr3_review div.wpcr3_review_author {
  font-size: 0 !important;
  display: block !important;
  margin: 0 0 4px 0 !important;
  float: none !important;
  order: 1 !important;
  padding-right: 80px !important; /* Leave room for stars on top-right */
  font-style: normal !important;
}
body div.wpcr3_review div.wpcr3_review_author span.wpcr3_caps,
body div.wpcr3_review div.wpcr3_review_author span.wpcr3_caps a {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0a266a !important;
  text-transform: none !important;
  display: inline-block !important;
}
body div.wpcr3_review div.wpcr3_review_author span.wpcr3_item_name a {
  color: #c70021 !important;
  font-weight: 600 !important;
}
/* Job Title/Subtitle below author name */
body div.wpcr3_review div.wpcr3_review_title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #718096 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 0 0 6px 0 !important;
  display: block !important;
  clear: none !important;
  order: 2 !important;
  font-style: normal !important;
}
/* Testimonial Quote body style */
body div.wpcr3_review blockquote.wpcr3_content {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  clear: both !important;
  order: 3 !important;
}
/* Brand red Quote Icon - Hidden */
body div.wpcr3_review blockquote.wpcr3_content::before {
  display: none !important;
}
body div.wpcr3_review blockquote.wpcr3_content p {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #4a5568 !important;
  display: block !important;
}
/* Admin response sub-card */
body div.wpcr3_review blockquote.wpcr3_content.wpcr3_admin_response {
  border-left: 3px solid #c70021 !important;
  background: #f8fafc !important;
  padding: 12px 15px !important;
  margin: 15px 0 0 0 !important;
  border-radius: 4px !important;
}
body div.wpcr3_review blockquote.wpcr3_content.wpcr3_admin_response p {
  color: #4a5568 !important;
  font-size: 14px !important;
}
/* Button styling */
body .wpcr3_button_1 {
  background: #c70021 !important;
  border: 2px solid #c70021 !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 12px 30px !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  margin-bottom: 30px !important;
  float: none !important;
}
body .wpcr3_button_1:hover {
  background: transparent !important;
  color: #c70021 !important;
}
/* Pagination links */
body .wpcr3_pagination .wpcr3_a {
  background: #0a266a !important;
  border-radius: 4px !important;
  padding: 8px 14px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  transition: background 0.3s ease !important;
}
body .wpcr3_pagination .wpcr3_a:hover,
body .wpcr3_pagination .wpcr3_a.wpcr3_current {
  background: #c70021 !important;
}
/* Responsive view adjustments for review items */
@media (max-width: 767px) {
  body div.wpcr3_review {
    padding: 30px !important;
  }
  body div.wpcr3_review div.wpcr3_review_ratingValue {
    position: static !important;
    display: block !important;
    margin-bottom: 12px !important;
  }
  body div.wpcr3_review div.wpcr3_review_author {
    padding-right: 0 !important;
  }
}

@media (min-width: 1200px) {
    .container {
        width: 96vw;
    }
}

/* Specific listing card styles & pagination styles */
.blog-page .post-entry.block h2 {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 26px !important;
  line-height: 34px !important;
  font-weight: 750 !important;
  margin-top: 15px !important;
  margin-bottom: 12px !important;
}
.blog-page .post-entry.block h2 a {
  color: #0a266a !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.blog-page .post-entry.block h2 a:hover {
  color: #c70021 !important;
}
.blog-page .post-entry.block .post-excerpt p {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #4a5568 !important;
  margin-bottom: 20px !important;
}

/* Premium WordPress Pagination */
.blog-page .text-center {
  margin-top: 40px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}
.blog-page .text-center a.page-numbers,
.blog-page .text-center span.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0a266a !important;
  background: #ffffff !important;
  border: 1px solid #edf2f7 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
  text-decoration: none !important;
}
.blog-page .text-center a.page-numbers:hover {
  background: #0a266a !important;
  color: #ffffff !important;
  border-color: #0a266a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(10, 38, 106, 0.15) !important;
}
.blog-page .text-center span.page-numbers.current {
  background: #c70021 !important;
  color: #ffffff !important;
  border-color: #c70021 !important;
  box-shadow: 0 8px 20px rgba(199, 0, 33, 0.2) !important;
}

/* 404 Page Custom Styles */
body.error404 header {
  position: relative !important;
  background: #0a266a !important;
}
.error-404-page {
  padding: 100px 0 !important;
  background-color: #f7fafc !important;
}
.error-404-page .error-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #ffffff !important;
  border: 1px solid #edf2f7 !important;
  box-shadow: 0 15px 40px rgba(10, 38, 106, 0.08) !important;
  border-radius: 16px !important;
  padding: 60px 45px !important;
}
.error-404-page .error-illustration {
  margin-bottom: 35px !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.error-404-page .error-illustration svg {
  margin: 0 auto !important;
  animation: floatError 4s ease-in-out infinite;
}
.error-404-page .error-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #0a266a !important;
  margin: 0 auto 15px !important;
  line-height: 1.3 !important;
}
.error-404-page .error-text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  color: #4a5568 !important;
  line-height: 1.8 !important;
  max-width: 600px !important;
  margin: 0 auto 30px !important;
}
.error-404-page .error-search-box {
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto 40px !important;
  padding: 25px !important;
  background-color: #f7fafc !important;
  border-radius: 12px !important;
  border: 1px solid #edf2f7 !important;
  box-sizing: border-box !important;
}
.error-404-page .error-search-box .search-box-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0a266a !important;
  margin-bottom: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.error-404-page .error-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 15px !important;
  width: 100% !important;
}
@keyframes floatError {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Custom 404 buttons */
.btn-navy-404 {
  background-color: #0a266a !important;
  border: 2px solid #0a266a !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.btn-navy-404:hover {
  background-color: transparent !important;
  color: #0a266a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(10, 38, 106, 0.15) !important;
}

.btn-red-404 {
  background-color: #c70021 !important;
  border: 2px solid #c70021 !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.btn-red-404:hover {
  background-color: transparent !important;
  color: #c70021 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(199, 0, 33, 0.15) !important;
}

.btn-border-navy-404 {
  background-color: transparent !important;
  border: 2px solid #0a266a !important;
  color: #0a266a !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.btn-border-navy-404:hover {
  background-color: #0a266a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(10, 38, 106, 0.15) !important;
}

.btn-border-red-404 {
  background-color: transparent !important;
  border: 2px solid #c70021 !important;
  color: #c70021 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.btn-border-red-404:hover {
  background-color: #c70021 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(199, 0, 33, 0.15) !important;
}

/* ==========================================================================
   Home Page FAQ Section Styles
   ========================================================================== */
.home-faq-section {
  padding: 80px 0;
  background-color: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

@media (min-width: 992px) {
  .display-flex-md {
    display: flex;
    align-items: stretch;
  }
  .faq-image-wrapper {
    position: -webkit-sticky;
    position: sticky;
  }
}
div.wpcr3_dotline, div.wpcr3_review div.wpcr3_dotline{
  border: 0 !important;
  border-bottom: 0 !important;
}
.faq-left-col, .faq-right-col {
  padding: 15px 30px;
}

/* Image Wrapper (Static) */
.faq-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 5px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(10, 38, 106, 0.06);
}

.faq-image {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Title Styles */
.faq-section-title{
    font-size: 48px;
    font-weight: 700;
    margin-top: 0;
    line-height: 55px;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-align: center;
}

.faq-section-title .highlight-red {
  color: #000;
}

.faq-accordion {
  margin-bottom: 35px;
}

/* Accordion Card Styles */
.faq-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.faq-item[open] {
  border-color: #0a266a;
  box-shadow: 0 10px 25px rgba(10, 38, 106, 0.06);
}

.faq-item:hover {
  border-color: #0a266a;
}

/* Summary Trigger styling */
.faq-question {
  padding: 20px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  outline: none;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #000;
}

.faq-question::-webkit-details-marker {
  display: none;
}

/* Rotating Indicator Icon using FontAwesome */
.faq-question::after {
  content: '\f0fe';
  font-family: 'FontAwesome';
  font-size: 18px;
  color: #000;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-left: 15px;
  flex-shrink: 0;
}

.faq-item[open] .faq-question {
  color: #0a266a;
  border-bottom: 1px solid #edf2f7;
}

.faq-item[open] .faq-question::after {
  content: '\f146';
  color: #0a266a;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 20px 24px;
  color: #4a5568;
  font-size: 15px;
  line-height: 1.7;
  display: none; /* Controlled by jQuery slide transitions to prevent jumps */
}

.faq-item[open] .faq-answer {
  display: block; /* Fallback for search/no-JS */
}

.faq-answer p {
  margin: 0;
}

/* FAQ Inline Text Link Styling */
.faq-action-wrapper {
  margin-top: 25px;
}

.faq-more-questions {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #4a5568;
}

.faq-more-questions a {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.faq-more-questions a:hover {
  color: #0a266a;
  text-decoration: underline;
}

/* ==========================================================================
   Reviews Carousel Layout, Equal Heights & Pagination
   ========================================================================== */
.wpcr3_reviews_holder.owl-carousel {
  display: block !important;
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

/* Force equal height review cards */
.wpcr3_reviews_holder.owl-carousel .owl-stage {
  display: flex !important;
  flex-wrap: wrap !important;
}

.wpcr3_reviews_holder.owl-carousel .owl-item {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
}

.wpcr3_reviews_holder.owl-carousel .wpcr3_review_item,
.wpcr3_reviews_holder.owl-carousel .wpcr3_item.wpcr3_business,
.wpcr3_reviews_holder.owl-carousel .wpcr3_item.wpcr3_product,
.wpcr3_reviews_holder.owl-carousel div.wpcr3_review {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto !important;
  height: 100% !important;
}

.wpcr3_reviews_holder.owl-carousel .owl-stage-outer {
  padding: 15px 0 !important; /* Visual room for review card shadows */
}

.wpcr3_reviews_holder.owl-carousel .wpcr3_review_item {
  margin-bottom: 0 !important;
}

.wpcr3_reviews_holder.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 25px;
  display: block !important;
}

.wpcr3_reviews_holder.owl-carousel .owl-dot {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

.wpcr3_reviews_holder.owl-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 6px;
  background: #cbd5e1;
  display: block;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.wpcr3_reviews_holder.owl-carousel .owl-dot.active span,
.wpcr3_reviews_holder.owl-carousel .owl-dot:hover span {
  background: #0a266a;
  transform: scale(1.2);
}

.reviews-section-container .wpcr3_pagination {
  display: none !important;
}

/* Accessibility: Increase contrast for WP Customer Reviews plugin */
.wpcr3_review_datePublished,
.wpcr3_review_author,
.wpcr3_review_text {
  color: #334155 !important; /* Darker gray for clear readability */
}

/* Product Grid: Force equal card heights using CSS Flexbox */
.woocommerce ul.products,
.woocommerce-page ul.products,
#ribbon-builder-form ul.products,
#medal-builder-form ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
#ribbon-builder-form ul.products li.product,
#medal-builder-form ul.products li.product {
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  height: auto !important;
}

/* Sticky Back to Top Button */
#back-to-top {
  display: inline-block;
  background-color: #0b2669; /* Theme Navy Blue */
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
#back-to-top i {
  color: #ffffff; /* White Arrow */
  font-size: 20px;
  line-height: 50px;
  transition: transform 0.3s ease;
}
#back-to-top:hover {
  cursor: pointer;
  background-color: #c70021; /* Theme Red Hover */
}
#back-to-top:hover i {
  transform: translateY(-3px);
}
#back-to-top:active {
  background-color: #081d50;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Blog Post Table Styles */
.post-content.entry-content table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #1a202c;
  border: 1px solid #e2e8f0;
}

.post-content.entry-content table td,
.post-content.entry-content table th {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #e2e8f0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Style the header row */
.post-content.entry-content table tr:first-child td,
.post-content.entry-content table th {
  background-color: #0b0b20; /* Theme Navy */
  color: #ffffff !important;
  font-weight: 700;
  border: 1px solid #0b0b20;
}

.post-content.entry-content table tr:first-child td strong,
.post-content.entry-content table th strong {
  color: #ffffff !important;
}

/* Alternating row backgrounds */
.post-content.entry-content table tr:nth-child(even) td {
  background-color: #f8fafc;
}

.post-content.entry-content table tr:hover td {
  background-color: #edf2f7;
}

/* Prevent header row background from changing on hover */
.post-content.entry-content table tr:first-child:hover td,
.post-content.entry-content table tr:hover th {
  background-color: #0b0b20 !important;
}

.wp-block-table {
  overflow-x: auto;
  margin: 20px 0;
}