/*
Theme Name: Amna
Theme URI: https://wordpress.org/
Author: Atif Aqeel
Author URI: https://wordpress.org/
The theme is develop with the basic functionality like header and footer only. Other page styling and function will be done with other or elementor page builder
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amna
*/

/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */


html,
body {
	border: none;
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	box-sizing: border-box;
	color: #000;
	font-family: -apple-system, BlinkMacSystemFont, "Söhne Breit", Sans-serif, Helvetica, sans-serif;
	text-align: left;
	letter-spacing: 0.5px;
	line-height: 1.5;	
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

/* -------------------------------------------------------------------------- */

/*	2. Element Base
/* ---------------------------------------------*---------------------------- */

main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-feature-settings: "lnum";
	font-variant-numeric: lining-nums;
	font-weight: 700;
	line-height: 1.25;
	margin-top: 0;
	margin-bottom: 1rem;	
	color:#000;
}

h1,
.heading-size-1 {
	font-size: 3rem;
	font-weight: 600;
	line-height: 1.138888889;
}

h2,
.heading-size-2 {
	font-size: 2.6rem;
}

h3,
.heading-size-3 {
	font-size: 2.2rem;
}

h4,
.heading-size-4 {
	font-size: 2rem;
}

h5,
.heading-size-5 {
	font-size: 1.8rem;
}

h6,
.heading-size-6 {
	font-size: 1.4rem;
	letter-spacing: 0.03125em;
	text-transform: uppercase;
}

p {
	margin: 0 0 1em 0;
}

em,
i,
q,
dfn {
	font-style: italic;
}

em em,
em i,
i em,
i i,
cite em,
cite i {
	font-weight: bolder;
}

big {
	font-size: 1.2em;
}

small {
	font-size: 0.75em;
}

b,
strong {
	font-weight: 700;
}

a {
    text-decoration:none;
}


img {
    display: block;
    height: auto;
    max-width: 100%;
}

/* Lists ------------------------------------- */

ul,
ol {
	margin: 0 0 1rem 0;
	padding: 0;
}

ul {
	list-style: disc;
}

ul ul {
	list-style: circle;
}

ul ul ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

ol ol {
	list-style: lower-alpha;
}

ol ol ol {
	list-style: lower-roman;
}

li {
	line-height: 1.5;
	margin: 0.5rem 0 0 2rem;
}

li > ul,
li > ol {
	margin: 1rem 0 0 2rem;
}
/* -------------------------------------------------------------------------- */

/*	3. Layout Flex Styling
/* ---------------------------------------------*---------------------------- */

#site-header {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
	position: relative;
	z-index: 1;
}
#site-header.header-v2 {
    display: block;
}

.page main header {
    padding: 0;
}
.header-logo {
    margin-right: 15px;
}

/* -------------------------------------------------------------------------- */

/*	5. Footer
/* ---------------------------------------------*---------------------------- */

footer .heading{
    margin-top:0;
    margin-bottom:20px;
	padding-bottom: 10px;
	position: relative;
}
footer .footer-widget {
    font-size: 14px;
    letter-spacing: 1px;
}
#footer-credit {
    padding: 20px 0;
}
#footer-credit p {
    margin: 0;
    padding: 0;
	width: 100%;
    text-align: center;
}
.footer-widget ul {
    padding: 0;
    list-style: none;
	margin-bottom: 10px;
}
.footer-widget ul li {
    padding-bottom: 10px;
	margin: 0;
	line-height: 1.3;
}
.connect-footer li {
    display: inline-block;
    padding-right: 10px;
}
.connect-footer li .fa {
    font-size: 24px;
}

footer .wp-block-image {
    margin: 0;
    border: 0;
    margin-bottom: 20px;
}

/* -------------------------------------------------------------------------- */

/*	6. Sidebar
/* ---------------------------------------------*---------------------------- */

.sidebar {
    padding: 20px;
    background-color: #F9F9F9;
}
.widget-sidebar-heading {
    font-size: 24px;
    margin: 10px 0;
}
.sidebar p {
    font-size: 18px;
}
.sidebar .widget {
    margin-bottom: 30px;
}
.sidebar li {
    padding-bottom: 15px;
    margin: 0;
    list-style: none;
}

/* -------------------------------------------------------------------------- */

/*	7.  Testimonial Section Css
/* ---------------------------------------------*---------------------------- */ 
.testim .wrap {
    position: relative;
    width: 100%;
    /*max-width: 1020px;*/
    padding: 0;
    margin: auto;
}

.testim .arrow {
    display: block;
    position: absolute;
    color: #eee;
    cursor: pointer;
    font-size: 2em;
    top: 50%;
    -webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
    -webkit-transition: all .3s ease-in-out;    
    -ms-transition: all .3s ease-in-out;    
    -moz-transition: all .3s ease-in-out;    
    -o-transition: all .3s ease-in-out;    
    transition: all .3s ease-in-out;
    padding: 5px;
    z-index: 22222222;
}
.testim .arrow:before {
		cursor: pointer;
}
.testim .arrow:hover {
    color: #ea830e;
}
.testim .arrow.left {
    left: 10px;
}
.testim .arrow.right {
    right: 10px;
}
.testim .dots {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 20px;
    left: 0;
    display: block;
    z-index: 3333;
    height: 12px;
    margin: 0;
}
.testim .dots .dot {
    list-style-type: none;
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #bbb;
    margin: 0 4px;
    cursor: pointer;
    -webkit-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: relative;
}
.testim .dots .dot.active,
.testim .dots .dot:hover {
    background: #bbb;
    border-color: #bbb;
}
.testim .cont {
    position: relative;
		overflow: hidden;
}
.testim .cont > div {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 30px 0;
    opacity: 0;
}
.testim .cont > div.inactive {
    opacity: 1;
}
.testim .cont > div.active {
    position: relative;
    opacity: 1;
}
.testim .cont div .img img {
    display: block;
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
}
.testim .t-name {
    color: #ea830e;
    font-size: 1em;
    margin: 15px 0;
}
.testim .cont p {
    font-size: 20px;
    margin: 0;
    line-height: 1.5;
}
.testim .tes-content {
    padding: 15px 0;
	margin-bottom: 20px;
}
.testim .tes-rating {
    padding: 15px 0;
}
.testim .fa {
    color: #f8c100;
    padding: 0 3px;
}
.testim .cont div.active .img img {
    -webkit-animation: testim-show .5s ease-in-out forwards;            
    -moz-animation: testim-show .5s ease-in-out forwards;            
    -ms-animation: testim-show .5s ease-in-out forwards;            
    -o-animation: testim-show .5s ease-in-out forwards;            
    animation: testim-show .5s ease-in-out forwards;            
}

