/* Premium V13 — additive styling. Does not change the independent PDF reader. */
:root{--v13-green:#075a46;--v13-dark:#05352d;--v13-ink:#15342b;--v13-gold:#ba8b43;--v13-ring:#e2ebe4;--v13-shadow:0 16px 38px rgba(1,48,36,.075)}
html{overflow-x:clip}body{overflow-x:clip}body .home-page{overflow:visible}
body .home-container.v12-home-order{display:flex;flex-direction:column;gap:clamp(20px,2.6vw,38px);padding-bottom:50px}
body .home-container.v12-home-order > *{flex:0 0 auto;margin-top:0!important;margin-bottom:0!important;min-width:0}
body .v12-home-order .surface,body .v12-home-order .v12-search-hero,body .v12-home-order .collection-band{box-shadow:var(--v13-shadow);border:1px solid #e0e9e3}
body .v12-home-order>.category-strip{gap:10px}
body .v12-home-order>.bottom-cta{margin-top:4px!important}
body .surface{border-radius:20px}
body .section-heading{margin-bottom:20px}
body .section-heading h2{font-size:clamp(17px,1.8vw,24px);letter-spacing:-.035em}
body .book-card,body .v12-home-book,body .v12-book-item,body .v12-series-link,body .topic-card,body .category-strip a,body .v12-article,body .v13-series-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
@media (hover:hover){body .book-card:hover,body .v12-home-book:hover,body .v12-book-item:hover,body .v12-series-link:hover,body .topic-card:hover,body .category-strip a:hover,body .v12-article:hover,body .v13-series-card:hover{transform:translateY(-5px);box-shadow:0 18px 34px rgba(0,52,37,.14);border-color:#b2d3c0}}
body .v12-home-book-img,body .v12-book-image,body .book-cover,body .detail-visual,body .home-book-cover{background:linear-gradient(145deg,rgba(232,243,236,.94),rgba(252,248,237,.94))!important;position:relative;isolation:isolate;overflow:hidden}
body .v12-home-book-img:before,body .v12-book-image:before,body .book-cover:before{content:"";position:absolute;inset:-8%;z-index:-1;opacity:.13;pointer-events:none;background:url('/assets/v7-hero-3.webp') center/cover;filter:blur(4px)}
body .v12-home-book-img img,body .v12-book-image img,body .book-cover img{position:relative;z-index:1;filter:drop-shadow(0 10px 10px rgba(19,42,29,.12));transition:transform .24s ease}
@media(hover:hover){body .v12-home-book:hover img,body .v12-book-item:hover img,body .book-card:hover img{transform:scale(1.045)}}
body .v12-series-link{background:linear-gradient(140deg,#fbfdfb,#eff7f0);border:1px solid #dbe9df;border-radius:18px;padding:22px;color:#103a2f;text-decoration:none;display:flex;flex-direction:column;align-items:flex-start;min-height:185px;gap:6px}
body .v12-series-link h3{font-size:18px;margin:6px 0}
body .v12-series-link p{font-size:13px;line-height:1.65;color:#5e776a;margin:0}
body .v12-series-link small{font-weight:750;color:#057157;margin-top:auto}
body .v13-book-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0 6px}
body .v13-book-actions form{margin:0!important}
body .v13-book-actions .v12-btn{min-height:44px}
body .v12-member-nav .v13-logout{margin-left:auto;color:#aa3c45;background:#fff5f4;border:1px solid #f0d3d1}
body .v12-member-nav .v13-logout:hover{background:#ffe9e7}
body .v12-account>h2{margin-top:40px;margin-bottom:19px}
body .v12-account>h2:first-of-type{margin-top:24px}
body .v12-account .v12-book-grid{margin:14px 0 18px}
body .v12-book-item{border-radius:18px}
body .v12-book-image{border-radius:12px}
/* Home slider: on mobile arrow controls belong to the bottom controls, never over the header/hero imagery. */
body .v12-hero .hero-arrow{z-index:8}
body .v12-hero .hero-dots{z-index:9}
/* Public contact + donations + series */
body .v13-public{max-width:1180px;padding-top:46px;padding-bottom:80px}
body .v13-public-head{max-width:800px;margin-bottom:35px}
body .v13-public-head h1{font-size:clamp(30px,4vw,52px);letter-spacing:-.045em;line-height:1.1;color:var(--v13-ink);margin:9px 0 16px}
body .v13-public-head>p{font-size:16px;color:#657c70;line-height:1.9}
body .v13-contact-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.35fr);gap:24px;align-items:start}
body .v13-contact-info{background:linear-gradient(145deg,#064f41,#052d28);color:#fff;min-height:400px;padding:32px;border-radius:23px}
body .v13-contact-info h2{margin-top:0;font-size:25px}
body .v13-contact-info p{color:#c6e0d4;line-height:1.85}
body .v13-contact-info>div{border-top:1px solid #ffffff25;padding:18px 0;display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere}
body .v13-contact-info small{color:#b2cfc4}
body .v13-contact-info strong{font-size:15px}
body .v13-contact-form{padding:28px;background:#fff;border:1px solid #dfeae1;border-radius:24px;display:flex;flex-direction:column;gap:16px;box-shadow:var(--v13-shadow)}
body .v13-contact-form h2{font-size:23px;margin:0}
body .v13-contact-form label{font-size:13px;font-weight:750;display:flex;flex-direction:column;gap:9px}
body .v13-contact-form input,body .v13-contact-form textarea{width:100%;border:1px solid #cdded2;border-radius:12px;padding:13px 15px;font:inherit;box-sizing:border-box}
body .v13-contact-form :is(input,textarea):focus{outline:2px solid #88b6a0;outline-offset:2px}
body .v13-contact-form .v13-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
body .v13-form-note{font-size:12px;color:#728477}
body .v13-donation-box{max-width:750px;background:#fff;border:1px solid #dfe9e1;border-radius:21px;padding:32px;box-shadow:var(--v13-shadow)}
body .v13-donate-row{display:flex;justify-content:space-between;gap:18px;padding:17px 0;border-top:1px solid #edf1ec;flex-wrap:wrap}
body .v13-donate-row strong{overflow-wrap:anywhere;color:#064b3a}
body .v13-series-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
body .v13-series-card{min-height:175px;display:flex;flex-direction:column;gap:12px;text-decoration:none;padding:23px;background:#fff;border:1px solid #e0e9e3;border-radius:19px}
body .v13-series-card strong{font-size:18px}
body .v13-series-card small{color:#5f756a}
body .v13-series-card>span:last-child{color:#0a7353;font-weight:800;margin-top:auto}
body .v13-series-mark{font-size:32px;color:var(--v13-gold)}
/* Rich content typography */
body .v12-prose{max-width:100%;line-height:1.95}
body .v12-prose h2{font-size:clamp(23px,2.7vw,32px);margin-top:1.8em;line-height:1.35}
body .v12-prose h3{font-size:21px;margin-top:1.5em}
body .v12-prose :is(p,ul,ol,blockquote){margin:0 0 1.1em}
body .v12-prose blockquote{margin:26px 0;padding:16px 23px;background:#f0f8f3;border-left:4px solid #187f59;border-radius:6px}
body .v12-prose a{color:#006b50;text-decoration:underline}
/* Admin tool panels */
body.v12-admin-body .v13-admin-card{background:#fff;border:1px solid #dde9e2;border-radius:18px;margin:24px 0;padding:clamp(18px,2.6vw,32px);box-shadow:var(--v13-shadow)}
body.v12-admin-body .v13-admin-card>h3{margin:0 0 16px;font-size:19px;color:#164334}
body.v12-admin-body .v13-admin-card>p{color:#60786a;font-size:13px;line-height:1.75}
body.v12-admin-body .v13-permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0;align-items:end}
body.v12-admin-body .v13-permission-grid:has(select[multiple]){grid-template-columns:repeat(2,minmax(0,1fr))}
body.v12-admin-body .v13-permission-grid label,body.v12-admin-body .v13-multiselect>label{min-width:0}
body.v12-admin-body .v13-permission-grid select[multiple],body.v12-admin-body .v13-multiselect select[multiple]{width:100%;height:245px;padding:8px;font-size:13px;border:1px solid #d9e5df;border-radius:12px}
body.v12-admin-body .v13-permission-grid select[multiple] option,body.v12-admin-body .v13-multiselect option{padding:7px}
body.v12-admin-body .v13-hint{font-size:12px;color:#678072;line-height:1.5}
body.v12-admin-body .v13-message{max-width:540px;max-height:150px;overflow:auto;white-space:pre-wrap;font-size:12px;line-height:1.55;background:#f7f9f7;padding:10px;border-radius:7px}
body.v12-admin-body .v13-inline-delete{display:inline-flex;margin-left:10px}
body.v12-admin-body .v13-inline-delete button{border:1px solid #efc7ca;background:#fff4f3;color:#a22f39;border-radius:8px;padding:7px 10px;cursor:pointer}
body.v12-admin-body .v13-rich-label{display:block;font-size:13px;font-weight:800;line-height:1.7;margin:14px 0}
body.v12-admin-body .v13-editor{background:#fff;border:1px solid #d2e1d7;border-radius:14px;overflow:hidden}
body.v12-admin-body .v13-editor-tools{display:flex;flex-wrap:wrap;align-items:center;gap:5px;background:#f3f7f3;padding:9px;border-bottom:1px solid #d9e5db}
body.v12-admin-body .v13-editor-tools button{background:#fff;color:#224639;border:1px solid #d4e2d9;border-radius:7px;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer}
body.v12-admin-body .v13-editor-tools button:hover{background:#e4f1e7}
body.v12-admin-body .v13-editable{padding:21px;min-height:300px;max-height:680px;overflow:auto;line-height:1.85;outline:none;color:#172d25;font-size:15px}
body.v12-admin-body .v13-editable:focus{box-shadow:inset 0 0 0 2px #85b9a0}
body.v12-admin-body .v13-rich-source{width:100%;min-height:290px;display:block;border:0;padding:15px;font:14px/1.7 ui-monospace,monospace}
body.v12-admin-body .v13-editor.is-ready .v13-rich-source{display:none}
body.v12-admin-body .v13-upload-progress{display:flex;align-items:center;gap:13px;font-size:12px;background:#eaf6ee;color:#075840;padding:12px;border-radius:10px}
body.v12-admin-body .v13-upload-progress progress{flex:1;height:12px}
body.v12-admin-body .v13-admin-intro{padding:0 0 10px}
body.v12-admin-body .v13-admin-intro p{font-size:14px;color:#5d7565;line-height:1.7}
@media(max-width:1050px){body.v12-admin-body .v13-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .v13-series-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 html,body{max-width:100%}
 body .v12-home-order{gap:19px!important}
 body .v12-home-order .surface{padding:17px;border-radius:17px}
 body .v12-category-strip{gap:8px}
 body .v12-hero .hero-arrow{top:auto!important;bottom:104px!important;transform:none!important;width:38px;height:38px;border-radius:50%;opacity:.96}
 body .v12-hero .hero-prev{left:13px}body .v12-hero .hero-next{right:13px}
 body .v12-hero .hero-dots{bottom:119px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}
 body .v12-hero .hero-stats{bottom:15px!important}
 body .v12-hero .hero-inner{padding-bottom:135px!important}
 body .v13-contact-grid{grid-template-columns:1fr}
 body .v13-contact-info{min-height:0;padding:24px}
 body .v13-contact-form{padding:18px}
 body .v13-series-list{grid-template-columns:1fr}
 body .v13-series-card{min-height:142px}
 body .v12-book-item{gap:13px}
 body .v13-book-actions{flex-direction:column;align-items:stretch}
 body .v13-book-actions button{width:100%}
 body .v12-member-nav{align-items:center}
 body .v12-member-nav .v13-logout{flex-shrink:0}
 body.v12-admin-body .v13-permission-grid,body.v12-admin-body .v13-permission-grid:has(select[multiple]){grid-template-columns:1fr}
 body.v12-admin-body .v13-admin-card{padding:16px}
 body.v12-admin-body .v13-admin-card select[multiple]{height:190px}
 body.v12-admin-body .v13-editable{min-height:240px;padding:14px}
}
@media(prefers-reduced-motion:reduce){body :is(.book-card,.v12-home-book,.v12-book-item,.v12-series-link,.topic-card,.category-strip a){transition:none}}


/* V14: Mobile slider rebuild. Overrides the legacy auto 56% image rule. */
@media (max-width:700px) {
  body .home-page .hero-slider.v12-hero {
    position:relative;
    height:590px;
    min-height:0;
    max-height:none;
    background:#002e26;
    overflow:hidden;
    border-radius:0 0 22px 22px;
  }
  body .home-page .hero-slider.v12-hero .hero-slide {
    position:absolute;
    inset:0;
    background:#002e26 !important;
    background-image:none !important;
    background-size:auto !important;
    background-position:initial !important;
    opacity:0;
    visibility:hidden;
    z-index:0;
    pointer-events:none;
    transition:opacity .35s ease,visibility .35s ease;
  }
  body .home-page .hero-slider.v12-hero .hero-slide.active {
    opacity:1;
    visibility:visible;
    z-index:2;
    pointer-events:auto;
  }
  body .home-page .hero-slider.v12-hero .hero-slide::before {
    content:"";
    display:block;
    position:absolute;
    z-index:0;
    left:0;right:0;top:0;
    height:52%;
    background-image:var(--hero-mobile-image,var(--hero-image));
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
  }
  body .home-page .hero-slider.v12-hero .hero-slide::after {
    content:"";
    position:absolute;
    z-index:1;
    left:0;right:0;top:0;
    height:65%;
    background:linear-gradient(180deg,rgba(0,39,31,.04) 0%,rgba(0,43,34,.08) 33%,rgba(0,43,34,.72) 64%,#002e26 91%,#002e26 100%);
    pointer-events:none;
  }
  body .home-page .hero-slider.v12-hero .hero-inner {
    position:absolute;
    z-index:3;
    top:196px;
    right:21px;
    bottom:136px;
    left:21px;
    width:auto;
    height:auto;
    margin:0;
    padding:0 !important;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-end;
    gap:0;
  }
  body .home-page .hero-slider.v12-hero .hero-inner h1,
  body .home-page .hero-slider.v12-hero .hero-inner h2 {
    font-size:clamp(33px,9.1vw,43px) !important;
    line-height:1.02;
    margin:8px 0 11px;
    max-width:100%;
  }
  body .home-page .hero-slider.v12-hero .hero-inner .overline {
    font-size:9px !important;
    line-height:1.4;
    letter-spacing:.16em;
    max-width:100%;
  }
  body .home-page .hero-slider.v12-hero .hero-inner>p:not(.overline){
    font-size:12px;
    line-height:1.48;
    margin:0;
    max-width:345px;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  body .home-page .hero-slider.v12-hero .hero-actions {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:13px;
  }
  body .home-page .hero-slider.v12-hero .hero-actions .btn {
    font-size:11px;
    padding:10px 13px;
    min-height:39px;
  }
  body .home-page .hero-slider.v12-hero .hero-arrow {
    position:absolute;
    top:auto !important;
    bottom:75px !important;
    z-index:7;
    width:40px;height:40px;
    transform:none !important;
  }
  body .home-page .hero-slider.v12-hero .hero-dots {
    position:absolute;
    bottom:90px !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    z-index:7;
  }
  body .home-page .hero-slider.v12-hero .hero-stats {
    left:14px;
    right:14px;
    bottom:15px !important;
    justify-content:flex-start;
    z-index:7;
  }
  body .home-page .hero-slider.v12-hero .hero-stats span {
    font-size:10px;
    padding-right:10px;
    margin-right:10px;
  }
  body .home-page .hero-slider.v12-hero .hero-stats strong {font-size:16px}
}
@media (max-width:370px) {
  body .home-page .hero-slider.v12-hero{height:610px}
  body .home-page .hero-slider.v12-hero .hero-inner{bottom:140px;top:183px}
  body .home-page .hero-slider.v12-hero .hero-inner h1,
  body .home-page .hero-slider.v12-hero .hero-inner h2 {font-size:33px !important}
  body .home-page .hero-slider.v12-hero .hero-inner>p:not(.overline){font-size:11.5px}
}
@media (prefers-reduced-motion:reduce){
  body .home-page .hero-slider.v12-hero .hero-slide {transition:none}
}
/* Slider admin: uploaded image preview and status notes */
body.v12-admin-body .v14-upload-preview{display:block;margin:8px 0 0;width:min(100%,440px);border:1px solid #dfebe4;border-radius:12px;object-fit:cover;max-height:170px}
body.v12-admin-body .v14-slide-help{background:#f1f9f4;color:#124935;border:1px solid #d5e9dc;padding:12px 15px;border-radius:12px;line-height:1.55}
body.v12-admin-body .v14-slide-status{font-size:12px;color:#496457}

/* V15: only remove the green gap above the MOBILE slider photos.
   Keep existing caption/title/buttons, carousel controls and dimensions unchanged. */
@media(max-width:700px){
 body .home-page .hero-slider.v12-hero .hero-slide::before{
   top:0 !important;
   right:0 !important;
   bottom:auto !important;
   left:0 !important;
   background-image:var(--hero-image) !important;
   background-size:cover !important;
   background-position:center top !important;
   background-repeat:no-repeat !important;
 }
}

/* V16 — Mobil slider üst boşluk düzeltmesi */
@media screen and (max-width:700px) {
  body .home-page .hero-slider.v12-hero .hero-slide {
    background-image: none !important;
    background-color: #002e26 !important;
  }

  body .home-page .hero-slider.v12-hero .hero-slide::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 62% !important;
    z-index: 0 !important;
    background-image: var(--hero-image) !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    transform: none !important;
  }

  body .home-page .hero-slider.v12-hero .hero-slide::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 75% !important;
    z-index: 1 !important;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0,43,34,.06) 22%,
      rgba(0,43,34,.35) 47%,
      #002e26 93%
    ) !important;
    pointer-events: none !important;
  }
}
