:root {
  --gt-primary: #1e407a;
  --gt-accent: #ffc53a;
  --gt-soft: #cdd4fb;
  --gt-chip-bg: #b7d8ef;
  --gt-text-main: #292929;
  --gt-text-muted: #545454;
  --gt-border-soft: #cdd4fb;
  --gt-page-bg: #ffffff;
  --gt-radius-lg: 1.5rem;
  /* 24px */
  --gt-radius-md: 1rem;
  /* 16px */
  --gt-shadow-soft: 0 1.375rem 3.4375rem rgba(15, 23, 42, 0.14);
}

/* NEW HERO SECTION - Full Bleed */
.gt-hero-wrapper {
  position: relative !important;
  /* Full bleed trick: stretch beyond parent padding */
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  left: 0;
  height: 450px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  margin-bottom: 3rem;
  /* Fallback color while image loads */
  background-color: var(--gt-primary);
}

/* Override parent container clipping for full-width hero */
.limit-wrapper,
.vamtam-box-outer-padding {
  overflow: visible !important;
}

.gt-hero-overlay-box {
  background: var(--gt-primary);
  color: #ffffff;
  padding: 2.5rem 3rem;
  width: 90%;
  max-width: 600px;
  margin-left: 10%;
  margin-bottom: -3rem;
  /* Overlap the content below slightly or stick out? User said "blue square on it". Let's overlap the bottom edge */
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .gt-hero-wrapper {
    height: 300px;
  }

  .gt-hero-overlay-box {
    width: 95%;
    margin-left: 2.5%;
    margin-bottom: -2rem;
    padding: 1.5rem 2rem;
  }
}

.gt-hero-title {
  margin: 0 0 0.75rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff !important;
}

.gt-hero-subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 400;
}

/* RTL Support for Hero Section */
html[dir="rtl"] .gt-hero-overlay-box,
html[lang="ar"] .gt-hero-overlay-box,
body.rtl .gt-hero-overlay-box {
  margin-left: 0;
  margin-right: 10%;
  text-align: right;
}

html[dir="rtl"] .gt-hero-title,
html[lang="ar"] .gt-hero-title,
body.rtl .gt-hero-title {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .gt-hero-subtitle,
html[lang="ar"] .gt-hero-subtitle,
body.rtl .gt-hero-subtitle {
  text-align: right;
  direction: rtl;
}

@media (max-width: 768px) {

  html[dir="rtl"] .gt-hero-overlay-box,
  html[lang="ar"] .gt-hero-overlay-box,
  body.rtl .gt-hero-overlay-box {
    margin-left: 0;
    margin-right: 2.5%;
  }
}

/* RTL Support for Hero Wrapper - Full bleed fix */
html[dir="rtl"] .gt-hero-wrapper,
html[lang="ar"] .gt-hero-wrapper,
body.rtl .gt-hero-wrapper {
  margin-left: 0 !important;
  margin-right: calc(50% - 50vw) !important;
  right: 0;
  left: auto;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--gt-page-bg);
  color: var(--gt-text-main);
}

.gt-single-page {
  width: 100%;
  min-height: 100vh;
  padding: 32px 0 60px;
}

.gt-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.gt-back-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gt-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  transition: color 0.2s ease;
}

.gt-back-link span:first-child {
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
}

.gt-back-link:hover {
  color: var(--gt-primary);
}

/* RTL: Flip the back arrow */
html[dir="rtl"] .gt-back-link,
html[lang="ar"] .gt-back-link,
body.rtl .gt-back-link {
  flex-direction: row-reverse;
}

html[dir="rtl"] .gt-back-link span:first-child,
html[lang="ar"] .gt-back-link span:first-child,
body.rtl .gt-back-link span:first-child {
  transform: scaleX(-1);
}

/* MAIN CARD */
.gt-single-main {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr);
  background: #f7f7fc;
  border-radius: 30px;
  box-shadow: var(--gt-shadow-soft);
  overflow: hidden;
}

@media (max-width: 960px) {
  .gt-single-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gt-left {
  padding: 24px 24px 26px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gt-right {
  padding: 26px 24px 26px;
  background: linear-gradient(135deg, var(--gt-primary), #16345f);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.gt-thesis-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gt-text-muted);
}

.gt-title-main {
  margin: 4px 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #292929;
  line-height: 1.35;
}

.gt-title-ar {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gt-text-muted);
  margin: 0 0 6px;
}

.gt-student-line {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--gt-text-muted);
}

.gt-meta-line {
  margin: 0;
  font-size: 0.86rem;
  color: var(--gt-text-main);
  font-weight: 500;
}

.gt-section-title {
  margin: 10px 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gt-text-main);
}

.gt-abstract-text {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--gt-text-muted);
  margin: 0 0 10px;
}

.gt-keywords-block {
  margin-top: 5px;
}

.gt-keywords-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.gt-keyword-pill {
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff7e5;
  border: 1px solid #ffe0a3;
  color: #92400e;
  white-space: nowrap;
}

/* RIGHT DETAILS */
.gt-right-heading {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.9;
}

