/*
Theme Name: Kuir Edebiyat
Theme URI: https://example.com
Author: Literary Design Studio
Author URI: https://example.com
Description: A refined, typography-first WordPress theme for writers and literary workshops. Inspired by boutique publishing houses and literary magazines.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kuir-edebiyat
Tags: blog, editorial, literature, custom-colors, featured-images, flexible-header, custom-menu
*/

/* ===================================
   LITERARY DESIGN SYSTEM
   Typography-first, minimal, elegant
   =================================== */

/* CSS RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette: Organic & Refined */
  --color-eggshell: #FEFCF9;
  /* Soft broken white for site background */
  --color-paper: #F5F2ED;
  /* Brownish for boxes and content */
  --color-charcoal: #2A2A2A;
  --color-slate: #4A4A4A;
  --color-accent: #8B4513;
  /* Old Gold/Burgundy */
  --color-accent-light: #A0826D;
  --color-border: #D4C8BA;
  --color-border-subtle: #E8E4DE;
  --color-footer-bg: #3A3A3A;
  /* Darker background for footer */

  /* Typography Scale */
  --font-serif: 'Crimson Text', 'Lora', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Line Heights */
  --leading-tight: 1.3;
  --leading-relaxed: 1.6;
  --leading-loose: 1.8;

  /* Max Widths */
  --max-width-text: 680px;
  --max-width-content: 1100px;
  --max-width-wide: 1400px;
}

/* TYPOGRAPHY */
body {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: var(--leading-relaxed);
  color: var(--color-charcoal);
  background-color: var(--color-eggshell);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
}

h4 {
  font-size: 1.35rem;
  font-weight: 500;
}

p {
  margin-bottom: var(--space-sm);
  line-height: var(--leading-loose);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-charcoal);
}

/* NAVIGATION */
nav {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* BUTTONS - Editorial Style */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-eggshell);
  background-color: var(--color-charcoal);
  border: 2px solid var(--color-charcoal);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  color: var(--color-charcoal);
  background-color: transparent;
}

.btn-outline {
  color: var(--color-charcoal);
  background-color: transparent;
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-charcoal);
  color: var(--color-eggshell);
  border-color: var(--color-charcoal);
}

/* DIVIDERS */
.divider {
  width: 60px;
  height: 1px;
  background-color: var(--color-accent);
  margin: var(--space-md) auto;
}

.divider-full {
  width: 100vw;
  height: 1px;
  background-color: var(--color-border-subtle);
  margin: var(--space-lg) 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* HERO / PAGE HEADER */
.hero,
.page-header,
.archive-hero {
  padding: var(--space-lg);
}
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid var(--color-border-subtle);
}

.hero-content {
  max-width: var(--max-width-text);
}

.hero h1 {
  margin-bottom: var(--space-md);
  font-size: 4rem;
  font-weight: 300;
}

.hero p {
  font-size: 1.25rem;
  line-height: var(--leading-loose);
  color: var(--color-slate);
}

/* STORY CARD - Typography First */
.story-card {
  padding: var(--space-md);
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-paper);
  margin-bottom: var(--space-md);
  transition: all 0.3s ease;
}

.story-card:hover {
  border-color: var(--color-accent-light);
}

.story-card h3 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  font-weight: 400;
  transition: color 0.3s ease;
}

.story-card:hover h3 {
  color: var(--color-accent);
}

.story-meta {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-bottom: var(--space-sm);
}

.story-excerpt {
  font-size: 1.1rem;
  line-height: var(--leading-loose);
  color: var(--color-slate);
}

/* WORKSHOP CARD */
.workshop-card {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.workshop-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* WORKSHOP POSTER - Classic Poster Style */
.workshop-poster {
  border: 1px solid var(--color-border);
  background-color: var(--color-paper);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.workshop-poster:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* FORMS - Sophisticated & Clean */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-charcoal);
  background-color: var(--color-paper);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* CONTENT CONTAINERS */
.container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-sm) 0;
  background-color: transparent;
}

.section-lg {
  padding: var(--space-2xl) 0;
  background-color: transparent;
}

