/* V89 – exact-selector repairs. Loaded after the legacy styles, theme styles and V76 layers. */

/* The real homepage service selector is .v63-service, not .v63-service-card.
   A contain layer displays the complete selected image without cropping. */
body.yd-platform.v63-home .v63-service-grid .v63-service{background:#0b2239!important;box-shadow:0 10px 30px rgba(10,29,54,.14)!important;aspect-ratio:auto!important;height:222px!important;min-height:222px!important;max-height:none!important}
body.yd-platform.v63-home .v63-service-grid .v63-service>img{
  width:100%!important;height:calc(100% - 75px)!important;inset:0 0 auto!important;
  display:block!important;position:absolute!important;
  object-fit:contain!important;object-position:center center!important;
  background:#10253b!important;z-index:0!important;transform:none!important;
  filter:none!important;max-width:none!important;border-radius:0!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service:hover>img{transform:none!important;filter:brightness(1.06)!important}
body.yd-platform.v63-home .v63-service-grid .v63-service .v63-service-shade{inset:auto 0 0!important;height:75px!important;background:linear-gradient(120deg,#10253b,#07182c)!important;pointer-events:none}
body.yd-platform.v63-home .v63-service-grid .v63-service .v63-service-label{bottom:0!important;height:75px!important;align-items:center!important;padding:10px 8px!important}

/* Reference logo sizing – source images of any aspect ratio fit without being cut. */
body.yd-platform .refs.v74-ref-grid{gap:18px!important;align-items:stretch!important}
body.yd-platform .refs.v74-ref-grid .v74-ref-card{min-width:0!important;min-height:195px!important;gap:11px!important;padding:20px 16px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
body.yd-platform .refs.v74-ref-grid .v74-ref-logo-box{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:min(100%,245px)!important;max-width:245px!important;height:98px!important;
  padding:8px 12px!important;border-radius:16px!important;
  overflow:hidden!important;box-sizing:border-box!important;background:#f7fafd!important;
}
body.yd-platform .refs.v74-ref-grid .v74-ref-logo-box img{
  display:block!important;flex:none!important;max-width:100%!important;max-height:100%!important;
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  border-radius:0!important;box-shadow:none!important;filter:none!important;transform:none!important;
}
body.yd-platform .refs.v74-ref-grid .v74-ref-name{font-size:15px!important;line-height:1.3!important;margin:0!important;text-align:center!important;max-width:100%!important;overflow-wrap:anywhere}
body.yd-platform .refs.v74-ref-grid .v74-ref-meta{font-size:10px!important;line-height:1.3!important;letter-spacing:.09em!important;margin:0!important;text-align:center!important}

/* Team: more compact without removing telephone, email, location or social links. */
#ydTeamSection .team-wrap{width:min(1120px,calc(100% - 32px))!important}
#ydTeamSection .team-grid{gap:16px!important}
#ydTeamSection .team-grid .team-card{
  display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;
  align-content:start!important;align-items:start!important;min-height:0!important;
  height:auto!important;padding:17px!important;gap:13px!important;
}
#ydTeamSection .team-card .team-avatar{width:86px!important;height:104px!important;margin:0!important;border-radius:16px!important}
#ydTeamSection .team-card .team-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
#ydTeamSection .team-card .team-content{padding:0!important;margin:0!important;display:block!important;min-width:0!important}
#ydTeamSection .team-card .team-content h3{font-size:18px!important;margin:4px 0 6px!important;line-height:1.22!important}
#ydTeamSection .team-card .team-role{font-size:10px!important;padding:5px 9px!important}
#ydTeamSection .team-card .team-meta{margin:12px 0 0!important;padding:12px 0 0!important;gap:7px!important}
#ydTeamSection .team-card .team-meta :is(a,p){display:grid!important;grid-template-columns:14px minmax(0,1fr)!important;align-items:start!important;gap:7px!important;min-width:0!important;line-height:1.35!important;font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere!important}
#ydTeamSection .team-card .team-social{margin:12px 0 0!important;gap:7px!important}
#ydTeamSection .team-card .team-social a{width:32px!important;height:32px!important;border-radius:9px!important}
@media(max-width:1100px){#ydTeamSection .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){#ydTeamSection .team-grid{grid-template-columns:1fr!important}#ydTeamSection .team-grid .team-card{grid-template-columns:76px minmax(0,1fr)!important}#ydTeamSection .team-card .team-avatar{width:76px!important;height:94px!important}#ydTeamSection .team-card .team-content{text-align:left!important}}

/* Project listing uses a dedicated card, not the old oversized .service-card. */
#ydProjectsPage{padding:47px 0 82px!important}
#ydProjectsPage .container{width:min(1190px,calc(100% - 32px))!important}
#ydProjectsPage .v89-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
#ydProjectsPage .v89-project-card{min-width:0;border:1px solid #dfE8f0;border-radius:20px;background:white;overflow:hidden;box-shadow:0 14px 35px rgba(6,29,53,.07);display:flex;flex-direction:column;transition:.2s}
#ydProjectsPage .v89-project-card:hover{transform:translateY(-3px);box-shadow:0 22px 45px rgba(6,29,53,.13)}
#ydProjectsPage .v89-project-visual{height:192px;display:block;overflow:hidden;position:relative;background:#112740}
#ydProjectsPage .v89-project-visual img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
#ydProjectsPage .v89-project-card:hover .v89-project-visual img{transform:scale(1.045)}
#ydProjectsPage .v89-project-visual>span{position:absolute;left:12px;bottom:12px;padding:6px 10px;background:#fff;border-radius:99px;color:#be1329;font-size:10px;font-weight:900;letter-spacing:.06em;box-shadow:0 3px 15px #0002}
#ydProjectsPage .v89-project-content{padding:18px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
#ydProjectsPage .v89-project-content h3{color:#10243b;margin:0;font-size:17px;line-height:1.34;font-weight:850;letter-spacing:-.025em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#ydProjectsPage .v89-project-location{display:flex;align-items:center;gap:7px;color:#697d91;font-size:12px;font-weight:750}
#ydProjectsPage .v89-project-content p{margin:0;color:#66778a;font-size:12.5px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#ydProjectsPage .v89-project-cta{margin-top:auto;padding-top:12px;color:#d8091b;font-size:12px;font-weight:900;text-decoration:none}
@media(max-width:960px){#ydProjectsPage .v89-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#ydProjectsPage .v89-project-grid{grid-template-columns:1fr}#ydProjectsPage .v89-project-visual{height:208px}}

/* Same standardized popup design on actual website – ten selectable identities. */
body.yd-platform .site-popup .site-popup-card.yd-popup-template-premium{
  width:min(760px,96vw)!important;max-height:min(90vh,740px)!important;
  display:grid!important;grid-template-columns:38% minmax(0,1fr)!important;
  padding:0!important;border:1px solid rgba(255,255,255,.22)!important;
  overflow:hidden!important;text-align:left!important;background:#fff!important;border-radius:24px!important;
  box-shadow:0 34px 110px rgba(0,17,36,.42)!important;gap:0!important;
}
body.yd-platform .site-popup .yd-popup-template-premium .popup-media{min-height:280px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#102b48,#c3092c);position:relative;overflow:hidden}
body.yd-platform .site-popup .yd-popup-template-premium .popup-media>img{width:100%!important;height:100%!important;max-height:none!important;position:absolute!important;inset:0!important;border-radius:0!important;object-fit:cover!important}
body.yd-platform .site-popup .yd-popup-template-premium .popup-copy{padding:36px 29px!important;display:flex;flex-direction:column;justify-content:center;min-width:0}
body.yd-platform .site-popup .yd-popup-template-premium :is(h3,p){margin:0!important;overflow-wrap:anywhere}
body.yd-platform .site-popup .yd-popup-template-premium h3{font-size:clamp(22px,3vw,31px)!important;color:#10233d!important;line-height:1.13!important;margin:0 0 12px!important}
body.yd-platform .site-popup .yd-popup-template-premium p{color:#52657b!important;font-size:14px!important;line-height:1.65!important;margin:0 0 18px!important}
body.yd-platform .site-popup .yd-popup-template-premium .popup-copy>a{align-self:flex-start!important;padding:11px 19px!important;border-radius:10px!important;background:#d8091b!important;color:#fff!important;text-decoration:none!important;font-weight:800}
body.yd-platform .site-popup .yd-popup-template-premium>button{position:absolute;right:12px;top:12px;z-index:6;box-shadow:0 2px 16px #0001}
body.yd-platform .site-popup .popup-template-energy .popup-media{background:linear-gradient(125deg,#073f4d,#c50d29)!important}
body.yd-platform .site-popup .popup-template-glass{background:rgba(242,248,255,.95)!important;backdrop-filter:blur(20px)}
body.yd-platform .site-popup .popup-template-glass .popup-media{background:linear-gradient(130deg,#183a5c,#4e82a1)!important}
body.yd-platform .site-popup .popup-template-spotlight .popup-media{background:radial-gradient(circle at 50% 40%,#f9c267,#1c314a 70%)!important}
body.yd-platform .site-popup .popup-template-split .popup-media{background:linear-gradient(90deg,#0d263e 0 45%,#de1233 45%)!important}
body.yd-platform .site-popup .popup-template-minimal{grid-template-columns:1fr!important;text-align:center!important;width:min(600px,94vw)!important}
body.yd-platform .site-popup .popup-template-minimal .popup-media{min-height:105px!important;max-height:105px!important;background:#fff!important;color:#d8091b!important}
body.yd-platform .site-popup .popup-template-minimal .popup-copy{align-items:center!important;text-align:center!important;padding:18px 35px 35px!important}
body.yd-platform .site-popup .popup-template-midnight{background:#0e1e34!important}
body.yd-platform .site-popup .popup-template-midnight .popup-media{background:linear-gradient(145deg,#020719,#254f83)!important}
body.yd-platform .site-popup .popup-template-midnight :is(h3,p){color:#fff!important}
body.yd-platform .site-popup .popup-template-gradient .popup-media{background:linear-gradient(135deg,#18c5b7,#e71b4d)!important}
body.yd-platform .site-popup .popup-template-outline{border:3px solid #df1434!important}
body.yd-platform .site-popup .popup-template-industrial .popup-media{background:repeating-linear-gradient(138deg,rgba(250,195,89,.13) 0 8px,transparent 8px 30px),linear-gradient(130deg,#111e2e,#596678)!important}
@media(max-width:660px){body.yd-platform .site-popup .site-popup-card.yd-popup-template-premium{grid-template-columns:1fr!important}body.yd-platform .site-popup .yd-popup-template-premium .popup-media{min-height:130px!important;max-height:180px!important}body.yd-platform .site-popup .yd-popup-template-premium .popup-copy{padding:24px!important}body.yd-platform .site-popup .yd-popup-template-premium h3{font-size:23px!important}}


/* V90 – exact homepage service cards, no solid navy gutters or description snippets. */
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service {
  height:214px!important;min-height:214px!important;max-height:none!important;
  aspect-ratio:auto!important;background:#edf1f4!important;
  border:1px solid rgba(255,255,255,.65)!important;border-radius:17px!important;
  overflow:hidden!important;box-shadow:0 12px 28px rgba(10,29,54,.11)!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service>img.v90-service-backdrop {
  width:110%!important;height:110%!important;top:-5%!important;left:-5%!important;right:auto!important;bottom:auto!important;
  position:absolute!important;object-fit:cover!important;object-position:center!important;
  z-index:0!important;filter:blur(11px) saturate(.9) brightness(.88)!important;
  transform:scale(1.11)!important;background:transparent!important;opacity:1!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service>img.v90-service-photo {
  width:100%!important;height:100%!important;top:0!important;left:0!important;right:auto!important;bottom:auto!important;
  position:absolute!important;object-fit:contain!important;object-position:center center!important;
  z-index:1!important;filter:none!important;transform:none!important;
  background:transparent!important;padding:0!important;opacity:1!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service:hover>img.v90-service-photo {
  transform:scale(1.025)!important;filter:none!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service .v63-service-shade {
  position:absolute!important;inset:auto 0 0!important;height:102px!important;
  z-index:2!important;background:linear-gradient(180deg,transparent,rgba(8,16,26,.3) 26%,rgba(5,13,23,.82))!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service .v63-service-label {
  position:absolute!important;bottom:0!important;left:0!important;right:0!important;
  z-index:3!important;display:flex!important;align-items:flex-end!important;
  height:auto!important;min-height:63px!important;padding:12px 13px 14px!important;
  background:transparent!important;border:0!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service .v63-service-info {
  display:block!important;min-width:0!important;width:100%!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service .v63-service-info strong {
  display:block!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:clamp(13px,1.06vw,16px)!important;line-height:1.24!important;font-weight:850!important;
  letter-spacing:-.018em!important;text-shadow:0 2px 9px rgba(0,0,0,.48)!important;
  word-break:normal!important;overflow-wrap:normal!important;
}
body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service :is(.v63-service-icon,.v63-service-arrow,.v63-service-info small){display:none!important}
@media(max-width:1100px){body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service{height:225px!important;min-height:225px!important}}
@media(max-width:640px){body.yd-platform.v63-home .v63-service-grid .v63-service.v90-service{height:232px!important;min-height:232px!important}}

/* V90: Sektörel İçerik auto-RSS area, compact readable news cards. */
body.yd-platform .v90-sector-feed{margin:12px 0 38px; padding:24px; border-radius:24px;background:#fff;border:1px solid #e0e9f2;box-shadow:0 14px 48px rgba(11,34,56,.075)}
body.yd-platform .v90-sector-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 20px;border-bottom:1px solid #e8eef5}
body.yd-platform .v90-sector-header>div{max-width:830px}
body.yd-platform .v90-sector-overline{color:#d00d2a;font-weight:900;font-size:11px;letter-spacing:.14em}
body.yd-platform .v90-sector-header h2{font-size:clamp(24px,2.4vw,34px);color:#102a42!important;letter-spacing:-.04em;margin:8px 0!important;line-height:1.18}
body.yd-platform .v90-sector-header p{color:#617389;line-height:1.75;margin:0;font-size:14px}
body.yd-platform .v90-sector-indicator{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;background:#eaf8f0;border:1px solid #cfefdf;color:#157047;padding:10px 14px;border-radius:999px;font-size:12px;font-weight:800}
body.yd-platform .v90-sector-indicator span{width:8px;height:8px;background:#1bb86b;border-radius:50%}
body.yd-platform .v90-feed-controls{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 12px}
body.yd-platform .v90-feed-controls button{background:#f2f6fa;border:1px solid #dde6f0;border-radius:999px;color:#18334c;padding:10px 15px;font-size:12px;font-weight:800;box-shadow:none;transition:.15s}
body.yd-platform .v90-feed-controls button:hover,body.yd-platform .v90-feed-controls button.is-active{background:#d8091b;color:#fff;border-color:#d8091b}
body.yd-platform .v90-feed-status{font-size:12px;color:#657a90;margin:0 0 16px}
body.yd-platform .v90-sector-news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.yd-platform .v90-news-item{display:flex;flex-direction:column;min-width:0;min-height:196px;padding:20px;background:linear-gradient(180deg,#fff,#f9fbfd);border:1px solid #e2ebf3;border-radius:18px;box-shadow:0 8px 28px rgba(20,43,64,.035);transition:.18s}
body.yd-platform .v90-news-item:hover{border-color:#d8091b40;transform:translateY(-2px);box-shadow:0 14px 35px rgba(20,43,64,.08)}
body.yd-platform .v90-news-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#667991}
body.yd-platform .v90-news-category{background:#fff0f2;color:#be1434;padding:6px 9px;border-radius:8px;font-weight:800;font-size:10px}
body.yd-platform .v90-news-item h3{font-size:16px;line-height:1.38;font-weight:850;margin:16px 0 20px;color:#10283e!important;letter-spacing:-.012em;flex:1;overflow-wrap:anywhere}
body.yd-platform .v90-news-item h3 a{color:#10283e;text-decoration:none}
body.yd-platform .v90-news-item h3 a:hover{color:#c20b29}
body.yd-platform .v90-news-foot{border-top:1px solid #eaf0f5;padding-top:13px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px}
body.yd-platform .v90-news-source{color:#718397;line-height:1.4}
body.yd-platform .v90-news-read{font-weight:850;color:#c80b26;text-decoration:none;white-space:nowrap}
body.yd-platform .v90-sector-attribution{font-size:11px;line-height:1.6;color:#6d7e8f;margin:20px 0 0}
body.yd-platform .v90-feed-empty,body.yd-platform .v90-feed-loading{padding:28px 20px;grid-column:1/-1;border:1px dashed #cbd8e6;border-radius:14px;background:#f6f9fc;color:#64758a;font-size:14px;text-align:center}
@media(max-width:1000px){body.yd-platform .v90-sector-news-list{grid-template-columns:repeat(2,minmax(0,1fr))}body.yd-platform .v90-sector-header{flex-wrap:wrap}}
@media(max-width:650px){body.yd-platform .v90-sector-news-list{grid-template-columns:1fr}body.yd-platform .v90-sector-feed{padding:18px}body.yd-platform .v90-sector-header h2{font-size:25px}}
