/* Akademik arşiv: başlık, yazı listesi ve okunabilirlik. */
body.wp-theme-justwrite {
  --archive-ink: #142840;
  --archive-muted: #4a5b70;
  --archive-accent: #175b78;
  --archive-line: #dae4ed;
  color: var(--archive-ink);
  background: #f2f5f8;
}
#main-header.header-wrap {
  background: linear-gradient(112deg, #10243d 12%, #16465a 100%) !important;
  box-shadow: 0 1px 0 var(--archive-line);
}
#main-header .top {
  padding: clamp(26px, 5vw, 65px) clamp(10px, 3vw, 32px);
  min-height: 0;
}
#main-header .logo { padding: 0; }
#main-header .logo .logo-contents {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(25px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-transform: none;
}
#main-header .logo .description {
  color: #dceaf1;
  font-family: system-ui, sans-serif;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  margin: 10px 0 0;
}
#main-header .menu-wrap { border-top: 1px solid var(--archive-line); box-shadow: none; }
#main-header .menu-main > li > a { color: var(--archive-ink); letter-spacing: 0; }
#main-header .menu-main > li > a:hover { color: var(--archive-accent); }
#content-wrap > .main-section { padding-top: clamp(18px, 4vw, 40px); border-top: 0; }
.home .posts-wrap > article {
  background: #fff;
  border: 1px solid var(--archive-line);
  border-radius: 14px;
  padding: clamp(16px, 3vw, 27px);
  margin-bottom: 16px;
  box-shadow: 0 4px 15px #14284008;
}
.home .posts-wrap .post-thumbnail img { border-radius: 8px; }
.home .posts-wrap .post-content .title a,
.single .post-content .title, .page .post-content .title {
  color: var(--archive-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.19;
  overflow-wrap: anywhere;
}
.home .posts-wrap .post-content .title a:hover { color: var(--archive-accent); }
.home .posts-wrap .post-content > p { color: var(--archive-muted); font-size: 15px; line-height: 1.68; }
.home .posts-wrap .details { color: var(--archive-muted); }
.home .posts-wrap .details a { color: var(--archive-accent); }
.sidebar .side-box { border-top: 2px solid #bcd3de; }
.sidebar .sidebar-heading { color: var(--archive-ink); }
#main-footer { background: #10243d; }
#main-footer .footer-credits, #main-footer .footer-credits a { color: #e4eef5; }
body.wp-theme-justwrite a:focus-visible, body.wp-theme-justwrite button:focus-visible {
  outline: 2px solid #278aa9;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  #main-header .top { padding: 26px 14px; }
  .home .posts-wrap > article { border-radius: 10px; }
  .home .posts-wrap .post-thumbnail { max-width: 100%; }
}

@media (max-width: 768px) {
  #main-header .top { height: auto; padding: 25px 20px; }
  #main-header .top .logo {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    margin: 0;
    text-align: center;
  }
  #main-header .logo .logo-contents, #main-header .logo .description {
    float: none;
    display: block;
    width: auto;
  }
  #main-header .logo .description { margin-top: 8px; }
  .home .posts-wrap .post-content { float: none; width: 100%; margin: 0; padding: 0; }
  .home .posts-wrap .post-thumbnail { float: none; width: 100%; margin: 0 0 16px; }
}

/* Mobil başlık ve kart yerleşimi. */

