/*
Theme Name: Aedilis Media
Theme URI: https://aedilismedia.com
Author: Erkan Avcı
Author URI: https://aedilismedia.com
Description: A premium dark landing page WordPress theme for Aedilis Media: music, motion, stories, vlogs, rides and creative projects.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aedilis-media
Tags: custom-logo, one-column, entertainment, portfolio, blog, featured-images
*/

:root {
  --bg: #08080c;
  --bg-soft: #11111a;
  --bg-card: rgba(255, 255, 255, 0.055);
  --text: #f6f1e8;
  --muted: #b9b1a6;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #c99d52;
  --gold-soft: rgba(201, 157, 82, 0.22);
  --pink: #e9489b;
  --violet: #7c5cff;
  --cyan: #6ae7ff;
  --green: #84ffb5;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(233, 72, 155, 0.18), transparent 34%),
    radial-gradient(circle at 50% 90%, rgba(201, 157, 82, 0.16), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.035), transparent);
  opacity: 0.4;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1180px, calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #fff1b8 45%, var(--pink));
  color: #111;
  font-family: "Cinzel", serif;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(201,157,82,0.34);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(201,157,82,0.55);
  border-radius: 999px;
  background: var(--gold-soft);
  color: #ffe5b0 !important;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 132px 0 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold);
}

h1, .section-title {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.3rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin-bottom: 26px;
}

.gradient-text {
  background: linear-gradient(110deg, #fff7dc, var(--gold), var(--pink), var(--cyan));
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  color: var(--text);
  font-weight: 800;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.09);
}

.btn-primary {
  border-color: rgba(201,157,82,0.58);
  background: linear-gradient(135deg, rgba(201,157,82,0.95), rgba(233,72,155,0.78));
  color: #160d0d;
  box-shadow: 0 18px 46px rgba(201,157,82,0.22);
}

.hero-panel {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025)),
    radial-gradient(circle at 30% 20%, rgba(201,157,82,0.32), transparent 34%),
    radial-gradient(circle at 78% 38%, rgba(233,72,155,0.26), transparent 38%),
    rgba(255,255,255,0.035);
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 28px;
  background:
    linear-gradient(to top, rgba(0,0,0,0.72), transparent 55%),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80") center/cover;
  filter: saturate(0.9) contrast(1.06);
  opacity: 0.82;
}

.floating-card {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  background: rgba(8,8,12,0.72);
  backdrop-filter: blur(20px);
}

.floating-card small {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-card h2 {
  font-size: 1.8rem;
  margin: 10px 0;
}

.floating-card p {
  color: var(--muted);
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  color: #fff4d4;
}

.stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

section { padding: 86px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-desc {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}


.project-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: 0.28s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,255,255,0.26);
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -60px -60px auto auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--accent, var(--gold));
  filter: blur(46px);
  opacity: 0.42;
}

.project-number {
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.project-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.project-link {
  display: inline-flex;
  margin-top: 20px;
  color: #ffe5b0;
  font-weight: 900;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
  align-items: stretch;
}

.feature-card,
.release-list,
.video-card,
.journal-card,
.contact-card,
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.052);
  box-shadow: 0 20px 70px rgba(0,0,0,0.2);
  overflow: hidden;
}

.feature-card {
  min-height: 460px;
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.15)),
    url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1000&q=80") center/cover;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201,157,82,0.18);
  border: 1px solid rgba(201,157,82,0.34);
  color: #ffe2a7;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.release-list { padding: 12px; }

.release-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  transition: 0.25s ease;
}

.release-item:hover { background: rgba(255,255,255,0.055); }

.cover {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255,255,255,0.6), transparent 18%),
    linear-gradient(135deg, var(--gold), var(--pink), var(--violet));
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.release-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.release-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.pill {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.8rem;
  white-space: nowrap;
}

.video-grid,
.journal-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-thumb {
  min-height: 210px;
  background:
    linear-gradient(to top, rgba(0,0,0,0.85), transparent),
    var(--image, linear-gradient(135deg, var(--violet), var(--pink)));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  padding: 18px;
}

.play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
}

.video-body,
.journal-card,
.post-card {
  padding: 22px;
}

.video-body h3,
.journal-card h3,
.post-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.video-body p,
.journal-card p,
.post-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

.journal-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.journal-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent, var(--gold));
  filter: blur(50px);
  opacity: 0.35;
}

.manifesto {
  padding: 56px;
  border: 1px solid rgba(201,157,82,0.24);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(135deg, rgba(201,157,82,0.12), rgba(233,72,155,0.07)),
    rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}

.manifesto p {
  font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 3.4vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card { padding: 30px; }

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.form { display: grid; gap: 12px; }

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,0.24);
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus { border-color: rgba(201,157,82,0.56); }

textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  padding: 36px 0 52px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.socials a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}

.socials a:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.28);
}

.wp-content {
  padding-top: 130px;
  min-height: 80vh;
}