.testim .cont div.active h2 {
    -webkit-animation: testim-content-in .4s ease-in-out forwards;    
    -moz-animation: testim-content-in .4s ease-in-out forwards;    
    -ms-animation: testim-content-in .4s ease-in-out forwards;    
    -o-animation: testim-content-in .4s ease-in-out forwards;    
    animation: testim-content-in .4s ease-in-out forwards;    
}

.testim .cont div.active p {
    -webkit-animation: testim-content-in .5s ease-in-out forwards;    
    -moz-animation: testim-content-in .5s ease-in-out forwards;    
    -ms-animation: testim-content-in .5s ease-in-out forwards;    
    -o-animation: testim-content-in .5s ease-in-out forwards;    
    animation: testim-content-in .5s ease-in-out forwards;    
}

.testim .cont div.inactive  {
	opacity : 0;
    -webkit-animation: .5s ease-in-out forwards;            
    -moz-animation: .5s ease-in-out forwards;            
    -ms-animation: .5s ease-in-out forwards;            
    -o-animation:.5s ease-in-out forwards;            
    animation: .5s ease-in-out forwards;            
}

@-webkit-keyframes testim-content-in {
    from {
        opacity: 0;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    
    to {
        opacity: 1;
        -webkit-transform: translateY(0);        
        transform: translateY(0);        
    }
}

@-moz-keyframes testim-content-in {
    from {
        opacity: 0;
        -moz-transform: translateY(100%);
        transform: translateY(100%);
    }
    
    to {
        opacity: 1;
        -moz-transform: translateY(0);        
        transform: translateY(0);        
    }
}

@-ms-keyframes testim-content-in {
    from {
        opacity: 0;
        -ms-transform: translateY(100%);
        transform: translateY(100%);
    }
    
    to {
        opacity: 1;
        -ms-transform: translateY(0);        
        transform: translateY(0);        
    }
}

@-o-keyframes testim-content-in {
    from {
        opacity: 0;
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }
    
    to {
        opacity: 1;
        -o-transform: translateY(0);        
        transform: translateY(0);        
    }
}

@keyframes testim-content-in {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);        
    }
}



@-webkit-keyframes testim-show {
    from {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    
    to {
        opacity: 1;
        -webkit-transform: scale(1);       
        transform: scale(1);       
    }
}

@-moz-keyframes testim-show {
    from {
        opacity: 0;
        -moz-transform: scale(0);
        transform: scale(0);
    }
    
    to {
        opacity: 1;
        -moz-transform: scale(1);       
        transform: scale(1);       
    }
}

@-ms-keyframes testim-show {
    from {
        opacity: 0;
        -ms-transform: scale(0);
        transform: scale(0);
    }
    
    to {
        opacity: 1;
        -ms-transform: scale(1);       
        transform: scale(1);       
    }
}

@-o-keyframes testim-show {
    from {
        opacity: 0;
        -o-transform: scale(0);
        transform: scale(0);
    }
    
    to {
        opacity: 1;
        -o-transform: scale(1);       
        transform: scale(1);       
    }
}

@keyframes testim-show {
    from {
        opacity: 0;
        transform: scale(0);
    }
    
    to {
        opacity: 1;
        transform: scale(1);       
    }
}

@media all and (max-width: 300px) {
	body {
		font-size: 14px;
	}
}

@media all and (max-width: 500px) {
	.testim .arrow {
		font-size: 1.5em;
	}
	
	.testim .cont div p {
		line-height: 25px;
	}

}

/* Sticky Header
------------------------------------------------------------------------------*/
@keyframes scroll-down {
  from {transform: translate(0,-100%)}
  to {transfrom: translate(0,0)}
}

#site-header.sticky {
    position: fixed;
    z-index: 999;
    width: 100%;
    top : 0;
    animation-name: scroll-down;
    animation-duration: 0.4s;
}

/* -------------------------------------------------------------------------- */

/*	7.  Form
/* ---------------------------------------------*---------------------------- */ 

.wpcf7 input:focus, .wpcf7 textarea:focus {
    outline: none;
}

/* -------------------------------------------------------------------------- */