/* Ortak görünüm: başlık, gezinme, yayın arşivi ve yazılar */
body.wp-theme-justwrite {
  --paper: #f5f7f8;
  --surface: #fff;
  --archive-ink: #172a40;
  --archive-muted: #43596c;
  --archive-accent: #0d6670;
  --archive-line: #dce5ea;
  background: var(--paper);
}
body.wp-theme-justwrite #main-header.header-wrap {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--archive-line);
  box-shadow: none;
}
body.wp-theme-justwrite #main-header > .wrap {
  width: min(100%, 1260px);
  max-width: 1260px;
  margin-inline: auto;
}
body.wp-theme-justwrite #main-header .top {
  display: flow-root;
  padding: 23px 24px 18px;
  height: auto;
}
body.wp-theme-justwrite #main-header .logo .logo-contents {
  color: var(--archive-ink);
  font-size: clamp(21px, 2.35vw, 33px);
  line-height: 1.2;
}
body.wp-theme-justwrite #main-header .logo .description { display: none; }
body.wp-theme-justwrite #main-header .menu-wrap {
  background: var(--surface);
  border-color: var(--archive-line);
  box-shadow: none;
}
body.wp-theme-justwrite #main-header .menu-main > li > a {
  text-transform: none;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--archive-ink);
}
body.wp-theme-justwrite #main-header .menu-main > li.current-menu-item > a {
  color: var(--archive-accent);
  box-shadow: inset 0 -2px var(--archive-accent);
}
body.wp-theme-justwrite #main-header .search-button,
body.wp-theme-justwrite #main-header .mobile-menu-button { color: var(--archive-accent); }
@media (min-width: 1080px) {
  body.wp-theme-justwrite #main-header .menu-wrap {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: auto;
    min-height: 54px;
    height: auto;
    margin-inline: 24px;
  }
  body.wp-theme-justwrite #main-header .menu-main {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    float: none;
    width: auto;
    padding: 0;
  }
  body.wp-theme-justwrite #main-header .menu-main > li {
    float: none;
    width: auto;
    margin: 0;
  }
  body.wp-theme-justwrite #main-header .menu-main > li > a {
    display: flex;
    align-items: center;
    min-height: 53px;
    padding: 0 clamp(9px, 1.35vw, 22px);
    line-height: 1.25;
    white-space: nowrap;
  }
  body.wp-theme-justwrite #main-header .search-button {
    float: none;
    flex: 0 0 56px;
    width: 56px;
    height: 53px;
    line-height: 53px;
  }
}
body.wp-theme-justwrite #content-wrap > .main-section {
  width: min(100%, 1260px);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 42px) clamp(14px, 2vw, 24px) 0;
  border: 0;
  background: transparent;
}
body.wp-theme-justwrite:has(.es-portfolio) #content-wrap > .main-section { padding: 0; }
body.wp-theme-justwrite .wrap-template-1 { border: 0; }
.es-portfolio .es-hero { box-shadow: 0 14px 44px #172a4009; }
.es-portfolio .es-hero .es-role { margin-bottom: 9px; }
.es-portfolio .es-profile ul li:first-child {
  color: #fff;
  font-weight: 700;
}
.es-portfolio .es-cards .es-card:focus-visible { outline-offset: 4px; }
body.wp-theme-justwrite:not(:has(.es-portfolio)) .posts-wrap { border: 0; background: transparent; }
body.wp-theme-justwrite:not(:has(.es-portfolio)) article.single-template-1 {
  background: var(--surface);
  border: 1px solid var(--archive-line);
  border-radius: 16px;
  padding: clamp(18px, 4vw, 48px);
  margin: 0 0 24px;
}
body.wp-theme-justwrite:not(:has(.es-portfolio)) article.single-template-1 .post-content {
  width: 100%;
  padding: 0;
}
body.wp-theme-justwrite article.single-template-1 .title {
  font: 600 clamp(30px, 4vw, 48px)/1.12 Georgia, serif;
  letter-spacing: -.025em;
  margin: 0 0 24px;
  color: var(--archive-ink);
  text-transform: none;
}
body.wp-theme-justwrite .single-content {
  color: var(--archive-muted);
  font: 16px/1.7 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
body.wp-theme-justwrite .single-content img { border-radius: 8px; }
body.wp-theme-justwrite .single-content a { color: var(--archive-accent); text-underline-offset: 3px; }
body.wp-theme-justwrite .sidebar .side-box {
  background: var(--surface);
  border: 1px solid var(--archive-line);
  border-radius: 12px;
  margin: 0 0 18px;
  padding: 20px;
}
body.wp-theme-justwrite .sidebar .sidebar-heading {
  margin: 0 0 11px;
  font: 600 21px/1.2 Georgia, serif;
  letter-spacing: normal;
  text-transform: none;
  color: var(--archive-ink);
}
body.wp-theme-justwrite .posts-wrap > article.post-template-1 {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--archive-line);
  border-radius: 14px;
  padding: clamp(16px, 2.4vw, 27px);
  margin: 0 0 15px;
}
body.wp-theme-justwrite .posts-wrap > article.post-template-1 .post-thumbnail {
  float: none;
  flex: 0 0 30%;
  max-width: 210px;
  margin: 0;
}
body.wp-theme-justwrite .posts-wrap > article.post-template-1 .post-thumbnail img { display: block; border-radius: 8px; }
body.wp-theme-justwrite .posts-wrap > article.post-template-1 .post-content {
  flex: 1 1 0;
  float: none;
  min-width: 0;
  width: auto;
  padding: 0;
  margin: 0;
  background: transparent;
}
body.wp-theme-justwrite .posts-wrap > article.post-template-1 .title a {
  color: var(--archive-ink);
  font: 600 clamp(23px, 3vw, 32px)/1.18 Georgia, serif;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
body.wp-theme-justwrite .posts-wrap > article.post-template-1 .post-content > p {
  color: var(--archive-muted);
  font: 15px/1.65 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
body.wp-theme-justwrite .index-post-date { color: var(--archive-muted); }
@media (max-width: 767px) {
  body.wp-theme-justwrite #main-header .top { padding: 17px 14px; }
  body.wp-theme-justwrite #main-header .menu-wrap { margin-inline: 0; }
  body.wp-theme-justwrite .posts-wrap > article.post-template-1 { flex-direction: column; }
  body.wp-theme-justwrite .posts-wrap > article.post-template-1 .post-thumbnail { flex: none; width: 100%; max-width: none; }
  body.wp-theme-justwrite .posts-wrap > article.post-template-1 .post-content { width: 100%; }
  body.wp-theme-justwrite #sfsi-widget-2 .sfsi_wDiv { width: 100% !important; max-width: 100%; }
}

body.wp-theme-justwrite .single-content:has(.es-portfolio) { padding: 0; border: 0; }
body.wp-theme-justwrite .single-content .es-portfolio .es-button-primary,
body.wp-theme-justwrite .single-content .es-portfolio .es-profile a { color: #fff; }
.es-publications .es-publications-intro { max-width: 72ch; }
.es-publications .es-publications-intro [lang="en"] { font-size: .95em; }
.es-publications .es-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}
.es-publications .es-source-list > li { margin: 0; padding: 0; }
.es-publications .es-source-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid #c8dce0;
  border-radius: 9px;
  background: #f0f7f7;
  font-weight: 650;
  text-decoration: none;
}
.es-publications .es-source-list a:hover { border-color: var(--archive-accent); text-decoration: underline; }
@media (max-width: 600px) {
  .es-publications .es-source-list { grid-template-columns: 1fr; }
}

#main-footer .footer-credits .blog-title { text-transform: none; }