.post-card a {
  color: #ffe5b0;
  font-weight: 800;
}

.post-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

@media (max-width: 1020px) {
  .hero-grid,
  .feature-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .project-grid { grid-template-columns: repeat(2, 1fr); }

  .video-grid,
  .journal-grid,
  .posts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel { min-height: 460px; }
}

@media (max-width: 760px) {
  .navbar {
    top: 10px;
    border-radius: 24px;
    align-items: flex-start;
  }

  .nav-links { display: none; }

  .hero { padding-top: 110px; }

  .project-grid,
  .video-grid,
  .journal-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }


  .section-desc { margin-top: 14px; }

  .release-item { grid-template-columns: 66px 1fr; }

  .release-item .pill {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .cover {
    width: 66px;
    border-radius: 14px;
  }

  .manifesto { padding: 30px; }

  .stats { grid-template-columns: 1fr; }

  h1 { font-size: clamp(3rem, 18vw, 5.2rem); }
}

/* AEDILIS PROJECTS - FULL ISOLATED CENTERED LAYOUT */

.aed-projects-section {
  width: 100%;
  text-align: center;
}

.aed-projects-section .container {
  display: block;
}

.aed-projects-header {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 56px auto;
  text-align: center;
}

.aed-projects-header h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0;
}

.aed-projects-header p {
  max-width: 640px;
  margin: 20px auto 0 auto;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.aed-projects-block {
  width: 100%;
  margin: 0 auto 64px auto;
  text-align: center;
}

.aed-projects-block:last-child {
  margin-bottom: 0;
}

.aed-projects-block-header {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 28px auto;
  text-align: center;
}

.aed-projects-block-header h3 {
  font-family: "Cinzel", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  text-align: center;
}

.aed-projects-block-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.aed-projects-cards {
  display: grid;
  gap: 20px;
  justify-content: center;
  justify-items: stretch;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
}

.aed-projects-cards-two {
  grid-template-columns: repeat(2, 320px);
  max-width: 660px;
}

.aed-projects-cards-three {
  grid-template-columns: repeat(3, 320px);
  max-width: 1000px;
}

.aed-project-card {
  width: 320px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: 0.28s ease;
  text-align: left;
}

.aed-project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,255,255,0.26);
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
}

.aed-project-card::before {
  content: "";
  position: absolute;
  inset: -60px -60px auto auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--accent, var(--gold));
  filter: blur(46px);
  opacity: 0.42;
}

.aed-project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.aed-project-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .aed-projects-cards-three {
    grid-template-columns: repeat(2, 320px);
    max-width: 660px;
  }
}

@media (max-width: 760px) {
  .aed-projects-cards-two,
  .aed-projects-cards-three {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .aed-project-card {
    width: 100%;
    max-width: 380px;
  }

  .aed-projects-header {
    margin-bottom: 44px;
  }
}

/* Project card logos */

.project-logo {
  width: 150px;
  height: 70px;
}
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.project-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.project-logo-dzs {
  width: 190px;
  height: 76px;
}

.aed-project-card h3,
.aed-project-card p,
.aed-project-card .project-link,
.aed-project-card .project-number {
  position: relative;
  z-index: 2;
}

.aed-project-card .project-logo {
  width: 100%;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 26px auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
}

.aed-project-card .project-logo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 12, 0) 0%,
    rgba(8, 8, 12, 0.65) 55%,
    rgba(8, 8, 12, 0.98) 100%
  );
  pointer-events: none;
  z-index: 3;
}

.aed-project-card .project-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.aed-project-card h3,
.aed-project-card p,
.aed-project-card .project-link,
.aed-project-card .project-number {
  position: relative;
  z-index: 4;
}

/* Music project cards side by side fix */

.aed-projects-cards-two {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.aed-projects-cards-two .aed-project-card {
  width: 340px !important;
  max-width: 340px !important;
  flex: 0 0 340px !important;
}

.aed-projects-cards-three {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.aed-projects-cards-three .aed-project-card {
  width: 320px !important;
  max-width: 320px !important;
  flex: 0 0 320px !important;
}

@media (max-width: 900px) {
  .aed-projects-cards-two,
  .aed-projects-cards-three {
    flex-direction: column !important;
    align-items: center !important;
  }

  .aed-projects-cards-two .aed-project-card,
  .aed-projects-cards-three .aed-project-card {
    width: 100% !important;
    max-width: 380px !important;
    flex: 0 0 auto !important;
  }
}

/* Aedilis Projects layout hard reset */

.aed-projects-block {
  width: 100% !important;
  display: block !important;
  clear: both !important;
  margin: 0 auto 72px auto !important;
  text-align: center !important;
}

.aed-projects-block-header {
  width: 100% !important;
  max-width: 720px !important;
  display: block !important;
  margin: 0 auto 32px auto !important;
  text-align: center !important;
}

.aed-projects-block-header h3 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 16px 0 !important;
  text-align: center !important;
}

.aed-projects-block-header p {
  display: block !important;
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.aed-projects-cards {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 24px !important;
  margin: 0 auto !important;
  clear: both !important;
}

.aed-projects-cards-two {
  flex-direction: row !important;
  max-width: 760px !important;
}

.aed-projects-cards-three {
  flex-direction: row !important;
  max-width: 1120px !important;
}

.aed-projects-cards-two .aed-project-card {
  width: 340px !important;
  max-width: 340px !important;
  flex: 0 0 340px !important;
}

.aed-projects-cards-three .aed-project-card {
  width: 320px !important;
  max-width: 320px !important;
  flex: 0 0 320px !important;
}

@media (max-width: 900px) {
  .aed-projects-cards-two,
  .aed-projects-cards-three {
    flex-direction: column !important;
    align-items: center !important;
  }

  .aed-projects-cards-two .aed-project-card,
  .aed-projects-cards-three .aed-project-card {
    width: 100% !important;
    max-width: 380px !important;
    flex: 0 0 auto !important;
  }
}

/* DZS logo vertical alignment fix */

.project-logo-dzs img {
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.18);
}

.project-logo-demonium {
  padding: 10px 14px;
}

.project-logo-demonium img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.02);
}

