/*
Theme Name: GeneratePress Child - FlirtMastery
Theme URI: https://flirtmastery.de
Description: Custom child theme for FlirtMastery dating blog
Author: Nexus
Template: generatepress
Version: 1.0.3
Text Domain: generatepress-child
*/

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Lexend:wght@600;700;800&family=Manrope:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ============ CSS VARIABLES ============ */
:root {
  --bg: #F4F1ED;
  --bg-light: #F9F7F5;
  --bg-card: #FFFFFF;
  --header-bg: #B72B2B;
  --header-dark: #9A2222;
  --text: #1F1F1F;
  --text-mid: #555555;
  --text-light: #999999;
  --accent: #B72B2B;
  --accent-hover: #9A2222;
  --accent-soft: #FDF2F2;
  --border: #EBEBEB;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max-w: 1280px;
  --sidebar-w: 340px;
}

/* ============ RESET GENERATEPRESS ============ */
body {
  font-family: var(--body) !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  line-height: 1.75 !important;
  font-size: 17px !important;
  -webkit-font-smoothing: antialiased;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 400 !important;
}

.site-header,
.inside-header,
.main-navigation,
.site-content,
.inside-article,
.entry-content,
.content-area,
#primary,
#content {
  all: unset;
}

a {
	color: var(--accent);
}
a:hover {
	color: var(--accent-hover);
}
/* ============ NAVIGATION ============ */
nav {
  background: var(--header-bg);
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.3px;
}

.logo:hover {
  color: white;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

/* ============ HEADER & LAYOUT ============ */
.fm-header-banner {
  background: var(--header-bg);
  padding: 0 24px 120px;
}

.fm-post-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
  position: relative;
}

.fm-post-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 0;
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.08);
}

.fm-post-main {
  margin-top: -100px;
}

.fm-featured-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: linear-gradient(135deg, #E0D0C4 0%, #D5C0B0 50%, #CBBAA8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.fm-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-featured-image .ph {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.18);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.fm-content-area {
  padding: 32px 40px 44px;
}

.fm-content-area h1 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 16px 0;
  color: var(--accent);
}

.fm-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.fm-meta .sep {
  width: 4px;
  height: 4px;
  background: var(--text-light);
  border-radius: 50%;
  opacity: 0.4;
}

.fm-author-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  margin-bottom: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  gap: 14px;
}

.fm-author-box-mobile {
  display: none;
  flex-direction: row;
  text-align: left;
  gap: 16px;
}

.fm-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: url('http://187.77.67.128/wp-content/uploads/2026/02/flirtcoach-flirtmasteryde.jpg');
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-light);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.fm-author-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.fm-author-bio {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.fm-author-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.fm-author-link:hover {
  text-decoration: underline;
}

.fm-post-body {
  color: var(--text);
	
}

/* --- H2: Main Section with accent left-border --- */
.fm-post-body h2 {
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  margin: 44px 0 16px !important;
  padding-left: 16px !important;
  line-height: 1.3 !important;
  color: var(--text) !important;
  border-left: 4px solid var(--accent) !important;
}

/* --- H3: Sub-Section, clean --- */
.fm-post-body h3 {
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 40px 0 14px !important;
  padding-left: 0 !important;
  line-height: 1.35 !important;
  color: var(--text) !important;
  border-left: none !important;
}

/* --- H4: Uppercase Label --- */
.fm-post-body h4 {
  font-family: var(--display) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 32px 0 10px !important;
  line-height: 1.4 !important;
  color: var(--text-mid) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

/* --- H5: Subtle Subheading (rare use) --- */
.fm-post-body h5 {
  font-family: var(--display) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 24px 0 8px !important;
  line-height: 1.4 !important;
  color: var(--text-mid) !important;
}

/* --- H6: Micro Label (rare use) --- */
.fm-post-body h6 {
  font-family: var(--display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin: 20px 0 8px !important;
  line-height: 1.4 !important;
  color: var(--text-light) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

/* --- Sidebar heading consistency --- */
.fm-sidebar h3,
.fm-sidebar h4 {
  font-family: var(--display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--text) !important;
}

.fm-post-body p {
  margin-bottom: 20px;
}

.fm-post-body strong {
  font-weight: 600;
}

.fm-sidebar {
  padding: 20px 28px 28px;
}

.fm-sidebar-search {
  margin-bottom: 16px;
}

.fm-sidebar-search input[type="search"] {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 14px;
  outline: none;
  background: var(--bg-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 24 24'%3E%3Cpath d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' stroke='%23999' stroke-width='2' fill='none'/%3E%3C/svg%3E") 12px center no-repeat;
}

.fm-sidebar-search input[type="search"]:focus {
  border-color: var(--accent);
}

.fm-sidebar-newsletter {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 8px;
  padding: 24px 20px;
  margin-bottom: 16px;
  text-align: center;
  color: white;
}

.fm-sidebar-newsletter h4 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: white;
}

.fm-sidebar-newsletter p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 14px 0;
  line-height: 1.45;
}

.fm-sidebar-newsletter input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  color: white;
  font-family: var(--body);
  font-size: 14px;
  outline: none;
  margin-bottom: 8px;
}

.fm-sidebar-newsletter input[type="email"]::placeholder {
  color: rgba(255,255,255,0.4);
}

.fm-sidebar-newsletter button {
  width: 100%;
  padding: 10px;
  background: white;
  color: var(--accent);
  border: none;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.fm-sidebar-newsletter .micro {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.fm-sidebar-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 20px;
  margin-bottom: 16px;
}

.fm-sidebar-box h4 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
}

.fm-sidebar-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fm-sidebar-box li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.fm-sidebar-box li:last-child {
  border-bottom: none;
}

.fm-sidebar-box li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.fm-sidebar-box li a:hover {
  color: var(--accent);
}

.fm-footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* Die Key Takeaways Box (angepasst an FlirtMastery Theme) */
.takeaways-box {
    background: var(--accent-soft);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin: 40px 0;
}

.takeaways-box__label {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.takeaways-box__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.takeaways-box__item {
    position: relative;
    padding: 8px 0 8px 28px;
    font-family: var(--body);
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
}

.takeaways-box__item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    top: 10px;
}

/* TOC Wrapper */
.toc-wrapper {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 32px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
    list-style: none;
    outline: none;
}

.toc-toggle::-webkit-details-marker {
    display: none;
}

.toc-body {
    padding: 0 20px 20px 40px;
    background: var(--bg-card);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(-10px);
}

.toc-wrapper[open] .toc-body {
    opacity: 1;
    transform: translateY(0);
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.toc-chevron {
    font-size: 10px;
    color: var(--text-light);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-wrapper[open] .toc-chevron {
    transform: rotate(180deg);
}

html {
    scroll-behavior: smooth;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  
  .fm-header-banner {
    padding-bottom: 80px;
  }
  
  .fm-post-wrapper {
    padding: 0 0 48px;
  }
  
  .fm-post-layout {
    grid-template-columns: 1fr;
    border-radius: 0;
  }
  
  .fm-post-main {
    margin-top: -60px;
  }
  
  .fm-featured-image {
    border-radius: 0;
    aspect-ratio: 16 / 9;
  }
  
  .fm-content-area {
    padding: 24px 20px 32px;
  }
  
  .fm-sidebar {
    padding: 20px 16px;
  }
  
  .fm-author-box-desktop {
    display: none !important;
  }
  
  .fm-author-box-mobile {
    display: flex !important;
  }
}
