.td-editorial[data-td-interior] {
  --interior-gutter: clamp(1.15rem, 5vw, 4.5rem);
  background: var(--td-paper);
  color: var(--td-ink);
  font: 1rem/1.62 var(--td-text);
}

.td-editorial[data-td-interior] :is(#content, main) :is(h1, h2, h3, h4, .elementor-icon-box-title) {
  color: var(--td-ink);
  font-family: var(--td-display);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.023em;
}

.td-editorial[data-td-interior] :is(#content, main) h1 { font-size: clamp(2.5rem, 7vw, 6.25rem); overflow-wrap: anywhere; }
.td-editorial[data-td-interior] :is(#content, main) h2 { font-size: clamp(1.75rem, 4vw, 3.125rem); }
.td-editorial[data-td-interior] :is(#content, main) h3 { font-size: clamp(1.3rem, 2vw, 1.85rem); }
.td-editorial[data-td-interior] main p { color: inherit; font: inherit; }
.td-editorial[data-td-interior] main a { color: var(--td-teal); text-underline-offset: .2em; }
.td-editorial[data-td-interior] main :where(button, input, textarea, select) { font: inherit; }
.td-editorial[data-td-interior] main :where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--td-teal);
  outline-offset: 4px;
}

/* Existing section titles become the first spread on institutional pages. */
.td-editorial[data-td-interior] #content :is(
  [data-id="f3821f9"], [data-id="6b3043b"], [data-id="1c4d951"], [data-id="237e882"]
) {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: var(--td-teal) !important;
  color: var(--td-white);
  border-bottom: 5px solid var(--td-gold);
  isolation: isolate;
}

.td-editorial[data-td-interior] #content :is(
  [data-id="f3821f9"], [data-id="6b3043b"], [data-id="1c4d951"], [data-id="237e882"]
)::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(34%, 30rem);
  pointer-events: none;
  z-index: -1;
  background: repeating-linear-gradient(132deg, transparent 0 25px, #f5edd84d 25px 26px, transparent 26px 42px);
  mask-image: linear-gradient(to right, transparent, #000);
}

.td-editorial[data-td-interior] #content :is(
  [data-id="f3821f9"], [data-id="6b3043b"], [data-id="1c4d951"], [data-id="237e882"]
) > .elementor-background-overlay { display: none; }

.td-editorial[data-td-interior] #content :is(
  [data-id="f3821f9"], [data-id="6b3043b"], [data-id="1c4d951"], [data-id="237e882"]
) > .elementor-container {
  max-width: 78rem;
  min-height: 0;
  padding: clamp(2.3rem, 6vw, 5rem) var(--interior-gutter);
}

.td-editorial[data-td-interior] #content :is(
  [data-id="f3821f9"], [data-id="6b3043b"], [data-id="1c4d951"], [data-id="237e882"]
) :is(.elementor-widget-wrap, .elementor-widget-container) {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}

.td-editorial[data-td-interior] #content :is(
  [data-id="f3821f9"], [data-id="6b3043b"], [data-id="1c4d951"], [data-id="237e882"]
) :is(h1, .elementor-icon-list-text, a) { color: var(--td-white); }

.td-editorial[data-td-interior] #content :is(
  [data-id="f3821f9"], [data-id="6b3043b"], [data-id="1c4d951"], [data-id="237e882"]
) h1 { margin: 0; text-transform: none; }

/* About uses the existing values and FAQ as a distinct two-part reading layout. */
.td-editorial[data-td-interior="about"] :is([data-id="75aeffd6"], [data-id="e1f8e1c"]) {
  background: none !important;
  padding: clamp(2.8rem, 7vw, 7rem) var(--interior-gutter);
}

.td-editorial[data-td-interior="about"] :is([data-id="75aeffd6"], [data-id="e1f8e1c"]) > .elementor-container {
  max-width: 69rem;
  gap: clamp(1.2rem, 4vw, 4rem);
}

.td-editorial[data-td-interior="about"] :is([data-id="1af53bc1"], [data-id="62d69904"]) {
  width: min(100%, 42rem) !important;
  margin-inline: auto;
  text-align: left;
}

.td-editorial[data-td-interior="about"] :is([data-id="1af53bc1"], [data-id="62d69904"]) > .elementor-widget-container {
  padding: 0;
  margin: 0;
  text-align: left;
}