/*	8.  Blog
/* ---------------------------------------------*---------------------------- */ 
.blog .content-area, .single .content-area {
    padding: 40px 0;
}
.blog header h1, .single header h1 {
    margin: 10px 0;
}
.title-header {
    width: 100%;
    text-align: center;
    background: #0053c7;
	background-color: #ccb47a;
    background-position: 50% 37%;
    background-size: cover;
    position: relative;
}
.title-header:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0000007d;
    position: absolute;
    z-index: 1;
    content: '';
}
.title-header h1 {
    color: #fff;
    margin: 0;
    padding: 100px 0;
    font-size: 40px;
    font-weight: 600;
	position: relative;
	z-index: 1;
}
.post-meta {
    margin-bottom: 30px;
}
.post-meta .meta-info {
    display: flex;
}
.post-meta .meta-info {
    display: flex;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.post-meta .meta-info > div {
    margin-right: 10px;
}
/* pagination */
.pagination li {
    display: inline;
}
.pagination ul {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}
.pagination li {
    display: inline;
    border: 1px solid #ddd;
    padding: 7px 10px;
    margin: 5px;
}
/* Recent Post */ 

.article-main {
    width: 33.333%;
    float: left;
    padding: 10px 15px;
}
.article-main:first-child {
    padding-left: 0;
}
.article-list .article-tumb {
    height: 200px;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    min-width: 100%;
}
.article-list img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.article-list .article-detail {
    background: #f6f6f6;
    padding: 15px 20px;
    height: 190px;
}
.article-list h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.33;
    color: #112f49;
    margin: 0 0 4px;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out;
}
.article-list p {
    color: #6e6e6e;
    margin-top: 10px;
}

/*Blog View*/
.blog article .card-view {
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
	margin-bottom: 20px;
}
.blog .card-view h1 {
    padding: 20px 20px 0px;
}
.blog .card-view .post-content {
    padding: 0 20px 20px;
}

/*Related post*/
.related-post article {
    flex: 1 1 0;
    margin-right: 10px;
}
.related-post {
    display: flex;
}
.related-post .related-thumb {
    height: 160px;
}
.related-post .related-thumb img {
    object-fit: cover;
    height: 160px !important;
    width: 100%;
}
.related-post h2 {
    font-size: 18px;
    margin: 10px 0;
    color: #0053c7;
    font-weight: 300;
    letter-spacing: 0.1px;
}

/* Social and Share */
.amna-social-buttons {
    margin: 20px 0;
    background: #f9f9f9;
    padding: 20px;
}
.amna-social-buttons .share-now {
    display: flex;
    justify-content: space-around;
}
.amna-social-buttons h2 {
    text-align: center;
    margin: 0 0 10px;
    font-size: 18px;
    color: #7d7d7d;
    font-weight: 300;
}
.amna-social-buttons a {
    width: 100%;
    text-align: center;
    padding: 10px;
    margin: 0 2px;
}
.amna-social-buttons .fa {
    color: #fff;
}
.icon-fb {
    background: #3b5998;
}
.icon-twitter {
    background: #1da1f2;
}
.icon-linkedin {
    background: #0077b5;
}
.icon-pint {
    background: #bd081c;
}
.icon-whatsapp {
    background: #25d366;
}

/* Widget Css */
.rpw li {
    display: flex;
}
.rpw li .article-tumb {
    flex-basis: 25%;
	margin-right: 10px;
}
.rpw-content.thumb {
    flex-basis: 75%;
}
.rpw h3 {
    margin: 0 0 10px 0px;
    line-height: 1.5;
    font-size: 16px;
}
.widget .rpw li {
    display: flex;
    margin-bottom: 20px;
}


