/*
Theme Name: Yeni Çözümler
Description: Yeni Çözümler için özel Gutenberg blok teması.
Version: 0.2.3
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: yenicozumler
*/

:root {
  --yc-ink: #252525;
  --yc-muted: #505050;
  --yc-plum: #762780;
  --yc-soft: #fafafa;
  --yc-heading-1: clamp(28px, 3vw, 40px);
  --yc-heading-2: clamp(24px, 2.3vw, 30px);
  --yc-heading-3: clamp(19px, 1.6vw, 22px);
  --yc-body-size: 16px;
  --yc-button-font: "Noto Sans", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { color: var(--yc-ink); font-synthesis: none; }
body .wp-site-blocks :is(h1, h2, h3, h4) { letter-spacing: -.015em; }
body .wp-site-blocks :is(h3, h4) { line-height: 1.4; letter-spacing: 0; }
a { text-underline-offset: .18em; }
.wp-site-blocks { min-height: 100vh; }
.wp-site-blocks > main { margin-block-start: 0 !important; }
.wp-site-blocks > footer { margin-block-start: 0; }
.wp-block-post-content { margin-block-start: 0; }
.wp-block-post-content > :first-child { margin-block-start: 0 !important; }
body .wp-block-button .wp-block-button__link,body .yc-contact-form button {
  font-family: var(--yc-button-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  min-height: 44px;
  box-sizing: border-box;
}
body .wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
}
.yc-button-with-arrow .wp-block-button__link::after {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13m-5-5 5 5-5 5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.yc-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.yc-site-header { background: #fff; border-bottom: 1px solid rgba(40,34,44,.1); }
.yc-site-header .wp-block-group { min-height: 76px; }
.yc-site-footer { background: #fafafa; border-top: 1px solid #e5e5e5; }
.yc-site-footer .yc-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.3fr 1fr; gap: 36px; padding-block: 48px 36px; }
.yc-site-footer .yc-footer-grid > * { margin: 0; min-width: 0; }
.yc-site-footer .yc-footer-brand p { max-width: 270px; margin: 16px 0 0; color: #505050; font-size: 13px; line-height: 1.7; }
.yc-site-footer .yc-footer-links h2 { margin: 0 0 16px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.yc-site-footer .yc-footer-links ul { list-style: none; margin: 0; padding: 0; }
.yc-site-footer .yc-footer-links li { margin: 0 0 10px; font-size: 13px; line-height: 1.65; }
.yc-site-footer a { color: #404040; text-decoration: none; }
.yc-site-footer a:hover { color: #762780; text-decoration: underline; text-underline-offset: 3px; }
.yc-site-footer .yc-footer-bottom { padding-block: 18px; border-top: 1px solid #e5e5e5; }
.yc-site-footer .yc-footer-bottom p { font-size: 12px; color: #606060; margin: 0; }
.yc-policy { max-width: 800px; padding-block: 44px 64px; }
.yc-policy h1 { margin: 0 0 28px; }
.yc-policy h2 { font-size: 21px; margin-top: 32px; }
.yc-policy p, .yc-policy li { font-size: 15px; line-height: 1.8; }
@media (max-width: 960px) { .yc-site-footer .yc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 540px) { .yc-site-footer .yc-footer-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 32px; } }
@media (max-width: 700px) {
  .yc-shell { width: min(100% - 28px, 1200px); }
}
