
/* =====================================
   SALSO OFFICIAL WEBSITE
   Classic Institutional Design
   Academic Year 2026/2027
===================================== */

:root {
  --primary: #790d19;
  --primary-dark: #510711;
  --gold: #b99a5b;
  --white: #ffffff;
  --light: #f6f5f2;
  --dark: #202027;
  --grey: #686868;
  --border: #e8e5df;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

/* HEADER */


.main-header {
  width: 100%;
  min-height: 95px;
  padding: 15px 7%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--border);

  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: white;
}

.brand-text h2 {
  color: var(--primary);
  font-size: 19px;
  letter-spacing: 1px;
  font-weight: bold;
  line-height: 1.3;
}

.brand-text p {
  color: var(--grey);
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.main-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.main-header nav a {
  color: var(--dark);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.main-header nav a:hover {
  color: var(--primary);
}

/* HERO SECTION */

.hero {
  min-height: 570px;
  padding: 100px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(
      rgba(47, 4, 11, 0.88),
      rgba(75, 5, 15, 0.91)
    ),
    linear-gradient(135deg, #790d19, #25050a);
}

.hero > p {
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: #e1c78f;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 65px);
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero h3 {
  max-width: 650px;
  font-size: 19px;
  font-weight: normal;
  color: #eee7e2;
  margin-bottom: 35px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border: 1px solid var(--gold);
  color: var(--white);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

/* GENERAL SECTIONS */

section:not(.hero) {
  padding: 85px 10%;
  text-align: center;
}

section:not(.hero) h2 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 22px;
}

section:not(.hero) h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background: var(--gold);
  margin: 15px auto 0;
}

section:not(.hero) > p {
  max-width: 850px;
  margin: 0 auto 15px;
  color: var(--grey);
  font-size: 16px;
}

/* ABOUT */

#about {
  background: var(--white);
}

/* LEADERSHIP */

#leadership {
  background: var(--light);
}

.leadership-content {
  max-width: 700px;
  margin: 35px auto 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}

.leadership-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* ACTIVITIES */

#activities {
  background: var(--white);
}

/* NEWS */

#news {
  background: var(--light);
}

.news-content {
  max-width: 700px;
  margin: 35px auto 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: left;
}

.news-content h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

/* FOOTER */

footer {
  background: #21070b;
  color: #e9e3df;
  text-align: center;
  padding: 55px 8% 20px;
}