/* #### Tablets Portrait or Landscape #### */
@media screen and (min-width: 768px) {
	.site-width {
		display: flex;
		margin: 0 auto;
		padding-left: 20px;
		padding-right: 20px;
		width: 100%;
	}
	.blog-right-sidebar #content, .single-right-sidebar #content {
		order: 0;
		margin-right: 20px;
		flex-basis: 75%;
	}
	.blog-right-sidebar .sidebar, .single-right-sidebar .sidebar {
		order: 1;
		flex-basis: 25%;
	}
	.blog-left-sidebar #content, .single-left-sidebar #content {
		order: 1;
		margin-left: 20px;
		flex-basis: 75%;
	}
	.blog-left-sidebar .sidebar, .single-left-sidebar .sidebar {
		order: 0;
		flex-basis: 25%;
	}
	/* -------------------------------------------------------------------------- */

	/*	4. Navigation
	/* ---------------------------------------------*---------------------------- */
	
	.mobile-nav {
		display: none;
	}
	nav {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		flex: 1 0 auto;
		z-index: 999;
	}
	nav ul {
		display: flex;
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.header-v2 nav {
		display: block;
	}
	.header-v2 nav ul {
		justify-content: center;
	}
	.header-v2 .site-width {
		justify-content: space-between;
		align-items: center;
	}
	.primary-menu > li {
		padding-right: 10px;
		margin: 0;
	}
	.primary-menu > li:last-child {
		padding-right: 0;
	}
	.primary-menu li ul {
		position: absolute;
		z-index: 9;
		display: none;
		padding: 15px 0;
	}
	.primary-menu ul ul {
		top: 0;
		left: 100%;
		list-style: none;
	}
	.sub-menu li {
		line-height: 0;
		margin: 0;
		position: relative;
	}
	.sub-menu li a {
		line-height: 1.5;
		padding: 15px 15px;
		width: auto;
		min-width: 200px;
		display: block;
		margin-right: 15px;
	}
 	.menu-item-has-children:after {
		content: '';
		width: 0;
		height: 0;
		font-size: 14px;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		position: relative;
		top: 11px;
		left: 3px;
		line-height: 1.5;
	} 
	.sub-menu .menu-item-has-children:after {
		content: '';
		width: 0;
		height: 0;
		font-size: 14px;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		position: absolute;
		top: 50%;
		right: 10px;
		left: auto;
		line-height: 1.5;
		margin-top: -3px;
	}
	.primary-menu li.menu-item-has-children:hover > ul {
		display: block;
	}
	.primary-menu .current-menu-item a {
		font-weight: 600;
	}
	footer .footer-widget:first-child {
		width: 40%;
	}
	footer .footer-widget {
		width: 20%;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	
}
@media screen and (max-width: 1200px) {
	.amna_popup .popup-container {
		height: 500px;
	}
	.menu-item-has-children:after {
		left: 0;
	}
}
@media screen and (max-width: 767px) {
	.demo-btn {
		padding: 20px;
	}
	.mobile-menu .sub-menu li {
		padding-left: 10px;
	    width: 100%;
		z-index: 99999;
		position: relative;
		background: #000;		
	}
	.amna_popup .popup-container {
		height: 370px;
	}

	nav .main-menu-container {
		display: none;
	}
	.active.mobile-nav {
		left: 0;
		opacity: 1;
	}
	.mobile-nav {
		padding-top: 20px;
        padding-bottom: 20px;
        background: #000;
        position: fixed;
        left: -90%;
        width: 90%;
        height: 100%;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 10000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
		opacity: 0;
	}
	.menu-close{
		content: 'x';
		position: fixed;
		right: 10px;
		top: 10px;
		color: #fff;
	}
	.toggle-menu {
		z-index: 999999;
		width: 25px;
		height: 15px;
		position: absolute;
		right: 20px;
		top: 50%;
	}
	.mmbar {
		height: 3px;
		margin-bottom: 3px;
		border-radius: 1px;
	}
	.site-width {
		flex-direction: column;
		padding-left: 20px;
        padding-right: 20px;
	}
	.mobile-menu .sub-menu {
		margin: 0;
	}
	.mobile-menu .sub-menu li a {
		padding: 10px 20px;
	}
	.mobile-menu {
		margin: 0;
	}
	.mobile-menu .sub-menu {
		display: none;
	}
	.mobile-menu li {
		margin: 0;
		position: relative;
	}
	.mobile-menu li a {
		border-bottom: 1px solid #b7b7b7;
		margin: 0;
		padding: 10px 20px;
		position: relative;
		display: block;
	}
	.submenu-toggle {
        position: absolute;
        right: 0;
        padding: 10px 15px;
        background: #464646;
        display: block;
        z-index: 9;
        text-align: center;
        bottom: 0;
        top: 0;
	}
	.submenu-toggle:before {
		content: '+';
		color: #fff;
		font-weight: 600;
	}
}
@media screen and (max-width: 480px) {
	.amna_popup .popup-container {
		height: 250px;
	}
	#dspopup .ds-popup {
		width: 80%;
	}
}
@media screen and (max-width: 375px) {
	.amna_popup .popup-container {
		height: 190px;
	}
}
@media screen and (max-width: 320px) {
	.amna_popup .popup-container {
		height: 150px;
	}
	.popup-content h2 {
		font-size: 17px;
	}
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}
.header-transparent #site-header {
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 999;
}




/* BLOG COLOURS AND FONTS */

body.single-post .hg-post-hero,
body.single-post .hg-post-feature-wrap {
    --hg-navy: #0F192E;
    --hg-slate: #454D5E;
    --hg-orange: #C65029;
    --hg-muted: #F9F1EAD9;
    --hg-cream: #F9F1EA;

    --hg-heading:
        'SÖHNE BREIT',
        'Söhne Breit',
        'Sohne Breit',
        sans-serif;

    --hg-body:
        'SÖHNE',
        'Söhne',
        'Sohne',
        sans-serif;
}

/* BLOG HERO */

body.single-post .title-header.hg-post-hero {
    display: block !important;
    position: relative;
    box-sizing: border-box;

    width: 100%;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 156px 24px 28px !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: var(--hg-navy) !important;
    color: var(--hg-cream);
    box-shadow: none !important;

    text-align: left !important;
    font-family: var(--hg-body) !important;
}

body.single-post .title-header.hg-post-hero::before,
body.single-post .title-header.hg-post-hero::after {
    display: none !important;
}

.hg-post-hero *,
.hg-post-feature-wrap,
.hg-post-feature-wrap * {
    box-sizing: border-box;
}

.hg-post-hero .hg-post-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .hg-post-hero .hg-post-inner {
        padding-top: 136px !important;
    }
}

/* NEWS AND BLOGS LINK */

.hg-post-hero .hg-post-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 32px;
    padding: 0;

    color: var(--hg-muted) !important;
    font: 400 15px/1.5 var(--hg-body);
    text-decoration: none !important;
}

.hg-post-hero .hg-post-back svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.hg-post-hero .hg-post-back:hover {
    color: var(--hg-cream) !important;
}

/* CATEGORY */

.hg-post-hero .hg-post-category {
    display: flex;
    align-items: center;
    gap: 14px;

    width: fit-content;
    max-width: 100%;

    margin: 0 0 24px;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;

    color: var(--hg-orange) !important;
    font: 500 14px/1.5 var(--hg-body);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none !important;
}

.hg-post-hero .hg-post-category::before {
    content: "";
    display: block;

    width: 40px;
    height: 1px;
    flex: 0 0 40px;

    background: currentColor;
}

/* HEADING */

body.single-post .title-header.hg-post-hero h1 {
    display: block;
    max-width: 850px;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--hg-cream) !important;
    font-family: var(--hg-heading) !important;
    font-size: clamp(36px, 3.35vw, 64px) !important;
    font-weight: 400 !important;
    font-style: normal !important;

    line-height: 1.04 !important;
    letter-spacing: -2.4px !important;

    text-align: left !important;
    text-transform: none !important;
    text-shadow: none !important;

    overflow-wrap: break-word;
}

/* DATE AND AUTHOR */

.hg-post-hero .hg-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;

    margin-top: 28px;
    color: var(--hg-muted);
    font: 400 15px/1.6 var(--hg-body);
}