/* Project card vertical alignment fix */

.aed-project-card {
  justify-content: flex-start !important;
  gap: 18px !important;
}

.aed-project-card .project-number {
  margin-bottom: 0 !important;
}

.aed-project-card .project-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.aed-project-card .project-logo {
  margin-top: 0 !important;
  margin-bottom: 26px !important;
}
.project-logo-afiyets {
  padding: 8px 12px;
}

.project-logo-afiyets img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.08);
}

.project-logo-can {
  padding: 8px 12px;
}

.project-logo-can img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.08);
}

.project-logo-rides {
  padding: 8px 12px;
}

.project-logo-rides img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.08);
}

/* ================================
   MOBILE FIX - AEDILIS MEDIA
================================ */

@media (max-width: 760px) {

  body {
    overflow-x: hidden !important;
  }

  .container {
    width: calc(100% - 36px) !important;
  }

  /* NAVBAR */

  .navbar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: calc(100% - 36px) !important;
    margin: 18px auto 0 auto !important;
    padding: 14px 18px !important;
    border-radius: 28px !important;
  }

  .brand {
    gap: 14px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.18em !important;
  }

  .brand-mark {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
  }

  .nav-links {
    display: none !important;
  }

  /* HERO */

  .hero {
    min-height: auto !important;
    padding: 54px 0 64px !important;
    display: block !important;
  }

  .hero-grid {
    display: block !important;
  }

  .eyebrow {
    font-size: 0.74rem !important;
    margin-bottom: 18px !important;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.9rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.055em !important;
    margin-bottom: 24px !important;
  }

  .hero-copy {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 28px !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    min-height: 58px !important;
    font-size: 1rem !important;
  }

  .hero-panel {
    margin-top: 44px !important;
    min-height: auto !important;
    height: auto !important;
    padding: 16px !important;
    border-radius: 32px !important;
  }

  .hero-panel::before {
    inset: 16px !important;
    border-radius: 24px !important;
    min-height: 420px !important;
  }

  .floating-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 230px 24px 24px 24px !important;
    padding: 24px !important;
    border-radius: 24px !important;
  }

  .floating-card h2 {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
  }

  .floating-card p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
  }

  .stats {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .stat {
    padding: 18px !important;
  }

  /* PROJECTS GENERAL */

  .aed-projects-section {
    padding: 58px 0 !important;
  }

  .aed-projects-header {
    max-width: 100% !important;
    margin: 0 auto 42px auto !important;
    text-align: left !important;
  }

  .aed-projects-header h2 {
    font-size: 2.4rem !important;
    line-height: 1 !important;
    text-align: left !important;
  }

  .aed-projects-header p {
    max-width: 100% !important;
    margin: 16px 0 0 0 !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }

  .aed-projects-block {
    margin-bottom: 52px !important;
  }

  .aed-projects-block-header {
    max-width: 100% !important;
    margin: 0 0 24px 0 !important;
    text-align: left !important;
  }

  .aed-projects-block-header h3 {
    font-size: 1.55rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
    margin-bottom: 10px !important;
  }

  .aed-projects-block-header p {
    max-width: 100% !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    text-align: left !important;
    margin: 0 !important;
  }

  /* PROJECT CARDS */

  .aed-projects-cards,
  .aed-projects-cards-two,
  .aed-projects-cards-three {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .aed-project-card,
  .aed-projects-cards-two .aed-project-card,
  .aed-projects-cards-three .aed-project-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    flex: 0 0 auto !important;
    padding: 20px !important;
    border-radius: 26px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    overflow: hidden !important;
  }

  .aed-project-card .project-number {
    font-size: 0.9rem !important;
    margin: 0 !important;
  }

  .project-card-content {
    display: block !important;
    width: 100% !important;
  }

  /* LOGO BOX */

  .aed-project-card .project-logo,
  .project-logo {
    width: 100% !important;
    height: 118px !important;
    max-height: 118px !important;
    margin: 0 0 22px 0 !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: rgba(0, 0, 0, 0.28) !important;
    position: relative !important;
  }

  .aed-project-card .project-logo img,
  .project-logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
  }

  .project-logo::after {
    height: 45% !important;
  }

  .project-logo-dzs img {
    transform: scale(1.08) !important;
  }

  .project-logo-demonium img {
    transform: scale(1.04) !important;
  }

  .project-logo-afiyets img,
  .project-logo-can img,
  .project-logo-rides img {
    transform: scale(1.06) !important;
  }

  .aed-project-card h3 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    margin: 0 0 10px 0 !important;
  }

  .aed-project-card p {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
  }

  .aed-project-card .project-link {
    display: inline-flex !important;
    margin-top: 18px !important;
    font-size: 1rem !important;
  }
}

