
      *, *::before, *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      html {
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
        scroll-behavior: smooth;
      }

      body {
        background-color: #e7e1d5;
        color: #3d2e1d;
        font-family: "EB Garamond", Georgia, serif;
        font-size: 1.125rem;
        line-height: 1.8;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
      }

      .wrap {
        width: 800px;
        max-width: 94%;
        margin: 35px auto;
      }

      /* Header & Logo */
      .logo {
        text-align: center;
      }

      .logo img {
        width: 200px;
	max-width: %80;
	height: auto;
        object-fit: contain;
        display: inline-block;
      }

      .sub {
        font-family: "Cinzel", serif;
        font-size: 0.75rem;
        letter-spacing: 5px;
        color: #5c4a30;
        margin-top: 6px;
      }

      /* Ayırıcı Çizgi Deseni */
      .bar {
        height: 14px;
        margin: 18px 0;
        background: repeating-linear-gradient(
          90deg,
          #8a6b3b 0 8px,
          transparent 8px 14px,
          #8a6b3b 14px 22px,
          transparent 22px 28px
        );
        opacity: 0.55;
      }

      /* Paper */
      .paper {
        background-color: #f2ecdf;
        border: 4px double #8a6b3b;
        padding: 40px 32px 100px 32px;
        box-shadow: inset 0 0 28px rgba(120, 90, 40, 0.08);
      }

      h1, h2 {
        font-family: "Cinzel", serif;
        color: #5f431d;
        font-weight: 700;
      }

      h1 {
        text-align: center;
        font-size: 2.125rem;
        line-height: 1.3;
      }

      .tag {
        text-align: center;
        font-size: 0.875rem;
        letter-spacing: 4px;
        color: #6d5b3d;
        margin: 6px 0 22px;
      }

      h2 {
        font-size: 1.375rem;
        margin: 20px 0 12px;
        line-height: 1.4;
      }

      p {
        text-align: justify;
        word-break: break-word;
      }
      
      font {
          font-size: 12px;
          color: red;
      }

      hr {
        border: 0;
        border-top: 1px dashed #b49b74;
        margin: 20px 0;
      }

      /* Buton */
      .button {
        display: inline-block;
        margin-top: 14px;
        padding: 10px 22px;
        background-color: #dbc6a2;
        border: 3px double #8a6b3b;
        color: #3b2812;
        text-decoration: none;
        font-family: "Cinzel", serif;
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease;
      }

      .button:hover, .button:focus {
        background-color: #cdb48b;
        color: #1a0f05;
        outline: none;
      }

      /* Modal (Pop-up) */
      .modal {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.25s ease, visibility 0.25s ease;
      }

      .modal.active {
        visibility: visible;
        opacity: 1;
      }

      .modal-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(3px);
      }

      .modal-content {
        position: relative;
        z-index: 10000;
        max-width: 960px;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-color: #f2ecdf;
        border: 4px double #8a6b3b;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
      }

      .modal-content img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .modal-close {
        position: absolute;
        top: 10px;
        right: 12px;
        z-index: 10001;
        background: #dbc6a2;
        border: 2px solid #8a6b3b;
        color: #3b2812;
        font-size: 22px;
        font-weight: bold;
        line-height: 1;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
      }

      .modal-close:hover {
        background: #cdb48b;
      }

/* PDF Ana Kutusu */
.pdf-box {
  margin-top: 15px;
  width: 100%;
  height: 80vh; /* Ekran yüksekliğinin %80'i (Kısa kalmasını engeller) */
  min-height: 500px; /* Mobilde bile en az 500px yükseklik garantisi */
  border: 3px double #8a6b3b;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

/* Kutu 'hidden' olduğunda kesin olarak gizlenir */
.pdf-box[hidden] {
  display: none !important;
}

/* PDF İçerik Alanı */
.pdf-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
}

/* Alt Yedek Link Alanı */
.pdf-fallback {
  text-align: center;
  padding: 10px;
  background-color: #f2ecdf;
  border-top: 1px dashed #8a6b3b;
  flex-shrink: 0;
}

.pdf-fallback a {
  color: #5f431d;
  font-family: "Cinzel", serif;
  font-weight: 700;
}

      /* Footer */
      .footer {
        text-align: center;
        font-size: 1rem;
        color: #5c4d39;
        margin: 24px 0;
      }

      .footer a {
        color: #3d2e1d;
        text-decoration: underline;
      }

      .footer p {
	text-align: center;
      }

      .footer a:hover, .footer a:focus {
        color: #000;
      }

      .motto {
        font-family: "Cinzel", serif;
        font-size: 0.875rem;
        letter-spacing: 4px;
        margin: 12px 0;
      }

      .footer-images {
        margin-top: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
      }

      .footer-images img {
        height: auto;
        max-width: 100%;
      }
      
@media screen and (max-width: 600px) {
        .paper {
          padding: 50px 18px 75px 18px;
        }
        h1 {
          font-size: 1.625rem;
        }
        h2 {
          font-size: 1.1875rem;
        }
        p {
          text-align: left;
        }
        .pdf-container {
          height: 420px;
        }
}