.hg-post-hero .hg-post-separator {
    color: var(--hg-slate);
}

.hg-post-hero a:focus-visible {
    outline: 2px solid var(--hg-orange);
    outline-offset: 6px;
}

/* FEATURED IMAGE */

body.single-post .hg-post-feature-wrap {
    margin: 0 !important;
    padding: 0 24px 40px;
    background: var(--hg-cream);
}

body.single-post .hg-post-feature {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto !important;
    padding: 0;

    border: 0;
    border-radius: 0;
    box-shadow: none;

    background: var(--hg-navy);
    overflow: hidden;
    line-height: 0;
}

body.single-post .hg-post-feature img {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Hide duplicate image only when the custom featured image exists */

body.single-post:has(.hg-post-feature img)
#primary .card-view > header .wp-post-image {
    display: none !important;
}

/* TABLET */

@media (max-width: 1024px) {
    body.single-post .title-header.hg-post-hero {
        padding-top: 40px !important;
    }

    body.single-post .title-header.hg-post-hero h1 {
        max-width: 850px;
        font-size: clamp(36px, 5vw, 54px) !important;
        letter-spacing: -1.6px !important;
        line-height: 1.1 !important;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    body.single-post .title-header.hg-post-hero {
        padding: 32px 18px 28px !important;
    }

    .hg-post-hero .hg-post-back {
        margin-bottom: 26px;
        font-size: 14px;
    }

    .hg-post-hero .hg-post-category {
        margin-bottom: 20px;
        font-size: 12px;
        letter-spacing: 2.5px;
        gap: 12px;
    }

    .hg-post-hero .hg-post-category::before {
        width: 30px;
        flex-basis: 30px;
    }

    body.single-post .title-header.hg-post-hero h1 {
        font-size: clamp(30px, 7.5vw, 46px) !important;
        line-height: 1.12 !important;
        letter-spacing: -1px !important;
    }

    .hg-post-hero .hg-post-meta {
        margin-top: 24px;
        font-size: 13px;
        gap: 12px;
    }

    body.single-post .hg-post-feature-wrap {
        padding: 0 18px 28px;
    }
}







/* =========================================
   HG INSIGHTS BLOG
========================================= */

.hgf-page,
.hgf-tabs,
.hgf-results,
.hgf-panel {
    --hg-navy: #0F192E;
    --hg-cream: #F9F1EAD9;
    --hg-text: #454D5E;
    --hg-orange: #C65029;
    --hg-blue: #3258BA;
    --hg-border: #D9DBE1;

    min-width: 0;
    max-width: 100%;
    color: var(--hg-navy);
    font-family: var(--hg-mobile-body, "Söhne") !important;
    text-align: left;
}

.hgf-page *,
.hgf-tabs *,
.hgf-results *,
.hgf-panel *,
.hgf-panel *::before,
.hgf-panel *::after {
    box-sizing: border-box !important;
}

/* MAIN LAYOUT */

.hgf-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: var(--hg-cream);
}

.hgf-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
    min-width: 0;
    max-width: 100%;
}

.hgf-main,
.hgf-sidebar {
    min-width: 0 !important;
    max-width: 100% !important;
}

.hgf-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

/* CATEGORY TABS */

.hgf-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 40px;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--hg-border);
}

.hgf-tabs .hgf-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 9px 18px;
    border: 1px solid var(--hg-border);
    border-radius: 0;
    background: #FFFFFF;
    color: var(--hg-navy) !important;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none !important;
    box-shadow: none;
}

.hgf-tabs .hgf-tab > span {
    flex-shrink: 0;
    color: var(--hg-text);
    font-size: 12px;
}

.hgf-tabs .hgf-tab.is-active {
    background: var(--hg-navy);
    border-color: var(--hg-navy);
    color: #FFFFFF !important;
}

.hgf-tabs .hgf-tab.is-active > span {
    color: var(--hg-orange);
}

.hgf-tabs .hgf-tab:hover {
    border-color: var(--hg-orange);
}

/* SIDEBAR PANELS */

.hgf-panel.hgf-search-panel,
.hgf-panel.hgf-category-panel,
.hgf-panel.hgf-recent-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
}

/* SEARCH BAR */

.hgf-panel .hgf-search {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 49px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--hg-border);
}

.hgf-panel .hgf-search input[type="search"] {
    appearance: none;
    display: block;
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 47px;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--hg-cream) !important;
    color: var(--hg-navy) !important;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.hgf-panel .hgf-search input::placeholder {
    color: var(--hg-text);
    opacity: 0.8;
}

.hgf-panel .hgf-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 0;
    height: 47px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--hg-navy) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    cursor: pointer;
}

.hgf-panel .hgf-search button:hover {
    background: var(--hg-orange) !important;
}

/* CATEGORY ACCORDION */

.hgf-panel .hgf-group {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--hg-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hgf-panel .hgf-group:last-child {
    border-bottom: 1px solid var(--hg-border) !important;
}

.hgf-panel .hgf-group > summary {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    margin: 0 !important;
    padding: 13px 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--hg-navy) !important;
    font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    list-style: none !important;
    cursor: pointer;
}

.hgf-panel .hgf-group > summary > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hgf-panel summary::-webkit-details-marker {
    display: none;
}

.hgf-panel summary::marker {
    content: "";
}

.hgf-panel .hgf-group > summary::before,
.hgf-panel .hgf-group > summary::after {
    content: none !important;
    display: none !important;
}

/* ACCORDION PLUS / MINUS */

.hgf-panel .hgf-plus {
    position: relative;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
}

.hgf-panel .hgf-plus::before,
.hgf-panel .hgf-plus::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 12px;
    height: 1.5px;
    background: var(--hg-orange);
}

