/* ==========================================================================
   Blok içerik stilleri — hem ön yüzde hem blok düzenleyicide yüklenir.
   ========================================================================== */

/* ---------- İçerik yerleşimi (klasik tema + blok hizalamaları) ---------- */
.entry-content > *:not(.alignfull):not(.alignwide),
.editor-styles-wrapper .is-root-container > *:not(.alignfull):not(.alignwide) { max-width: var(--wp--style--global--content-size, 1140px); margin-left: auto; margin-right: auto; }
.page-content > *:not(.alignfull):not(.alignwide) { padding-inline: 20px; }
.entry-content > .alignwide { max-width: var(--wp--style--global--wide-size, 1300px); margin-inline: auto; }
.entry-content > .alignfull { max-width: none; width: 100%; margin-left: 0; margin-right: 0; }
.page-content > * + * { margin-top: 0; }
.page-content > .wp-block-heading, .page-content > p, .page-content > .wp-block-list { margin-block: 0 1em; }
.single-post__content > * + * { margin-top: 1.1em; }
.single-post__content { font-size: 15px; line-height: 1.8; }
.single-post__content h2, .single-post__content h3 { margin-top: 1.6em; }
.single-post__content table { width: 100%; border-collapse: collapse; }
.single-post__content td, .single-post__content th { border: 1px solid #e5e5e5; padding: 8px 12px; }

.entry-content .has-text-align-center { text-align: center; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { color: #000; }
.has-white-color h1, .has-white-color h2, .has-white-color h3, .has-white-color p,
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3 { color: inherit; }
.has-white-color { color: #fff; }
.has-white-color .wp-block-heading:not([class*="-color"]) { color: #fff; }

/* Bölüm başlığı + dikey boşluk yardımcıları */
.mtc-section { padding-block: 50px; }
.mtc-section-title { text-align: center; margin: 0 0 30px; }

/* ---------- Butonlar ---------- */
.wp-block-button__link, .wp-element-button { transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; text-decoration: none !important; display: inline-flex; align-items: center; gap: 8px; }
.wp-block-button__link:hover { filter: brightness(.94); }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; background: transparent; padding: 10px 22px; }
.wp-block-buttons { gap: 10px; }

.wp-block-button[class*="is-style-"]:not(.is-style-outline):not(.is-style-fill) .wp-block-button__link::before {
	content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--mtc-btn-icon) center/contain no-repeat; mask: var(--mtc-btn-icon) center/contain no-repeat; flex: none;
}
.wp-block-button.is-style-arrow .wp-block-button__link::before { order: 2; width: 12px; height: 12px; }
.wp-block-button.is-style-arrow { --mtc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.6 16.6 13.2 12 8.6 7.4 10 6l6 6-6 6z'/%3E%3C/svg%3E"); }
.wp-block-button.is-style-instagram { --mtc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2c3.2 0 3.6 0 4.8.1 3.3.1 4.8 1.7 4.9 4.9.1 1.3.1 1.6.1 4.8s0 3.6-.1 4.8c-.1 3.2-1.7 4.8-4.9 4.9-1.3.1-1.6.1-4.8.1s-3.6 0-4.8-.1c-3.3-.1-4.8-1.7-4.9-4.9-.1-1.3-.1-1.6-.1-4.8s0-3.6.1-4.8C2.4 3.9 3.9 2.4 7.2 2.3c1.2-.1 1.6-.1 4.8-.1zM12 0C8.7 0 8.3 0 7.1.1 2.7.3.3 2.7.1 7.1 0 8.3 0 8.7 0 12s0 3.7.1 4.9c.2 4.4 2.6 6.8 7 7 1.2.1 1.6.1 4.9.1s3.7 0 4.9-.1c4.4-.2 6.8-2.6 7-7 .1-1.2.1-1.6.1-4.9s0-3.7-.1-4.9c-.2-4.4-2.6-6.8-7-7C15.7 0 15.3 0 12 0zm0 5.8a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.4-11.8a1.4 1.4 0 1 0 0 2.9 1.4 1.4 0 0 0 0-2.9z'/%3E%3C/svg%3E"); }
.wp-block-button.is-style-facebook { --mtc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.7 0H1.3C.6 0 0 .6 0 1.3v21.4c0 .7.6 1.3 1.3 1.3h11.5v-9.3H9.7v-3.6h3.1V8.4c0-3.1 1.9-4.8 4.7-4.8 1.3 0 2.5.1 2.8.1V7h-1.9c-1.5 0-1.8.7-1.8 1.8v2.3h3.6l-.5 3.6h-3.1V24h6.1c.7 0 1.3-.6 1.3-1.3V1.3C24 .6 23.4 0 22.7 0z'/%3E%3C/svg%3E"); }
.wp-block-button.is-style-linkedin { --mtc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.4 20.5h-3.6v-5.6c0-1.3 0-3-1.8-3s-2.1 1.4-2.1 2.9v5.7H9.3V9h3.4v1.6c.5-.9 1.6-1.8 3.4-1.8 3.6 0 4.3 2.4 4.3 5.5v6.2zM5.3 7.4a2.1 2.1 0 1 1 0-4.1 2.1 2.1 0 0 1 0 4.1zm1.8 13.1H3.6V9h3.5v11.5zM22.2 0H1.8C.8 0 0 .8 0 1.7v20.6c0 .9.8 1.7 1.8 1.7h20.4c1 0 1.8-.8 1.8-1.7V1.7C24 .8 23.2 0 22.2 0z'/%3E%3C/svg%3E"); }
.wp-block-button.is-style-mail { --mtc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4h20a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v.4l10 6.3 10-6.3V6H2z'/%3E%3C/svg%3E"); }
.wp-block-button.is-style-download { --mtc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z'/%3E%3C/svg%3E"); }

/* Hero butonları: büyük, siyah zemin, somon kenar, Titillium büyük harf */
.wp-block-buttons.is-style-hero { gap: 14px 40px; }
.wp-block-buttons.is-style-hero .wp-block-button__link {
	font-family: 'Titillium Web', sans-serif; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em;
	padding: 16px 44px; border: 2px solid var(--wp--preset--color--accent-soft); border-radius: 0; min-width: 210px; justify-content: center;
}
.wp-block-buttons.is-style-hero .wp-block-button__link::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 6px; }
.wp-block-buttons.is-style-hero .wp-block-button__link:hover { background: var(--wp--preset--color--primary) !important; border-color: var(--wp--preset--color--primary); filter: none; }

/* ---------- Kapak (hero) ---------- */
.wp-block-cover { padding-inline: 20px; }
.wp-block-cover .wp-block-cover__inner-container { max-width: 1140px; }
.wp-block-cover h1, .wp-block-cover h2 { text-wrap: balance; }
.mtc-hero-title { font-family: 'Titillium Web', sans-serif !important; text-transform: uppercase; font-weight: 700 !important; letter-spacing: .01em; }

/* Araç kartı (Kapak bloğu "Kart" stili) */
.wp-block-cover.is-style-card { min-height: 360px !important; padding: 0; align-items: flex-end; overflow: hidden; }
.wp-block-cover.is-style-card .wp-block-cover__inner-container { width: 100%; padding: 30px; background: rgba(0,0,0,.35); transition: background .3s; }
.wp-block-cover.is-style-card:hover .wp-block-cover__inner-container { background: rgba(0,0,0,.55); }
.wp-block-cover.is-style-card .wp-block-cover__image-background { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.wp-block-cover.is-style-card:hover .wp-block-cover__image-background { transform: scale(1.05); }

/* ---------- Bölünmüş bölüm (Medya & Metin) ---------- */
.wp-block-media-text { align-items: stretch; }
.wp-block-media-text > .wp-block-media-text__content { padding: 40px 50px; display: flex; flex-direction: column; justify-content: center; }
.wp-block-media-text > .wp-block-media-text__content > * + * { margin-top: 20px; }
.wp-block-media-text.is-style-split > .wp-block-media-text__content { padding: clamp(30px, 5vw, 70px); }
.wp-block-media-text.is-image-fill .wp-block-media-text__media, .wp-block-media-text.is-image-fill-element > .wp-block-media-text__media { min-height: 395px; }
.wp-block-media-text .wp-block-heading { margin: 0; }
.wp-block-media-text p { margin: 0; }
@media (max-width: 781px) {
	.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content { padding: 40px 20px; }
	.wp-block-media-text.is-stacked-on-mobile.is-image-fill .wp-block-media-text__media { min-height: 260px; }
	.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media { grid-row: 1; }
	.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content { grid-row: 2; }
}

/* ---------- Galeri: logo ızgarası ve kayan bant ---------- */
.wp-block-gallery.is-style-logos { justify-content: center; align-items: center; gap: 30px 55px; padding-block: 12px; }
.wp-block-gallery.is-style-logos.has-nested-images figure.wp-block-image { flex: 0 0 auto !important; width: 130px !important; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 4px; border: 1px solid rgba(255,255,255,.85); transition: transform .3s; }
.wp-block-gallery.is-style-logos.has-nested-images figure.wp-block-image:hover { transform: translateY(-4px); }
.wp-block-gallery.is-style-logos.has-nested-images figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; }

.wp-block-gallery.is-style-marquee { display: block !important; overflow: hidden; padding-block: 30px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wp-block-gallery.is-style-marquee .mtc-marquee__track { display: flex; gap: 50px; width: max-content; animation: mtc-marquee var(--mtc-marquee-duration, 40s) linear infinite; }
.wp-block-gallery.is-style-marquee:hover .mtc-marquee__track { animation-play-state: paused; }
.wp-block-gallery.is-style-marquee figure.wp-block-image { flex: none !important; width: auto !important; margin: 0 !important; }
.wp-block-gallery.is-style-marquee figure.wp-block-image img { height: 86px !important; width: auto !important; object-fit: contain !important; }
.wp-block-gallery.is-style-marquee:not(.is-ready) { display: flex !important; gap: 50px; justify-content: center; flex-wrap: wrap; }
@keyframes mtc-marquee { to { transform: translateX(calc(-50% - 25px)); } }
@media (prefers-reduced-motion: reduce) { .wp-block-gallery.is-style-marquee .mtc-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }
.editor-styles-wrapper .wp-block-gallery.is-style-marquee { -webkit-mask: none; mask: none; display: flex !important; flex-wrap: wrap; gap: 30px; }
.editor-styles-wrapper .wp-block-gallery.is-style-marquee figure.wp-block-image img { height: 70px !important; }

/* ---------- SSS (Detaylar bloğu) ---------- */
.wp-block-details { border-top: 2px solid #1b1b1b; padding: 0; }
.wp-block-details.is-style-faq:last-of-type { border-bottom: 2px solid #1b1b1b; }
.wp-block-details.is-style-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 15px; color: #000; }
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: #000; transition: transform .2s; }
.wp-block-details.is-style-faq[open] summary::after { content: '−'; }
.wp-block-details.is-style-faq > :not(summary) { padding-bottom: 18px; margin: 0; }

/* ---------- Tırnaklı slogan ---------- */
.wp-block-heading.is-style-quote::before { content: '“'; }
.wp-block-heading.is-style-quote::after { content: '”'; }

/* ---------- Gri panel ---------- */
.wp-block-group.is-style-panel { background: #ececec; padding: 50px; }

/* ---------- Yazı kartı ve karusel ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--wp--preset--color--light, #efefef); text-align: center; }
.post-card__media { display: block; aspect-ratio: 27 / 25; overflow: hidden; background: #ddd; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--wp--preset--color--primary), #2d7d63); }
.post-card__body { display: flex; flex-direction: column; flex: 1; align-items: center; padding: 22px 20px 26px; gap: 12px; }
.post-card__title { font-family: Roboto, sans-serif; font-size: 21px; font-weight: 400; line-height: 1.2; margin: 0; }
.post-card__title a { color: #000; }
.post-card__title a:hover { color: var(--wp--preset--color--primary); }
.post-card__excerpt { font-size: 13px; line-height: 1.6; color: #929191; margin: 0; }
.post-card__date { font-family: 'Titillium Web', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--wp--preset--color--primary); }
.post-card__more { margin-top: auto; display: inline-block; background: #fff; color: #000; padding: 10px 18px; font-size: 13px; font-weight: 500; border-radius: 2px; transition: .2s; }
.post-card__more:hover { background: var(--wp--preset--color--primary); color: #fff; }

.mtc-carousel { position: relative; padding-inline: 10px; }
.mtc-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 30px) / 4); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-block: 4px; }
.mtc-carousel__track::-webkit-scrollbar { display: none; }
.mtc-carousel__slide { scroll-snap-align: start; min-width: 0; }
.mtc-carousel__nav { position: absolute; top: 125px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.mtc-carousel__nav:hover { background: var(--wp--preset--color--primary); }
.mtc-carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.mtc-carousel__nav--prev { left: -10px; }
.mtc-carousel__nav--next { right: -10px; }
@media (max-width: 1024px) { .mtc-carousel__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; } }
@media (max-width: 781px) { .mtc-carousel__track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (max-width: 520px) { .mtc-carousel__track { grid-auto-columns: 82%; } .mtc-carousel__nav { display: none; } }

/* ---------- İletişim formu ---------- */
.mtc-form p { margin: 0 0 14px; }
.mtc-form input[type="text"], .mtc-form input[type="email"], .mtc-form textarea {
	width: 100%; padding: 8px 14px; border: 1px solid #69727d; border-radius: 3px; background: #fff; font: inherit; font-size: 15px; color: #1f2124;
}
.mtc-form textarea { min-height: 96px; resize: vertical; }
.mtc-form input:focus, .mtc-form textarea:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 0; border-color: transparent; }
.mtc-form__submit { width: 100%; background: #61ce70; color: #fff; border: 0; padding: 10px 20px; border-radius: 3px; font: inherit; font-weight: 500; cursor: pointer; transition: .2s; }
.mtc-form__submit:hover { background: var(--wp--preset--color--primary); }
.mtc-form__hp { position: absolute !important; left: -9999px; }
.mtc-form__consent label { display: flex; gap: 8px; font-size: 13px; align-items: flex-start; }
.mtc-form__notice { padding: 12px 16px; border-radius: 3px; margin: 0 0 16px; }
.mtc-form__notice--ok { background: #e3f4ee; color: #1d6b52; }
.mtc-form__notice--error { background: #fdecea; color: #a4262c; }

/* ---------- Sütunlar ---------- */
@media (max-width: 781px) { .wp-block-columns { gap: 24px; } }

/* Beyaz zeminli bölünmüş bölümde beyaz butonlara çerçeve (canlı sitedeki gibi) */
.wp-block-media-text.has-white-background-color .wp-block-button__link.has-white-background-color { box-shadow: inset 0 0 0 1px currentColor; }
.wp-block-group:has(> .wp-block-gallery.is-style-marquee) { overflow: hidden; }

/* Sayfa içeriğinde varsayılan metin siyah (canlı sitedeki gibi); renkli bölümler kendi rengini kullanır */
.page-content { color: #000; }
.page-content .post-card, .page-content .mtc-carousel { color: #929191; }

/* Afiş (tuval) sayfasında logo galerisi */
.is-canvas .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; max-height: 140px; object-fit: contain; }
.is-canvas .wp-block-gallery { gap: 20px; }
@media (min-width: 1025px) {
	.has-hero .page-content > .wp-block-cover:first-child { padding-top: calc(var(--mtc-header-h) / 2 + 20px); }
	.has-hero .title-bar--image .title-bar__inner { padding-top: calc(var(--mtc-header-h) / 2 + 30px); }
}


/* ---------- Bülten aboneliği ---------- */
.mtc-subscribe__form { display: flex; gap: 8px; align-items: stretch; }
.mtc-subscribe--stacked .mtc-subscribe__form { flex-direction: column; }
.mtc-subscribe__input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid #ccc; border-radius: 3px; font: inherit; font-size: 15px; }
.mtc-subscribe__button { display: inline-flex; align-items: center; gap: 4px; background: #000; color: #fff; border: 0; border-radius: 3px; padding: 10px 18px; font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.mtc-subscribe__button:hover { background: var(--wp--preset--color--primary); }
.mtc-subscribe__note { font-size: 12px; opacity: .8; margin: 8px 0 0; }
.mtc-subscribe__notice { margin: 0; padding: 10px 16px; border-radius: 3px; background: #fff; color: #1d6b52; }
.mtc-subscribe__notice--error { color: #a4262c; }
@media (max-width: 520px) { .mtc-subscribe__form { flex-direction: column; } }

/* ---------- Yazı ızgarası ---------- */
.mtc-post-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mtc-post-grid--1 { grid-template-columns: 1fr; }
.mtc-post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mtc-post-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .mtc-post-grid--3, .mtc-post-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mtc-post-grid { grid-template-columns: 1fr; } }

/* ---------- Partner karoları (adlı) ---------- */
.wp-block-gallery.is-style-partners { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.wp-block-gallery.is-style-partners.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; background: #fff; border: 1px solid rgba(0,0,0,.1); padding: 22px 16px 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wp-block-gallery.is-style-partners.has-nested-images figure.wp-block-image img { width: auto !important; max-width: 100%; height: 84px !important; object-fit: contain !important; }
.wp-block-gallery.is-style-partners figcaption { position: static !important; background: none !important; padding: 0 !important; margin: 0 !important; font-size: 12px; text-align: center; color: #333; line-height: 1.3; }
