/* from old site: bauer-theme-style-inline-css */
/*ACCENT COLOR*/.text-accent-color,#top-bar .top-bar-content .content:before,.top-bar-style-1 #top-bar .top-bar-socials .icons a:hover,.top-bar-style-2 #top-bar .top-bar-socials .icons a:hover,.sticky-post,#site-logo .site-logo-text:hover,#main-nav .sub-menu li a:hover,.header-style-1 #site-header .nav-top-cart-wrapper .nav-cart-trigger:hover,.header-style-1 #site-header .header-search-trigger:hover,.header-style-2 #site-header .nav-top-cart-wrapper .nav-cart-trigger:hover,.header-style-2 #site-header .header-search-trigger:hover,.header-style-3 #site-header .nav-top-cart-wrapper .nav-cart-trigger:hover,.header-style-3 #site-header .header-search-trigger:hover,.header-style-3 #site-header .header-button a,.header-style-4 #site-header .nav-top-cart-wrapper .nav-cart-trigger:hover,.header-style-4 #site-header .header-search-trigger:hover,.header-style-5 #site-header .nav-cart-trigger:hover,.header-style-5 #site-header .header-search-trigger:hover,.header-style-6 #site-header .nav-cart-trigger:hover,.header-style-6 #site-header .header-search-trigger:hover,#header-aside .aside-content .info-i span,#featured-title #breadcrumbs a:hover,.hentry .page-links span,.hentry .page-links a span,.hentry .post-title a:hover,.hentry .post-meta a:hover,.hentry .post-meta .item .inner:before,.hentry .post-link a:hover,.hentry .post-tags:before,.hentry .post-tags a:hover,.related-news .post-item h3 a:hover,.related-news .related-post .slick-next:hover:before,.related-news .related-post .slick-prev:hover:before,.comment-reply a,#cancel-comment-reply-link,.widget.widget_archive ul li a:hover,.widget.widget_categories ul li a:hover,.widget.widget_meta ul li a:hover,.widget.widget_nav_menu ul li a:hover,.widget.widget_pages ul li a:hover,.widget.widget_recent_entries ul li a:hover,.widget.widget_recent_comments ul li a:hover,.widget.widget_rss ul li a:hover,#footer-widgets .widget.widget_archive ul li a:hover,#footer-widgets .widget.widget_categories ul li a:hover,#footer-widgets .widget.widget_meta ul li a:hover,#footer-widgets .widget.widget_nav_menu ul li a:hover,#footer-widgets .widget.widget_pages ul li a:hover,#footer-widgets .widget.widget_recent_entries ul li a:hover,#footer-widgets .widget.widget_recent_comments ul li a:hover,#footer-widgets .widget.widget_rss ul li a:hover,#sidebar .widget.widget_calendar caption,#footer-widgets .widget.widget_calendar caption,.widget.widget_nav_menu .menu > li.current-menu-item > a,.widget.widget_nav_menu .menu > li.current-menu-item,#sidebar .widget.widget_calendar tbody #today,#sidebar .widget.widget_calendar tbody #today a,#sidebar .widget.widget_twitter .timestamp a:hover,#footer-widgets .widget.widget_twitter .timestamp a:hover,#footer-widgets .widget.widget_mc4wp_form_widget .mc4wp-form .submit-wrap > button,#sidebar .widget.widget_socials .socials a:hover,#footer-widgets .widget.widget_socials .socials a:hover,#sidebar .widget.widget_recent_posts h3 a:hover,#footer-widgets .widget.widget_recent_posts h3 a:hover,#sidebar .widget_information ul li.accent-icon i,#footer-widgets .widget_information ul li.accent-icon i,.bauer-accordions .accordion-item .accordion-heading:hover,.bauer-accordions .accordion-item.style-1.active .accordion-heading,.bauer-accordions .accordion-item.style-1.active .accordion-heading > .inner:before,.bauer-step-box .number-box .number,.bauer-links.accent,.bauer-links:hover,.bauer-button.outline.outline-accent,.bauer-button.outline.outline-accent .icon,.bauer-counter .icon.accent,.bauer-counter .prefix.accent,.bauer-counter .suffix.accent,.bauer-counter .number.accent,.bauer-divider.has-icon .icon-wrap > span.accent,.bauer-single-heading .heading.accent,.bauer-headings .heading.accent,.bauer-image-box.style-1 .item .title a:hover,.bauer-image-box.style-3 .item .title a:hover,.bauer-icon.accent > .icon,.bauer-progress .perc.accent,#project-filter .cbp-filter-item:hover,#project-filter .cbp-filter-item.cbp-filter-item-active,.project-related-wrap .btn-wrap a,.project-related-wrap .project-item .cat a,.project-related-wrap .project-item h2 a:hover,.wpb_row.row-has-scroll .scroll-btn:hover:before,.bauer-team .socials li a:hover,.bauer-team-grid .socials li a:hover,.bauer-testimonials .name-pos .position,.bauer-list .icon.accent,.bauer-pricing .title.accent h3,.owl-theme .owl-nav [class*="owl-"]:hover:after,.et-tabs-style-line nav ul li.tab-current .iw-icon,.woocommerce-page .woocommerce-MyAccount-content .woocommerce-info .button,.products li .product-info .button,.products li .product-info .added_to_cart,.products li h2:hover,.woo-single-post-class .woocommerce-grouped-product-list-item__label a:hover,.woocommerce-page .shop_table.cart .product-name a:hover,.woocommerce-page .shop_table.cart .product-remove a:after,.product_list_widget .product-title:hover,.widget_recent_reviews .product_list_widget a:hover,.widget.widget_product_search .woocommerce-product-search .search-submit:hover:before,.widget_shopping_cart_content ul li a:hover,.widget_shopping_cart_content ul li a.remove,.widget_shopping_cart_content .buttons a.checkout,a{color:#d62c2f;}bg-accent,blockquote:before,button, input[type="button"], input[type="reset"], input[type="submit"],.tparrows.custom:hover,.header-style-1 #site-header .header-button a,.header-style-2 #site-header .header-button a,.header-style-3 #site-header .header-button a:hover,.header-style-5 #site-header .header-button a,.header-style-6 #site-header .header-button a,.cur-menu-1 #main-nav > ul > li > a:before,.cur-menu-1 #main-nav > ul > li.current-menu-item > a:before,.cur-menu-1 #main-nav > ul > li.current-menu-parent > a:before,.cur-menu-2 #main-nav > ul > li > a span:before,.cur-menu-2 #main-nav > ul > li.current-menu-item > a span:before,.cur-menu-2 #main-nav > ul > li.current-menu-parent > a span:before,#featured-title.center .main-title:before,.post-media .slick-prev:hover,.post-media .slick-next:hover,.post-media .slick-dots li.slick-active button,.comment-reply a:after,#cancel-comment-reply-link:after,.widget.widget_categories ul li > span,.widget.widget_archive ul li > span,.widget.widget_search .search-form .search-submit:before,#sidebar .mc4wp-form .submit-wrap button:before,#footer-widgets .widget.widget_mc4wp_form_widget .mc4wp-form .submit-wrap > button:hover,#sidebar .widget.widget_recent_posts .recent-news .thumb.icon,#footer-widgets .widget.widget_recent_posts .recent-news .thumb.icon,#sidebar .widget.widget_tag_cloud .tagcloud a:hover,#footer-widgets .widget.widget_tag_cloud .tagcloud a:hover,.widget_product_tag_cloud .tagcloud a:hover,#scroll-top:hover:before,.bauer-pagination ul li a.page-numbers:hover,.woocommerce-pagination .page-numbers li .page-numbers:hover,.bauer-pagination ul li .page-numbers.current,.woocommerce-pagination .page-numbers li .page-numbers.current,.no-results-content .search-form .search-submit:before,.footer-promotion .promo-btn,.bauer-accordions .accordion-item.style-2.active .accordion-heading,.bauer-step-box .number-box:hover .number,.bauer-button.accent,.bauer-button.outline.outline-accent:hover,.bauer-content-box > .inner.accent,.bauer-content-box > .inner.dark-accent,.bauer-content-box > .inner.light-accent,.bauer-tabs.style-2 .tab-title .item-title.active,.bauer-tabs.style-3 .tab-title .item-title.active,.bauer-single-heading .line.accent,.bauer-headings .sep.accent,.bauer-headings .heading > span,.bauer-image-box.style-3.has-number:hover .number,.bauer-images-grid .cbp-nav-next:hover:after,.bauer-images-grid .cbp-nav-prev:hover:after,.bauer-icon.accent-bg > .icon,#project-filter .cbp-filter-item > span:after,.project-box .project-image .icons a:hover,.project-related-wrap .btn-wrap a:hover,.bauer-progress .progress-animate:after,.bauer-progress .progress-animate.accent,.bauer-images-carousel.has-borders:after,.bauer-images-carousel.has-borders:before,.bauer-images-carousel.has-arrows.arrow-bottom .owl-nav,.bauer-subscribe .mc4wp-form .email-wrap input:focus,.bauer-video-icon.accent a,.et-tabs-style-line nav ul li.tab-current:after,.woocommerce-page .wc-proceed-to-checkout .button,.woocommerce-page #payment #place_order,.widget_price_filter .price_slider_amount .button:hover{background-color:#d62c2f;}.animsition-loading:after{border-top-color:#d62c2f;}.underline-solid:after, .underline-dotted:after, .underline-dashed:after{border-bottom-color:#d62c2f;}.header-style-3 #site-header .header-button a{border-color:#d62c2f;}.widget.widget_search .search-form .search-field:focus{border-color:#d62c2f;}#sidebar .mc4wp-form .email-wrap input:focus{border-color:#d62c2f;}#footer-widgets .widget.widget_mc4wp_form_widget .mc4wp-form .submit-wrap > button{border-color:#d62c2f;}.no-results-content .search-form .search-field:focus{border-color:#d62c2f;}.bauer-step-box .number-box .number{border-color:#d62c2f;}.bauer-button.outline.outline-accent{border-color:#d62c2f;}.bauer-button.outline.outline-accent:hover{border-color:#d62c2f;}.divider-icon-before.accent{border-color:#d62c2f;}.divider-icon-after.accent{border-color:#d62c2f;}.bauer-divider.has-icon .divider-double.accent{border-color:#d62c2f;}.bauer-tabs.style-2 .tab-title .item-title.active > span{border-top-color:#d62c2f;}.bauer-icon-box.hover-style-1:hover > .hover{border-bottom-color:#d62c2f;}.bauer-icon-box.hover-style-2:hover > .hover{border-bottom-color:#d62c2f;}.bauer-image-box.style-2 .item .thumb:after{border-bottom-color:#d62c2f;}.bauer-team.style-1 .member-item .text-wrap{border-bottom-color:#d62c2f;}.bauer-team.style-2 .member-item .text-wrap{border-bottom-color:#d62c2f;}.bauer-testimonials.style-1:hover .inner{border-bottom-color:#d62c2f;}.bauer-testimonials-g3 .avatar-wrap img:hover{border-color:#d62c2f;}.bauer-testimonials-g3 .avatar-wrap a.active img{border-color:#d62c2f;}.bauer-video-icon.white a:after{border-left-color:#d62c2f;}.owl-theme .owl-dots .owl-dot span{border-color:#d62c2f;}.owl-theme .owl-dots .owl-dot.active span{border-color:#d62c2f;}.widget_price_filter .price_slider_amount .button:hover{border-color:#d62c2f;}.widget_price_filter .ui-slider .ui-slider-handle{border-color:#d62c2f;}.widget_shopping_cart_content .buttons a.checkout{border-color:#d62c2f;}.bauer-progress .progress-animate.accent.gradient{background: rgba(214,44,47,1);background: -moz-linear-gradient(left, rgba(214,44,47,1) 0%, rgba(214,44,47,0.3) 100%);background: -webkit-linear-gradient( left, rgba(214,44,47,1) 0%, rgba(214,44,47,0.3) 100% );background: linear-gradient(to right, rgba(214,44,47,1) 0%, rgba(214,44,47,0.3) 100%) !important;}.bauer-step-box:before{background: linear-gradient(45deg, #fff 0%, #d62c2f 10%, #d62c2f 90%, #fff 100%); background: -webkit-linear-gradient(45deg, #fff 0%, #d62c2f 10%, #d62c2f 90%, #fff 100%) !important;}/*TYPOGRAPHY*/body{font-family:"Poppins";}/*CUSTOMIZER STYLING*/.top-bar-style-1 #top-bar:after{opacity:1;}.top-bar-style-2 #top-bar:after{opacity:1;}.header-style-1 #site-header:after{opacity:1;}.header-style-2 #site-header:after{opacity:1;}.header-style-3 #site-header:after{opacity:1;}.header-style-4 #site-header:after{opacity:0.0001;}.header-style-5 #site-header:after{opacity:0.0001;}.header-style-6 #site-header:after{opacity:0.0001;}#featured-title .main-title{color:#ffffff;}#featured-title #breadcrumbs{color:#ffffff;}#featured-title #breadcrumbs a{color:#ffffff;}
/*# sourceURL=bauer-theme-style-inline-css */