.hgf-panel .hgf-plus::after {
    transform: rotate(90deg);
}

.hgf-panel .hgf-group[open] > summary .hgf-plus::after {
    display: none;
}

.hgf-panel .hgf-group-content {
    padding: 2px 0 16px;
}

.hgf-panel .hgf-group:not([open]) > .hgf-group-content {
    display: none !important;
}

/* CATEGORY CHIPS */

.hgf-panel .hgf-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0;
    padding: 0;
}

.hgf-panel .hgf-chip {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    border: 1px solid #D9D6D3 !important;
    border-radius: 0 !important;
    background: var(--hg-cream) !important;
    color: var(--hg-navy) !important;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.hgf-panel .hgf-chip:hover,
.hgf-panel .hgf-chip.is-active {
    background: var(--hg-orange) !important;
    border-color: var(--hg-orange) !important;
    color: #FFFFFF !important;
}

/* VIEW ALL CATEGORY */

.hgf-panel .hgf-view-all {
    display: inline-block;
    max-width: 100%;
    margin: 0 0 10px;
    color: var(--hg-orange) !important;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 12px;
    overflow-wrap: anywhere;
    text-decoration: none !important;
}

.hgf-panel .hgf-branch {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 100%;
}

.hgf-panel .hgf-subcategories {
    margin: 8px 0 4px 8px;
    padding-left: 10px;
    border-left: 1px solid var(--hg-border);
}

/* RECENT POSTS */

.hgf-panel .hgf-recent-list {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.hgf-panel .hgf-recent-list > li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    margin: 0 !important;
    padding: 13px 0 !important;
    border-top: 1px solid var(--hg-border);
    list-style: none !important;
    background: transparent !important;
}

.hgf-panel .hgf-recent-list > li::before,
.hgf-panel .hgf-recent-list > li::marker {
    content: none !important;
}

.hgf-panel .hgf-recent-number {
    padding-top: 2px;
    color: var(--hg-orange);
    font-size: 12px;
    line-height: 20px;
}

.hgf-panel .hgf-recent-list a {
    min-width: 0;
    color: var(--hg-navy) !important;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    overflow-wrap: anywhere;
    text-decoration: none !important;
}

.hgf-panel .hgf-recent-list a:hover {
    color: var(--hg-orange) !important;
}

.hgf-panel .hgf-note {
    margin: 0;
    font-size: 14px;
    color: var(--hg-text);
}

/* POST RESULTS */

.hgf-results {
    width: 100%;
    min-width: 0;
    scroll-margin-top: 120px;
}

.hgf-results .hgf-status {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    min-height: 22px;
    margin: 0 0 26px;
    color: var(--hg-text);
    font-size: 14px;
    line-height: 22px;
}

.hgf-results .hgf-status > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hgf-results .hgf-status a {
    color: var(--hg-orange) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

/* POSTS GRID */

.hgf-results .hgf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
}

/* POST CARD */

.hgf-results .hgf-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--hg-border);
    border-radius: 0;
    background: #FFFFFF;
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* POST IMAGE */

.hgf-results .hgf-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--hg-cream);
    overflow: hidden;
}

.hgf-results .hgf-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    border-radius: 0;
    object-fit: cover !important;
}

/* POST CONTENT */

.hgf-results .hgf-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 24px 26px;
}

.hgf-results .hgf-eyebrow {
    margin: 0 0 12px !important;
    color: var(--hg-blue) !important;
    font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 17px !important;
    letter-spacing: 1.8px;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

/* POST TITLE */

.hgf-results .hgf-card h2 {
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.4px !important;
    overflow-wrap: anywhere;
    text-transform: none !important;
}

.hgf-results .hgf-card h2 a {
    color: var(--hg-navy) !important;
    text-decoration: none !important;
}

.hgf-results .hgf-card h2 a:hover {
    color: var(--hg-orange) !important;
}

/* POST EXCERPT */

.hgf-results .hgf-excerpt {
    margin: 0 0 18px !important;
    color: var(--hg-text) !important;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
}

/* POST META */

.hgf-results .hgf-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--hg-border);
    color: var(--hg-text);
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 12px;
    line-height: 20px;
    overflow-wrap: anywhere;
}

/* EMPTY RESULTS */

.hgf-results .hgf-empty {
    padding: 28px;
    border: 1px solid var(--hg-border);
    background: #FFFFFF;
    color: var(--hg-text);
}

/* PAGINATION */

.hgf-results .hgf-pagination {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap !important;
    gap: 8px;
    width: 100%;
    margin: 48px 0 0 !important;
    padding: 0 !important;
    position: static !important;
    border: 0 !important;
    background: transparent !important;
}

.hgf-results .hgf-pagination a,
.hgf-results .hgf-pagination > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 46px;
    padding: 10px 15px;
    border: 1px solid var(--hg-border);
    background: #FFFFFF;
    color: var(--hg-navy);
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 15px;
    text-decoration: none !important;
}

.hgf-results .hgf-pagination a.is-active {
    background: var(--hg-navy);
    border-color: var(--hg-navy);
    color: #FFFFFF;
}

.hgf-results .hgf-pagination .is-disabled {
    opacity: 0.4;
}

.hgf-results .hgf-pagination .hgf-dots {
    min-width: 24px;
    padding: 0;
    border: 0;
    background: transparent;
}

/* HOVER EFFECT */

@media (hover: hover) and (pointer: fine) {
    .hgf-results .hgf-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(15, 25, 46, 0.12);
    }
}

.hgf-results .hgf-card:focus-within {
    box-shadow: 0 12px 28px rgba(15, 25, 46, 0.12);
}

/* KEYBOARD FOCUS */

