/*
Theme Name: Kokla Dünyayı Twin
Theme URI: https://kokladunyayi.com
Author: Kokla Dünyayı
Description: In That Postcard tasarımının Türkçe kardeş teması.
Version: 1.0.4
Text Domain: kokla-dunyayi-twin
*/

:root{--kd-ink:#273735;--kd-green:#315d57;--kd-mint:#f1f6f5;--kd-line:#d5e3e0;--kd-width:962px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#666;font-family:Lato,Arial,sans-serif;font-size:16px;font-weight:300;line-height:1.8}a{color:var(--kd-green)}img{max-width:100%;height:auto}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.kd-header{position:relative;z-index:10000;background:#fff}.kd-brand{height:48px;text-align:center;background:rgba(255,255,255,.94)}.kd-brand a{display:inline-block;color:#000;text-decoration:none;font-family:"Dancing Script","Segoe Script",cursive;font-size:40px;font-weight:400;line-height:48px}.kd-nav{height:45px;border-bottom:1px solid #e8eeee;background:rgba(255,255,255,.94)}.kd-nav-inner{position:static;width:var(--kd-width);max-width:calc(100% - 26px);height:45px;margin:auto}.kd-menu{display:flex;align-items:center;justify-content:center;height:45px;margin:0;padding:0;list-style:none}.kd-menu>li{position:relative;height:45px;margin-right:40px;padding:7px 0;list-style:none;line-height:29px}.kd-menu>li:last-child{margin-right:0}.kd-menu>a{display:block}.kd-menu-link,.kd-world-toggle{display:inline-block;margin:0;padding:0;border:0;background:none;color:#3b3b3b;text-decoration:none;text-transform:uppercase;white-space:nowrap;cursor:pointer;font:700 12px/29px Lato,Arial,sans-serif}.kd-world-toggle::after{content:" ▾";font-size:9px}.kd-menu-link:hover,.kd-menu-link:focus,.kd-world-toggle:hover,.kd-world-toggle:focus{color:var(--kd-green)}
.kd-mega{display:none;position:absolute;left:50%;top:45px;z-index:10020;grid-template-columns:2fr repeat(4,minmax(0,1fr));gap:24px;width:100vw;max-height:calc(100vh - 93px);padding:18px 30px 20px;overflow-y:auto;background:var(--kd-mint);border:1px solid var(--kd-line);border-radius:0 0 22px 22px;box-shadow:0 18px 40px rgba(37,59,56,.16);text-align:left;transform:translateX(-50%)}.kd-world:hover .kd-mega,.kd-world:focus-within .kd-mega,.kd-world.is-open .kd-mega{display:grid}.kd-mega-column{min-width:0}.kd-mega-title{display:block;margin:0 0 8px;padding:0 0 6px;border-bottom:1px solid #c7d9d5;color:var(--kd-green)!important;text-decoration:none!important;text-transform:uppercase;font-size:15px;font-weight:700;letter-spacing:.09em;line-height:1.3}.kd-mega-column>a:not(.kd-mega-title){display:block;margin:0;padding:2px 0;color:var(--kd-ink)!important;text-decoration:none!important;font-size:15px;line-height:1.35}.kd-mega-column>a:hover,.kd-mega-column>a:focus{color:#4b827a!important;text-decoration:underline!important;text-underline-offset:3px}.kd-tips{position:relative}.kd-tips-toggle::after{content:" ▾";font-size:9px}.kd-tips-panel{display:none;position:absolute;left:50%;top:45px;z-index:10020;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;width:100vw;max-height:calc(100vh - 93px);padding:18px max(30px,calc((100vw - var(--kd-width))/2)) 20px;overflow-y:auto;background:var(--kd-mint);border:1px solid var(--kd-line);border-radius:0 0 22px 22px;box-shadow:0 18px 40px rgba(37,59,56,.16);text-align:left;transform:translateX(-50%)}.kd-tips:hover .kd-tips-panel,.kd-tips:focus-within .kd-tips-panel,.kd-tips.is-open .kd-tips-panel{display:grid}.kd-tips-panel .kd-mega-column>a:not(.kd-mega-title){display:block;margin:0;padding:3px 0;color:var(--kd-ink)!important;text-decoration:none!important;font:400 15px/1.4 Arial,Helvetica,sans-serif}.kd-tips-panel .kd-mega-column>a:hover,.kd-tips-panel .kd-mega-column>a:focus{color:#4b827a!important;text-decoration:underline!important;text-underline-offset:3px}
.kd-main{width:var(--kd-width);max-width:calc(100% - 26px);min-height:50vh;margin:0 auto;padding:35px 0}.kd-main-wide{width:100%;max-width:none;padding-top:0}.entry-title,.page-title{margin:0 0 30px;color:#333;text-transform:uppercase;font-size:32px;font-weight:300;line-height:1.25}.entry-content h2{margin:34px 0 14px;color:#333;font-size:24px;font-weight:400;line-height:1.35}.entry-content h3{color:#333;font-size:20px;line-height:1.4}.entry-content p,.entry-content li{font-size:16px;line-height:1.8}.entry-content img{display:block}.kd-post-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.kd-card{overflow:hidden;border:1px solid var(--kd-line);border-radius:16px;background:#fff}.kd-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.kd-card-body{padding:18px}.kd-card-title{margin:0 0 8px;font-size:20px;line-height:1.3}.kd-card-title a{color:#333;text-decoration:none}.kd-pagination{margin-top:32px}.alignwide{width:min(1200px,100vw - 32px);max-width:none;margin-left:50%;transform:translateX(-50%)}.alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}
.kd-footer{position:relative;left:50%;clear:both;width:100vw;height:clamp(360px,29vw,525px);margin:54px 0 0;overflow:hidden;transform:translateX(-50%);background:#173936;color:#fff;font-family:Inter,Arial,sans-serif}.kd-footer-image{position:absolute;inset:0;margin:0;line-height:0}.kd-footer-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.kd-footer-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,42,39,.08) 5%,rgba(17,48,44,.42) 42%,rgba(13,39,36,.93) 100%)}.kd-footer-content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding-top:clamp(70px,10vw,165px)}.kd-footer-main{display:grid;grid-template-columns:1.8fr 1fr 1fr 1.25fr;gap:clamp(24px,4vw,64px);width:var(--kd-width);max-width:calc(100% - 40px);margin:auto;padding:24px 0 18px}.kd-footer-slogan{margin:0 0 14px;color:#fff;font:400 clamp(29px,calc(3.6vw - 5px),47px)/1.02 "Dancing Script","Segoe Script",cursive;text-shadow:0 2px 18px rgba(0,0,0,.24);white-space:nowrap}.kd-footer-email{color:#fff!important;text-decoration:none;font-size:14px}.kd-footer-title{margin:5px 0 17px;color:#fff;font-size:13px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}.kd-footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.kd-footer-links a{color:#fff!important;text-decoration:none;font-family:Arial,Helvetica,sans-serif!important;font-size:14px;line-height:1.4}.kd-footer-links a:hover{text-decoration:underline;text-underline-offset:3px}.kd-socials{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}.kd-socials a{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(20,54,50,.24);color:#fff}.kd-socials svg{width:18px;height:18px;fill:currentColor}.kd-follow{display:inline-block;padding:12px 16px;border:1px solid rgba(255,255,255,.82);border-radius:999px;background:rgba(20,54,50,.3);color:#fff!important;text-decoration:none;font-size:13px;line-height:1.3}.kd-footer-bottom{display:flex;justify-content:space-between;gap:24px;width:var(--kd-width);max-width:calc(100% - 40px);margin:auto;padding:17px 0 20px;border-top:1px solid rgba(255,255,255,.38);color:#fff;font-size:13.33px;line-height:1.45}.kd-footer-bottom p{max-width:700px;margin:0;color:#fff}.kd-footer-bottom a{color:#fff!important;text-decoration:underline;text-underline-offset:2px}.kd-footer-legal{white-space:nowrap}
@media(max-width:1100px) and (min-width:768px){.kd-mega{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.kd-menu>li{margin-right:24px}.kd-footer{height:650px}.kd-footer-content{padding-top:175px}.kd-footer-main{grid-template-columns:1fr 1fr}.kd-footer-bottom{display:block}.kd-footer-legal{margin-top:12px;white-space:normal}}
@media(max-width:767px){.kd-brand{height:48px}.kd-nav{height:auto}.kd-nav-inner{width:100%;max-width:100%;height:auto;padding:0 12px}.kd-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;padding:8px 0}.kd-menu>li{width:100%;height:auto;margin:0;padding:3px 4px;text-align:center}.kd-menu-link,.kd-world-toggle{display:block;width:100%;padding:5px 2px;font-size:11px;line-height:20px;text-align:center;white-space:normal}.kd-mega{position:static;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;max-height:none;margin:0;padding:16px;border-radius:14px;box-shadow:none}.kd-world:hover .kd-mega{display:none}.kd-world.is-open .kd-mega,.kd-world:focus-within .kd-mega{display:grid}.kd-main{width:100%;max-width:100%;padding:22px 16px}.entry-title,.page-title{font-size:27px}.kd-post-list{grid-template-columns:1fr}.entry-content table,.entry-content tbody,.entry-content tr,.entry-content td{display:block;width:100%;height:auto}.entry-content iframe,.entry-content video{width:100%;max-width:100%;min-height:220px}.kd-footer{left:auto;width:100%;height:auto;min-height:0;margin-top:38px;transform:none}.kd-footer-content{height:auto;padding:165px 0 0;text-align:center}.kd-footer-main{grid-template-columns:1fr;width:auto;max-width:none;margin:0 18px;padding:24px 0 18px;gap:22px}.kd-footer-links{align-items:center}.kd-socials{justify-content:center}.kd-footer-slogan{font-size:33px;white-space:normal}.kd-footer-bottom{display:block;width:auto;max-width:none;margin:0 18px;padding:16px 0 22px;text-align:center}.kd-footer-bottom p{max-width:none}.kd-footer-legal{margin-top:12px;white-space:normal}}

/* Turkish-safe navigation and softer footer typography. */
.kd-mega,
.kd-mega a,
.kd-mega-title,
.kd-nav .sub-menu,
.kd-nav .sub-menu a {
  font-family: Arial, Helvetica, sans-serif !important;
}

.kdc-affiliate,
.kdc-affiliate h2,
.kdc-affiliate p,
.kdc-affiliate a,
.kdc-affiliate span {
  font-family: Arial, Helvetica, sans-serif !important;
}

.kd-footer-slogan,
.kd-footer-email,
.kd-footer-title,
.kd-footer-links a,
.kd-follow,
.kd-footer-bottom,
.kd-footer-bottom p,
.kd-footer-bottom a {
  color: rgba(255,255,255,.70) !important;
}

/* Source-faithful migrated Weebly rows: preserve each image's natural displayed ratio. */
.kd-source-faithful .kd-weebly-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin:20px 0}
.kd-source-faithful .kd-weebly-col{display:block;min-width:0}
.kd-source-faithful .kd-weebly-col>figure{display:block;width:100%;margin:0}
.kd-source-faithful .kd-weebly-col>figure>img{display:block;width:100%;height:auto;object-fit:contain}
.kd-source-faithful .kd-weebly-col>figure>img+img{margin-top:14px}
.kd-source-faithful .kd-weebly-row figcaption{margin-top:6px}
.kd-source-faithful .kd-weebly-single>img{display:block;max-width:100%;height:auto}
.kd-source-faithful .kd-weebly-single[style*="text-align:center"]>img{margin-left:auto;margin-right:auto}
.kd-source-faithful .kd-weebly-single[style*="text-align:right"]>img{margin-left:auto;margin-right:0}
.kd-source-faithful .kd-weebly-single[style*="text-align:left"]>img{margin-left:0;margin-right:auto}
.kd-source-faithful .kd-weebly-single figcaption{margin-top:6px}
.kd-source-faithful .kd-weebly-instagram-row{align-items:start}
@media(max-width:760px){.kd-source-faithful .kd-weebly-row{grid-template-columns:1fr}}

/* Universal affiliate box alignment for article pages */
body:has(.kd-article) .entry-content > .kdc-affiliate{
  width:100%!important;
  max-width:900px!important;
  margin:48px auto 0!important;
  padding:0 20px 40px!important;
}
body:has(.kd-article) .entry-content > .kdc-affiliate h2{
  margin:0 0 10px!important;
  font:400 26px/1.3 Arial,Helvetica,sans-serif!important;
  color:var(--kd-dark)!important;
}
body:has(.kd-article) .entry-content > .kdc-affiliate > p{
  margin:0!important;
  font:400 16px/1.7 Arial,Helvetica,sans-serif!important;
  color:var(--kd-text)!important;
}