/* Mobile hero panel compact fix */

@media (max-width: 760px) {
  .hero-panel {
    margin-top: 34px !important;
    padding: 14px !important;
    border-radius: 28px !important;
  }

  .hero-panel::before {
    inset: 14px !important;
    border-radius: 22px !important;
    min-height: 300px !important;
    background-position: center center !important;
  }

  .floating-card {
    margin: 145px 14px 14px 14px !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .floating-card small {
    font-size: 0.72rem !important;
    letter-spacing: 0.14em !important;
  }

  .floating-card h2 {
    font-size: 1.35rem !important;
    line-height: 1.22 !important;
    margin: 10px 0 12px 0 !important;
  }

  .floating-card p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-top: 16px !important;
  }

  .stat {
    padding: 12px 8px !important;
    border-radius: 15px !important;
  }

  .stat strong {
    font-size: 1.2rem !important;
  }

  .stat span {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
  }
}

/* Music release popup */

.release-item {
  width: 100%;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.release-open {
  background: transparent;
}

.release-open:hover .pill {
  border-color: rgba(201,157,82,0.5);
  color: #ffe5b0;
}

.music-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.music-modal.is-open {
  display: flex;
}

.music-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.music-modal-box {
  width: min(430px, 100%);
  position: relative;
  z-index: 2;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at top left, rgba(201,157,82,0.20), transparent 38%),
    radial-gradient(circle at top right, rgba(233,72,155,0.18), transparent 34%),
    rgba(13, 13, 19, 0.96);
  box-shadow: 0 30px 90px rgba(0,0,0,0.65);
}

.music-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.music-modal-box h3 {
  font-size: 1.65rem;
  margin: 14px 0 8px;
}

.music-modal-box p {
  color: var(--muted);
  margin-bottom: 22px;
}

.music-platforms {
  display: grid;
  gap: 10px;
}

.music-platforms a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.055);
  color: var(--text);
  font-weight: 800;
  transition: 0.22s ease;
}

.music-platforms a::after {
  content: "→";
  color: #ffe5b0;
}

.music-platforms a:hover {
  transform: translateY(-2px);
  border-color: rgba(201,157,82,0.45);
  background: rgba(201,157,82,0.12);
}

@media (max-width: 760px) {
  .music-modal-box {
    padding: 24px;
    border-radius: 24px;
  }

  .music-modal-box h3 {
    font-size: 1.35rem;
  }

  .music-platforms a {
    padding: 13px 14px;
  }
}

.feature-card-bdgb {
  background:
    linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.12) 62%),
    url("https://aedilismedia.com/wp-content/uploads/2026/05/Cover.png") center/cover !important;
}

.cover-delilik-serbest {
  background: url("https://aedilismedia.com/wp-content/uploads/2026/05/Cover-1.png") center/cover no-repeat !important;
}

.cover-duvar-kiriklari {
  background: url("https://aedilismedia.com/wp-content/uploads/2026/05/Cover-2-scaled.png") center/cover no-repeat !important;
}

.cover-son-kat-melankolisi {
  background: url("https://aedilismedia.com/wp-content/uploads/2026/05/Cover-3-scaled.png") center/cover no-repeat !important;
}

.cover-bir-daha-gom-beni {
  background: url("https://aedilismedia.com/wp-content/uploads/2026/05/Cover.png") center/cover no-repeat !important;
}

/* Music section header fix */

#music .section-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 16px !important;
  margin-bottom: 38px !important;
}

#music .section-title {
  width: 100% !important;
  text-align: center !important;
}

#music .section-desc {
  max-width: 640px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.cover-hell-is-a-stage {
  background: url("https://aedilismedia.com/wp-content/uploads/2026/05/Cover-4-scaled.png") center/cover no-repeat !important;
}

/* Manifesto text center fix */

.manifesto {
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.manifesto p {
  max-width: 900px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  .manifesto {
    padding: 32px 24px !important;
  }

  .manifesto p {
    font-size: 1.45rem !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
}

/* Videos section header fix */

#videos .section-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 16px !important;
  margin-bottom: 38px !important;
}

#videos .section-title {
  width: 100% !important;
  text-align: center !important;
}