.hgf-tabs a:focus-visible,
.hgf-panel a:focus-visible,
.hgf-panel summary:focus-visible,
.hgf-panel button:focus-visible,
.hgf-panel input:focus-visible,
.hgf-results a:focus-visible {
    outline: 2px solid #C65029;
    outline-offset: 3px;
}

/* TABLET */

@media (max-width: 1100px) {
    .hgf-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 32px;
    }

    .hgf-results .hgf-card-body {
        padding: 22px;
    }
}

/* STACKED LAYOUT */

@media (max-width: 900px) {
    .hgf-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px;
    }

    .hgf-sidebar {
        grid-row: 1;
        width: 100%;
        gap: 24px;
    }

    .hgf-tabs {
        margin-bottom: 28px;
    }

    .hgf-tabs .hgf-tab {
        padding: 8px 12px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .hgf-results .hgf-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px;
    }

    .hgf-results {
        scroll-margin-top: 80px;
    }

    .hgf-results .hgf-status {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 13px;
    }

    .hgf-results .hgf-card-body {
        padding: 20px;
    }

    .hgf-results .hgf-pagination {
        gap: 6px;
        margin-top: 28px !important;
    }

    .hgf-tabs .hgf-tab {
        padding: 8px 12px;
        font-size: 13px;
    }

    .hgf-panel .hgf-search input[type="search"] {
        font-size: 16px !important;
    }
}

/* SMALL PHONES */

@media (max-width: 360px) {
    .hgf-panel .hgf-group > summary {
        font-size: 14px !important;
        gap: 8px;
    }

    .hgf-panel .hgf-chip {
        padding: 5px 8px !important;
        font-size: 12px !important;
    }

    .hgf-results .hgf-card-body {
        padding: 16px;
    }

    .hgf-results .hgf-card h2 {
        font-size: 18px !important;
    }

    .hgf-results .hgf-pagination a,
    .hgf-results .hgf-pagination > span {
        min-width: 40px;
        padding: 8px 10px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .hgf-results .hgf-card {
        transition: none;
    }

    .hgf-results .hgf-card:hover {
        transform: none;
    }
}



/* Article categories, tags and sharing */
.hg-article-share,
.hg-article-share *,
.hg-article-share *::before,
.hg-article-share *::after {
    box-sizing: border-box !important;
}

.hg-article-share {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 32px 0 0 !important;
    padding: 28px 0 0 !important;
    border-top: 1px solid #D9DBE1;
    color: #0F192E;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    text-align: left;
}

/* Small headings */
.hg-article-share .hg-share-label {
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #454D5E !important;
    font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 16px !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
}

/* Categories and tags */
.hg-article-share .hg-article-tags {
    margin: 0 !important;
    padding: 0 0 24px !important;
}

.hg-article-share .hg-tag-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.hg-article-share .hg-tag-links > a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    min-height: 34px;
    margin: 0 !important;
    padding: 6px 14px !important;
    border: 1px solid #D9D6D3 !important;
    border-radius: 0 !important;
    background: #F9F1EAD9 !important;
    color: #0F192E !important;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.hg-article-share .hg-tag-links > a:hover {
    background: #C65029 !important;
    border-color: #C65029 !important;
    color: #FFFFFF !important;
}

/* Divider between tags and sharing */
.hg-article-share .hg-article-tags + .hg-share-section {
    border-top: 1px solid #D9DBE1;
    padding-top: 24px !important;
}

.hg-article-share .hg-share-section {
    margin: 0 !important;
    padding: 0 0 24px !important;
}

/* Share buttons */
.hg-article-share .hg-share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.hg-article-share .hg-share-button {
    appearance: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #D9DBE1 !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    color: #0F192E !important;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.hg-article-share .hg-share-button svg {
    display: block;
    flex-shrink: 0;
}

.hg-article-share .hg-share-button:hover {
    background: #0F192E !important;
    border-color: #0F192E !important;
    color: #FFFFFF !important;
}

.hg-article-share .hg-share-button:focus-visible,
.hg-article-share .hg-tag-links > a:focus-visible {
    outline: 2px solid #C65029;
    outline-offset: 3px;
}

/* Copy confirmation */
.hg-article-share .hg-share-status {
    display: block;
    margin-top: 8px;
    color: #454D5E;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 12px;
    line-height: 18px;
}

.hg-article-share .hg-share-status:empty {
    display: none;
}