.td-editorial[data-td-interior="about"] [data-id="62d69904"] { font-size: 1.08rem; color: var(--td-muted); }
.td-editorial[data-td-interior="about"] [data-id="74bdda46"] { margin-top: 1.6rem; }
.td-editorial[data-td-interior="about"] [data-id="74bdda46"] > .elementor-container { gap: clamp(.75rem, 2.5vw, 2rem); }
.td-editorial[data-td-interior="about"] [data-id="74bdda46"] .elementor-column { flex: 1 1 0; min-width: 0; }

.td-editorial[data-td-interior="about"] .elementor-icon-box-wrapper {
  padding: 1.2rem 0;
  border-top: 1px solid var(--td-line);
  text-align: left !important;
}

.td-editorial[data-td-interior="about"] .elementor-icon-box-wrapper .elementor-icon {
  color: var(--td-teal);
  font-size: 1.65rem;
}

.td-editorial[data-td-interior="about"] .elementor-icon-box-wrapper .elementor-icon svg { fill: currentColor; }
.td-editorial[data-td-interior="about"] .elementor-icon-box-title { margin: 0 0 .42rem; font-size: 1.5rem; }
.td-editorial[data-td-interior="about"] #content .elementor-icon-box-description { color: var(--td-muted); font: 1rem/1.62 var(--td-text); }
.td-editorial[data-td-interior="about"] [data-id="e1f8e1c"] { border-top: 1px solid var(--td-line); }

.td-editorial[data-td-interior="about"] [data-id="e1f8e1c"] > .elementor-container > .elementor-column {
  flex: 1 1 0;
  min-width: 0;
}

.td-editorial[data-td-interior="about"] [data-id="6af2e72d"] > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
  background: linear-gradient(160deg, #f6e5b4, #e8ead7) !important;
  text-align: center;
}

.td-editorial[data-td-interior="about"] [data-id="6af2e72d"] img {
  display: block;
  width: min(100%, 25rem);
  height: auto;
  margin: auto;
  object-fit: contain;
}

.td-editorial[data-td-interior="about"] .e-n-accordion {
  --n-accordion-title-normal-color: var(--td-ink);
  --n-accordion-title-hover-color: var(--td-teal);
  --n-accordion-title-active-color: var(--td-teal);
  --n-accordion-title-font-size: 1.05rem;
}

.td-editorial[data-td-interior="about"] .e-n-accordion-item { border-bottom: 1px solid var(--td-line); }
.td-editorial[data-td-interior="about"] .e-n-accordion-item-title {
  padding: .95rem .55rem;
  color: var(--td-ink);
  background: transparent !important;
  font: 700 1rem/1.45 var(--td-text);
}

.td-editorial[data-td-interior="about"] .e-n-accordion-item[open] .e-n-accordion-item-title { color: var(--td-teal); }

/* Contact form, known address and the existing consented map. */
.td-editorial[data-td-interior="contact"] :is([data-id="6a1579"], [data-id="73357fa1"]) {
  background: none !important;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--interior-gutter);
}

.td-editorial[data-td-interior="contact"] :is([data-id="6a1579"], [data-id="73357fa1"]) > .elementor-container {
  max-width: 69rem;
}

.td-editorial[data-td-interior="contact"] [data-id="6a1579"] > .elementor-container { gap: clamp(1rem, 4vw, 4rem); align-items: start; }
.td-editorial[data-td-interior="contact"] [data-id="412b3ad8"] { flex: 1 1 33rem; min-width: 0; }
.td-editorial[data-td-interior="contact"] [data-id="472f2576"] { flex: 1 1 21rem; min-width: 0; }
.td-editorial[data-td-interior="contact"] [data-id="31845e35"] > .elementor-widget-container {
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #f6e5b4, #e8ead7) !important;
}

.td-editorial[data-td-interior="contact"] [data-id="31845e35"] img { display: block; width: 100%; max-height: 33rem; object-fit: contain; }
.td-editorial[data-td-interior="contact"] :is([data-id="7f8c384a"], [data-id="50ee45e1"]) { max-width: 100%; text-align: left; }
.td-editorial[data-td-interior="contact"] :is([data-id="7f8c384a"], [data-id="50ee45e1"]) > .elementor-widget-container {
  margin: 0;
  padding: 0;
  text-align: left;
}

.td-editorial[data-td-interior="contact"] .elementor-form {
  margin-top: .9rem;
  padding: clamp(1rem, 2.6vw, 2rem);
  border: 1px solid var(--td-line);
  background: var(--td-white);
}

.td-editorial[data-td-interior="contact"] .elementor-form-fields-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1rem;
}