.gt-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 20px;
  font-size: 0.86rem;
  margin-top: 8px;
}

.gt-detail-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  opacity: 0.75;
  margin-bottom: 2px;
}

.gt-detail-value {
  font-weight: 600;
  word-break: break-word;
}

.gt-buttons-column {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gt-btn-primary {
  border-radius: 999px;
  border: none;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  background: linear-gradient(120deg, var(--gt-accent), #ffb200);
  color: #292929;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.gt-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  background: linear-gradient(120deg, #ffd45f, var(--gt-accent));
}

.gt-right-footnote {
  font-size: 0.78rem;
  opacity: 0.85;
}

.gt-thesis-id {
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* RELATED THESES (cards) - Premium Design */
.gt-related {
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 0 16px 40px;
}

.gt-related-title {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gt-primary);
  position: relative;
  padding-bottom: 12px;
}

.gt-related-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gt-accent), var(--gt-primary));
  border-radius: 2px;
}

html[dir="rtl"] .gt-related-title::after,
body.rtl .gt-related-title::after {
  left: auto;
  right: 0;
}

.gt-related-viewport {
  overflow: hidden;
}

.gt-related-strip {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.gt-related-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 8px;
}

@media (max-width: 900px) {
  .gt-related-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gt-related-slide {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gt-related-card {
  border-radius: 16px;
  border: 1px solid rgba(205, 212, 251, 0.8);
  background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.gt-related-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gt-primary), var(--gt-accent));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gt-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border-color: var(--gt-primary);
}

.gt-related-card:hover::before {
  opacity: 1;
}

.gt-related-name {
  margin: 0;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  line-height: 1.4 !important;
  color: var(--gt-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gt-related-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gt-related-name a:hover {
  color: var(--gt-primary);
  text-decoration: none;
}

.gt-related-meta {
  margin: 0;
  color: var(--gt-text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gt-related-meta::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gt-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* PDF MODAL (animated) */
.gt-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gt-pdf-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gt-pdf-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
}

.gt-pdf-dialog {
  position: relative;
  max-width: 900px;
  width: 90%;
  height: 75vh;
  margin: 12vh auto 0;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.25s ease;
}

.gt-pdf-modal.is-open .gt-pdf-dialog {
  transform: translateY(0) scale(1);
}

.gt-pdf-header {
  padding: 10px 18px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #e5e7ff, #ffffff);
}

.gt-pdf-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111827;
}

.gt-pdf-close {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #6b7280;
  line-height: 1;
}

.gt-pdf-body {
  flex: 1;
  background: #f3f4f6;
}

.gt-pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* Force PDF button to always show yellow bg & dark text */
.gt-right .gt-btn-primary {
  background: linear-gradient(120deg, var(--gt-accent), #ffb200) !important;
  color: var(--gt-text-main) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
}

.gt-right .gt-btn-primary span {
  color: inherit !important;
}


/* Force thesis title color on single page */
.gt-single-page .gt-title-main {
  color: var(--gt-text-main) !important;
  font-size: 1.7rem;
}

.gt-single-page .gt-section-title {
  font-size: 1.5rem;
}


/* Hide default SINGLE hero/title only on Graduate Theses single */
.single-graduate_thesis .page-header,
.single-graduate_thesis .page-title,
.single-graduate_thesis .entry-title {
  display: none !important;
}

/* === Graduate Theses – ARCHIVE layout === */

:root {
  --gt-primary: #1e407a;
  /* Accent 1 */
  --gt-accent: #ffc53a;
  /* Accent 2 */
  --gt-soft: #cdd4fb;
  /* Accent 3 */
  --gt-chip-bg: #b7d8ef;
  /* Accent 7 */
  --gt-text-main: #292929;
  --gt-text-muted: #545454;
  --gt-border-soft: #cdd4fb;
  --gt-page-bg: #fbfbfb;
  --gt-card-bg: #ffffff;
  --gt-radius-lg: 20px;
  --gt-radius-md: 14px;
  --gt-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.gt-archive-page {
  width: 100%;
  min-height: 100vh;
  padding: 40px 0 60px;
}

.gt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.gt-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.gt-header-main {
  max-width: 650px;
}

.gt-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gt-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gt-subtitle {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--gt-text-muted);
  line-height: 1.7;
}

.gt-stat-card {
  min-width: 220px;
  padding: 14px 18px;
  border-radius: var(--gt-radius-md);
  background: linear-gradient(135deg, var(--gt-primary), #164885);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(6, 30, 72, 0.45);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gt-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.gt-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.gt-stat-note {
  font-size: 0.8rem;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .gt-header {
    flex-direction: column;
  }

  .gt-stat-card {
    align-self: stretch;
  }
}

/* ========================================
   4. SMART FILTERS - PREMIUM PILL STYLE
   ======================================== */
.gt-smart-filters {
  margin-bottom: 50px;
}

/* Controls Wrapper */
.gt-controls-wrapper {
  background: #ffffff;
  border: 1px solid var(--gt-border-soft);
  border-radius: var(--gt-radius-lg);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  box-shadow: var(--gt-shadow-soft);
}

.gt-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
  flex: 1;
}

.gt-group-search {
  min-width: 280px;
  flex: 1.5;
}

.gt-control-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--gt-primary);
  margin-bottom: 6px;
  display: block;
  padding-left: 10px;
  border-left: 3px solid var(--gt-accent);
  line-height: 1;
}

html[dir="rtl"] .gt-control-label {
  padding-left: 0;
  padding-right: 10px;
  border-left: none;
  border-right: 3px solid var(--gt-accent);
}

.gt-select,
.gt-input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  border: 2px solid var(--gt-border-soft);
  background: var(--gt-page-bg);
  font-size: 0.95rem;
  color: var(--gt-text-main);
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-weight: 500;
}

