/*
Theme Name: The Amazing Food Theme
Theme URI: https://theamazingfood.com/
Description: Build with GeneratePress & Generateblocks
Author: Sikander Jafar
Author URI: https://sikanderjafar.com
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/





/* Header-Styles */
.site-header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1000;
}

#masthead {
    border-bottom: solid 1px lightgray;
}

@media (min-width: 1200px) {
    .inside-header {
        margin-right: auto;
        margin-left: auto;
        width: 1200px;
    }
}

/* Bild-Styles */
figure.wp-block-image,
.gb-grid-wrapper figure.wp-block-image,
div.wp-block-image,
.gb-grid-wrapper div.wp-block-image {
    margin-bottom: 2rem;
}

/* Listen-Styles */
.inside-article ul li,
.inside-article ol li {
    margin-bottom: 25px;
    margin-left: -15px;
}

.inside-article .ingr {
    padding-left: 15px;
    margin-left: 0;
}

.inside-article .ingr li {
    list-style: none;
    position: relative;
    padding-left: 1em;
    margin-bottom: 0.5em;
}

.inside-article .ingr li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #af8f4e;
    font-size: 1.75em;
    line-height: 1;
}

/* Handgezeichnete Linie */
.hr--handdrawn {
    height: 8px;
    margin-top: 2em;
    margin-bottom: 2rem;
    background-size: 1027px 8px;
    background-position: 0;
    background-repeat: no-repeat;
    background-image: url('/wp-content/uploads/2025/04/line-handdrawn.svg')
}

/* Überschriften-Abstände in Einzelbeiträgen */
body.single-post h2,
body.single-post h3 {
    margin-top: 1.7rem;
}

/* Tabellen-Reset */
table {
    margin: 0px;
}

/* Logo-Erweiterung */
.main-title a::after {
    content: '.com';
    padding: 0 5px;
    color: white;
    background: #083B55;
}

/* Responsive Bild-Styles */
@media(max-width: 768px) {
    .featured-image img {
        height: 250px;
        object-fit: cover;
        margin-top: -20px;
    }
}

@media (min-width: 1024px) {
    .featured-image img {
        max-width: 700px;
        width: 100%;
        object-fit: cover;
        display: block;
        margin-top: -20px;
        margin-left: 0;
        margin-right: auto;
    }
}

/* Einzelbeitrag Inhaltsbreite */
.single-post div.entry-content {
    max-width: 700px
}

/* Footer und Kommentarbereich */
div.site-footer {
    border-top: solid 2px lightgray;
}

div.comments-area {
    border-top: solid 2px #D3D3D3;
}

/* Archiv-Grid Styles */
.archivegrid h2 a {
    text-decoration: none;  
    color: #000000; 
}

.archivegrid h2 a:hover {
    color: #000000; 
    text-decoration: none; 
}

body.archive div.inside-article,
body.home div.inside-article {
   background-color: white;
}

body.archive .entry-header,
body.home .entry-header {
   padding: 20px 15px;
   margin-top: -30px;
}

body.archive,
body.archive #page,
body.home,
body.home #page {
    background-color: white;
}

/* Bildunterschriften-Styles */
figcaption.wp-element-caption,
figcaption {
    font-size: .75rem;
    line-height: 1.5;
    display: block;
    text-align: left;
    color: #737373;
    text-transform: uppercase;
}

figcaption.wp-element-caption {
    margin-top: 0px;    
    margin-bottom: -10px;
}

figcaption {
    margin-top: -10px;    
    margin-bottom: 1rem;
}

.featured-image .wp-element-caption {
    max-width: 700px;
    width: 100%;
    font-size: 0.875rem;
    text-align: left;
    display: block;
    margin-top: 5px;
}

@media (max-width: 767px) {
    .featured-image .wp-element-caption {
        margin-top: 3px;
    }
}

/* AI-Disclaimer Styles */
.ai-disclaimer {
    position: relative;
    padding-left: 50px;
    line-height: 1.5;
}

.ai-disclaimer::before {
    content: '';
    background-image: url("data:image/svg+xml;base64,..."); /* SVG-Daten hier gekürzt */
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    filter: invert(37%) sepia(74%) saturate(1103%) hue-rotate(143deg) brightness(95%) contrast(101%);
}

