
/* FenMerkezi LGS Tercih Robotu 2026 v2.1.2 */
.fmlgs21{
  --blue:#2563eb;
  --navy:#0f1f38;
  --teal:#0b827c;
  --soft:#f5f8fb;
  --line:#d9e3ed;
  --muted:#667892;
  width:100%;
  max-width:1180px;
  margin:20px auto 40px;
  color:var(--navy);
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:16px;
  line-height:1.45;
}
.fmlgs21,
.fmlgs21 *{
  box-sizing:border-box;
  font-family:Arial,Helvetica,sans-serif !important;
  letter-spacing:normal !important;
  font-variant:normal !important;
}
.fmlgs21 h1,.fmlgs21 h2,.fmlgs21 h3,.fmlgs21 h4,
.fmlgs21 p,.fmlgs21 span,.fmlgs21 strong,.fmlgs21 label,
.fmlgs21 button,.fmlgs21 input,.fmlgs21 select{
  font-family:Arial,Helvetica,sans-serif !important;
  text-transform:none;
}
.fmlgs21 button,.fmlgs21 input,.fmlgs21 select{font-size:inherit}

.fmlgs21-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:34px 38px;
  border-radius:28px;
  background:linear-gradient(110deg,#0b827a,#2863e9);
  color:#fff;
  box-shadow:0 18px 35px rgba(28,73,126,.14);
}
.fmlgs21-brand{
  font-size:14px;
  letter-spacing:4px !important;
  font-weight:800;
}
.fmlgs21-hero h2{
  margin:10px 0 8px;
  color:#fff;
  font-size:48px;
  line-height:1.03;
  font-weight:800;
}
.fmlgs21-hero p{
  margin:0;
  max-width:650px;
  color:#fff;
  font-size:18px;
  line-height:1.5;
}
.fmlgs21-hero-stats{
  display:flex;
  gap:14px;
  flex:0 0 auto;
}
.fmlgs21-hero-stats>div{
  width:128px;
  min-height:126px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.14);
  border-radius:22px;
  padding:14px 10px;
}
.fmlgs21-hero-stats strong{
  display:block;
  font-size:30px;
  line-height:1.05;
  font-weight:800;
}
.fmlgs21-hero-stats span{
  display:block;
  margin-top:8px;
  font-size:14px;
  font-weight:700;
  line-height:1.25;
}

.fmlgs21-summary,
.fmlgs21-filters,
.fmlgs21-results-wrap,
.fmlgs21-preferences{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 8px 24px rgba(25,50,82,.05);
}
.fmlgs21-summary{
  margin-top:24px;
  padding:24px 28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.fmlgs21-summary h3{
  margin:0 0 5px;
  font-size:27px;
  line-height:1.2;
  font-weight:800;
}
.fmlgs21-summary p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}
.fmlgs21-score-area{
  display:flex;
  align-items:flex-end;
  gap:12px;
  flex:0 0 auto;
}
.fmlgs21-score-area label{
  font-size:14px;
  font-weight:700;
  color:#445976;
}
.fmlgs21-score-area input{
  display:block;
  width:190px;
  height:48px;
  margin-top:6px;
  border:1px solid #cad7e5;
  border-radius:12px;
  padding:0 14px;
  background:#fff;
  color:#19283e;
  font-size:17px;
}
.fmlgs21-score-area button{
  height:48px;
  border:0;
  border-radius:12px;
  padding:0 22px;
  background:var(--blue);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}

.fmlgs21-filters{
  margin-top:22px;
  padding:22px;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}
