/*
Theme Name: Ceylanpınar 4 Nolu ASM
Theme URI: https://ceylanpinar4noluasm.com.tr/
Author: Ceylanpınar ASM Web
Description: Ceylanpınar 4 Nolu Aile Sağlığı Merkezi için tek sayfalık, sabit menülü, düzenlenebilir kadro ve fotoğraf galerili tema.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ceylanpinar-asm
*/
:root{--ink:#17344b;--muted:#647b8d;--deep:#10384d;--blue:#137b98;--teal:#0c9b9b;--border:#dcebef;--pale:#f3f9fa;--white:#fff;--shadow:0 16px 46px rgba(15,55,77,.09);--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:'Segoe UI',Inter,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit}img{max-width:100%;display:block}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #edab4f;outline-offset:4px} .container{width:min(1160px,calc(100% - 44px));margin:auto}.section{padding:96px 0;scroll-margin-top:95px}.eyebrow{display:inline-flex;align-items:center;gap:10px;color:#118a95;text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:.15em}.eyebrow::before{content:'';width:20px;height:2px;background:currentColor}.section-head{margin-bottom:36px}.section-head h2{font-size:clamp(30px,4vw,45px);line-height:1.2;letter-spacing:-.045em;margin:12px 0 10px}.section-head p{max-width:660px;color:var(--muted);margin:0}.section-head.center{text-align:center}.section-head.center p{margin-inline:auto}.section-head.center .eyebrow::before{display:none}
/* Header */.top-strip{background:#0b3549;color:#cfe4eb;font-size:12px}.top-strip .container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:35px}.top-strip .top-right{display:flex;gap:20px}.top-strip svg{width:14px;height:14px;vertical-align:-2px;margin-right:5px}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);border-bottom:1px solid #e4edef;backdrop-filter:blur(14px);box-shadow:0 7px 25px rgba(20,60,74,.04)}.nav-shell{display:flex;align-items:center;justify-content:space-between;min-height:79px;gap:20px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:14px;background:#e3f7f6;color:#079b98}.brand-mark svg{width:28px;height:28px}.brand-copy{font-weight:800;line-height:1.16;font-size:15px;letter-spacing:-.02em}.brand-copy small{display:block;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:0;margin-top:4px}.wp-custom-logo{max-height:54px;width:auto}.nav-links{display:flex;gap:5px;align-items:center;list-style:none;margin:0;padding:0}.nav-links a{display:block;padding:11px 12px;border-radius:10px;color:#476174;font-size:13px;font-weight:700;white-space:nowrap;transition:.2s}.nav-links a:hover,.nav-links a.active{background:#eaf7f7;color:#087f88}.menu-toggle{display:none;border:1px solid var(--border);background:white;border-radius:12px;padding:9px;cursor:pointer}.menu-toggle svg{display:block;width:25px;height:25px}
/* Hero */.hero{background:linear-gradient(115deg,#edf9fa 0%,#f7fcfc 54%,#e7f4f5 100%);position:relative;overflow:hidden}.hero:before{content:'';position:absolute;right:-200px;top:-260px;width:680px;height:680px;background:radial-gradient(circle,#c5e9e9 0,transparent 70%);opacity:.65}.hero .container{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:60px;min-height:590px;padding-top:60px;padding-bottom:70px;position:relative}.hero-tag{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px solid #d4e9ed;padding:7px 14px;border-radius:30px;font-size:12px;color:#18858e;font-weight:800;box-shadow:0 8px 25px #d3e8e85b}.hero-tag span{width:8px;height:8px;background:#0daf97;border-radius:50%}.hero h1{font-size:clamp(37px,5.3vw,65px);letter-spacing:-.065em;line-height:1.08;margin:25px 0 21px;max-width:630px}.hero h1 em{font-style:normal;color:#089795}.hero p{color:#5a7385;font-size:17px;max-width:570px;margin:0 0 30px}.button-row{display:flex;gap:12px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 21px;font-size:14px;font-weight:800;cursor:pointer;transition:.2s}.btn svg{width:17px;height:17px}.btn-primary{background:#087f89;color:white;box-shadow:0 8px 22px #087f8933}.btn-primary:hover{background:#056d75;transform:translateY(-1px)}.btn-outline{border-color:#cce2e7;background:white;color:#255267}.btn-outline:hover{border-color:#0a9294}.hero-visual{position:relative;min-height:420px;display:grid;place-items:center}.hero-panel{width:100%;max-width:485px;background:white;border:1px solid #d9ecef;border-radius:32px;padding:22px;box-shadow:0 26px 80px rgba(28,112,127,.13);transform:rotate(1deg)}.hero-art{background:linear-gradient(135deg,#ccecee,#f0f9f8);border-radius:22px;height:295px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-art svg{width:100%;height:100%}.hero-panel-foot{display:flex;align-items:center;gap:11px;padding:15px 5px 2px}.hero-panel-foot .mini-symbol{display:grid;place-items:center;background:#e7f8f3;width:38px;height:38px;border-radius:11px;color:#079786}.hero-panel-foot b{font-size:14px}.hero-panel-foot small{display:block;color:var(--muted);font-size:12px}.hero-float{position:absolute;left:-30px;bottom:44px;display:flex;align-items:center;gap:10px;background:white;padding:13px 18px;border:1px solid #deeded;border-radius:16px;box-shadow:var(--shadow);font-size:13px;font-weight:800}.hero-float span{display:grid;place-items:center;background:#dff8ef;color:#159d79;border-radius:10px;width:35px;height:35px;font-size:20px}
/* About */.about-layout{display:grid;grid-template-columns:.95fr 1.05fr;align-items:start;gap:75px}.about-summary{color:var(--muted);font-size:17px}.about-feature-list{display:grid;gap:14px;margin-top:25px}.about-feature{display:flex;gap:13px;align-items:flex-start;font-size:15px;font-weight:650}.check-icon{width:26px;height:26px;flex:0 0 26px;border-radius:9px;background:#e2f7f3;color:#098f83;display:grid;place-items:center}.about-aside{display:grid;grid-template-columns:1fr 1fr;gap:17px}.info-tile{border:1px solid var(--border);border-radius:20px;background:#fff;padding:25px;min-height:178px}.info-tile:nth-child(2){background:#eff9f9}.info-tile:nth-child(3){background:#eff9f9}.info-tile-icon{width:43px;height:43px;border-radius:12px;background:#def3f2;color:#087f89;display:grid;place-items:center;margin-bottom:19px}.info-tile h3{font-size:17px;margin:0 0 5px}.info-tile p{color:var(--muted);font-size:13px;margin:0}
/* FAQ */.faq{background:#f4f9fa}.faq-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px}.faq-intro p{color:var(--muted)}.faq-list{display:grid;gap:12px}.faq-item{background:white;border:1px solid #dce9ed;border-radius:15px;overflow:hidden}.faq-item summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 22px;font-size:15px;font-weight:750;cursor:pointer}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:'+';font-size:25px;line-height:1;color:#0b8890;font-weight:400}.faq-item[open] summary:after{content:'−'}.faq-answer{padding:0 22px 21px;color:var(--muted);font-size:14px;line-height:1.8}.faq-answer p{margin:0}
/* Services */.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-card{border:1px solid #e0ecef;border-radius:21px;background:#fff;padding:30px 26px;box-shadow:0 8px 24px rgba(11,65,80,.025);transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.service-card .service-icon{height:54px;width:54px;border-radius:17px;background:#e6f7f6;color:#0c8a92;display:grid;place-items:center;margin-bottom:22px}.service-icon svg{height:27px;width:27px}.service-card h3{font-size:18px;margin:0 0 8px;letter-spacing:-.02em}.service-card p{font-size:14px;margin:0;color:var(--muted)}
/* Staff */.staff{background:#f4f9fa}.staff-pairs{display:grid;gap:20px;max-width:1030px;margin:auto}.staff-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.staff-card{display:flex;align-items:center;gap:23px;background:white;border:1px solid #dce9ed;border-radius:22px;padding:23px 26px;min-height:172px;box-shadow:0 8px 35px rgba(19,70,91,.035)}.staff-photo{height:119px;width:119px;border-radius:19px;background:#e5f3f4;flex:0 0 119px;overflow:hidden;display:grid;place-items:center}.staff-photo img{height:100%;width:100%;object-fit:cover}.staff-photo svg{height:65px;width:65px;opacity:.65}.staff-name{font-size:20px;line-height:1.3;font-weight:800;margin:0 0 8px;overflow-wrap:anywhere}.staff-role{display:inline-block;background:#e4f7f5;border-radius:50px;padding:5px 12px;color:#0a8587;font-size:12px;font-weight:800}.staff-note{color:#8596a2;font-size:12px;margin:10px 0 0}.staff-hint{color:#7b90a0;text-align:center;font-size:13px;margin:22px 0 0}
/* Gallery and contact */.gallery-shell{display:grid;grid-template-columns:1.12fr .88fr;gap:44px;align-items:start}.gallery-stage{background:#e9f4f6;border-radius:22px;overflow:hidden;aspect-ratio:1.55;position:relative;display:grid;place-items:center}.gallery-stage img{width:100%;height:100%;object-fit:cover}.gallery-empty{display:grid;place-items:center;text-align:center;width:100%;height:100%;background:linear-gradient(140deg,#dceeee,#edf8f9);color:#638699;padding:20px}.gallery-empty svg{width:min(160px,40%);height:auto;opacity:.65}.gallery-empty strong{display:block;margin-top:13px;color:#345c72}.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);height:42px;width:42px;border-radius:50%;border:1px solid #d7e8e9;background:rgba(255,255,255,.94);color:#1c5366;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 12px #123a4730}.gallery-nav:hover{background:white}.gallery-nav.prev{left:15px}.gallery-nav.next{right:15px}.gallery-nav svg{height:22px;width:22px}.gallery-thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:12px}.gallery-thumb{border:3px solid transparent;padding:0;border-radius:10px;overflow:hidden;aspect-ratio:1.3;background:#e6f1f3;cursor:pointer;min-width:0}.gallery-thumb[aria-current=true]{border-color:#079593}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.thumb-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#d6e9eb,#eaf5f5);color:#7894a3;font-size:22px}.gallery-counter{margin-top:10px;color:#718794;font-size:12px;text-align:right}.contact-card{background:#f4f9fa;border:1px solid #e1edef;border-radius:24px;padding:29px}.contact-card h3{font-size:24px;margin:0 0 21px}.contact-line{display:flex;align-items:flex-start;gap:15px;margin:0 0 23px}.contact-ico{background:#e0f3f3;color:#078d8b;width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:12px}.contact-line strong{display:block;font-size:14px}.contact-line p,.contact-line a{font-size:14px;color:var(--muted);margin:2px 0 0;overflow-wrap:anywhere}.contact-line a:hover{color:#078d8b}.contact-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.map-link{background:linear-gradient(115deg,#e8f5f5,#d9eeee);border-radius:17px;margin-top:18px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#1a5969;font-weight:800;font-size:13px}.map-link svg{width:22px;height:22px}.map-link.disabled{opacity:.65}.foot{background:#103b4d;color:#d8e7ec;padding:46px 0 24px}.foot-main{display:flex;justify-content:space-between;gap:35px;align-items:start}.foot h3{margin:0 0 9px;color:white;font-size:17px}.foot p{margin:0;max-width:490px;font-size:13px;color:#b6ced7}.foot-menu{display:flex;flex-wrap:wrap;gap:15px;font-size:13px}.foot-menu a:hover{color:#fff}.foot-bottom{border-top:1px solid #ffffff24;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:36px;padding-top:18px;font-size:12px;color:#b5ccd5}.back-top{background:#ffffff17;color:white;border:1px solid #ffffff2c;padding:7px 12px;border-radius:9px;cursor:pointer;font-size:12px} .screen-reader-text{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
@media(max-width:1050px){.nav-links a{padding:9px 7px;font-size:12px}.hero .container{gap:24px}.hero-float{left:-5px}.staff-card{padding:20px;gap:15px}.staff-photo{width:94px;height:94px;flex-basis:94px}.staff-name{font-size:18px}}@media(max-width:800px){.top-strip{display:none}.nav-shell{min-height:70px}.menu-toggle{display:block}.nav-links{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;background:#fff;box-shadow:0 13px 24px #12394d1a;border-bottom:1px solid var(--border);padding:10px 22px 20px}.nav-links.open{display:flex}.nav-links a{font-size:15px;padding:13px}.section{padding:70px 0;scroll-margin-top:78px}.hero .container{grid-template-columns:1fr;gap:18px;padding-top:62px;padding-bottom:55px}.hero-visual{min-height:350px}.hero-panel{max-width:510px}.hero-float{left:5%}.about-layout,.faq-layout,.gallery-shell{grid-template-columns:1fr;gap:26px}.service-grid{grid-template-columns:repeat(2,1fr)}.faq-layout{gap:12px}.gallery-shell{gap:36px}}@media(max-width:560px){.container{width:min(100% - 30px,1160px)}.brand-copy{font-size:13px}.brand-copy small{font-size:10px}.brand-mark{width:39px;height:39px;flex-basis:39px}.hero h1{font-size:39px}.hero p{font-size:15px}.hero-art{height:230px}.hero-panel{padding:12px;border-radius:22px}.hero-visual{min-height:285px}.hero-float{position:relative;left:auto;bottom:auto;margin-top:-20px;width:max-content;max-width:90%}.section-head h2{font-size:32px}.about-aside,.service-grid{grid-template-columns:1fr}.info-tile{min-height:unset}.staff-pair{grid-template-columns:1fr;gap:12px;padding:0 0 16px;border-bottom:1px solid #deeaec}.staff-card{min-height:128px;padding:16px;gap:15px}.staff-photo{width:90px;height:90px;flex-basis:90px;border-radius:15px}.staff-photo svg{width:50px;height:50px}.staff-name{font-size:17px}.gallery-thumbs{gap:5px}.gallery-stage{aspect-ratio:1.35}.gallery-nav{height:36px;width:36px}.contact-card{padding:22px}.foot-main,.foot-bottom{flex-direction:column;align-items:flex-start}.foot-menu{margin-top:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
[hidden]{display:none!important}

/* v1.0.1 — hero typography and layout corrections */
.hero .container { column-gap: clamp(28px, 4vw, 60px); }
.hero h1 { line-height: 1.2; letter-spacing: -.045em; padding-top: .12em; overflow: visible; }
.hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-width: 0; }
.hero-panel { transform: none; }
.hero-float { position: static; left: auto; bottom: auto; margin: 0; align-self: center; max-width: 100%; box-shadow: 0 10px 30px rgba(15,55,77,.09); }
@media (max-width: 800px) {
  .hero .container { row-gap: 28px; }
  .hero-visual { min-height: auto; }
  .hero-float { left: auto; bottom: auto; }
}
@media (max-width: 560px) {
  .hero h1 { line-height: 1.18; letter-spacing: -.035em; }
  .hero-float { margin-top: 0; width: auto; max-width: 100%; font-size: 12px; }
}

/* v1.1.0: deleted hero section; start the page directly with About */
#hakkimizda {scroll-margin-top: 100px;}
@media(max-width:800px){#hakkimizda{scroll-margin-top:78px}}

/* v1.3 — büyük dikey yerleşimli personel kartları; fotoğraf üstte, isim ve unvan altta */
#kadromuz .staff-pairs {max-width: 1140px; gap: 28px;}
#kadromuz .staff-pair {grid-template-columns: repeat(2, minmax(0, 1fr));gap: 28px;align-items: stretch;}
#kadromuz .staff-card {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  gap: 0; padding: 22px; min-height: 0;
  border-radius: 24px; box-shadow: 0 12px 35px rgba(19,70,91,.06);
}
#kadromuz .staff-photo {
  display:flex; align-items:center; justify-content:center;
  width: 100%; height: auto; aspect-ratio: 16 / 10;
  flex: none; margin: 0; border-radius: 17px; overflow:hidden;
  background: #eaf2f5;
}
#kadromuz .staff-photo img {
  display: block; width:100%;height:100%;object-fit:contain;object-position:center;
}
#kadromuz .staff-photo svg {width:95px;height:95px;max-width:35%;max-height:55%;}
#kadromuz .staff-data {width:100%;min-width:0;flex:1; padding: 22px 5px 6px;text-align:center;}
#kadromuz .staff-name {font-size: clamp(21px, 2.1vw, 27px);line-height:1.3;margin:0 0 12px;overflow-wrap:break-word;}
#kadromuz .staff-role {font-size:14px;padding:8px 18px;}
#kadromuz .staff-note {font-size:14px;line-height:1.5;margin:14px 0 0;}
@media(max-width:800px){
  #kadromuz .staff-pairs {gap:20px;}
  #kadromuz .staff-pair {gap:16px;}
  #kadromuz .staff-card {padding:14px;border-radius:19px;}
  #kadromuz .staff-data {padding:16px 3px 7px;}
  #kadromuz .staff-name {font-size:19px;}
}
@media(max-width:560px){
  #kadromuz .staff-pair {grid-template-columns:1fr;gap:14px;padding:0 0 20px;}
  #kadromuz .staff-card {padding:16px;}
  #kadromuz .staff-photo {aspect-ratio: 16 / 10;}
  #kadromuz .staff-name {font-size:22px;}
  #kadromuz .staff-data {padding:17px 3px 8px;}
}
