/* Homepage only: textured photo frames. */

.people-lead,.people-card .frame,.people-card:nth-child(2) .frame,.people-card:nth-child(3) .frame,.bio-portrait,.training-frame,.doc-preview,.design .thumb,.sport-image,.sport-image img,.sport:first-child .sport-image img,.training-frame img,.feature-photo img,.private img,.present img,.bio-portrait img,.people-lead img,.people-card img{background-color:#202b3a;background-image:linear-gradient(rgba(16,25,35,.12),rgba(16,25,35,.12)),url("assets/lacivert-siva.webp");background-size:cover;background-position:center;border-color:#536174}
.sport:first-child .sport-image{background:none}

/* Full images only in the two requested homepage sections. */
#ozel-ders img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;padding:0;border:0;background:none}
#tasarimlar .gallery{align-items:start}
#tasarimlar .design .thumb{height:auto;aspect-ratio:auto;padding:0;border:0;background:none;overflow:visible}
#tasarimlar .design img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;transform:none;background:none}

/* Full photograph in the training approach section only. */
#yaklasim .feature-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;padding:0;border:0;background:none}

/* One shared frame for the two main discipline photographs. */
#branslar .sport:first-child .sport-image{height:600px;padding:14px;border:1px solid #536174;gap:16px;background-color:#202b3a;background-image:linear-gradient(rgba(16,25,35,.12),rgba(16,25,35,.12)),url("assets/lacivert-siva.webp");background-size:cover;background-position:center;grid-template-rows:minmax(0,1fr)}
#branslar .sport:first-child .sport-image img{height:570px;min-height:0;object-fit:contain;padding:0;border:0;background:none}
@media(max-width:600px){#branslar .sport:first-child .sport-image{height:360px;padding:10px;gap:10px}#branslar .sport:first-child .sport-image img{height:338px}}

/* Matched visible image sizes in the shared frame. */
#branslar .sport:first-child .sport-image{height:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto}
#branslar .sport:first-child .sport-image img{width:100%;height:clamp(460px,52vw,740px);object-fit:cover;min-width:0;object-position:50% 60%}
#branslar .sport:first-child .sport-image img:last-of-type{object-position:50% 25%}
@media(max-width:600px){#branslar .sport:first-child .sport-image{height:auto}#branslar .sport:first-child .sport-image img{height:340px}}

/* BJJ photograph fills its card edge to edge. */
#branslar .sport.sport-bjj .sport-image{padding:0;border:0;background:none}
#branslar .sport.sport-bjj .sport-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;padding:0;border:0;background:none}

/* Three equal performance cards, followed by MMA and BJJ. */
#branslar .sport{grid-column:span 2}
#branslar .sport:first-child{grid-column:span 6}
#branslar .sport.sport-mma,#branslar .sport.sport-bjj{grid-column:span 3}
#branslar .sport.sport-hyrox .sport-image,#branslar .sport.sport-fitness .sport-image,#branslar .sport.sport-crossfit .sport-image{height:440px}
@media(max-width:900px){#branslar .sport.sport-hyrox .sport-image,#branslar .sport.sport-fitness .sport-image,#branslar .sport.sport-crossfit .sport-image{height:330px}}
@media(max-width:600px){#branslar .sport,#branslar .sport.sport-mma,#branslar .sport.sport-bjj{grid-column:span 6}#branslar .sport.sport-hyrox .sport-image,#branslar .sport.sport-fitness .sport-image,#branslar .sport.sport-crossfit .sport-image{height:390px}}

/* Consistent full-design previews in the visual collection only. */
#tasarimlar .design .thumb{height:auto;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;overflow:hidden}
#tasarimlar .design img{width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center;transform:none}
#tasarimlar .design h3{min-height:2.4em;line-height:1.2}

#branslar .sport.sport-bjj .sport-image img{object-position:50% 25%}

/* Orange plaster finish on the homepage's existing photo frames only. */
#branslar .sport:not(.sport-bjj) .sport-image,
#branslar .sport:first-child .sport-image,
#antrenmandan .training-frame{
 background-color:#ed7927;
 background-image:url("assets/orange-rough-plaster.svg");
 background-size:240px 240px;background-repeat:repeat;background-position:center;
 border:1px solid #ef9b53;
 padding:10px;
}
#branslar .sport .sport-image img,#antrenmandan .training-frame img{background:none;border:0}
#branslar .sport:first-child .sport-image{gap:10px}
#branslar .sport.sport-bjj .sport-image{padding:0;border:0;background:none}
@media(max-width:600px){#branslar .sport:not(.sport-bjj) .sport-image,#branslar .sport:first-child .sport-image,#antrenmandan .training-frame{padding:7px}#branslar .sport.sport-bjj .sport-image{padding:0}#branslar .sport:first-child .sport-image{gap:7px}}

/* Fit photographs proportionally to the inside of their orange frames. */
#branslar .sport:not(:first-child):not(.sport-bjj) .sport-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#branslar .sport.sport-fitness .sport-image img,#branslar .sport.sport-crossfit .sport-image img{object-position:50% 35%}
#branslar .sport.sport-mma .sport-image img{object-position:50% 40%}
#antrenmandan .training-frame button{display:block;width:100%}
#antrenmandan .training-frame img{display:block;width:100%;object-fit:cover;object-position:50% 35%}

/* BJJ shares the orange plaster frame; preserve the complete pair photograph. */
#branslar .sport.sport-bjj .sport-image{height:auto;aspect-ratio:auto;padding:10px;border:1px solid #ef9b53;background:#ed7927 url("assets/orange-rough-plaster.svg") center/240px 240px repeat}
#branslar .sport.sport-bjj .sport-image img{width:100%;height:auto;object-fit:contain;object-position:center;display:block}
/* Keep the fitness athlete's head and upper body inside the crop. */
#branslar .sport.sport-fitness .sport-image img{object-position:50% 0%}
@media(max-width:600px){#branslar .sport.sport-bjj .sport-image{padding:7px}}

/* Show the complete fitness portrait without any crop, on all screen sizes. */
#branslar .sport.sport-fitness .sport-image{height:auto;aspect-ratio:auto}
#branslar .sport.sport-fitness .sport-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;transform:none}

/* Three equal frames in the approved Fitness / HYROX / Performans sequence. */
#branslar .disciplines{column-gap:24px;row-gap:30px}
#branslar .sport.sport-fitness .sport-image,#branslar .sport.sport-hyrox .sport-image,#branslar .sport.sport-crossfit .sport-image{height:440px;aspect-ratio:auto;box-sizing:border-box}
#branslar .sport.sport-fitness .sport-image img,#branslar .sport.sport-hyrox .sport-image img,#branslar .sport.sport-crossfit .sport-image img{width:100%;height:100%;max-height:none;object-fit:cover;transform:none}
#branslar .sport.sport-fitness .sport-image img{object-position:50% 0%}
#branslar .sport.sport-hyrox .sport-image img{object-position:center}
#branslar .sport.sport-crossfit .sport-image img{object-position:50% 15%}
@media(max-width:900px){#branslar .sport.sport-fitness .sport-image,#branslar .sport.sport-hyrox .sport-image,#branslar .sport.sport-crossfit .sport-image{height:330px}}
@media(max-width:600px){#branslar .sport.sport-fitness .sport-image,#branslar .sport.sport-hyrox .sport-image,#branslar .sport.sport-crossfit .sport-image{height:390px}}

/* Consistent collection cards; full originals remain available in the viewer. */
#tasarimlar .gallery{grid-auto-rows:1fr;align-items:stretch;gap:28px 24px}
#tasarimlar .design{display:flex;flex-direction:column;min-width:0;width:100%;height:100%}
#tasarimlar .design[hidden]{display:none}
#tasarimlar .design .thumb{display:block;position:relative;flex:none;width:100%;height:auto;aspect-ratio:3/4;overflow:hidden}
#tasarimlar .design .thumb img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center top;transform:none}
#tasarimlar .design h3{min-height:2.6em;line-height:1.3;margin:15px 0 6px}
#tasarimlar .design p{min-height:2.8em;line-height:1.4;margin:0}
@media(max-width:600px){#tasarimlar .gallery{gap:24px 14px}}

/* Match the neighboring MMA and BJJ photographs at an intermediate size. */
#branslar .sport.sport-mma .sport-image,#branslar .sport.sport-bjj .sport-image{height:560px;aspect-ratio:auto;box-sizing:border-box;padding:10px}
#branslar .sport.sport-mma .sport-image img,#branslar .sport.sport-bjj .sport-image img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;transform:none}
#branslar .sport.sport-mma .sport-image img{object-position:50% 30%}
#branslar .sport.sport-bjj .sport-image img{object-position:50% 20%}
@media(max-width:900px){#branslar .sport.sport-mma .sport-image,#branslar .sport.sport-bjj .sport-image{height:460px}}
@media(max-width:600px){#branslar .sport.sport-mma .sport-image,#branslar .sport.sport-bjj .sport-image{height:440px;padding:7px}}