/* from old site: amg-box-bg */
.bauer-content-box > .inner[data-background="rgba(3,15,39,0.6)"]{background-color:rgba(3,15,39,.88)!important;backdrop-filter:blur(3px);background-image:none!important}
.bauer-content-box > .inner[data-background="#ffffff"]{background-color:#fff!important;background-image:none!important}
.bauer-content-box > .inner[data-background="#f7f9fa"]{background-color:#f7f9fa!important;background-image:none!important}
.bauer-content-box > .inner[data-background="#d62c2f"]{background-color:#d62c2f!important;background-image:none!important}

/* from old site: wp-custom-css */
#site-logo {
    float: left;
    max-width: 100%;
	  margin-left: 1.5%;
    margin-top: -1.5%;
    transition: all ease 0.3s;
}

@media screen and (max-width: 768px) {
    .aside-content {
        display: none;
    }
}

#footer-widgets .widget .widget-title {
    font-size: 18px;
    color: #fefefe;
    margin: 40px 0 24px 0;
}

.footer-grid.gutter-80 > .col {
    padding-left: 40px;
    padding-right: 40px;
    margin-top: -15px;
    margin-bottom: -15px;
} 
.bauer-action-box .inner {
    display: table;
    overflow: hidden;
    width: 100%;
    padding: 10px;
    height: 94px;
}

@media (max-width: 768px) {
    .cbp img {
        height: 300px; /* ارتفاع أصغر للشاشات الصغيرة */
    }
}

@media (max-width: 480px) {
    .cbp img {
        height: 200px; /* ارتفاع أصغر جدًا للهواتف */
    }
}

.bauer-project-grid img {
    width: 100%;
    height: 300px; /* عدّل الرقم حسب الحاجة */
    object-fit: cover; /* يضمن أن كل الصور تبقى بنفس الأبعاد */
}





/* AMG: home page mobile header = same as inner pages (dark bar, white logo, menu button on the right) */
@media (max-width:991px){
body.header-style-5 #site-header-wrap,body.header-style-5 #site-header{background:#030f27!important;}
body.header-style-5 #site-header{position:relative!important;}
body.header-style-5 #site-header-inner{padding-top:22px!important;padding-bottom:22px!important;}
body.header-style-5 #site-logo img{content:url("../images/site/amg-logo-white.png");}
body.header-style-5 .site-navigation-wrap,body.header-style-5 .site-navigation-wrap>.inner{position:static!important;background:transparent!important;height:0!important;padding:0!important;margin:0!important;transform:none!important;left:auto!important;top:auto!important;width:auto!important;}
body.header-style-5 .site-navigation-wrap .mobile-button{position:absolute!important;left:auto!important;right:22px!important;top:50%!important;margin-top:-7px!important;z-index:5;}
body.header-style-5 .site-navigation-wrap .header-search-wrap{display:none!important;}
}

#top-bar .top-bar-content .content {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    padding-left: 20px;
}

