.cop31 {
    --ink: #082743;
    --muted: #63717b;
    --leaf: #467d39;
    --line: #e2e8e8;
    font-family: "Work Sans", system-ui, sans-serif;
    color: var(--ink);
    background: #fff;
}
.cop31 * { box-sizing: border-box; }
.cop31 h1, .cop31 h2, .cop31 h3, .cop31 p { margin: 0; }
.cop31 h2 { font-size: clamp(1.65rem, 2.7vw, 2.65rem); font-weight: 600; line-height: 1.16; letter-spacing: -.045em; }
.cop31 p { line-height: 1.7; }
.cop31 a { color: inherit; text-decoration: none; }
.cop31 img { display: block; max-width: 100%; }
.cop31 :focus-visible { outline: 3px solid #bc8534; outline-offset: 5px; }
.cop31 .cop31-wrap { width: min(88%, 1280px); margin-inline: auto; }
.cop31 .symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.cop31 .cop31-eyebrow { display: block; color: var(--leaf); font-size: .68rem; font-weight: 700; line-height: 1.6; letter-spacing: .16em; margin-bottom: 1rem; }
.cop31 .cop31-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 44px;
    padding: .6rem 0;
    border-bottom: 1px solid #a4b4bd;
    font-size: .82rem;
    font-weight: 600;
}
.cop31 .cop31-action span { font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.cop31 .cop31-action:hover span { transform: translateX(4px); }
.cop31 .cop31-action:hover { color: var(--leaf); border-color: currentColor; }

/* Presentation areas */
.cop31 .areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding-block: 2.5rem 0; }
.cop31 .area {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--area-line);
    border-radius: 4px;
    overflow: hidden;
    isolation: isolate;
    background: var(--area-bg);
}
.cop31 .area::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 240px;
    height: 240px;
    right: -130px;
    bottom: -140px;
    border: 1px solid var(--area-line);
    border-radius: 50%;
    box-shadow: 0 0 0 28px var(--area-bg), 0 0 0 29px var(--area-line), 0 0 0 56px var(--area-bg), 0 0 0 57px var(--area-line);
}
.cop31 .mavi { --area-bg: #f0f6fa; --area-line: #d2e2ec; color: #154968; }
.cop31 .yesil { --area-bg: #f2f6ee; --area-line: #dbe5d0; color: #365735; }
.cop31 .area .cop31-eyebrow { color: inherit; opacity: .75; margin-bottom: .65rem; font-size: .6rem; }
.cop31 .area h2 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.035em; }
.cop31 .area p { max-width: 44ch; font-size: .87rem; margin-top: .8rem; }
.cop31 .area .cop31-action { margin-top: .75rem; }
.cop31 .cop31-icon { flex: none; width: 2.6rem; height: 2.6rem; margin-top: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* Research cards */
.cop31 .projects { padding-block: 4.5rem; scroll-margin-top: 180px; }
.cop31 .section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.cop31 .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.cop31 .project { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.cop31 .project:hover { box-shadow: 0 14px 35px #08274310; transform: translateY(-4px); }
.cop31 .project-copy { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.cop31 .project h3 { font-size: 1.12rem; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
.cop31 .project p { color: var(--muted); font-size: .84rem; margin-block: .8rem 1.25rem; }
.cop31 .cop31-project-link::after { content: ""; position: absolute; inset: 0; }
.cop31 .project:focus-within { outline: 3px solid var(--leaf); }
.cop31 .cop31-project-arrow { display: flex; align-items: center; justify-content: flex-end; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--leaf); font-size: 1.3rem; }
.cop31 .cop31-media { min-width: 0; }
.cop31 .cop31-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.cop31 .project .video-trigger { z-index: 1; }

/* Events and videos */
.cop31 .cop31-events { padding-block: 4rem; background: #f4f6f3; border-block: 1px solid #e6ebe4; scroll-margin-top: 180px; }
.cop31 .section-description { min-width:0; width:100%; white-space:normal; overflow-wrap:anywhere; color: var(--muted); font-size: .86rem; margin-top: 1.1rem; max-width: min(100%, 62ch); }
.cop31 .media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cop31 .event-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cop31 .event-grid a { display: block; min-width: 0; border: 1px solid #e0e7dc; border-radius: 4px; overflow: hidden; background: #fff; }
.cop31 .event-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.cop31 .event-title { display: flex; gap: .5rem; justify-content: space-between; align-items: flex-start; padding: 1rem; font-size: .8rem; font-weight: 600; line-height: 1.5; }
.cop31 .event-title span { color: var(--leaf); font-size: 1.15rem; }
.cop31 .event-grid a:hover .event-title { color: var(--leaf); }
.cop31 .cop31-gallery > .cop31-wrap > .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cop31 .cop31-gallery { padding-block: 4rem; color: #fff; background: #082743; scroll-margin-top: 180px; }
.cop31 .cop31-gallery .cop31-eyebrow { color: #c3d8b0; }
.cop31 .cop31-gallery .section-description { color: #b8c7d2; }
.cop31 .cop31-gallery .cop31-action { border-color: #567084; }
.cop31 .cop31-gallery .cop31-action:hover { color: #d6e9c8; }
.cop31 .cop31-gallery .cop31-media { border: 1px solid #ffffff2b; border-radius: 4px; overflow: hidden; background: #ffffff06; }
.cop31 .cop31-gallery .media-title { color: #e5edf2; font-size: .78rem; font-weight: 500; margin: 0; padding: 1rem; }
.cop31 .video-trigger { position: relative; display: block; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.cop31 .video-trigger:focus-visible { outline-offset: -4px; }
.cop31 .play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; width: 3rem; height: 3rem; background: #082743c9; border: 1px solid #ffffffc4; border-radius: 50%; transition: background .2s ease; }
.cop31 .play::before { content: ""; border-block: .4rem solid transparent; border-left: .6rem solid #fff; margin-left: .15rem; }
.cop31 .video-trigger:hover .play { background: #467d39; }
.cop31 .quick-links { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: center; justify-content: center; padding-block: 1.5rem; }
.cop31 .quick-links .cop31-action { border-color: transparent; font-size: .78rem; }

/* Event carousel and video dialog */
.cop31 .cop31-carousel { position: relative; }
.cop31 .cop31-event-carousel { padding-bottom: 2.5rem; }
.cop31 .cop31-prev, .cop31 .cop31-next { position: absolute; bottom: 0; width: 36px; height: 36px; border: 1px solid #c7d3c2; border-radius: 50%; color: #355731; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.cop31 .cop31-prev { left: 0; }
.cop31 .cop31-next { right: 0; }
.cop31 .cop31-prev:hover, .cop31 .cop31-next:hover { background: #e4ecdf; }
.cop31 .cop31-dots { position: absolute; inset: auto 44px 5px; display: flex; justify-content: center; gap: .2rem; }
.cop31 .cop31-dots button { padding: 0; width: 24px; height: 24px; border: 0; background: transparent; cursor: pointer; }
.cop31 .cop31-dots button::after { content: ""; display: block; width: 5px; height: 5px; margin: auto; border-radius: 50%; background: #b6c3b0; }
.cop31 .cop31-dots button[aria-pressed="true"]::after { background: var(--leaf); width: 8px; height: 8px; }
.cop31 [data-slide][hidden] { display: none; }
.cop31 dialog { width: min(900px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 6px; color: #fff; background: #082743; }
.cop31 dialog::backdrop { background: #081117df; }
.cop31 .video-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; }
.cop31 .video-heading h2 { font-size: 1rem; letter-spacing: 0; }
.cop31 .video-heading button { border: 0; color: inherit; background: none; font-size: 1.7rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.cop31 #video-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

@media (max-width: 1100px) {
    .cop31 .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cop31 .cop31-gallery > .cop31-wrap > .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cop31 .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .cop31 .cop31-wrap { width: 90%; }
    .cop31 .areas { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; }
    .cop31 .area { gap: 1rem; }
    .cop31 .projects { padding-block: 3rem; }
.cop31 .cop31-gallery { padding-block: 3rem; }
    .cop31 .project-grid { gap: 1rem; }
    .cop31 .project-copy { padding: 1rem; }
    .cop31 .project h3 { font-size: 1rem; }
    .cop31 .event-grid { grid-template-columns: 1fr; }
    .cop31 .event-grid a { display: block; }
    .cop31 .event-grid img { height: auto; aspect-ratio: 3 / 2; }
    .cop31 .event-title { padding: .8rem; }
    .cop31 .cop31-gallery > .cop31-wrap > .media-grid { grid-template-columns: 1fr; }
    .cop31 .cop31-gallery .cop31-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
@media (max-width: 440px) {
    .cop31 .project-grid { grid-template-columns: 1fr; }
    .cop31 .cop31-icon { width: 2rem; height: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cop31 *, .cop31 *::before, .cop31 *::after { transition: none; }
}

/* Keep the MMF slider dimensions while giving its text a readable backdrop. */
#mmfHeroCarousel .carousel-item::before {
    background: linear-gradient(90deg, #041b31cc 0%, #041b3180 45%, #041b310d 100%);
}

.cop31 .cop31-gallery-page { padding-block: 3rem; }
.cop31 .cop31-gallery-page .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cop31 .cop31-gallery-page .cop31-media, .cop31 .cop31-photo-card { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; }
.cop31 .cop31-gallery-page .media-title { padding: 1rem; font-size: .85rem; line-height: 1.6; overflow-wrap: anywhere; }
.cop31 .cop31-photo-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.cop31 .cop31-gallery-heading { margin-top: 3rem; }
.cop31 .cop31-gallery-pagination { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 2rem; }
@media (max-width: 1000px) {
    .cop31 .cop31-gallery-page .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
    .cop31 .cop31-gallery-page .media-grid { grid-template-columns: 1fr; }
}


/* Metin, komşu görsel ve kartların sınırları içinde satıra bölünür. */
.cop31 .section-heading > div { flex: 1 1 320px; min-width: 0; max-width: 100%; }
.cop31 .section-heading > .cop31-action { flex-shrink: 0; max-width: 100%; }
.cop31 .project-copy, .cop31 .event-title, .cop31 .media-title { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.cop31 .project h3, .cop31 .project p, .cop31 .cop31-eyebrow { overflow-wrap: anywhere; }