/* Verstecken der Seitennavigation */
nav#nav-below.paging-navigation {
    display: none !important;
}

/* Affiliate-Disclaimer */
.aff-disclaimer {
    line-height: 1.5;
}

/* Archiv-Header Styles */
body.archive header.page-header {
    background-color: #9f9f9f;
    padding: 15px;
}

div.header-entry-title {
    margin-top: 30px;
    margin-bottom: -20px;
    padding-left: 15px;
    padding-right: 10px
}

/* Responsive Sidebar */
@media (max-width: 760px) {
    #right-sidebar {
        display: none;
    }
}

/* "Love" Section Styles */
div.love {
    margin-top: 70px;
    padding: 5px 10px;
    background-color: #02b5b50f;
    position: relative;
    padding-top: 30px;
}

div.love::before {
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #dcf6f6;
    border-radius: 50%;
    font-size: 80px;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid white;
    background-image: url('https://mollyshomeguide.com/wp-content/uploads/2024/11/chef-hat-hand-drawn-tool-svgrepo-com.svg');
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Feature-Liste Styles */
.inside-article .feature-list {
    padding-left: 15px;
    margin-left: 0;
}

.inside-article .feature-list li {
    list-style: none;
    position: relative;
    padding-left: 1.4em;
    margin-bottom: 1em;
}

.inside-article .feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: teal;
    font-size: 1.5em;
    line-height: 1;
}


/* Auto-Caption Styles */
figcaption.auto-caption {
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Fun-Fact Box Styles */
.fun-fact-box {
      background-color: #f5f2ea;
      padding: 15px;
			padding-bottom:5px;
			
    }
.fun-fact-title {
	font-weight: bold;
	font-size: 1.3rem;
}

.fun-fact-p {
	font-size:1rem;
	 line-height: 1.5rem;

}

/* Ingredients Steps */

.inside-article .steps-ingr {
  padding-left: 15px; 
  margin-left: 0; 
}

.inside-article .steps-ingr li {
  list-style: none;
  position: relative;
  padding-left: 1.4em; /* Schiebt den Text nach rechts */
  margin-bottom: 0em;
	font-size:16px;
	line-height:1.6rem;
}

.inside-article .steps-ingr li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #af8f4e;
  font-size: 1.75em;
  line-height: 1;
}




/* Image Shadow */
.shadow-img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}



/* To remove underline  */
.nounderline a {
    text-decoration: none;
}



/* Container Shadow  */
.has-shadow {
    box-shadow:  0 4px 12px rgba(0, 0, 0, 0.22);
    -webkit-box-shadow:  0 4px 12px rgba(0, 0, 0, 0.10);
    -moz-box-shadow:  0 4px 12px rgba(0, 0, 0, 0.12);
}



/* Button Shadow  */
.shadow-btn {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  
}

.shadow-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px); /* optional lift effect */
}



/* Titlt container  */
.tilt-container-one {
  transform: rotate(10deg); /* Negative value tilts left, positive tilts right */
  display: inline-block; /* Optional: keeps layout inline if needed */
}





/* Style the shortcode number as a yellow circle */
.wp-block-shortcode:has(.number-badge),
.wp-block-shortcode {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.number-badge {
  background-color: #f8afa6; /* circle color */
  color: #000; /* Text color */
  font-weight: 800;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}




/* Scale the search icon */
.gp-icon.icon-search svg {
  transform: scale(1.5);
  background-color: #f8afa6; /* circular background */
  border-radius: 50%; /* Makes it circular */
  padding: 6px; /* Space around the icon inside the circle */
  width: 14px;
  height: 14px;
  box-sizing: content-box; /* Prevent padding from shrinking the icon */
  fill: black; /* White icon color for contrast */
}

/* Optional: Adjust the path styling if needed */
.gp-icon.icon-search svg path {
  stroke: none; /* Disable stroke if you want solid fill */
}





/* Hide on Desktop/Mobile/Tablet */
@media (max-width: 768px) {
    /* CSS in here for mobile only */
}
@media (min-width: 769px) and (max-width: 1024px) {
    /* CSS in here for tablet only */
}
@media (min-width: 1025px) {
    /* CSS in here for desktop only */
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  /* IE10+ specific styles go here */
}