.gt-select:focus,
.gt-input:focus {
  outline: none;
  border-color: var(--gt-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 122, 0.15);
}

/* GRID + CARDS */
.gt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1024px) {
  .gt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gt-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gt-card {
  background: var(--gt-card-bg);
  border-radius: var(--gt-radius-lg);
  box-shadow: var(--gt-shadow-soft);
  border: 1px solid rgba(205, 212, 251, 0.7);
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.gt-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  font-size: 0.76rem;
  color: var(--gt-text-muted);
}

.gt-card-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.76rem;
}

.gt-lang-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gt-chip-bg);
  border: 1px solid var(--gt-soft);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gt-text-main);
}

/* Make archive card titles MUCH smaller */
.post-type-archive-graduate_thesis .gt-card-title {
  margin: 4px 0 4px;
  font-size: 1rem;
  /* much smaller now */
  line-height: 1.35;
  font-weight: 700;
}

/* Even smaller on mobiles if needed */
@media (max-width: 768px) {
  .post-type-archive-graduate_thesis .gt-card-title {
    font-size: 0.8rem;
  }
}



.gt-card-title a {
  color: inherit;
  text-decoration: none;
}

.gt-card-title a:hover {
  text-decoration: underline;
}

.gt-card-student {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gt-text-muted);
}

.gt-card-meta {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--gt-text-main);
  font-weight: 700;
}

.gt-card-abstract {
  margin: 6px 0 6px;
  font-size: 0.82rem;
  color: var(--gt-text-muted);
  line-height: 1.6;
  min-height: 40px;
}

.gt-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 4px;
}

.gt-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gt-chip-bg);
  border: 1px solid rgba(205, 212, 251, 0.9);
  font-size: 0.7rem;
  color: var(--gt-text-main);
}

.gt-keywords-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.gt-keyword {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff7e5;
  border: 1px solid #ffe0a3;
  font-size: 0.7rem;
  color: #92400e;
}

.gt-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 0.76rem;
}

.gt-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gt-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: none;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.gt-btn-primary {
  background: linear-gradient(120deg, var(--gt-primary), #16345f);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(14, 32, 70, 0.25);
}

.gt-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 32, 70, 0.35);
}

.gt-card-id {
  color: var(--gt-text-muted);
}

.gt-empty {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gt-text-muted);
}

/* Make archive card "Details" button text/icons clearly visible */
.gt-card .gt-btn-primary {
  color: #ffffff !important;
}

.gt-card .gt-btn-primary span,
.gt-card .gt-btn-primary .gt-btn-icon {
  color: inherit !important;
}

.gt-pagination {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.gt-pagination .page-numbers {
  display: inline-block;
  margin: 0 3px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--gt-border-soft);
  color: var(--gt-text-main);
  text-decoration: none;
}

.gt-pagination .page-numbers.current {
  background: var(--gt-primary);
  color: #ffffff;
  border-color: var(--gt-primary);
}

.gt-pagination .page-numbers:hover:not(.current) {
  background: #f3f4ff;
}

.gt-stat-note-filters {
  font-size: 0.78rem;
  opacity: 0.9;
}

/* Base keyword chip (keeps your existing styling) */
.gt-keyword {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff7e5;
  border: 1px solid #ffe0a3;
  font-size: 0.7rem;
  color: #92400e;
}

/* Inner text span – guarantees readable text in all languages */
.gt-keyword-label {
  display: inline-block;
  font-size: inherit;
  color: inherit;
  line-height: 1.4;
}

/* Extra safety for Arabic / RTL: force proper size & color */
html[lang="ar"] .gt-keyword,
body.rtl .gt-keyword {
  font-size: 0.7rem !important;
  color: #92400e !important;
  background: #fff7e5 !important;
  border-color: #ffe0a3 !important;
}

html[lang="ar"] .gt-keyword-label,
body.rtl .gt-keyword-label {
  direction: rtl;
  unicode-bidi: isolate;
}

/* Hide default archive hero/title only on Graduate Theses archive */
.post-type-archive-graduate_thesis .page-header,
.post-type-archive-graduate_thesis .page-title,
.post-type-archive-graduate_thesis .entry-title,
.post-type-archive-graduate_thesis #sub-header,
.post-type-archive-graduate_thesis .elementor-page-title {
  display: none !important;
}

/* Hide default single header/title only on Graduate Theses single */
.single-graduate_thesis #sub-header,
.single-graduate_thesis .elementor-page-title {
  display: none !important;
}