footer h3 {
  color: var(--white);
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

footer p {
  font-family: Arial, sans-serif;
  font-size: 13px;
  margin-bottom: 10px;
  color: #c9c1bd;
}

footer a {
  color: #d7bb7c;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

  .main-header {
    flex-direction: column;
    padding: 20px 5%;
  }

  .main-header nav {
    gap: 15px;
  }

}

@media (max-width: 600px) {

  .brand {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .main-header nav {
    gap: 12px 18px;
  }

  .main-header nav a {
    font-size: 11px;
  }

  .hero {
    min-height: 480px;
    padding: 75px 6%;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero h3 {
    font-size: 16px;
  }

  section:not(.hero) {
    padding: 60px 7%;
  }

  section:not(.hero) h2 {
    font-size: 27px;
  }

  .leadership-content,
  .news-content {
    padding: 22px;
  }

  footer {
    padding: 45px 7% 20px;
  }

}

/* SALSO NEWS PUBLICATION DESIGN */

.section-heading {
  margin-bottom: 40px;
}

.section-heading span {
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.news-card {
  background: white;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.news-image {
  height: auto;
  background: linear-gradient(135deg, #790d19, #35060d);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.news-image span {
  background: var(--gold);
  color: #2b0a0d;
  padding: 6px 12px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
}

.news-details {
  padding: 25px;
}

.news-date {
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.news-details h3 {
  color: var(--primary);
  font-size: 19px;
  margin-bottom: 12px;
}

.news-details > p:not(.news-date) {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 18px;
}

.news-details a {
  color: var(--primary);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

@media (max-width: 650px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================
   SALSO OFFICIAL NEWS DESIGN
================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 100%;
    height: 720px;
    height: 380px;
    object-fit: contain;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
    background: #f4f4f4;
}

.news-card-content {
    padding: 22px;
}

.news-date {
    color: #b99a5b;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card-content h3 {
    color: #790d19;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.4;
    margin: 12px 0;
}

.news-card-content > p:last-child {
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-image {
        height: auto;
    }
}


/* READ MORE PAGE - IMAGE CONTROL */

.full-news-article img.news-details-image {
    width: 100% !important;
    max-width: 550px !important;
    height: auto !important;
    max-height: 100px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 20px auto !important;
}

/* SALSO MOBILE HAMBURGER MENU */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 28px;
  cursor: pointer;
  padding: 5px;
}

@media screen and (max-width: 768px) {

  .main-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between !important;
    align-items: center !important;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .main-header .brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    flex: 1;
    min-width: 0;
  }

  .menu-toggle {
    display: block !important;
    margin-left: auto;
  }

  .main-header nav#main-navigation {
    display: none !important;
    width: 100%;
    flex-direction: column;
    background: white;
  }

  .main-header nav#main-navigation.open {
    display: flex !important;
  }

  .main-header nav#main-navigation a {
    display: block;
    padding: 13px;
    border-bottom: 1px solid var(--border);
  }
}
/* =====================================
   OFFICIAL SALSO FOOTER
===================================== */

.official-footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 55px 7% 0;
  margin-top: 50px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 45px;
  padding-bottom: 40px;
}

.official-footer h3 {
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 23px;
  margin-bottom: 15px;
}

.official-footer h4 {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 18px;
}

.official-footer p {
  color: #dddddd;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.official-footer a {
  color: #eeeeee;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.official-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 13px;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* SALSO HEADER BACKGROUND */
.main-header {
    background: #5B1725 !important;
}
/* SALSO HEADER */
.main-header {
    background: #5B1725 !important;
    color: #FFFFFF !important;
}

.main-header a,
.main-header h1,
.main-header h2,
.main-header p,
.main-header span {
    color: #FFFFFF !important;
}

/* SALSO NEWS LINKS */
.news-card h2 a {
    text-decoration: none !important;
    color: inherit;
}

.news-card h2 a:hover {
    color: #8B2635;
}

.read-more {
    display: inline-block;
    color: #7A1F32;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
}

.read-more:hover {
    text-decoration: underline;
}

.news-card-image {
    width: 100%;
    max-width: 550px;
    height: 250px;
    object-fit: cover;
    display: block;
    margin: 15px 0;
}

.news-details-image {
    width: 100%;
    max-width: 550px;
    height: 280px;
    object-fit: contain;
    display: block;
    margin: 20px auto;
}

.news-full-content a {
    color: #7A1F32;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

/* SALSO HOMEPAGE NEWS DESIGN */
.news-title-link,
.news-card-link {
    color: inherit !important;
    text-decoration: none !important;
}

.news-title-link:hover {
    color: #7A1F32 !important;
    text-decoration: none !important;
}

.news-card .read-more {
    color: #7A1F32;
    text-decoration: none !important;
    font-weight: 600;
}

.news-card .read-more:hover {
    text-decoration: underline !important;
}
/* SALSO MOBILE HAMBURGER VISIBILITY */
/* SALSO HAMBURGER ICON */
#menu-toggle {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background: #5B1725 !important;
    border: 1px solid #FFFFFF !important;
    opacity: 1 !important;
    font-size: 26px !important;
    font-weight: bold !important;
}
#menu-toggle:hover {
    background: #7A1F32 !important;
}
/* SALSO MOBILE OPEN MENU */
@media (max-width: 768px) {
    #main-navigation.open {
        background-color: #5B1725 !important;
    }

    #main-navigation.open a {
        color: #FFFFFF !important;
        background-color: transparent !important;
        text-decoration: none !important;
    }

    #main-navigation.open a:hover,
    #main-navigation.open a.active {
        color: #D4AF37 !important;
    }
}
/* SALSO AUTOMATIC NEWS SLIDER */

.news-slider {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
}

.news-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.news-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.news-slide .news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.news-title-link {
    color: inherit;
    text-decoration: none !important;
}

.news-title-link:hover {
    text-decoration: none !important;
}
