/*
Theme Name: mechanic
Theme URI: http://murren.ru/templates/WP/mechanic/mechanic-demo/
Author: VK
Author URI: http://murren.ru/
Description: Mechanic - Car Service & Workshop WordPress Theme
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, featured-images, sticky-post, threaded-comments
Text Domain: mechanic
*/


/* =WordPress Core
-------------------------------------------------------------- */


.gallery-caption {
    color: #707070;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    padding: 7px 0;
}
.bypostauthor {
    width: 100%;
}
.alignnone {
    margin: 5px 20px 20px 0;
}
.sticky  h2 a{
    color: #ff4f52 !important;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

img , select {
    max-width: 100%;
}

.post-entry dl , .section-add-comment dl    {
    margin: 0 20px;
}
.post-entry dd , .section-add-comment dd{
    margin: 0 0 20px;
}

.post-entry  ul:not([class])  li  ,  .section-add-comment   ul:not([class])  li{
    list-style-type: disc;
    margin: 0;
    padding-left: 2em;
    list-style-position: inside;
    text-indent: -1em;
    overflow: hidden;
    margin-top: 10px;
}
.post-entry  ul:not([class]) ,  .section-add-comment  ul:not([class])   {
    list-style-type: disc;
    list-style-position:outside;
    margin-right: 1px;
    margin-left: 20px;
    padding-left: 0px;
    margin-top: 10px;
}

.post-entry   ol:not([class]), .section-add-comment   ol:not([class]) {
    list-style-type: decimal;
    list-style-position:outside;
    margin-right: 1px;
    margin-bottom: 10px;
    margin-left: 20px;
    padding-left: 0px;
    margin-top: 10px;


}
.content   ol:not([class])  li , .section-add-comment  ol:not([class])  li {
    list-style-type: decimal;
    margin: 0;
    padding-left: 2em;
    list-style-position: inside;
    text-indent: -1em;
    overflow: hidden;
    margin-top: 10px;

}

.social {
    position: relative;
    z-index:50;
}

.logged-in .navbar.affix, .logged-in .navbar {
    top: 32px;
}

.mechanic_Recent_posts img {
    width: 100%;
    min-width: 70px;
}

.blog-section .blog-box .comment-section ul.children{
    padding-left: 120px!important;
}

.navbar-nav li ul {
    position: relative;
}
.navbar-nav li ul.sub-menu {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #282828;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}
.navbar-nav li ul.sub-menu li {
    display: block;
}
.navbar-nav li ul.sub-menu li a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    display: block;
    color: #898585;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    padding: 10px 20px;
}
.navbar-nav li ul.sub-menu li a:hover {
    color: #dfb871;
}
.navbar-nav li ul.sub-menu li:first-child {
    border-top: none;
}





/* Custom Header Background Fix for readability */
nav.navbar.navbar-default.navbar-fixed-top {
    background-color: rgba(20, 20, 20, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: background 0.3s ease-in-out;
}

/* --- AMCH Website Updates --- */
.tg-saletag { display: none !important; }
.tg-product-brand-logo {
    height: 65px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 15px 5px;
    background: #ffffff;
}
.tg-product-brand-logo img {
    max-height: 48px !important;
    max-width: 140px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
}
.tg-product figure {
    padding: 15px 25px 20px !important;
}
.tg-product figure img {
    max-height: 180px;
    width: auto !important;
    object-fit: contain;
}
.news-images img {
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.news-images img:hover {
    transform: scale(1.02);
}

/* --- AMCH Custom Product Card Layout Fixes --- */
.tg-saletag {
    display: none !important;
}

#tg-product-slider .owl-wrapper {
    display: flex !important;
    align-items: stretch !important;
}

#tg-product-slider .owl-item {
    display: flex !important;
    padding: 0 12px !important;
}

#tg-product-slider .tg-product {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    margin-bottom: 25px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

#tg-product-slider .tg-product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}

.tg-product-brand-logo {
    height: 65px !important;
    min-height: 65px !important;
    max-height: 65px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 15px 5px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.tg-product-brand-logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.tg-product-brand-logo img {
    max-height: 45px !important;
    max-width: 130px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

#tg-product-slider .tg-product figure {
    height: 205px !important;
    min-height: 205px !important;
    max-height: 205px !important;
    width: 100% !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 !important;
    float: none !important;
    position: relative !important;
    background: #ffffff !important;
}

#tg-product-slider .tg-product figure a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

#tg-product-slider .tg-product figure img {
    max-height: 175px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: auto !important;
    display: block !important;
}

#tg-product-slider .tg-product .tg-product-info {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 15px 15px 20px !important;
    background: #fafafa !important;
    border-top: 1px solid #f0f0f0 !important;
}

#tg-product-slider .tg-product .tg-heading-border {
    margin: 0 !important;
}

#tg-product-slider .tg-product .tg-heading-border:after {
    display: none !important;
}

#tg-product-slider .tg-product .tg-heading-border h3 {
    margin: 0 0 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

#tg-product-slider .tg-product .tg-heading-border h3 a {
    color: #111111 !important;
}

#tg-product-slider .tg-product .subtitle {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #666666 !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
}

/* --- AMCH Typography Harmonization: Mission, Values, Vision --- */
#mission h2,
#mission .box-header,
#mission h2.box-header,
#vision h2,
#vision .box-header,
#vision h3,
.experience-section h2,
.experience-section h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 38px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 16px 0 !important;
}

#mission h2,
#mission .box-header,
#mission h2.box-header {
    color: #222222 !important;
    text-align: left !important;
}

#vision h2,
#vision .box-header,
#vision h3,
.experience-section h2,
.experience-section h3 {
    color: #ffffff !important;
}

/* Harmonized Paragraphs */
#mission p,
#mission .title p,
#vision p,
.experience-section p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    margin: 0 0 14px 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    text-align: left !important;
}

#mission p,
#mission .title p {
    color: #555555 !important;
}

#vision p,
.experience-section p {
    color: #fffaf2 !important;
}

/* Harmonized Values List Items */
#mission ul {
    margin: 15px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#mission ul li {
    margin: 10px 0 !important;
    padding: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    line-height: 26px !important;
}

#mission ul li a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #555555 !important;
    line-height: 26px !important;
    display: inline-block !important;
    transition: color 0.2s ease !important;
}

#mission ul li a:hover {
    color: #dfb871 !important;
}

#mission ul li a i {
    margin-right: 8px !important;
    color: #dfb871 !important;
    font-size: 14px !important;
}

/* Watermark Cleanup */
#mission .title:after {
    display: none !important;
}
#mission .title {
    text-align: left !important;
    margin-bottom: 0 !important;
}
