:root {
  --brand-blue: #2464a3;
  --brand-blue-dark: #1a4a7a;
  --brand-ink: #2b2b2b;
  --brand-border: #e5e5e5;
}

body {
  color: var(--brand-ink);
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

a {
  color: var(--brand-blue);
}

a:hover {
  color: var(--brand-blue-dark);
}

/* Header */

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
}

.site-header__logo img {
  max-height: 64px;
  width: auto;
}

.site-header__contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__contact-icon {
  font-size: 1.5rem;
  color: var(--brand-blue);
}

.site-header__contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.site-header__contact-heading {
  font-weight: 600;
  color: var(--brand-blue);
}

.site-header__contact-text a {
  color: var(--brand-ink);
  text-decoration: none;
}

.site-header__contact-text a:hover {
  color: var(--brand-blue);
}

.site-nav {
  border-top: 1px solid var(--brand-border);
  border-bottom: 3px solid var(--brand-blue);
  padding: 0;
}

.site-nav .nav-link {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-ink);
  padding: 1rem 1rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active,
.site-nav .nav-link.show {
  color: var(--brand-blue);
}

.specialties {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Footer */

.site-footer {
  background: #f4f6f8;
  padding: 3rem 0 0;
  margin-top: 4rem;
}

.site-footer__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 1rem;
}

.site-footer__links,
.site-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li,
.site-footer__contact li {
  margin-bottom: 0.6rem;
}

.site-footer__links a,
.site-footer__contact a {
  color: var(--brand-ink);
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: var(--brand-blue);
}

.site-footer__contact i {
  color: var(--brand-blue);
  width: 1.25rem;
}

.site-footer__tagline {
  color: #555;
}

.site-footer__bottom {
  border-top: 1px solid #dde2e6;
  margin-top: 2rem;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* Hero carousel */

.hero-carousel img {
  height: 70vh;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.hero-carousel img.hero-carousel__img--subject-left {
  object-position: left center;
}

.hero-carousel .carousel-caption {
  right: 5%;
  left: auto;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  max-width: 34rem;
  text-align: right;
  background: rgba(20, 25, 30, 0.55);
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(3px);
}

.hero-carousel .carousel-caption p {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

@media (max-width: 767.98px) {
  .hero-carousel .carousel-caption {
    left: 5%;
    right: 5%;
    max-width: none;
    text-align: center;
  }
}

/* Specialty cards (home page) */

.specialty-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.specialty-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
}

.specialty-card__title {
  margin-top: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--brand-ink);
}

.specialty-card:hover .specialty-card__title {
  color: var(--brand-blue);
}

.specialty-card:hover img {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

/* Inner pages */

.page-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.page-title {
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 2rem;
}

.bio-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.bio-content .bio-lead {
  color: var(--brand-blue);
  font-weight: 600;
}

.bio-photo {
  width: 100%;
  border-radius: 0.5rem;
  position: sticky;
  top: 1.5rem;
}

/* Specialty (Χειρουργική) page */

.specialty-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.specialty-quicknav a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--brand-blue);
  border-radius: 2rem;
  color: var(--brand-blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.specialty-quicknav a:hover {
  background: var(--brand-blue);
  color: #fff;
}

.specialty-section h2 {
  color: var(--brand-ink);
  font-weight: 700;
  margin-bottom: 1rem;
}

.specialty-section__img {
  width: 100%;
  border-radius: 0.5rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.specialty-section p {
  line-height: 1.7;
}

.specialty-section__lead {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.specialty-section ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.specialty-section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.specialty-divider {
  margin: 3rem 0;
  border-top: 1px solid var(--brand-border);
}

/* Publications (Δημοσιεύσεις) page */

.pub-card {
  display: flex;
  gap: 1.25rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--brand-border);
  border-radius: 0.5rem;
  background: #fff;
}

.pub-card__trigger {
  flex: 0 0 auto;
  width: 8rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.pub-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.375rem;
  background: #f4f6f8;
}

.pub-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.pub-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-ink);
  margin: 0;
}

.pub-modal__img {
  width: 100%;
  border-radius: 0.375rem;
  background: #f4f6f8;
}

.pub-modal__subheading {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.modal-body p {
  line-height: 1.7;
}

.pub-modal__directors {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 600;
}

.pub-modal__directors li {
  margin-bottom: 0.5rem;
}

.pub-modal__signoff {
  margin-top: 1.5rem;
}

.pub-modal__signatures {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--brand-border);
}

.pub-modal__signatures p {
  margin: 0;
}

/* Διακρίσεις gallery */

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.gallery-item__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
}

.gallery-item__caption {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.gallery-item:hover .gallery-item__img {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.gallery-item:hover .gallery-item__caption {
  color: var(--brand-blue);
}

.gallery-modal .modal-content {
  position: relative;
  align-items: center;
  background: transparent;
  border: 0;
}

.gallery-modal__img {
  width: auto;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.gallery-modal__caption {
  margin-top: 0.75rem;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.4rem 1rem;
  border-radius: 0.25rem;
}

.gallery-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
}

/* Επικοινωνία page */

.contact-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-details p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.contact-details strong {
  color: var(--brand-ink);
}

.contact-share {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #f4f6f8;
  color: var(--brand-blue);
  font-size: 1.15rem;
}

.contact-share a:hover {
  background: var(--brand-blue);
  color: #fff;
}