.td-editorial[data-td-interior="contact"] .elementor-form .elementor-field-group { width: 100%; padding-inline: 0; min-width: 0; }
.td-editorial[data-td-interior="contact"] .elementor-form .elementor-field-group.elementor-col-100 { grid-column: 1 / -1; }
.td-editorial[data-td-interior="contact"] .elementor-form .elementor-field-label { color: var(--td-ink); font: 700 .96rem/1.45 var(--td-text); }
.td-editorial[data-td-interior="contact"] #content .elementor-form .elementor-field-textual {
  min-height: 2.9rem;
  background: #fffdf8;
  border: 1px solid #a7b5ab;
  border-radius: 0;
  color: var(--td-ink);
  font: 1rem/1.5 var(--td-text);
}

.td-editorial[data-td-interior="contact"] .elementor-form textarea.elementor-field-textual { min-height: 9rem; resize: vertical; }
.td-editorial[data-td-interior="contact"] [data-id="73357fa1"] { border-top: 1px solid var(--td-line); }
.td-editorial[data-td-interior="contact"] [data-id="73357fa1"] :is(h2, h3) { font-size: clamp(1.5rem, 3vw, 2.125rem); }
.td-editorial[data-td-interior="contact"] [data-id="73357fa1"] iframe { width: 100%; min-height: 21rem; border: 0; }
.td-editorial[data-td-interior="contact"] .publisher-privacy-media { color: var(--td-ink); background: var(--td-white); }

.td-editorial[data-td-interior] main :is(.elementor-form [type="submit"], #commentform [type="submit"], form[role="search"] button) {
  padding: .68rem 1.25rem;
  background: var(--td-teal);
  border: 1px solid var(--td-teal);
  border-radius: 0;
  color: #fffdf8;
  font: 700 1rem/1.35 var(--td-text);
  cursor: pointer;
}

.td-editorial[data-td-interior] main :is(.elementor-form [type="submit"], #commentform [type="submit"], form[role="search"] button):hover { background: #0e4742; }
.td-editorial[data-td-interior] main :is(.elementor-form [type="submit"], #commentform [type="submit"]):disabled { opacity: .65; cursor: progress; }

/* Archives and post use the original title, links, excerpts and comments. */
.td-editorial:is([data-td-interior="blog-archive"], [data-td-interior="blog-post"]) #content {
  width: min(100%, 65rem);
  min-height: 24rem;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 5rem) var(--interior-gutter);
}

.td-editorial:is([data-td-interior="blog-archive"], [data-td-interior="blog-post"]) #content > .page-header {
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--td-line);
}

.td-editorial[data-td-interior="blog-archive"] article.post {
  margin-block: 1.35rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--td-line);
  border-left: 4px solid var(--td-gold);
  background: var(--td-white);
}

.td-editorial[data-td-interior="blog-archive"] article.post h2 { margin: 0 0 .55rem; }
.td-editorial[data-td-interior="blog-post"] #comments { margin-top: 2.4rem; border-top: 1px solid var(--td-line); padding-top: 1.6rem; }
.td-editorial[data-td-interior="blog-post"] :is(#commentform input:not([type="checkbox"]), #commentform textarea) {
  max-width: 100%;
  border: 1px solid #a7b5ab;
  border-radius: 0;
  padding: .65rem .8rem;
  color: var(--td-ink);
  background: var(--td-white);
}

.td-editorial[data-td-interior="blog-feature"] #content > .page-header,
.td-editorial[data-td-interior="blog-feature"] #content [data-id="622ad9ca"] { display: none; }

.td-editorial[data-td-interior="blog-feature"] #content [data-id="2c2087e6"] {
  padding: clamp(2.25rem, 6vw, 5rem) var(--interior-gutter);
  background: transparent !important;
}

.td-editorial[data-td-interior="blog-feature"] #content [data-id="2c2087e6"] > .elementor-container {
  max-width: 69rem;
  gap: clamp(1.7rem, 5vw, 5rem);
  align-items: start;
}