/* Kart / liste görselleri: görselin tamamı görünsün, kutu boyutu aynı kalsın */
article .overflow-hidden[style*="height"],
.workshop-poster .overflow-hidden[style*="height"],
.latest-post-card .overflow-hidden {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-border-subtle);
}
article .overflow-hidden img,
.workshop-poster .overflow-hidden img,
.latest-post-card .overflow-hidden img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

/* NAVIGATION - Mobile Menu Toggle at 1000px */
.mobile-menu-toggle {
  display: block !important;
}

.desktop-navigation {
  display: none !important;
}

.mobile-navigation {
  display: block !important;
}

/* Override Tailwind's hidden class for mobile navigation */
.mobile-navigation.hidden {
  display: none !important;
}

@media (min-width: 1000px) {
  .mobile-menu-toggle {
    display: none !important;
  }

  .desktop-navigation {
    display: block !important;
  }

  .mobile-navigation {
    display: none !important;
  }

  /* Ensure mobile menu is hidden at 1000px+ even if hidden class is removed */
  .mobile-navigation.hidden,
  .mobile-navigation:not(.hidden) {
    display: none !important;
  }
}

/* MOBILE RESPONSIVE - E-book Reading Experience */
@media (max-width: 768px) {
  :root {
    font-size: 16px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero {
    min-height: 60vh;
    padding: var(--space-lg);
  }

  .section {
    padding: var(--space-md) 0;
  }

  .section-lg {
    padding: var(--space-lg) 0;
  }

  .story-card {
    padding: var(--space-md);
  }

  .workshop-card {
    padding: var(--space-md);
  }
}

/* HEADER SPECIFIC STYLES */
.site-header {
  padding: 0;
  border-bottom: 1px solid var(--color-border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
  flex-shrink: 0;
}

.site-logo a {
  color: var(--color-charcoal);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-logo a:hover {
  opacity: 0.7;
}

.site-logo img {
  max-height: 75px;
  width: auto;
  height: auto;
}

.site-title {
  font-weight: 700;
  -webkit-text-stroke: 1px #000000;
  text-stroke: 1px #000000;
}

.site-slogan {
  background: linear-gradient(270deg, #ff9c72, #cd80bf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.main-navigation a {
  color: var(--color-slate);
  padding: 0.3rem 0.5rem;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: 'Libre Baskerville', serif;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  white-space: nowrap;
  text-transform: capitalize;
}

.main-navigation.desktop-navigation {
  padding: 0.75rem 1rem;
  width: 100%;
}

.main-navigation a:hover {
  color: var(--color-accent);
  opacity: 0.8;
}

.main-navigation ul li {
  list-style: none;
}

/* SEARCH */
.search-icon-btn:hover {
  color: var(--color-accent);
  opacity: 0.8;
}

.search-dropdown {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background-color: var(--color-paper);
  padding: 1.25rem;
  animation: slideDown 0.2s ease-out;
}

.search-dropdown-mobile {
  animation: none;
  opacity: 1;
  transform: translateX(-50%) !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filter Buttons */
.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: var(--color-accent) !important;
  color: #fff !important;
  border-color: var(--color-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 121, 230, 0.2);
}

.filter-btn.active {
  cursor: default;
}

@media (max-width: 768px) {
  .filter-buttons-container {
    flex-wrap: nowrap !important;
    gap: 0.4rem !important;
  }
  
  .filter-btn {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.5rem !important;
    flex: 1;
    min-width: 0;
    text-align: center !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }
  
  .filter-btn:first-child {
    flex: 0.9;
  }
}

.search-dropdown input[type="search"] {
  border-radius: 6px;
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
}

.search-dropdown input[type="search"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(99, 120, 230, 0.1);
}

.search-dropdown .btn {
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.search-dropdown .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-result-item {
  border-radius: 6px;
  transition: all 0.2s ease;
}

.search-result-item a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .search-dropdown {
    width: calc(100vw - 2rem);
    max-width: 400px;
    padding: 1rem;
  }
}

/* SEARCH PAGE FORM */
.search-page-form-wrapper {
  background-color: var(--color-paper);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.search-page-form-wrapper:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(99, 120, 230, 0.15);
}

.search-page-input {
  padding: 0.875rem 1rem;
  border: none;
  background: transparent;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-charcoal);
  outline: none;
}

.search-page-input::placeholder {
  color: var(--color-slate);
  opacity: 0.6;
}

.search-page-submit {
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.search-page-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* FOOTER INSTAGRAM */
.instagram-link:hover {
  border-color: var(--color-eggshell);
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* FOOTER */
.site-footer {
  background-color: var(--color-footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0 var(--space-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-eggshell);
}

.site-footer a {
  color: var(--color-eggshell);
  transition: opacity 0.3s ease;
  text-decoration: none;
  font-family: var(--font-serif);
  opacity: 0.9;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--color-eggshell);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

/* Footer Menü: 4-4 iki sütun, yan yana, font büyük */
.footer-menu-wrap .footer-menu-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 0.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-wrap .footer-menu-list li {
  margin-bottom: 0;
}

.footer-menu-wrap .footer-menu-list a {
  font-size: 1rem;
}

/* Footer branding: Logo + Title + Slogan */
.footer-branding {
  min-width: 0;
}

.footer-branding-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo a {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.2;
  display: inline-block;
  letter-spacing: 0.05em;
}

.footer-logo img {
  max-height: 56px;
  width: auto;
  height: auto;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-eggshell);
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-slogan {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  opacity: 0.9;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background: linear-gradient(270deg, #ff9c72, #cd80bf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* SHARE BUTTONS */
.share-buttons .share-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* BREADCRUMB */
.breadcrumb-section {
  padding: var(--space-md) 0;
  background-color: var(--color-paper);
  border-bottom: 1px solid var(--color-border-subtle);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.breadcrumb {
  padding: 0;
  background-color: transparent;
  border-bottom: none;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.breadcrumb a {
  color: var(--color-slate);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  color: var(--color-slate);
}

/* LATEST POSTS SLIDER */
.latest-posts-slider {
  position: relative;
  overflow: hidden;
  padding: 0 3.5rem;
  /* Space for navigation arrows */
  width: 100%;
  max-width: 100%;
}

.latest-posts-slider:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.slider-nav {
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav:hover {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-nav svg {
  width: 20px;
  height: 20px;
}

.slider-wrapper {
  display: flex;
  will-change: transform;
}

.latest-post-card {
  transition: all 0.3s ease;
}

.latest-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--color-accent);
}

/* CATEGORY BLOCKS */
.category-block {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-paper);
}

.category-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--color-accent);
}

.category-block-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 200px;
}

.category-block-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
  flex: 1;
}

.category-block-gradient {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(160, 130, 109, 0.15) 50%, rgba(212, 200, 186, 0.1) 100%);
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.category-block:hover .category-block-gradient {
  opacity: 0.8;
}

/* RESPONSIVE - Header Branding */
@media (max-width: 768px) {
  .branding-wrapper {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.75rem !important;
    max-width: 100%;
    overflow: hidden;
    padding: 0 0.5rem;
  }

  .branding-wrapper .site-logo {
    flex-shrink: 0;
    max-width: 80px;
  }

  .branding-wrapper .site-logo img {
    max-height: 70px;
    max-width: 70px;
    width: auto;
    height: auto;
  }

  .branding-wrapper > div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.25rem;
    min-width: 0;
  }

  .branding-wrapper .site-title {
    font-size: 1.5rem !important;
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.3;
    text-align: left;
    max-width: 100%;
    overflow-wrap: break-word;
    display: block;
    width: fit-content;
  }

  .branding-wrapper .site-slogan {
    font-size: 1.1rem !important;
    white-space: normal !important;
    word-break: break-word;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
    line-height: 1.4;
    display: block;
    width: fit-content;
    margin-left: 0;
    align-self: flex-start;
  }
}

/* RESPONSIVE - Category Blocks & Latest Posts */
@media (max-width: 768px) {
  .category-block {
    margin-bottom: 1rem !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 150px !important;
    min-height: 150px;
    max-height: 150px;
    overflow: hidden;
    max-width: 100%;
  }

  .category-block-title {
    font-size: 1.1rem;
    margin-bottom: 0.15rem !important;
    text-align: center;
  }

  .category-block-description {
    font-size: 0.8rem;
    line-height: 1.25;
    opacity: 0.8 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
  }

  .category-block-content {
    padding: 0.375rem 0.5rem !important;
    height: 100%;
    width: 60% !important;
    min-height: unset;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }

  .category-block-content > div {
    text-align: center;
    width: 100%;
    overflow: hidden;
  }

  .category-block-content > div a {
    display: block;
    text-align: center;
  }

  /* Override inline style for image width on mobile */
  .category-block-image {
    width: 40% !important;
    opacity: 1 !important;
    overflow: hidden;
  }

  .category-block-image img {
    object-fit: cover;
  }

  .category-block-gradient {
    background: linear-gradient(90deg, var(--color-paper) 0%, var(--color-paper) 20%, transparent 100%) !important;
    width: 100% !important;
    opacity: 1 !important;
  }

  .latest-post-card {
    min-width: 240px !important;
  }

  .post-title {
    font-size: 1rem !important;
  }

  .post-category-tag {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.5rem !important;
  }

  .slider-wrapper {
    gap: 1rem !important;
  }

  .latest-posts-slider {
    touch-action: pan-y;
    padding: 0 2.5rem;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .latest-post-card {
    width: calc(100vw - 5rem) !important;
    min-width: calc(100vw - 5rem);
    max-width: calc(100vw - 5rem);
  }

  .section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .container {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.opacity-60 {
  opacity: 0.6;
}

/* Newsletter Form Styles */
.newsletter-form {
  position: relative;
}

.newsletter-message {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  animation: slideDown 0.3s ease;
}

.newsletter-message.newsletter-success {
  background-color: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #c8e6c9;
}

.newsletter-message.newsletter-error {
  background-color: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.4);
  color: #ffcdd2;
}

.newsletter-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filter Buttons */
.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: var(--color-accent) !important;
  color: #fff !important;
  border-color: var(--color-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 121, 230, 0.2);
}

.filter-btn.active {
  cursor: default;
}

@media (max-width: 768px) {
  .filter-btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
}

/* Brevo Form Styles - Footer tasarımına uygun */
.sib-form {
  width: 100%;
}

/* Email Input Styling */
.sib-email-area {
  color: var(--color-eggshell);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.sib-email-area input[type="email"] {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-eggshell);
  padding: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}

.sib-email-area input[type="email"]:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background-color: rgba(255,255,255,0.15);
}

.sib-email-area input[type="email"]::placeholder {
  color: rgba(255,255,255,0.6);
}

/* Submit Button Styling */
.sib-default-btn {
  background-color: transparent;
  border: 1px solid var(--color-eggshell);
  color: var(--color-eggshell);
  padding: 0.5rem 1rem;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
}

.sib-default-btn:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

.sib-default-btn:active {
  transform: scale(0.98);
}

/* Form Messages */
.sib-form-message {
  margin-top: 0.75rem;
  padding: 0.5rem;
  font-size: 0.875rem;
  text-align: center;
  border-radius: 4px;
}

.sib-form-message.success {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.sib-form-message.error {
  background-color: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Kuir Edebiyata Dair arşiv sayfası – page header / hero (50.jpeg, boyut) */
body.post-type-archive-kuire_dair .archive-hero {
  min-height: 280px !important;
  display: flex !important;
  align-items: center !important;
  padding: var(--space-lg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Kuir Edebiyata Dair içerik sayfaları – tipografi */
body.single-kuire_dair .kuire-dair-hero-text,
body.single-kuire_dair .kuire-dair-single-content,
body.single-kuire_dair .kuire-dair-single-content .prose {
  font-family: 'Crimson Text', 'Lora', 'Playfair Display', Georgia, serif;
}

/* Footer – Made by Enwou linki */
.footer-enwou-link {
  text-decoration: none !important;
  color: #e67e22 !important;
  font-size: 1.05em;
  font-weight: 500;
}
.footer-enwou-link:hover {
  color: #d35400 !important;
}