/* =====================================================================
   KAFES DEPO - Ortak blog tasarimi (2026-11-20)
   Dosya: public_html/css/kd-blog.css  -  blog_detay.php tarafindan yuklenir.
   Ornek yazi: /esya-depolama-icin-hacim-nasil-hesaplanir-blog_detay
   ===================================================================== */
  .blog-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 24px 18px;
    color: #333333;
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.75;
    font-size: 16px;
  }
  .blog-container * { box-sizing: border-box; }
  .blog-header { margin-bottom: 32px; }
  .blog-label {
    display: inline-block;
    background: #f8f9fa;
    color: #ec0228;
    border: 1px solid #ec0228;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
  }
  .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    color: #1d3557;
    font-size: 14.5px;
    font-weight: 600;
  }
  .article-meta span {
    background: #ffffff;
    border: 1px solid #1d3557;
    border-radius: 999px;
    padding: 7px 13px;
  }
  .blog-intro { font-size: 17px; color: #555555; margin-bottom: 16px; }
  .hero-note {
    background: #f8f9fa;
    border-left: 4px solid #ec0228;
    padding: 18px 20px;
    border-radius: 14px;
    margin: 22px 0;
    color: #444444;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
  }
  .hero-note strong { color: #002c40; }
  .blog-container h2 { color: #002c40; font-size: 26px; line-height: 1.35; margin: 42px 0 18px; }
  .blog-container h3 { color: #002c40; font-size: 21px; line-height: 1.4; margin: 28px 0 12px; }
  .blog-container p { margin: 0 0 16px; }
  .blog-container a { color: #c4001f; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
  .blog-container a:hover { color: #b8001f; }
  .info-box, .warning-box, .benefit-box, .cta-box {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #ec0228;
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
  }
  .info-box p:last-child, .warning-box p:last-child, .benefit-box p:last-child, .cta-box p:last-child { margin-bottom: 0; }
  .check-list { list-style: none; padding-left: 0; margin: 14px 0 0; }
  .check-list li { position: relative; padding-left: 28px; margin-bottom: 9px; }
  .check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #ec0228; font-weight: 700; }
  .tip-box, .alert-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #ec0228;
    padding: 14px 16px;
    border-radius: 12px;
    margin: 16px 0;
    color: #444444;
  }
  .formula-box {
    background: #002c40;
    color: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    margin: 18px 0;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
  }
  .table-wrap { overflow-x: auto; margin: 18px 0 22px; }
  .blog-container table { width: 100%; border-collapse: collapse; font-size: 15px; background: #ffffff; }
  .blog-container th { background: #002c40; color: #ffffff; text-align: left; padding: 10px 12px; }
  .blog-container td { border-bottom: 1px solid #e5e5e5; padding: 9px 12px; }
  .blog-container tr:nth-child(even) td { background: #f8f9fa; }
  .table-note { font-size: 13.5px; color: #666666; margin-top: -10px; }
  .faq-section { margin-top: 44px; }
  .faq-section details {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #ec0228;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 14px;
  }
  .faq-section summary { cursor: pointer; font-weight: 700; color: #002c40; font-size: 17px; }
  .faq-section details p { margin-top: 12px; color: #444444; }
  .cta-title { display: block; color: #002c40; font-size: 21px; font-weight: 700; margin-bottom: 10px; }
  .cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
  .blog-container .cta-buttons a {
    display: inline-block;
    background: #ec0228;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 15px;
  }
  .blog-container .cta-buttons a.cta-ikinci { background: #002c40; }
  .blog-container .cta-buttons a:hover { opacity: .9; color: #ffffff; }
  .author-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 18px;
    margin: 36px 0 10px;
  }
  .author-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #002c40;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
  }
  .author-name { display: block; color: #002c40; font-weight: 700; font-size: 16px; }
  .author-title { display: block; color: #ec0228; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
  .author-box p { margin: 0; font-size: 14.5px; color: #555555; line-height: 1.6; }
  .top-action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 18px 0 22px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #ec0228;
    border-radius: 999px;
    position: relative;
  }
  .summary-box summary {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #002c40;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    list-style: none;
  }
  .summary-box summary::-webkit-details-marker { display: none; }
  .summary-box summary::after { content: "+"; color: #ec0228; font-size: 16px; font-weight: 700; line-height: 1; }
  .summary-box[open] summary::after { content: "−"; }
  .summary-box ul {
    position: absolute;
    z-index: 20;
    max-width: 680px;
    width: calc(100% - 36px);
    left: 50%;
    transform: translateX(-50%);
    margin: 12px 0 0;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #ec0228;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(0,0,0,0.12);
  }
  .summary-box li { margin-bottom: 8px; color: #444444; font-size: 14.5px; line-height: 1.6; }
  .audio-box { display: inline-flex; align-items: center; gap: 10px; }
  .audio-control-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ec0228;
    color: #ffffff;
    border: 1px solid #ec0228;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
  }
  .audio-control-button::before { content: "▶"; font-size: 11px; }
  .audio-control-button:hover { background: #b8001f; border-color: #b8001f; }
  .audio-time {
    display: none;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    color: #555555;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
  }
  .audio-time.is-visible { display: inline-flex; }
  @media (max-width: 768px) {
    .blog-container { padding: 18px 14px; font-size: 15.5px; }
    .top-action-row { border-radius: 18px; gap: 8px; }
    .summary-box ul { width: calc(100% - 28px); padding: 16px 18px; }
    .blog-container h2 { font-size: 23px; }
    .blog-container h3 { font-size: 19px; }
    .blog-container table { font-size: 14px; }
  }
  .blog-container button { font-family: inherit; }
  .tool-btn {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #002c40;
    border: 1px solid #c9ced3;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
  .tool-btn:hover { color: #c4001f; border-color: #c4001f; }
  .tool-btn:disabled { opacity: .55; cursor: default; }
  .font-tools { display: inline-flex; gap: 6px; }
  .feedback-box {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 16px 18px;
    margin: 36px 0 0;
    text-align: center;
  }
  .feedback-title { display: block; font-weight: 700; color: #002c40; font-size: 16px; margin-bottom: 10px; }
  .feedback-buttons { display: flex; justify-content: center; gap: 10px; }
  .feedback-message { margin: 10px 0 0 !important; font-size: 14.5px; color: #444444; }
  .feedback-message:empty { display: none; }
  .blog-container a:focus-visible,
  .blog-container button:focus-visible,
  .blog-container summary:focus-visible {
    outline: 3px solid #002c40;
    outline-offset: 3px;
    border-radius: 6px;
  }
  .kd-yazdir-baslik { display: none; }
  @media print {
    .kd-yazdir-gizle { display: none !important; }
    .kd-yazdir-yol {
      margin: 0 !important; padding: 0 !important; width: auto !important; max-width: none !important;
      flex: none !important; float: none !important; position: static !important; height: auto !important;
      min-height: 0 !important; overflow: visible !important; border: 0 !important; background: none !important; box-shadow: none !important;
    }
    .panel-text { font-size: 11.5pt !important; color: #000000; zoom: 1 !important; }
    .panel-text .blog-container { max-width: none !important; padding: 0 !important; font-size: 11.5pt !important; }
    .panel-text .blog-header { height: auto !important; }
    .kd-yazdir-baslik { display: block; font-size: 20pt; font-weight: 700; color: #002c40; margin: 0 0 10px; line-height: 1.3; }
    .top-action-row, .feedback-box, .cta-buttons, .kss-toc { display: none !important; }
    .panel-text * { box-shadow: none !important; transform: none !important; }
    .panel-text h2, .panel-text h3 { break-after: avoid; }
    .info-box, .warning-box, .benefit-box, .cta-box, .tip-box, .alert-box, .author-box, .faq-section details, .panel-text tr { break-inside: avoid; }
    .panel-text a { color: #000000; }
    .formula-box { background: none !important; color: #000000 !important; border: 2px solid #002c40; }
    .blog-container th { background: none !important; color: #000000 !important; border-bottom: 2px solid #000000; }
  }
  @media (prefers-reduced-motion: reduce) {
    .blog-container * { transition: none !important; animation: none !important; }
  }

  /* Sayfa dosyasinin (blog_detay.php) ekledigi ortak arac cubugu ve geri bildirim kutusu */
  .kd-blog-arac { margin: 0 0 22px; }
  .top-action-row button { font-family: inherit; }
  .kd-blog-geri { max-width: 750px; margin-left: auto; margin-right: auto; }
  .panel-text.kd-boyut-0 { zoom: .94; }
  .panel-text.kd-boyut-2 { zoom: 1.12; }
  .panel-text.kd-boyut-3 { zoom: 1.25; }
  .panel-text.kd-boyut-4 { zoom: 1.4; }
  .top-action-row a:focus-visible, .top-action-row button:focus-visible, .top-action-row summary:focus-visible,
  .feedback-box button:focus-visible, .feedback-box a:focus-visible {
    outline: 3px solid #002c40; outline-offset: 3px; border-radius: 6px;
  }