#videos .section-desc {
  max-width: 640px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

#videos .video-card a {
  color: inherit;
  text-decoration: none;
}

#videos .video-thumb {
  min-height: 230px;
}

#videos .video-body h3 a:hover {
  color: #ffe5b0;
}

/* Journal section header fix */

#journal .section-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 16px !important;
  margin-bottom: 38px !important;
}

#journal .section-title {
  width: 100% !important;
  text-align: center !important;
}

#journal .section-desc {
  max-width: 640px !important;
  margin: 0 auto !important;
  text-align: center !important;
}
/* Journal clickable cards */

.journal-card-link {
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;
}

.journal-card-link:hover {
  transform: translateY(-7px);
  border-color: rgba(255,255,255,0.26);
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
}

.journal-card-link h3,
.journal-card-link p,
.journal-card-link .tag {
  position: relative;
  z-index: 2;
}

/* Contact Form 7 theme styling */

.contact-form-card .wpcf7 {
  width: 100%;
}

.contact-form-card .wpcf7-form {
  display: grid;
  gap: 12px;
}

.contact-form-card .wpcf7 p {
  margin: 0;
}

.contact-form-card .wpcf7 input,
.contact-form-card .wpcf7 textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,0.24);
  color: var(--text);
  font: inherit;
  outline: none;
}

.contact-form-card .wpcf7 input:focus,
.contact-form-card .wpcf7 textarea:focus {
  border-color: rgba(201,157,82,0.56);
}

.contact-form-card .wpcf7 textarea {
  min-height: 70px;
  resize: vertical;
}

.contact-form-card .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px !important;
  border: 1px solid rgba(201,157,82,0.58) !important;
  background: linear-gradient(135deg, rgba(201,157,82,0.95), rgba(233,72,155,0.78)) !important;
  color: #160d0d !important;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(201,157,82,0.22);
}

.contact-form-card .wpcf7-submit:hover {
  transform: translateY(-2px);
}

.contact-form-card .wpcf7-response-output {
  margin: 12px 0 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  color: var(--text);
}

.contact-form-card .wpcf7-not-valid-tip {
  color: #ff8a8a;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* Contact form textarea height fix */

.contact-form-card .wpcf7 textarea {
  min-height: 170px !important;
  height: 170px !important;
  max-height: 220px !important;
  resize: vertical;
}

/* Contact section header fix */

#contact .section-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 16px !important;
  margin-bottom: 38px !important;
}

#contact .section-title {
  width: 100% !important;
  text-align: center !important;
}

#contact .section-desc {
  max-width: 660px !important;
  margin: 0 auto !important;
  text-align: center !important;
  line-height: 1.7 !important;
}

/* Social media icon buttons */

.socials-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.socials-icons a {
  width: 48px;
  height: 48px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.055);
  color: var(--text);
  transition: 0.22s ease;
}

.socials-icons a i {
  font-size: 1.18rem;
  line-height: 1;
}

.socials-icons a:hover {
  transform: translateY(-3px);
  border-color: rgba(201,157,82,0.5);
  background: rgba(201,157,82,0.12);
  color: #ffe5b0;
}

.socials-icons a[aria-label="YouTube"]:hover {
  color: #ff4d4d;
}

.socials-icons a[aria-label="Instagram"]:hover {
  color: #e9489b;
}

.socials-icons a[aria-label="Spotify"]:hover {
  color: #1ed760;
}

.socials-icons a[aria-label="TikTok"]:hover {
  color: #6ae7ff;
}

.socials-icons a[aria-label="E-posta"]:hover {
  color: #c99d52;
}

#contact .contact-card p {
  text-align: justify !important;
  text-justify: inter-word;
}
/* Contact Ondan Sonra logo text */