/* from old site: page builder row styles */
.vc_custom_1558753815078{background-image: url(../../uploads/site/styles/main-bg-1-1.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1717487181458{background-image: url(../../uploads/site/styles/section-bg2-3-1.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1713792706377{background-image: url(../../uploads/site/styles/main-bg-2-1.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1558342147282{background-color: #f7f9fa !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1557801723128{background-image: url(../../uploads/site/styles/section-bg4-2-1.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1715595653060{background: #f7f9fa url(../../uploads/site/styles/main-bg-3-1.png) !important;}.vc_custom_1713703121154{background-color: #030f27 !important;}.vc_custom_1558754803766{background: #f7f9fa url(../../uploads/site/styles/main-bg-2-1.png) !important;}.vc_custom_1713791030052{background-image: url(../../uploads/site/styles/slider-construct-bg2.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* from old site: page builder row styles */
.vc_custom_1558595409249{background-image: url(../../uploads/site/styles/section-bg1-1.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1717929240427{background: #f7f9fa url(../../uploads/site/styles/com-bg-3.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1717929236152{background-image: url(../../uploads/site/styles/section-bg3-1.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1717929231053{background-color: #f7f9fa !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1720433951311{background-image: url(../../uploads/site/styles/AMG-Banner_Blue_Size-1.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* from old site: page builder row styles */
.vc_custom_1713782365669{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1558852781310{background-color: #f7f9fa !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1720433951311{background-image: url(../../uploads/site/styles/AMG-Banner_Blue_Size-1.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* from old site: page builder row styles */
.vc_custom_1558754119849{background-image: url(../../uploads/site/styles/main-bg-1-1.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1713878671447{background-color: #f7f9fa !important;}.vc_custom_1557825100635{background-image: url(../../uploads/site/styles/section-bg1-2-1.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1718177884102{background: #f7f9fa url(../../uploads/site/styles/footer-bg-full-1.jpg) !important;}

/* from old site: page builder row styles */
.vc_custom_1713966528039{background: #f7f9fa url(../../uploads/site/styles/org_bg.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1713967248194{background-color: #ffffff !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* from old site: amg-project-grid */
.bauer-project-grid .cbp{height:auto!important;}
.bauer-project-grid .cbp-wrapper-outer,.bauer-project-grid .cbp-wrapper{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;}
.bauer-project-grid .cbp-wrapper{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;}
.bauer-project-grid .cbp-item{position:static!important;width:auto!important;left:auto!important;top:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;}
.bauer-project-grid .cbp-item-wrapper{position:static!important;}
.bauer-project-grid .project-image .inner{height:300px;overflow:hidden;background:#eef1f4;}
.bauer-project-grid .project-image .inner>img{width:100%!important;height:100%!important;object-fit:cover;}
@media (max-width:799px){.bauer-project-grid .cbp-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:549px){.bauer-project-grid .cbp-wrapper{grid-template-columns:1fr;}}
@media (max-width:480px){.bauer-project-grid .project-image .inner{height:220px;}}

/* ===== AMG new site ===== */
/* ==========================================================================
   AMG new site — own styles (added on top of the original theme styles)
   ========================================================================== */

/* ---------- general ---------- */
#top-bar a { color: inherit; }
.amg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- home slider ---------- */
.amg-slider { position: relative; height: 890px; overflow: hidden; background: #0d1426; color: #fff; }
.amg-slides, .amg-slide, .amg-slide-bg { position: absolute; inset: 0; }
.amg-slide { opacity: 0; visibility: hidden; }
.amg-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.amg-slide-bg { background-size: cover; background-position: center top; transform-origin: center center; }
.amg-slide.is-active .amg-slide-bg { animation: amgZoom 9s ease-out forwards; }
.amg-slider::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg, rgba(3,15,39,.55) 0%, rgba(3,15,39,.25) 55%, rgba(3,15,39,.05) 100%); }
@keyframes amgZoom { from { transform: scale(1); } to { transform: scale(1.2); } }

.amg-curtain { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.amg-curtain span { position: absolute; top: 0; width: 20.05%; height: 100%; overflow: hidden;
    transform: translateY(-100%); animation: amgCurtain .8s cubic-bezier(.77,0,.18,1) forwards; }
.amg-curtain i { position: absolute; top: 0; width: 500%; height: 100%; background-size: cover; background-position: center top; }
@keyframes amgCurtain { to { transform: translateY(0); } }

.amg-slider-text { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 4; text-align: left; }
.amg-kicker { font-size: 16px; font-weight: 600; letter-spacing: .5px; color: #cacaca; margin-bottom: 28px; }
.amg-title { color: #fff; font-weight: 600; font-size: 62px; line-height: 71px; margin: 0 0 30px; }
.amg-title span { display: block; }
.amg-title span + span { font-size: 64px; line-height: 73px; }
.amg-subtitle { font-size: 22px; line-height: 36px; font-weight: 500; color: #fff; }
.amg-kicker, .amg-title span, .amg-subtitle { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.amg-slider.text-in .amg-kicker { opacity: 1; transform: none; transition-delay: .1s; }
.amg-slider.text-in .amg-title span:first-child { opacity: 1; transform: none; transition-delay: .35s; }
.amg-slider.text-in .amg-title span + span { opacity: 1; transform: none; transition-delay: .6s; }
.amg-slider.text-in .amg-subtitle { opacity: 1; transform: none; transition-delay: .9s; }

.amg-slide-caption { position: absolute; left: 0; bottom: 40px; z-index: 4; width: 475px; max-width: calc(100% - 30px);
    background: rgba(25,25,25,.6); color: #fff; font-size: 22px; line-height: 36px; font-weight: 500; text-align: center; padding: 12px 20px;
    opacity: 0; transform: translateX(-30px); transition: opacity .8s ease 1.2s, transform .8s ease 1.2s; }
.amg-slide-caption a { color: #fff; }
.amg-slider.text-in .amg-slide.is-active .amg-slide-caption { opacity: 1; transform: none; }

.amg-arrow { position: absolute; top: 50%; z-index: 5; width: 54px; height: 54px; margin-top: -27px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.12); cursor: pointer; opacity: 0; transition: opacity .3s, background .3s; }
.amg-arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border: solid #fff; border-width: 2px 2px 0 0; }
.amg-arrow.prev { left: 25px; } .amg-arrow.prev::before { transform: translate(-30%,-50%) rotate(-135deg); }
.amg-arrow.next { right: 25px; } .amg-arrow.next::before { transform: translate(-70%,-50%) rotate(45deg); }
.amg-slider:hover .amg-arrow { opacity: 1; }
.amg-arrow:hover { background: #d62c2f; }

@media (max-width: 1239px) { .amg-slider { height: 820px; } .amg-title { font-size: 50px; line-height: 56px; } .amg-title span + span { font-size: 52px; line-height: 59px; } .amg-subtitle { font-size: 19px; } .amg-slide-caption { bottom: 80px; } }
@media (max-width: 1023px) { .amg-slider-text { text-align: center; } .amg-title { font-size: 38px; line-height: 43px; } .amg-title span + span { font-size: 37px; line-height: 42px; }
    .amg-slide-caption { font-size: 15px; line-height: 25px; width: 455px; bottom: 80px; } }
@media (max-width: 777px) {
    .amg-slider { height: min(820px, 171vw); }
    .amg-kicker { font-size: 16px; margin-bottom: 18px; }
    .amg-title { font-size: 27px; line-height: 32px; margin-bottom: 18px; } .amg-title span + span { font-size: 27px; line-height: 32px; }
    .amg-subtitle { font-size: 15px; line-height: 26px; }
    .amg-slide-caption { font-size: 13px; line-height: 22px; width: 300px; bottom: 76px; padding: 8px 14px; }
    .amg-arrow { display: none; }
}

/* ---------- project grid (category pages, search) ---------- */
.amg-grid-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.amg-grid .cbp-item { position: static; width: auto; }
.amg-grid .project-image .inner { position: relative; height: 300px; overflow: hidden; background: #eef1f4; }
.amg-grid .project-image .inner > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amg-grid + .bauer-pagination { margin-top: 50px; }
@media (max-width: 799px) { .amg-grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) { .amg-grid-items { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .amg-grid .project-image .inner { height: 220px; } }
.amg-empty { padding: 60px 0; text-align: center; color: #777; }

/* ---------- project page gallery ---------- */
.amg-gallery { position: relative; border-radius: 5px; overflow: hidden; background: #eef1f4; aspect-ratio: 1920 / 1174; }
.amg-gallery-track, .amg-gallery-item { position: absolute; inset: 0; }
.amg-gallery-item { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; cursor: zoom-in; }
.amg-gallery-item.is-active { opacity: 1; visibility: visible; }
.amg-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amg-gallery-nav { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; z-index: 2;
    background: rgba(3,15,39,.55); cursor: pointer; transition: background .3s; }
.amg-gallery-nav:hover { background: #d62c2f; }
.amg-gallery-nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border: solid #fff; border-width: 2px 2px 0 0; }
.amg-gallery-nav.prev { left: 20px; } .amg-gallery-nav.prev::before { transform: translate(-30%,-50%) rotate(-135deg); }
.amg-gallery-nav.next { right: 20px; } .amg-gallery-nav.next::before { transform: translate(-70%,-50%) rotate(45deg); }
.amg-gallery-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; text-align: center; }
.amg-gallery-dots button { width: 10px; height: 10px; margin: 0 4px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.amg-gallery-dots button.is-active { background: #fff; }
@media (max-width: 600px) { .amg-gallery-nav { width: 36px; height: 36px; margin-top: -18px; } .amg-gallery-nav.prev { left: 10px; } .amg-gallery-nav.next { right: 10px; } }

.amg-project-name { word-wrap: break-word; }
@media (max-width: 767px) { .amg-project-name { font-size: 30px !important; line-height: 38px; } }
.amg-project-body p { margin-bottom: 16px; }
.amg-project-body b, .amg-project-body strong { color: #030f27; font-weight: 600; }
.amg-details-box { box-shadow: 0 0 20px 0 rgba(0,0,0,.07); border-radius: 5px; background: #fff; }
.amg-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 25px; }
.amg-details .bauer-text { margin: 0; word-wrap: break-word; }
@media (max-width: 380px) { .amg-details { grid-template-columns: 1fr; } }
.amg-datasheet { color: #d62c2f; border: 1px solid #d62c2f; border-radius: 30px; }
.amg-datasheet:hover { background: #d62c2f; color: #fff; }

/* related projects: same image size for every card */
.project-related .thumb { aspect-ratio: 558 / 410; overflow: hidden; }
.project-related .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Buildings page cards: same image size */
.amg-card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- contact form messages ---------- */
.amg-form-msg { margin-top: 18px; padding: 12px 16px; border-radius: 5px; font-size: 15px; }
.amg-form-msg.ok { background: #e8f6ee; color: #146c3c; }
.amg-form-msg.error { background: #fdecec; color: #b3261e; }

/* ---------- search page ---------- */
.amg-search-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.amg-search-head .search-form { position: relative; }

/* ---------- plugins ---------- */
.amg-whatsapp { position: fixed; left: 20px; bottom: 20px; z-index: 999; width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,.2); transition: transform .2s; }
.amg-whatsapp:hover { transform: scale(1.08); color: #fff; }
.amg-icon-img { width: 1em; height: 1em; object-fit: contain; vertical-align: middle; }
.fa { font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; font-weight: 900; }

/* big 42px headings must fit small phone screens */
@media (max-width: 480px) { h2.bauer-text[style*="font-size:42px"]:not(.amg-project-name) { font-size: 30px !important; line-height: 38px !important; } }
@media (max-width: 360px) { h2.bauer-text[style*="font-size:42px"]:not(.amg-project-name) { font-size: 26px !important; line-height: 33px !important; } }

/* the floating "back to top" button would sit on top of content on phones and tablets, so it only shows on wide screens */
@media (max-width: 1239px) { #scroll-top { display: none !important; } }

/* menu names that only open a sub-menu */
.main-nav li.menu-item-has-children > a:not([href]), #main-nav li.menu-item-has-children > a:not([href]) { cursor: pointer; }

/* counters row with 5 or 6 numbers (Admin → Pages → Home → Numbers) */
.bauer-grid-box.grid5 .grid-item { width: 20%; position: relative; }
.bauer-grid-box.grid6 .grid-item { width: 16.666%; position: relative; }

/* ---------- project description written in the admin editor ---------- */
.amg-project-body h2, .amg-project-body h3, .amg-project-body h4 { color: #030f27; font-weight: 600; margin: 26px 0 12px; line-height: 1.35; }
.amg-project-body h2 { font-size: 28px; } .amg-project-body h3 { font-size: 22px; } .amg-project-body h4 { font-size: 18px; }
.amg-project-body > :first-child { margin-top: 0; }
.amg-project-body ul, .amg-project-body ol { margin: 0 0 20px; padding-left: 22px; }
.amg-project-body li { margin-bottom: 6px; }
.amg-project-body blockquote { margin: 22px 0; padding: 14px 22px; border-left: 4px solid #d62c2f; background: #f7f9fa; font-style: italic; color: #030f27; }
.amg-project-body hr { border: 0; border-top: 1px solid #e7e7e7; margin: 26px 0; }
.amg-project-body img { max-width: 100%; height: auto; border-radius: 5px; margin: 10px 0; }
.amg-project-body figure { margin: 22px 0; } .amg-project-body figcaption { font-size: 13px; color: #777; text-align: center; margin-top: 6px; }
.amg-project-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.amg-project-body th, .amg-project-body td { border: 1px solid #e7e7e7; padding: 9px 12px; text-align: left; }
.amg-project-body th { background: #f7f9fa; color: #030f27; font-weight: 600; }
.amg-project-body a { color: #d62c2f; text-decoration: underline; }
.amg-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 22px 0; border-radius: 5px; overflow: hidden; background: #000; }
.amg-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.amg-fs-sm { font-size: .85em; } .amg-fs-lg { font-size: 1.25em; } .amg-fs-xl { font-size: 1.6em; line-height: 1.3; } .amg-fs-xxl { font-size: 2.1em; line-height: 1.2; }
.amg-ff-serif { font-family: Georgia, "Times New Roman", serif; } .amg-ff-mono { font-family: Consolas, "Courier New", monospace; }
.amg-ff-arabic { font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", sans-serif; }
@media (max-width: 767px) { .amg-project-body h2 { font-size: 24px; } .amg-project-body h3 { font-size: 20px; } .amg-project-body table { display: block; overflow-x: auto; } }

/* footer social buttons */
#footer-widgets .widget.widget_socials .socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
#footer-widgets .widget.widget_socials .socials .icon { float: none; padding: 0; }
#footer-widgets .widget.widget_socials .socials .icon a { float: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 !important; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-size: 16px; line-height: 1; text-decoration: none; transition: background .25s, border-color .25s, transform .25s; }
#footer-widgets .widget.widget_socials .socials .icon a:hover { background: #d62c2f; border-color: #d62c2f; color: #fff; transform: translateY(-3px); }
#footer-widgets .widget.widget_socials .socials::before, #footer-widgets .widget.widget_socials .socials::after { display: none; }
/* footer social buttons in each network's own logo colours */
#footer-widgets .widget.widget_socials .socials .icon a { border-radius: 10px; font-size: 21px; }
#footer-widgets .widget.widget_socials .socials .icon a:hover { filter: brightness(1.12); }
#footer-widgets .widget.widget_socials .socials .icon a[href*="linkedin."], #footer-widgets .widget.widget_socials .socials .icon a[href*="linkedin."]:hover { background: #0a66c2; border-color: #0a66c2; }
#footer-widgets .widget.widget_socials .socials .icon a[href*="facebook."], #footer-widgets .widget.widget_socials .socials .icon a[href*="facebook."]:hover { background: #1877f2; border-color: #1877f2; }
#footer-widgets .widget.widget_socials .socials .icon a[href*="instagram."], #footer-widgets .widget.widget_socials .socials .icon a[href*="instagram."]:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); border-color: transparent; }
#footer-widgets .widget.widget_socials .socials .icon a[href*="youtube."], #footer-widgets .widget.widget_socials .socials .icon a[href*="youtube."]:hover { background: #ff0000; border-color: #ff0000; }
#footer-widgets .widget.widget_socials .socials .icon a[href*="wa.me"], #footer-widgets .widget.widget_socials .socials .icon a[href*="whatsapp."], #footer-widgets .widget.widget_socials .socials .icon a[href*="wa.me"]:hover, #footer-widgets .widget.widget_socials .socials .icon a[href*="whatsapp."]:hover { background: #25d366; border-color: #25d366; }
#footer-widgets .widget.widget_socials .socials .icon a[href*="twitter."], #footer-widgets .widget.widget_socials .socials .icon a[href*="//x.com"], #footer-widgets .widget.widget_socials .socials .icon a[href*="twitter."]:hover, #footer-widgets .widget.widget_socials .socials .icon a[href*="//x.com"]:hover { background: #000; border-color: #333; }
