/* A shared paper, sage and wood treatment for the two institutional pages. */
body.td-editorial:is([data-td-interior="about"],[data-td-interior="contact"]) {
  background: #f5efdf;
}
body.td-editorial:is([data-td-interior="about"],[data-td-interior="contact"]) #content :is([data-id="f3821f9"],[data-id="6b3043b"]) {
  width: min(calc(100% - 2rem), 71rem);
  margin: clamp(1.25rem, 4vw, 3rem) auto 0;
  border: 1px solid #2c5140;
  border-radius: .65rem .65rem .25rem .25rem;
  background: #365c4b !important;
  box-shadow: inset 0 2px #ffffff25, 0 .45rem 0 #a66f49, 0 .65rem 0 #795037, 0 1rem 1.5rem #513a2420;
}
body.td-editorial:is([data-td-interior="about"],[data-td-interior="contact"]) #content :is([data-id="f3821f9"],[data-id="6b3043b"]) > .elementor-container {
  position: relative; z-index: 1; max-width: none;
  padding: clamp(2.1rem, 4vw, 3.7rem) clamp(1.5rem, 4vw, 4rem);
}
body.td-editorial:is([data-td-interior="about"],[data-td-interior="contact"]) #content :is([data-id="f3821f9"],[data-id="6b3043b"])::after {
  inset: 5% 3% 5% auto; width: 37%; height: 90%; z-index: 0; mask-image: none;
  background: url('/_tandem-runtime/td26-study-notebook.webp') center / contain no-repeat;
  opacity: .94; filter: drop-shadow(0 .8rem .7rem #18342555);
}
body.td-editorial:is([data-td-interior="about"],[data-td-interior="contact"]) #content :is([data-id="f3821f9"],[data-id="6b3043b"]) h1 {
  margin: .55rem 0 .65rem; color: #fffaf0;
  font: 750 clamp(2.45rem,5.4vw,4.7rem)/1.08 var(--td-text); letter-spacing: -.04em;
}
.td-interior-kicker { display: block; color: #f3d190; font: 750 .7rem/1.4 var(--td-text); letter-spacing: .15em; }
.td-interior-subtitle { max-width: 31rem; margin: 0; color: #eef3e9; font: 500 clamp(.98rem,1.4vw,1.08rem)/1.55 var(--td-text); }

/* Existing content remains in its original order; the cards echo the home page. */
body.td-editorial[data-td-interior="about"] #content [data-id="75aeffd6"] {
  padding: clamp(3.2rem,6vw,5.2rem) clamp(1rem,4vw,3rem) !important;
}
body.td-editorial[data-td-interior="about"] #content [data-id="75aeffd6"] > .elementor-container { max-width: 71rem; }
body.td-editorial[data-td-interior="about"] #content :is([data-id="1af53bc1"],[data-id="62d69904"]) { width: min(100%, 50rem) !important; margin-inline: 0; }
body.td-editorial[data-td-interior="about"] #content [data-id="1af53bc1"] h2 { max-width: 20ch; margin: 0 0 1rem; font-size: clamp(2rem,4vw,3.25rem); }
body.td-editorial[data-td-interior="about"] #content [data-id="62d69904"] { color: #5e574d; font-size: 1.03rem; }
body.td-editorial[data-td-interior="about"] #content [data-id="74bdda46"] { margin-top: 2rem; }
body.td-editorial[data-td-interior="about"] #content [data-id="74bdda46"] > .elementor-container { gap: 1rem; }
body.td-editorial[data-td-interior="about"] #content [data-id="74bdda46"] .elementor-icon-box-wrapper {
  padding: 1.35rem 1.45rem; border: 1px solid #e3d8c6; border-top: .23rem solid #9dad91;
  border-radius: .48rem; background: #fffcf4; box-shadow: 0 .25rem .8rem #58412c10;
}
body.td-editorial[data-td-interior="about"] #content [data-id="74bdda46"] .elementor-icon-box-title { font-size: 1.2rem; line-height: 1.25; }
body.td-editorial[data-td-interior="about"] #content [data-id="74bdda46"] .elementor-icon-box-description { font-size: .96rem; }

/* FAQ uses the familiar illustrated shelf motif and real accordion controls. */
body.td-editorial[data-td-interior="about"] #content [data-id="e1f8e1c"] {
  width: min(calc(100% - 2rem),71rem); margin: 0 auto clamp(3.5rem,6vw,6rem);
  padding: clamp(1.4rem,3.5vw,3.5rem) !important; border: 0; border-radius: .65rem;
  background: #dbe4d5 !important; box-shadow: inset 0 .35rem #b9906a, 0 .5rem 0 #a2b09a, 0 .8rem 1.4rem #38452b20;
}
body.td-editorial[data-td-interior="about"] #content [data-id="e1f8e1c"] > .elementor-background-overlay { display: none; }
body.td-editorial[data-td-interior="about"] #content [data-id="e1f8e1c"] > .elementor-container { max-width: none; align-items: center; }
body.td-editorial[data-td-interior="about"] #content [data-id="6af2e72d"] > .elementor-widget-container {
  min-height: 23rem; border-radius: .55rem; background: url('/_tandem-runtime/td26-shelf-globe.webp') center 45% / auto 75% no-repeat, #eaf0e5 !important;
}
body.td-editorial[data-td-interior="about"] #content [data-id="6af2e72d"] img { visibility: hidden; max-height: 23rem; }
body.td-editorial[data-td-interior="about"] #content .e-n-accordion-item {
  margin-bottom: .5rem; overflow: hidden; border: 1px solid #d2dbcb; border-radius: .38rem; background: #fffdf7;
}
body.td-editorial[data-td-interior="about"] #content .e-n-accordion-item-title { padding: 1rem; }
body.td-editorial[data-td-interior="about"] #content .e-n-accordion-item > div { padding-inline: 1rem; }