.contact-ondan-logo {
  width: 100%;
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.contact-ondan-logo span {
  display: block;
  font-family: "Monoton", "Orbitron", "Arial Black", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ff4fc3 0%, #8d6dff 48%, #4fcfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.35));
}

@media (max-width: 760px) {
  .contact-ondan-logo {
    margin-top: 36px;
  }

  .contact-ondan-logo span {
    font-size: clamp(2rem, 13vw, 3.4rem);
  }
}

/* Contact Ondan Sonra logo size fix */

.contact-ondan-logo {
  margin-top: 48px !important;
  padding: 12px 0 18px 0 !important;
  overflow: visible !important;
}

.contact-ondan-logo span {
  font-size: clamp(1.8rem, 4vw, 3.4rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0.035em !important;
}

@media (max-width: 760px) {
  .contact-ondan-logo {
    margin-top: 34px !important;
    padding: 10px 0 14px 0 !important;
  }

  .contact-ondan-logo span {
    font-size: clamp(1.7rem, 10vw, 2.8rem) !important;
    line-height: 1.1 !important;
  }
}

/* Contact social icons justify / balanced spacing */

#contact .socials-icons {
  width: 100%;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0 !important;
}

/* Header brand icon image */

.brand-mark {
  overflow: hidden !important;
  padding: 0 !important;
}

.brand-mark img {
  width: 82% !important;
  height: 82% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

/* Header brand left alignment fix */

.navbar {
  justify-content: space-between !important;
}

.brand {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  text-align: left !important;
}

.brand-text {
  display: inline-block !important;
  width: auto !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.nav-links {
  margin-left: auto !important;
}

/* Mobile section headings center fix */

@media (max-width: 760px) {

  /* Genel section başlıkları */
  .section-head,
  #music .section-head,
  #videos .section-head,
  #journal .section-head,
  #contact .section-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 14px !important;
  }

  .section-title,
  #music .section-title,
  #videos .section-title,
  #journal .section-title,
  #contact .section-title {
    width: 100% !important;
    text-align: center !important;
  }

  .section-desc,
  #music .section-desc,
  #videos .section-desc,
  #journal .section-desc,
  #contact .section-desc {
    max-width: 92% !important;
    margin: 0 auto !important;
    text-align: center !important;
    line-height: 1.65 !important;
  }


  /* Projeler ana başlığı */
  .aed-projects-header {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .aed-projects-header h2 {
    width: 100% !important;
    text-align: center !important;
  }

  .aed-projects-header p {
    max-width: 92% !important;
    margin: 16px auto 0 auto !important;
    text-align: center !important;
  }


  /* Müzik Projeleri / Video & İçerik Serileri başlıkları */
  .aed-projects-block-header {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .aed-projects-block-header h3 {
    width: 100% !important;
    text-align: center !important;
  }

  .aed-projects-block-header p {
    max-width: 92% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}
/* Premium inner page title font */

body.page .wp-content .section-title,
body.single .wp-content .section-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  text-transform: none !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 0.95 !important;
  font-size: clamp(3rem, 6vw, 6.4rem) !important;
}

/* Premium inner page title font - smaller */

body.page .wp-content .section-title,
body.single .wp-content .section-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  text-transform: none !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.05 !important;
  font-size: clamp(2.4rem, 4.2vw, 4.6rem) !important;
}

@media (max-width: 760px) {
  body.page .wp-content .section-title,
  body.single .wp-content .section-title {
    font-size: clamp(2rem, 10vw, 3.2rem) !important;
    line-height: 1.08 !important;
  }
}

/* Inner page article typography */

body.page .wp-content .post-card p,
body.single .wp-content .post-card p {
  text-align: justify !important;
  text-justify: inter-word;
  margin-bottom: 1.35em !important;
  line-height: 1.85 !important;
}

body.page .wp-content .post-card p:last-child,
body.single .wp-content .post-card p:last-child {
  margin-bottom: 0 !important;
}

body.page .wp-content .post-card,
body.single .wp-content .post-card {
  color: var(--muted);
}

body.page .wp-content .post-card .section-title,
body.single .wp-content .post-card .section-title {
  color: var(--text);
  margin-bottom: 28px !important;
}

@media (max-width: 760px) {
  body.page .wp-content .post-card p,
  body.single .wp-content .post-card p {
    text-align: left !important;
    line-height: 1.75 !important;
    margin-bottom: 1.25em !important;
  }
}

/* Premium typography for article headings */

/* Prompt font for WordPress article headings */

body.page .wp-content .post-card h1,
body.page .wp-content .post-card h2,
body.page .wp-content .post-card h3,
body.page .wp-content .post-card h4,
body.single .wp-content .post-card h1,
body.single .wp-content .post-card h2,
body.single .wp-content .post-card h3,
body.single .wp-content .post-card h4 {
  font-family: "Prompt", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.12 !important;
  color: var(--text) !important;
}

/* Main inner page title with Prompt */

body.page .wp-content .section-title,
body.single .wp-content .section-title {
  font-family: "Prompt", sans-serif !important;
  text-transform: none !important;
  font-weight: 700 !important;
  letter-spacing: -0.045em !important;
  line-height: 1.05 !important;
  font-size: clamp(2.3rem, 4vw, 4.2rem) !important;
}

@media (max-width: 760px) {
  body.page .wp-content .section-title,
  body.single .wp-content .section-title {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
  }
}

/* Article content mobile width and justified text fix */

.article-content {
  width: 100% !important;
  max-width: none !important;
}

.article-content p {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 1.35em !important;
  text-align: justify !important;
  text-justify: inter-word;
  line-height: 1.85 !important;
}

.article-content figure,
.article-content .wp-block-image {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 28px !important;
}

.article-content figure img,
.article-content .wp-block-image img,
.article-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 0 !important;
}

