/* V45 — top reklam + ana sayfada inline paylaşım */
.home-top-ad{margin:14px 0 18px}
.home-top-ad .home-ad-image,.home-top-ad .home-ad-placeholder{height:250px;border-radius:20px;overflow:hidden}
.home-top-ad .home-ad-placeholder{padding:24px}
.home-top-ad .home-ad-label{font-size:11px;letter-spacing:2px}
.home-top-ad .home-ad-placeholder strong{font-size:25px}
.home-top-ad .home-ad-placeholder small{font-size:13px}
.home-compose-inline{margin:0 0 18px;padding:15px;background:#fff;border:1px solid var(--ok42-line);border-radius:17px;box-shadow:0 2px 10px rgba(30,20,25,.03)}
.home-compose-inline-head{display:flex;align-items:center;gap:11px;margin-bottom:10px}
.home-compose-inline-head>div:last-child{min-width:0}.home-compose-inline-head b{display:block;font-size:15px}.home-compose-inline-head span{display:block;color:var(--ok42-muted);font-size:11px;margin-top:2px}
.home-compose-form textarea{display:block;width:100%;min-height:74px;resize:vertical;border:1px solid #e6dfe2;border-radius:13px;padding:12px 13px;background:#fafafa;font:inherit;font-size:13px;line-height:1.5;color:var(--ok42-ink);outline:none}
.home-compose-form textarea:focus{border-color:#b77b87;background:#fff;box-shadow:0 0 0 3px rgba(116,19,38,.06)}
.home-compose-controls{display:flex;align-items:center;gap:9px;margin-top:9px}.home-compose-controls select{height:36px;border:1px solid #e2d4d8;border-radius:10px;background:#fff;color:#4f4a4d;padding:0 10px;font-size:11px;max-width:180px}.home-compose-controls label{font-size:11px;color:#6e696d;display:flex;align-items:center;gap:5px;white-space:nowrap}.home-compose-controls button{margin-left:auto;border:0;background:var(--ok42-red);color:#fff;border-radius:10px;height:36px;padding:0 15px;font-weight:850;font-size:12px;cursor:pointer}.home-compose-controls button span{font-size:15px}.home-compose-error{margin:0 0 8px;padding:8px 10px;border-radius:9px;background:#fff0f2;color:#9b1d33;font-size:11px}
@media(max-width:700px){
 .home-top-ad{margin:8px 0 14px}.home-top-ad .home-ad-image,.home-top-ad .home-ad-placeholder{height:150px;border-radius:16px}.home-top-ad .home-ad-placeholder{padding:16px}.home-top-ad .home-ad-label{font-size:9px}.home-top-ad .home-ad-placeholder strong{font-size:17px}.home-top-ad .home-ad-placeholder small{font-size:10px;line-height:1.4}
 .home-compose-inline{padding:12px;margin-bottom:14px;border-radius:15px}.home-compose-inline-head{margin-bottom:8px}.home-compose-inline-head b{font-size:14px}.home-compose-inline-head span{font-size:10px}.home-compose-form textarea{min-height:70px;font-size:12px;padding:10px 11px}.home-compose-controls{gap:7px;flex-wrap:wrap}.home-compose-controls select{height:34px;max-width:145px;font-size:10px}.home-compose-controls label{font-size:10px}.home-compose-controls button{height:34px;padding:0 13px;font-size:11px}
}

/* V45.1 — admin tarafından seçilen reklam kadrajını uygula */
.home-top-ad .home-ad-image{overflow:hidden;display:block;background:#fff}
.home-top-ad .home-ad-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--ad-x,50%) var(--ad-y,50%);transform:scale(var(--ad-zoom,1));transform-origin:center center}
@media(max-width:700px){
  .home-top-ad .home-ad-image{height:150px}
}

/* V45.5 etkinlik sistemi */
.event-filters{display:flex;gap:12px;overflow-x:auto;padding:4px 0 18px;scrollbar-width:none}.event-filters::-webkit-scrollbar{display:none}.event-filters button{flex:0 0 auto;border:1px solid #e4dfe1;background:#fff;color:#7b1025;border-radius:999px;padding:13px 28px;font:800 16px/1.1 inherit;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.02);transition:.18s}.event-filters button:hover,.event-filters button.active{background:#7b1025;color:#fff;border-color:#7b1025}.event-card-link{display:block;color:inherit;text-decoration:none;overflow:hidden}.event-card-link[hidden]{display:none}.event-visual{position:relative;overflow:hidden;min-height:280px;background:#7b1025}.event-visual.has-event-image{background:#eee}.event-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.event-visual .event-type{position:relative;z-index:2}.event-visual .event-date{position:relative;z-index:2}.event-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px;color:#7b1025;font-weight:800}.event-card-foot{display:flex;justify-content:flex-end}.event-card-foot span{color:#7b1025;font-weight:800}.event-filter-empty{grid-column:1/-1}.event-detail{max-width:900px;margin:0 auto;padding:8px 0 40px}.event-back{display:inline-block;margin:0 0 16px;color:#7b1025;text-decoration:none;font-weight:800}.event-detail-card,.event-apply-card{background:#fff;border:1px solid #e4e0e2;border-radius:28px;overflow:hidden;box-shadow:0 8px 30px rgba(30,20,24,.04)}.event-detail-visual{height:360px;position:relative;overflow:hidden;background:#7b1025}.event-detail-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.event-detail-visual .event-type{position:absolute;left:24px;top:24px;z-index:2}.event-detail-pattern{position:absolute;inset:0;background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.15) 0 14%,transparent 14.5%);pointer-events:none}.event-detail-body{padding:30px}.event-detail-body h1{font-size:clamp(32px,6vw,56px);line-height:1;margin:8px 0 20px}.event-detail-facts{display:flex;gap:10px;flex-wrap:wrap}.event-detail-facts span{padding:10px 13px;border-radius:12px;background:#f8f1f3;color:#5f6067;font-weight:700}.event-detail-description{font-size:17px;line-height:1.7;color:#686971;margin:24px 0 0}.event-success,.event-errors,.event-login-note{margin-top:18px;padding:18px 20px;border-radius:16px}.event-success{background:#edf8f0;color:#236438}.event-errors{background:#fff0f1;color:#8b1b2f}.event-errors ul{margin:8px 0 0 18px}.event-login-note{background:#f8f1f3;color:#6b6c74}.event-login-note a{color:#7b1025;font-weight:800}.event-apply-card{margin-top:18px;padding:26px}.event-apply-card .section-head{margin-bottom:20px}.event-apply-card form{display:grid;gap:14px}.event-apply-card label{display:grid;gap:7px;font-weight:800;color:#27282d}.event-apply-card input,.event-apply-card select{width:100%;box-sizing:border-box;border:1px solid #ded9dc;border-radius:13px;background:#fff;padding:13px 14px;font:inherit;font-weight:500;outline:none}.event-apply-card input:focus,.event-apply-card select:focus{border-color:#7b1025;box-shadow:0 0 0 3px rgba(123,16,37,.08)}.participant-form{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:12px;padding:16px;border:1px solid #e7e2e4;border-radius:18px;background:#fcfbfc}.participant-head{grid-column:1/-1;color:#7b1025;font-weight:900;font-size:16px}.event-total{padding:17px;border-radius:14px;background:#f8f1f3;color:#666}.event-total strong{float:right;color:#7b1025;font-size:20px}.event-submit{justify-self:start}.privacy-note{color:#777;font-size:12px;line-height:1.5}.empty-page{padding:50px 10px;text-align:center}.empty-page h1{font-size:36px}
@media(max-width:700px){.event-detail{padding:0 0 28px}.event-detail-visual{height:250px;border-radius:0}.event-detail-card{border-radius:20px}.event-detail-body{padding:22px}.event-detail-body h1{font-size:34px}.participant-form{grid-template-columns:1fr}.participant-head{grid-column:auto}.event-apply-card{padding:20px;border-radius:20px}.event-filters{margin-inline:-2px}.event-visual{min-height:220px}}

/* V45.6 — etkinlik alanı mobil taşma ve başvuru UX düzeltmeleri */
.events-hero{margin:18px 0 14px;padding:22px 24px;border-radius:22px;min-height:0;overflow:hidden}
.events-hero h1{font-size:34px;line-height:1.05;margin:6px 0 10px;letter-spacing:-1.2px}
.events-hero p{font-size:14px;line-height:1.5;margin:0;max-width:680px}
.event-filters{gap:8px;padding:2px 0 12px;max-width:100%;overflow-x:auto}
.event-filters button,.event-filters button:hover,.event-filters button:focus{color:#7b1025 !important;background:#fff !important;border-color:#e2d4d8 !important;box-shadow:none}
.event-filters button.active,.event-filters button.active:hover,.event-filters button.active:focus{color:#fff !important;background:#7b1025 !important;border-color:#7b1025 !important}
.events-grid{width:100%;max-width:100%;min-width:0}
.event-card{min-width:0;max-width:100%}
.event-visual{height:150px;min-height:0;padding:15px}
.event-visual .event-date{left:16px;bottom:14px}
.event-date strong{font-size:34px}
.event-card-body{padding:15px}
.event-card-body h2{font-size:17px;line-height:1.25}
.event-card-body .event-place,.event-card-body .event-time{overflow-wrap:anywhere}
.event-detail{width:100%;max-width:760px;box-sizing:border-box}
.event-detail-card{max-width:100%}
.event-detail-visual{height:280px}
.event-apply-card{max-width:100%;box-sizing:border-box}
.event-success{display:flex;flex-direction:column;gap:5px;border:1px solid #cfe8d5;font-weight:700}
.event-success strong{font-size:16px}
.event-success span{font-size:13px;font-weight:500}
.event-submit:disabled{opacity:.65;cursor:wait}
@media(max-width:700px){
  .events-hero{margin:10px 0 12px;padding:18px 17px;border-radius:18px}
  .events-hero h1{font-size:27px;letter-spacing:-.7px}
  .events-hero p{font-size:12px;line-height:1.45}
  .event-filters{gap:7px;padding-bottom:10px}
  .event-filters button{padding:9px 14px;font-size:13px}
  .events-grid{grid-template-columns:1fr !important;gap:12px}
  .event-visual{height:128px;min-height:128px}
  .event-date strong{font-size:30px}
  .event-detail{padding:0 0 24px}
  .event-detail-visual{height:190px}
  .event-detail-body{padding:17px}
  .event-detail-body h1{font-size:28px;line-height:1.08;margin-bottom:14px}
  .event-detail-facts{gap:7px}
  .event-detail-facts span{padding:8px 10px;font-size:11px}
  .event-detail-description{font-size:14px;line-height:1.55;margin-top:17px}
  .event-apply-card{padding:16px;margin-top:12px;border-radius:17px}
  .participant-form{padding:12px;gap:9px}
}
/* V45.8 compact event UI */
.events-hero{margin:10px 0 10px!important;padding:14px 16px!important;border-radius:16px!important}
.events-hero h1{font-size:24px!important;margin:3px 0 6px!important}
.events-hero p{font-size:12px!important;line-height:1.35!important}
.event-filters{gap:6px!important;padding:2px 0 9px!important}
.event-filters button{padding:7px 11px!important;font-size:12px!important}
.events-grid{gap:10px!important}
.event-card{border-radius:14px!important}
.event-visual{height:105px!important;min-height:105px!important;padding:12px!important}
.event-type{padding:5px 8px!important;font-size:9px!important}
.event-date{left:12px!important;bottom:11px!important}
.event-date strong{font-size:25px!important}
.event-date span{font-size:9px!important}
.event-card-body{padding:11px!important}
.event-card-body h2{font-size:14px!important;margin-bottom:6px!important}
.event-card-body .event-place,.event-card-body .event-time{font-size:10px!important;margin:3px 0!important}
.event-card-meta{font-size:10px!important;margin:8px 0 2px!important}
.event-card-foot{margin-top:8px!important;padding-top:8px!important}
.event-card-foot span{font-size:9px!important}
.event-detail{max-width:620px!important;padding-bottom:20px!important}
.event-detail-card,.event-apply-card{border-radius:16px!important}
.event-detail-visual{height:190px!important}
.event-detail-body{padding:16px!important}
.event-detail-body h1{font-size:26px!important;margin:5px 0 12px!important}
.event-detail-facts span{padding:7px 9px!important;font-size:10px!important}
.event-detail-description{font-size:13px!important;line-height:1.5!important;margin-top:13px!important}
.event-apply-card{padding:14px!important;margin-top:10px!important}
.event-apply-card .section-head{margin-bottom:12px!important}
.event-apply-card label{font-size:12px!important;gap:5px!important}
.event-apply-card input,.event-apply-card select{padding:9px 10px!important;border-radius:9px!important;font-size:12px!important}
.participant-form{padding:9px!important;gap:7px!important;border-radius:12px!important}
.participant-head{font-size:12px!important}
.event-total{padding:10px!important;font-size:12px!important}
.event-total strong{font-size:15px!important}
@media(max-width:700px){
 .events-hero{margin:7px 0 8px!important;padding:12px 13px!important}
 .events-hero h1{font-size:21px!important}
 .events-hero p{font-size:11px!important}
 .event-filters button{padding:6px 10px!important;font-size:11px!important}
 .events-grid{gap:9px!important}
 .event-visual{height:92px!important;min-height:92px!important}
 .event-card-body{padding:10px!important}
 .event-card-body h2{font-size:13px!important}
 .event-detail-visual{height:160px!important}
 .event-detail-body{padding:13px!important}
 .event-detail-body h1{font-size:22px!important}
 .event-apply-card{padding:12px!important}
}

/* V45.9 — ultra compact etkinlik/gezi görünümü */
.events-hero{margin:8px 0 8px!important;padding:10px 14px!important;border-radius:12px!important}
.events-hero h1{font-size:19px!important;line-height:1.1!important;margin:2px 0 4px!important;letter-spacing:-.4px!important}
.events-hero p{font-size:10px!important;line-height:1.3!important}
.events-hero .page-kicker{font-size:8px!important;letter-spacing:1px!important}
.event-filters{gap:5px!important;padding:1px 0 7px!important}
.event-filters button{padding:5px 9px!important;font-size:10px!important;line-height:1!important;border-radius:999px!important}
.events-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.event-card{border-radius:11px!important}
.event-visual{height:82px!important;min-height:82px!important;padding:8px!important}
.event-type{padding:4px 6px!important;font-size:8px!important}
.event-date{left:8px!important;bottom:7px!important}
.event-date strong{font-size:21px!important}
.event-date span{font-size:7px!important;letter-spacing:.5px!important}
.event-card-body{padding:8px!important}
.event-card-body h2{font-size:12px!important;line-height:1.15!important;margin:0 0 4px!important}
.event-card-body .event-place,.event-card-body .event-time{font-size:9px!important;margin:2px 0!important;line-height:1.25!important}
.event-card-meta{font-size:8px!important;margin:5px 0 1px!important;gap:4px!important}
.event-card-foot{margin-top:5px!important;padding-top:5px!important}
.event-card-foot span{font-size:8px!important}
.event-detail{max-width:540px!important;padding:4px 0 14px!important}
.event-back{font-size:10px!important;margin-bottom:7px!important}
.event-detail-card,.event-apply-card{border-radius:12px!important}
.event-detail-visual{height:135px!important}
.event-detail-body{padding:11px!important}
.event-detail-body h1{font-size:21px!important;margin:3px 0 8px!important}
.event-detail-facts{gap:5px!important}
.event-detail-facts span{padding:5px 7px!important;font-size:9px!important;border-radius:8px!important}
.event-detail-description{font-size:11px!important;line-height:1.4!important;margin-top:9px!important}
.event-apply-card{padding:10px!important;margin-top:7px!important}
.event-apply-card .section-head{margin-bottom:8px!important}
.event-apply-card .section-head h2{font-size:15px!important}
.event-apply-card label{font-size:10px!important;gap:4px!important}
.event-apply-card input,.event-apply-card select{padding:7px 8px!important;border-radius:7px!important;font-size:10px!important}
.participant-form{padding:7px!important;gap:5px!important;border-radius:9px!important}
.participant-head{font-size:10px!important}
.event-total{padding:7px!important;font-size:10px!important;border-radius:8px!important}
.event-total strong{font-size:13px!important}
.event-submit{font-size:10px!important;min-height:32px!important;padding:6px 10px!important}
.event-success,.event-errors,.event-login-note{margin-top:8px!important;padding:9px 11px!important;border-radius:9px!important;font-size:10px!important}
@media(max-width:900px){.events-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.events-grid{grid-template-columns:1fr!important;gap:7px!important}.event-visual{height:78px!important;min-height:78px!important}.events-hero h1{font-size:18px!important}.event-card-body h2{font-size:11px!important}}