/* Preserve form, validation, contact information and map consent. */
body.td-editorial[data-td-interior="contact"] #content [data-id="6a1579"] { padding: clamp(3rem,5vw,4.8rem) clamp(1rem,4vw,3rem) !important; }
body.td-editorial[data-td-interior="contact"] #content [data-id="6a1579"] > .elementor-container { max-width: 71rem; gap: clamp(1.2rem,3vw,3rem); }
body.td-editorial[data-td-interior="contact"] #content [data-id="7f8c384a"] h2 { font-size: clamp(2rem,3.5vw,3.15rem); margin-bottom: .5rem; }
body.td-editorial[data-td-interior="contact"] #content [data-id="50ee45e1"] { max-width: 37rem; color: #62594e; }
body.td-editorial[data-td-interior="contact"] #content .elementor-form {
  margin-top: 1.15rem; padding: clamp(1.25rem,2.5vw,2rem); border: 1px solid #e0d4c0;
  border-radius: .6rem; background: #fffcf5; box-shadow: 0 .45rem 0 #ded4c0, 0 .8rem 1.4rem #53452c14;
}
body.td-editorial[data-td-interior="contact"] #content .elementor-form .elementor-field-textual {
  border: 1px solid #c8c5b5; border-radius: .3rem; background: #fffefa;
}
body.td-editorial[data-td-interior="contact"] #content .elementor-form [type="submit"] { border-radius: .32rem; background: #365c4b; border-color: #365c4b; }
body.td-editorial[data-td-interior="contact"] #content [data-id="31845e35"] > .elementor-widget-container {
  min-height: 25rem; border-radius: .6rem; overflow: hidden;
  background: url('/_tandem-runtime/td26-study-notebook.webp') center 67% / 88% auto no-repeat, #dbe4d5 !important;
  box-shadow: inset 0 .35rem #b9906a, 0 .5rem 0 #a2b09a, 0 .8rem 1.4rem #38452b20;
}
body.td-editorial[data-td-interior="contact"] #content [data-id="31845e35"] > .elementor-widget-container::before {
  content: 'BİRLİKTE ÖĞRENİYORUZ'; display: block; padding: 2rem 2rem 0; text-align: left;
  color: #49654e; font: 750 .68rem/1.4 var(--td-text); letter-spacing: .14em;
}
body.td-editorial[data-td-interior="contact"] #content [data-id="31845e35"] > .elementor-widget-container::after {
  content: 'Bir mesajla başlayalım.'; display: block; padding: .6rem 2rem 0; text-align: left;
  color: #2e4538; font: 750 clamp(1.5rem,2.4vw,2.2rem)/1.1 var(--td-text); letter-spacing: -.03em;
}
body.td-editorial[data-td-interior="contact"] #content [data-id="31845e35"] img { display: none; }
body.td-editorial[data-td-interior="contact"] #content [data-id="73357fa1"] {
  width: min(calc(100% - 2rem),71rem); margin: 0 auto clamp(3.5rem,6vw,6rem); padding: clamp(1.4rem,3.5vw,3.5rem) !important;
  border: 0; border-radius: .6rem; background: #dbe4d5 !important;
  box-shadow: inset 0 .35rem #b9906a, 0 .5rem 0 #a2b09a, 0 .8rem 1.4rem #38452b20;
}
body.td-editorial[data-td-interior="contact"] #content [data-id="73357fa1"] > .elementor-background-overlay,
body.td-editorial[data-td-interior="contact"] #content [data-id="4fc971bd"] > .elementor-widget-wrap > .elementor-background-overlay { display: none; }
body.td-editorial[data-td-interior="contact"] #content [data-id="73357fa1"] > .elementor-container { max-width: none; }
body.td-editorial[data-td-interior="contact"] #content .publisher-privacy-media { border-radius: .5rem; }

@media (max-width: 767px) {
  body.td-editorial:is([data-td-interior="about"],[data-td-interior="contact"]) #content :is([data-id="f3821f9"],[data-id="6b3043b"])::after { inset: auto .7rem .65rem auto; width: 30%; height: 35%; opacity: .65; }
  body.td-editorial:is([data-td-interior="about"],[data-td-interior="contact"]) .td-interior-subtitle { max-width: 23ch; }
  body.td-editorial[data-td-interior="about"] #content [data-id="74bdda46"] .elementor-icon-box-wrapper { margin-bottom: .75rem; }
  body.td-editorial[data-td-interior="about"] #content [data-id="6af2e72d"] > .elementor-widget-container { min-height: 15rem; }
  body.td-editorial[data-td-interior="about"] #content [data-id="6af2e72d"] img { max-height: 15rem; }
  body.td-editorial[data-td-interior="contact"] #content [data-id="73357fa1"] { padding: 1.25rem !important; }
}