@media (max-width: 760px) {
  body.page .wp-content .post-card,
  body.single .wp-content .post-card {
    padding: 22px !important;
  }

  .article-content {
    width: 100% !important;
  }

  .article-content p {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: justify !important;
    text-align-last: left;
    line-height: 1.75 !important;
    font-size: 1rem !important;
    letter-spacing: 0 !important;
  }

  .article-content figure,
  .article-content .wp-block-image {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .article-content figure img,
  .article-content .wp-block-image img,
  .article-content img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =====================================================
   ARTICLE / WORDPRESS CONTENT FINAL FIX
   Media + Text, images, paragraphs, mobile overlap fix
===================================================== */

/* İçerik alanı tam genişlik kullansın */
.article-content,
body.page .wp-content .post-card,
body.single .wp-content .post-card {
  overflow: hidden !important;
}

/* Boş paragraf bloklarını gizle */
.article-content p:empty,
body.page .wp-content .post-card p:empty,
body.single .wp-content .post-card p:empty {
  display: none !important;
}

/* Normal paragraflar */
.article-content p,
body.page .wp-content .post-card p,
body.single .wp-content .post-card p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 1.45em 0 !important;
  padding: 0 !important;
  text-align: justify !important;
  text-justify: inter-word;
  line-height: 1.85 !important;
}

/* Media & Text bloklarının genel ayarı */
.article-content .wp-block-media-text,
body.page .wp-content .wp-block-media-text,
body.single .wp-content .wp-block-media-text {
  width: 100% !important;
  max-width: none !important;
  margin: 34px 0 !important;
  gap: 28px !important;
  align-items: center !important;
  clear: both !important;
}

/* Media & Text içindeki yazı kısmı daralmasın */
.article-content .wp-block-media-text__content,
body.page .wp-content .wp-block-media-text__content,
body.single .wp-content .wp-block-media-text__content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Media & Text içindeki paragraflar diğer metinlerle aynı genişlikte olsun */
.article-content .wp-block-media-text__content p,
body.page .wp-content .wp-block-media-text__content p,
body.single .wp-content .wp-block-media-text__content p {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 0 1.35em 0 !important;
  text-align: justify !important;
  text-justify: inter-word;
  line-height: 1.85 !important;
}

/* Görsel tarafı */
.article-content .wp-block-media-text__media,
body.page .wp-content .wp-block-media-text__media,
body.single .wp-content .wp-block-media-text__media {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
}

/* Tüm yazı içi görseller güvenli davransın */
.article-content img,
.article-content figure img,
.article-content .wp-block-image img,
.article-content .wp-block-media-text__media img,
body.page .wp-content .post-card img,
body.single .wp-content .post-card img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

/* Standart image blokları */
.article-content figure,
.article-content .wp-block-image,
body.page .wp-content .wp-block-image,
body.single .wp-content .wp-block-image {
  width: 100% !important;
  max-width: none !important;
  margin: 34px 0 !important;
  padding: 0 !important;
}

/* Align center gibi WordPress hizaları daraltmasın */
.article-content .aligncenter,
body.page .wp-content .aligncenter,
body.single .wp-content .aligncenter {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
}

/* =====================================================
   MOBILE FIX
===================================================== */

@media (max-width: 760px) {

  body.page .wp-content .post-card,
  body.single .wp-content .post-card {
    padding: 22px !important;
    overflow: hidden !important;
  }

  /* Mobilde Media & Text kesinlikle tek kolon olsun */
  .article-content .wp-block-media-text,
  body.page .wp-content .wp-block-media-text,
  body.single .wp-content .wp-block-media-text {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin: 30px 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* Sağda görsel olan bloklar mobilde de düzgün sıraya girsin */
  .article-content .wp-block-media-text.has-media-on-the-right,
  body.page .wp-content .wp-block-media-text.has-media-on-the-right,
  body.single .wp-content .wp-block-media-text.has-media-on-the-right {
    flex-direction: column !important;
  }

  /* Media & Text içindeki yazı dar görünmesin */
  .article-content .wp-block-media-text__content,
  body.page .wp-content .wp-block-media-text__content,
  body.single .wp-content .wp-block-media-text__content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Mobilde paragraflar iki yana yaslı kalsın */
  .article-content p,
  .article-content .wp-block-media-text__content p,
  body.page .wp-content .post-card p,
  body.single .wp-content .post-card p {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1.35em !important;
    text-align: justify !important;
    text-align-last: left !important;
    line-height: 1.78 !important;
    font-size: 1rem !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
  }

  /* Image-fill mobilde taşma/üstüne binme yapmasın */
  .article-content .wp-block-media-text.is-image-fill-element,
  body.page .wp-content .wp-block-media-text.is-image-fill-element,
  body.single .wp-content .wp-block-media-text.is-image-fill-element {
    min-height: auto !important;
  }

  .article-content .wp-block-media-text__media,
  body.page .wp-content .wp-block-media-text__media,
  body.single .wp-content .wp-block-media-text__media {
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .article-content .wp-block-media-text__media img,
  body.page .wp-content .wp-block-media-text__media img,
  body.single .wp-content .wp-block-media-text__media img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  /* Eğer WordPress image-fill yüzünden figure'a background basarsa, mobilde etkisini azalt */
  .article-content .wp-block-media-text__media[style],
  body.page .wp-content .wp-block-media-text__media[style],
  body.single .wp-content .wp-block-media-text__media[style] {
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Tekil görseller mobilde taşmasın */
  .article-content .wp-block-image,
  .article-content figure,
  body.page .wp-content .wp-block-image,
  body.single .wp-content .wp-block-image {
    width: 100% !important;
    max-width: none !important;
    margin: 30px 0 !important;
  }

  .article-content .wp-block-image img,
  .article-content figure img,
  body.page .wp-content .wp-block-image img,
  body.single .wp-content .wp-block-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* WordPress centered images fix */

.article-content .wp-block-image.aligncenter,
body.page .wp-content .wp-block-image.aligncenter,
body.single .wp-content .wp-block-image.aligncenter {
  display: block !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Görsel küçültüldüyse ortada kalsın */
.article-content .wp-block-image.aligncenter img,
body.page .wp-content .wp-block-image.aligncenter img,
body.single .wp-content .wp-block-image.aligncenter img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* WordPress editörde verilen özel genişliği koru */
.article-content .wp-block-image.is-resized.aligncenter img,
body.page .wp-content .wp-block-image.is-resized.aligncenter img,
body.single .wp-content .wp-block-image.is-resized.aligncenter img {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Eğer figure genişliği 100% olsa bile içindeki img ortalansın */
.article-content figure.aligncenter img,
body.page .wp-content figure.aligncenter img,
body.single .wp-content figure.aligncenter img {
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Hero creative card center fix */

.hero-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.hero-panel::before {
  z-index: 0 !important;
}

.floating-card {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  transform: none !important;
  width: min(78%, 620px) !important;
  margin: 0 auto !important;
  z-index: 2 !important;
  text-align: left !important;
}

.floating-card h2,
.floating-card p,
.floating-card small {
  position: relative !important;
  z-index: 3 !important;
}

.floating-card .stats {
  grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 760px) {
  .hero-panel {
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
  }

  .hero-panel::before {
    inset: 18px !important;
    min-height: auto !important;
    height: calc(100% - 36px) !important;
  }

  .floating-card {
    width: calc(100% - 48px) !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 22px !important;
    text-align: left !important;
  }

  .floating-card .stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .stat {
    padding: 12px 8px !important;
    text-align: center !important;
  }

  .stat strong {
    font-size: 1.25rem !important;
  }

  .stat span {
    font-size: 0.68rem !important;
  }
}
/* YouTube subscriber widget */

.subscriber-widget {
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 0, 0.16), transparent 38%),
    rgba(255,255,255,0.055);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(0,0,0,0.24);
  transition: 0.22s ease;
}

.subscriber-widget:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 0, 0, 0.24), transparent 38%),
    rgba(255,255,255,0.08);
}

.subscriber-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.16);
  color: #ff4d4d;
  border: 1px solid rgba(255,255,255,0.12);
}

.subscriber-icon i {
  font-size: 1.25rem;
}

.subscriber-content {
  display: grid;
  gap: 2px;
}

.subscriber-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subscriber-content strong {
  font-size: 1.55rem;
  line-height: 1;
  color: var(--text);
}

.subscriber-content small {
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .subscriber-widget {
    width: 100%;
    justify-content: flex-start;
    margin-top: 18px;
    padding: 14px;
  }

  .subscriber-content strong {
    font-size: 1.35rem;
  }
}
/* Hero subscriber mini widget */

.subscriber-widget-mini {
  width: fit-content !important;
  max-width: 100% !important;
  margin-top: 18px !important;
  padding: 9px 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.055) !important;
  color: var(--text) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.subscriber-widget-mini:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.26) !important;
  background: rgba(255,255,255,0.08) !important;
}

.subscriber-mini-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.16);
  color: #ff4d4d;
  flex: 0 0 26px;
}

.subscriber-mini-icon i {
  font-size: 0.82rem;
}

.subscriber-mini-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1;
}

.subscriber-mini-text strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
}

.subscriber-mini-text span {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 760px) {
  .subscriber-widget-mini {
    margin-top: 16px !important;
    padding: 10px 13px !important;
  }

  .subscriber-mini-text {
    font-size: 0.78rem;
  }

  .subscriber-mini-text strong {
    font-size: 0.95rem;
  }
}
/* Mobile subscriber widget - same size as hero buttons */

@media (max-width: 760px) {
  .subscriber-widget-mini {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 18px 20px !important;
    margin-top: 16px !important;
    border-radius: 999px !important;
  }

  .subscriber-mini-icon {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
  }

  .subscriber-mini-icon i {
    font-size: 0.95rem !important;
  }

  .subscriber-mini-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }

  .subscriber-mini-text strong {
    font-size: 1rem !important;
  }

  .subscriber-mini-text span {
    font-size: 0.95rem !important;
  }
}