/* Corporate layout (80% container, 10%/70% split) */
/* Ensure corporate main uses 80% centered container (overrides #main .container width:100%) */
#main.corporate .container { width: var(--container) !important; margin: 0 auto; }
.corporate__cover {
  height: var(--h, 180px);
  border-radius: 14px;
  margin: 18px 0 24px;
  background: #f1f5fb;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-sm);
}
.corporate__cover.no-img { border: 1px dashed #d3dbea; }
.corporate__wrap {
  display: grid;
  grid-template-columns: 2fr 7fr; /* sidebar/content = 1/3 */
  gap: 28px;
  padding: 28px 0 60px;
}

.corporate__side { border-right: 1px solid #e7ecf3; padding-right: 16px; text-align: right; }
.corporate__label { font-size: 30px; font-weight: 800; color: #021734; margin: 4px 0 8px; }
.corporate__divider { height: 2px; background: #e0e6f0; margin: 6px 0 12px; border-radius: 2px; }
.corporate__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.corporate__menu a {
  display: block;
  padding: 10px 2px; /* flat list look */
  border-radius: 0;
  background: transparent;
  color: #8a95a4; /* gri */
  text-decoration: none;
  transition: color .15s ease;
  text-align: right;
  font-size: 17px; /* daha büyük font */
}
.corporate__menu a:hover { color: #5f6c7d; }
.corporate__menu a.is-active { color: #021734; font-weight: 700; }

.corporate__content { min-height: 320px; }
.corporate__title { margin: 0 0 14px; color: var(--brand); border-bottom: 5px solid #021734; padding-bottom: 10px;  display: inline-block; }
.corporate__layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.corporate__thumb img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: var(--shadow-sm); }
.corporate__body { color: #222; line-height: 1.7; }
.corporate__body > :first-child { margin-top: 0; padding-top: 0; }
.corporate__body p { text-align: justify; text-justify: inter-word; }
.corporate__body h2, .corporate__body h3 { color: var(--brand); }
.corporate__body img { max-width: 100%; height: auto; }

@media (max-width: 992px) {
  .corporate__wrap { grid-template-columns: 1fr; }
  .corporate__side { border-right: 0; border-bottom: 1px solid #e7ecf3; padding: 0 0 16px; text-align: left; }
  .corporate__label { text-align: left; }
  .corporate__menu a { text-align: left; }
  .corporate__layout { grid-template-columns: 1fr; }
}

/* Rounded underline for title (only under the text) */
#main.corporate .corporate__title{
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 0; /* replaced by pseudo element */
}
#main.corporate .corporate__title::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: #021734;
  border-radius: 999px; /* full‑rounded caps */
}