.fmlgs21-filters label{
  min-width:0;
  font-size:13px;
  font-weight:800;
  color:#465a75;
}
.fmlgs21-filters select,
.fmlgs21-filters input{
  display:block;
  width:100%;
  min-width:0;
  height:46px;
  margin-top:6px;
  border:1px solid #cbd7e4;
  border-radius:11px;
  background:#fff;
  padding:0 12px;
  color:#1e2b40;
  font-size:14px;
}
.fmlgs21-search-label{grid-column:span 3}
.fmlgs21-filter-actions{
  grid-column:span 3;
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding-top:19px;
}
.fmlgs21-filter-actions button{
  height:46px;
  border:0;
  border-radius:11px;
  padding:0 18px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.fmlgs21-filter-actions .light{background:#e9eef4;color:#152238}
.fmlgs21-filter-actions .green{background:var(--teal);color:#fff}

.fmlgs21-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:18px;
  margin-top:22px;
  align-items:start;
}
.fmlgs21-results-wrap,
.fmlgs21-preferences{
  min-width:0;
  padding:18px;
}
.fmlgs21-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  flex-wrap:wrap;
}
.fmlgs21-toolbar strong{
  font-size:18px;
  font-weight:800;
}
.fmlgs21-toolbar select{
  width:230px;
  max-width:100%;
  height:42px;
  border:1px solid #ccd7e3;
  border-radius:10px;
  padding:0 10px;
  background:#fff;
  color:#1e2b40;
  font-size:14px;
}

.fmlgs21-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.fmlgs21-card{
  min-width:0;
  min-height:390px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #d6e1eb;
  border-radius:20px;
  padding:16px;
  background:#fff;
}
.fmlgs21-tags{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.fmlgs21-tags span{
  display:inline-flex;
  align-items:center;
  min-height:31px;
  max-width:100%;
  padding:6px 10px;
  background:#f2f6fa;
  border:1px solid #dde6ef;
  border-radius:999px;
  font-size:11px;
  line-height:1.1;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fmlgs21-card h3{
  margin:15px 0 8px;
  min-height:52px;
  font-size:18px;
  line-height:1.22;
  font-weight:800;
  color:#102038;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;
}
.fmlgs21-card>p{
  margin:0;
  min-height:64px;
  color:var(--muted);
  font-size:13px;
  line-height:1.42;
  overflow-wrap:break-word;
  word-break:normal;
}
.fmlgs21-card-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:auto;
  width:100%;
}
.fmlgs21-card-metrics>div{
  min-width:0;
  overflow:hidden;
  padding:10px 8px;
  background:#f5f8fb;
  border:1px solid #dce5ee;
  border-radius:14px;
}
.fmlgs21-card-metrics strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:17px;
  line-height:1.15;
  font-weight:800;
  color:#11233e;
}
.fmlgs21-card-metrics span{
  display:block;
  margin-top:7px;
  color:#6b7d93;
  font-size:9px;
  line-height:1.25;
  font-weight:800;
}
.fmlgs21-card-actions{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);
  gap:8px;
  margin-top:12px;
  width:100%;
}
.fmlgs21-card-actions button{
  min-width:0;
  height:44px;
  border:0;
  border-radius:11px;
  padding:0 8px;
  font-size:12px;
  line-height:1.1;
  font-weight:800;
  cursor:pointer;
  white-space:normal;
  overflow:hidden;
}
.fmlgs21-card-actions .light{background:#e9eef4;color:#152238}
.fmlgs21-card-actions .blue{background:var(--blue);color:#fff}
.fmlgs21-card-actions button:disabled{opacity:.5;cursor:default}

.fmlgs21-preferences{
  position:sticky;
  top:16px;
  align-self:start;
  max-height:calc(100vh - 32px);
  overflow:auto;
}
.fmlgs21-preferences h3{
  margin:0 0 5px;
  font-size:26px;
  line-height:1.2;
  font-weight:800;
}
.fmlgs21-preferences>p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
}
.fmlgs21-pref-item{
  margin-bottom:9px;
  padding:11px;
  border:1px solid #d8e2ec;
  border-radius:14px;
  background:#f9fbfd;
}
.fmlgs21-pref-item strong{
  display:block;
  font-size:13px;
  line-height:1.3;
  font-weight:800;
}
.fmlgs21-pref-item span{
  display:block;
  margin:5px 0 9px;
  color:#687a91;
  font-size:11px;
  line-height:1.35;
}
.fmlgs21-pref-item>div{
  display:grid;
  grid-template-columns:1fr 1fr 1.1fr;
  gap:6px;
}
.fmlgs21-pref-item button{
  height:32px;
  border:0;
  border-radius:8px;
  background:#e8edf3;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.fmlgs21-pref-item .delete{background:#ffe1df;color:#9a211b}
.fmlgs21-pref-empty{
  padding:24px 10px;
  text-align:center;
  color:#7b8da2;
  font-size:13px;
}

.fmlgs21-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  padding:18px 0 2px;
}
.fmlgs21-pagination button{
  min-width:34px;
  height:34px;
  border:1px solid #d3dce6;
  background:#fff;
  border-radius:8px;
  font-size:13px;
  cursor:pointer;
}
.fmlgs21-pagination button.active{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}
.fmlgs21-pagination button:disabled{opacity:.35}
.fmlgs21-empty{
  grid-column:1/-1;
  padding:45px 20px;
  text-align:center;
  color:#71849a;
}
.fmlgs21-note{
  margin-top:16px;
  padding:12px 14px;
  background:#f7f9fb;
  border-radius:12px;
  color:#66788d;
  font-size:12px;
  line-height:1.55;
}

.fmlgs21-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:999999;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(10,20,35,.55);
}
.fmlgs21-modal.show{display:flex}
.fmlgs21-modal-card{
  position:relative;
  width:min(780px,96vw);
  max-height:90vh;
  overflow:auto;
  padding:28px;
  background:#fff;
  border-radius:22px;
}
.fmlgs21-modal-close{
  position:absolute;
  top:12px;
  right:14px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:#eef2f6;
  font-size:23px;
  cursor:pointer;
}
.fmlgs21-modal-tags{font-size:13px;font-weight:800;color:#42617f}
.fmlgs21-modal-card h3{margin:8px 0 18px;font-size:27px;font-weight:800}
.fmlgs21-modal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.fmlgs21-modal-grid>div{padding:13px;background:#f5f8fb;border-radius:12px}
.fmlgs21-modal-grid span{display:block;margin-bottom:5px;color:#74869b;font-size:11px}
.fmlgs21-modal-grid strong{font-size:14px}

@media(max-width:1080px){
  .fmlgs21-main{grid-template-columns:1fr}
  .fmlgs21-preferences{position:static;max-height:none}
  .fmlgs21-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .fmlgs21-hero{align-items:flex-start}
  .fmlgs21-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fmlgs21-search-label{grid-column:span 2}
  .fmlgs21-filter-actions{grid-column:span 1;flex-wrap:wrap;padding-top:0}
  .fmlgs21-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .fmlgs21{margin-top:10px}
  .fmlgs21-hero{flex-direction:column;padding:24px}
  .fmlgs21-hero h2{font-size:36px}
  .fmlgs21-hero p{font-size:15px}
  .fmlgs21-hero-stats{width:100%}
  .fmlgs21-hero-stats>div{width:auto;flex:1;min-height:100px}
  .fmlgs21-summary{display:block;padding:20px}
  .fmlgs21-score-area{margin-top:16px}
  .fmlgs21-filters{grid-template-columns:1fr 1fr;padding:16px}
  .fmlgs21-search-label,.fmlgs21-filter-actions{grid-column:1/-1}
  .fmlgs21-cards{grid-template-columns:1fr}
  .fmlgs21-card{min-height:auto}
  .fmlgs21-card h3,.fmlgs21-card>p{min-height:0}
  .fmlgs21-modal-grid{grid-template-columns:1fr}
}
@media print{
  .fmlgs21-hero,.fmlgs21-summary,.fmlgs21-filters,.fmlgs21-results-wrap,.fmlgs21-note{display:none!important}
  .fmlgs21-main{display:block}
  .fmlgs21-preferences{position:static;border:0;box-shadow:none;max-height:none}
  .fmlgs21-pref-item button{display:none}
}


/* v2.1.3 — WordPress sayfa kabuğu temizliği */
.fmlgs21-hide-page-title,
.fmlgs21-hide-top-ad{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

/* Başlık/reklam gizlendikten sonra robot üstünde gereksiz boşluk oluşmasını engeller. */
body:has(#fmlgs21-root) .entry-content,
body:has(#fmlgs21-root) .post-content,
body:has(#fmlgs21-root) .page-content{
  padding-top:0;
}
body:has(#fmlgs21-root) #fmlgs21-root{
  margin-top:18px;
}