.td-editorial[data-td-interior="blog-feature"] [data-id="3bd7e3c"] { flex: 1 1 35rem; min-width: 0; }
.td-editorial[data-td-interior="blog-feature"] [data-id="1d91ca88"] { flex: 1 1 20rem; min-width: 0; }
.td-editorial[data-td-interior="blog-feature"] [data-id="5af93b27"] .elementor-icon-list-items { justify-content: start; }
.td-editorial[data-td-interior="blog-feature"] [data-id="5af93b27"] .elementor-icon-list-icon svg { fill: var(--td-gold); }
.td-editorial[data-td-interior="blog-feature"] #content .elementor-post__title a { font: inherit; color: var(--td-teal); }
.td-editorial[data-td-interior="blog-feature"] .elementor-search-form__container { border: 1px solid #a7b5ab; border-radius: 0; }
.td-editorial[data-td-interior="blog-feature"] .elementor-search-form__input { color: var(--td-ink); background: var(--td-white); }
.td-editorial[data-td-interior="blog-feature"] .elementor-search-form__submit { background: var(--td-teal); color: #fffdf8; }

/* Standalone utilities and the preserved policy text. */
.td-editorial:is([data-td-interior="policy"], [data-td-interior="search"], [data-td-interior="not-found"]) main {
  box-sizing: border-box;
  display: block;
  width: min(calc(100% - 2 * var(--interior-gutter)), 55rem);
  min-height: 25rem;
  margin: clamp(1.25rem, 5vw, 4.5rem) auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--td-white);
  border: 1px solid var(--td-line);
  border-top: 4px solid var(--td-teal);
  border-radius: 0;
}

.td-editorial:is([data-td-interior="policy"], [data-td-interior="search"], [data-td-interior="not-found"]) main > h1 {
  margin: .55em 0 .45em;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
}

.td-editorial:is([data-td-interior="returns"], [data-td-interior="policy"]) main :is(h2, h3):not(.elementor-heading-title) {
  margin: 1.35em 0 .55em;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
}

.td-editorial[data-td-interior="returns"] #content [data-id="39a240c9"] {
  width: min(100%, 58rem);
  margin-inline: auto;
  padding: clamp(2rem, 7vw, 5.5rem) var(--interior-gutter);
  background: none !important;
}

.td-editorial[data-td-interior="policy"] main { overflow-wrap: anywhere; }
.td-editorial[data-td-interior="policy"] table :is(th, td) { border-color: var(--td-line); }
.td-editorial[data-td-interior="policy"] table th { background: #ebefdf; }
.td-editorial[data-td-interior="policy"] main small { color: var(--td-muted); }

.td-editorial[data-td-interior="search"] form[role="search"] > div { display: flex; align-items: stretch; }
.td-editorial[data-td-interior="search"] form[role="search"] label { display: block; font-weight: 700; margin-bottom: .45rem; }
.td-editorial[data-td-interior="search"] #aranan {
  min-width: 0;
  flex: 1 1 auto;
  padding: .72rem .9rem;
  border: 1px solid #a7b5ab;
  border-radius: 0;
  color: var(--td-ink);
  background: white;
}

.td-editorial[data-td-interior="search"] #sonuclar { padding: 0; list-style: none; }
.td-editorial[data-td-interior="search"] #sonuclar li { margin: 0; padding: .8rem 0; border-top: 1px solid var(--td-line); }
.td-editorial[data-td-interior="search"] #sonuclar a { font-weight: 700; }
.td-editorial[data-td-interior="not-found"] main > ul { display: flex; flex-wrap: wrap; gap: .62rem; list-style: none; padding: 0; }
.td-editorial[data-td-interior="not-found"] main > ul a { display: block; padding: .55rem .8rem; border: 1px solid var(--td-line); }

@media (max-width: 767px) {
  .td-editorial[data-td-interior="about"] :is([data-id="74bdda46"], [data-id="e1f8e1c"]) > .elementor-container,
  .td-editorial[data-td-interior="contact"] [data-id="6a1579"] > .elementor-container,
  .td-editorial[data-td-interior="blog-feature"] [data-id="2c2087e6"] > .elementor-container { display: block; }

  .td-editorial[data-td-interior="about"] [data-id="6af2e72d"] img { max-height: 18rem; }
  .td-editorial[data-td-interior="about"] [data-id="6a006e97"] { margin-top: 1.55rem; }
  .td-editorial[data-td-interior="contact"] [data-id="472f2576"] { display: none; }
  .td-editorial[data-td-interior="contact"] .elementor-form-fields-wrapper { grid-template-columns: minmax(0, 1fr); }
  .td-editorial[data-td-interior="blog-feature"] [data-id="1d91ca88"] { margin-top: 1.8rem; }
}

@media print {
  .td-editorial[data-td-interior="policy"] main {
    width: auto;
    border: 0;
    padding: 0;
    margin: 0;
    min-height: 0;
    background: white;
  }
}