/* Mobile */
@media (max-width: 767px) {
    .hg-article-share {
        margin-top: 24px !important;
        padding-top: 20px !important;
    }

    .hg-article-share .hg-article-tags {
        padding-bottom: 20px !important;
    }

    .hg-article-share .hg-article-tags + .hg-share-section {
        padding-top: 20px !important;
    }

    .hg-article-share .hg-share-section {
        padding-bottom: 20px !important;
    }

    .hg-article-share .hg-tag-links {
        gap: 6px;
    }

    .hg-article-share .hg-tag-links > a {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hg-article-share .hg-share-button,
    .hg-article-share .hg-tag-links > a {
        transition: none;
    }
}


@media (max-width: 767px) {
    .hg-article-share {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 24px 0 0 !important;
        padding: 20px 18px 0 !important;
    }

    .hg-article-share *,
    .hg-article-share *::before,
    .hg-article-share *::after {
        box-sizing: border-box !important;
    }

    .hg-article-share .hg-article-tags {
        margin: 0 !important;
        padding: 0 0 20px !important;
    }

    .hg-article-share .hg-tag-links {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hg-article-share .hg-tag-links > a {
        display: inline-flex !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 7px 10px !important;
        font-family: var(--hg-mobile-body, "Söhne") !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .hg-article-share .hg-share-label {
        font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
        font-size: 11px !important;
        line-height: 1.6 !important;
        overflow-wrap: anywhere !important;
    }

    .hg-article-share .hg-share-section {
        margin: 0 !important;
        padding: 0 0 20px !important;
    }

    .hg-article-share .hg-article-tags + .hg-share-section {
        padding-top: 20px !important;
    }

    .hg-article-share .hg-share-buttons {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hg-article-share .hg-share-button {
        flex: 0 0 46px !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* RELATED ARTICLES */
.hg-related,
.hg-related *,
.hg-related *::before,
.hg-related *::after {
    box-sizing: border-box;
}

.hg-related {
    display: block;
    clear: both;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0 !important;
    padding: 72px 24px 96px !important;
    background: #F9F1EA;
    color: #0F192E;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    text-align: left;
}

.hg-related .hg-related__inner {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
}

/* SECTION HEADING */
.hg-related .hg-related__header {
    margin: 0 0 48px;
    padding: 0;
    border: 0;
    background: transparent;
}

.hg-related .hg-related__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px;
    padding: 0;
    color: #3258BA;
    font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
    font-size: 11px;
    font-weight: 400 !important;
    line-height: 1.6;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hg-related .hg-related__eyebrow::before {
    content: "";
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 1px;
    background: #3258BA;
}

.hg-related .hg-related__heading {
    margin: 0;
    padding: 0;
    color: #0F192E;
    font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 400 !important;
    line-height: 1.15;
    letter-spacing: -1.5px;
    text-transform: none;
    overflow-wrap: anywhere;
}

/* GRID */
.hg-related .hg-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    margin: 0;
    padding: 0;
}

/* CARD */
.hg-related .hg-related__card {
    display: flex;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #D9DBE1;
    border-radius: 0;
    background: #FFFFFF;
    box-shadow: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hg-related .hg-related__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0F192E;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* FEATURED IMAGE */
.hg-related .hg-related__image {
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #F9F1EA;
}

.hg-related .hg-related__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
}

/* CARD CONTENT */
.hg-related .hg-related__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 24px 25px;
}

.hg-related .hg-related__category {
    margin: 0 0 12px;
    padding: 0;
    color: #3258BA;
    font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
    font-size: 10px;
    font-weight: 400 !important;
    line-height: 1.7;
    letter-spacing: 2px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

/* POST TITLE */
.hg-related .hg-related__title {
    margin: 0 0 12px;
    padding: 0;
    color: #0F192E;
    font-family: var(--hg-mobile-heading, "Söhne Breit") !important;
    font-size: 22px;
    font-weight: 400 !important;
    line-height: 1.35;
    letter-spacing: -0.5px;
    text-transform: none;
    overflow-wrap: anywhere;
}

/* DESCRIPTION */
.hg-related .hg-related__excerpt {
    margin: 0 0 24px;
    padding: 0;
    color: #454D5E;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}

/* DATE AND AUTHOR */
.hg-related .hg-related__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: auto 0 0;
    padding: 15px 0 0;
    border-top: 1px solid #D9DBE1;
    color: #454D5E;
    font-family: var(--hg-mobile-body, "Söhne") !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.hg-related .hg-related__meta > * {
    min-width: 0;
    max-width: 100%;
    font-family: var(--hg-mobile-body, "Söhne") !important;
}

.hg-related .hg-related__dot {
    color: #D9DBE1;
}

/* HOVER */
@media (hover: hover) and (pointer: fine) {
    .hg-related .hg-related__card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(15, 25, 46, 0.12);
    }
}

/* KEYBOARD FOCUS */
.hg-related .hg-related__link:focus-visible {
    outline: 2px solid #C65029;
    outline-offset: -3px;
}

/* TABLET */
@media (max-width: 1024px) {
    .hg-related {
        padding: 56px 24px 64px !important;
    }

    .hg-related .hg-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hg-related .hg-related__header {
        margin-bottom: 36px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .hg-related {
        padding: 40px 18px 48px !important;
    }

    .hg-related .hg-related__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .hg-related .hg-related__header {
        margin-bottom: 28px;
    }

    .hg-related .hg-related__eyebrow {
        gap: 12px;
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hg-related .hg-related__eyebrow::before {
        flex-basis: 30px;
        width: 30px;
    }

    .hg-related .hg-related__heading {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hg-related .hg-related__body {
        padding: 22px 18px;
    }

    .hg-related .hg-related__title {
        font-size: 20px;
        line-height: 1.4;
        letter-spacing: -0.3px;
    }

    .hg-related .hg-related__excerpt {
        font-size: 15px;
    }

    .hg-related .hg-related__meta {
        gap: 6px 12px;
        font-size: 12px;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .hg-related .hg-related__card {
        transition: none;
        transform: none !important;
    }
}
/* Mobile blog typography and outer gutter */
@media (max-width: 767px) {
    :is(.hg-post-hero, .hgf-page, .hgf-tabs, .hgf-panel, .hgf-results,
        .hg-article-share, .hg-related) {
        --hg-mobile-body: "Söhne", "Sohne";
        --hg-mobile-heading: "Söhne Breit", "Sohne Breit";
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .hgf-page {
        box-sizing: border-box;
        padding-inline: 18px;
    }

    body.single-post .hg-post-hero :is(.hg-post-back, .hg-post-category, .hg-post-meta) {
        font-family: var(--hg-mobile-body) !important;
    }

    .hg-post-hero :is(h1, .hg-post-meta) :is(span, a),
    .hgf-results :is(.hgf-card h2, .hgf-meta) :is(span, a),
    .hgf-panel .hgf-group > summary > span:first-child,
    .hg-related .hg-related__title :is(a, span) {
        font-family: inherit !important;
    }
}
