/* =========================================
   VANNIGLO
   Global Styles
========================================= */


/* =========================================
   VARIABLES
========================================= */


:root {
    --primary: #062650;
    --secondary: #e21d2f;
    --accent: #ffd200;

    --white: #ffffff;
    --black: #111111;

    --text: #172033;
    --muted: #687487;
    --light: #f4f6f8;
    --border: #e5e8ed;

    --container: 1240px;
    --radius: 4px;
    --transition: .25s ease;

    /* Typography */
    --font-primary: Arial, Helvetica, sans-serif;
    --font-hero: "Manrope", sans-serif;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --color-text: #263247;
    --color-heading: #14213D;
    --color-muted: #657084;
    --color-primary: #173CA6;
    --color-accent: #ED1C24;
    --color-highlight: #FFD400;
}


.w100{
    float:left;
    width:100%;
}

/* =========================================
   RESET
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
 margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.2;
}

p {
    margin-top: 0;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 22px;

    border-radius: var(--radius);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary);
}




/* =========================================
   HERO
========================================= */

.hero {
 width: 100%;
min-height: 0;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 90px 0;
}
#main-content > .section {
    padding: 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: var(--primary);
    color: var(--white);
}

.footer-inner {
    padding: 60px 0;
}


/* =========================================
   ACCESSIBILITY
========================================= */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
}

.skip-link:focus {
    left: 10px;
    z-index: 9999;

    padding: 10px 15px;

    background: var(--primary);
    color: var(--white);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .primary-menu {
        display: none;
    }

}

@media (max-width: 600px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .section {
        padding: 60px 0;
    }

}

/*ENDELEA*/ /*ENDELEA*/ /*ENDELEA*/ /*ENDELEA*/


/* =========================================================
   SAYUNI WEBSITE — COMPLETE HEADER CSS
   Drupal 11 | Theme: Vanniglo
   Covers: Top bar, search, logo, navigation and responsive
========================================================= */

/* -------------------------
   1. BRAND VARIABLES
------------------------- */

.site-header {
  --sayuni-navy: #0D1B3A;
  --sayuni-navy-light: #14264B;
  --sayuni-red: #D71920;
  --sayuni-red-hover: #B9151B;
  --sayuni-white: #FFFFFF;
  --sayuni-text: #14264B;
  --sayuni-muted: #64708A;
  --sayuni-border: #E6E9EF;

  position: relative;
  z-index: 100;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--sayuni-white);
  color: var(--sayuni-text);
  font-family: inherit;
}

/* Consistent box sizing inside header */
.site-header,
.site-header *,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
}

/* Remove unwanted Drupal block spacing */
.site-header .block,
.site-header .topleftb,
.site-header .topsearchb,
.site-header .sitebrandb {
  margin-top: 0;
  margin-bottom: 0;
}

/* =========================================================
   2. TOP BAR
========================================================= */

.site-header .w100.header-top {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--sayuni-navy);
  color: var(--sayuni-white);
  border: 0;
}

/* Inner top-bar container */
.site-header .w100.header-top > .header-top {
  width: 100%;
  max-width: 1300px;
  min-height: 48px;
  margin: 0 auto;
  padding: 8px 28px;
}

/* Message and search: same horizontal row */
.site-header .w100.header-top > .header-top > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  min-width: 0;
}

/* -------------------------
   3. TOP BAR MESSAGE
------------------------- */

.site-header .topleftb {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 0;
}

.site-header .topleftb > div,
.site-header .topleftb > div > div {
  margin: 0;
  padding: 0;
}

.site-header .sayuni-top-message {
  margin: 0;
  padding: 0;
  color: var(--sayuni-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  letter-spacing: 0.05px;
}

/* -------------------------
   4. TOP BAR SEARCH FORM
------------------------- */

.site-header .topsearchb {
  display: block;
  flex: 0 0 300px;
  width: 300px;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}

.site-header .topsearchb form.search-block-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
}

/* Search input wrapper */
.site-header .topsearchb .form-item-keys {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Search input */
.site-header .topsearchb input.form-search {
  display: block;
  width: 100%;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 0 12px;
  color: var(--sayuni-white);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  box-shadow: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  line-height: normal;
  appearance: none;
  -webkit-appearance: none;
}

.site-header .topsearchb input.form-search::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.site-header .topsearchb input.form-search:focus {
  color: var(--sayuni-white);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.75);
  outline: none;
  box-shadow: none;
}

/* Search submit wrapper */
.site-header .topsearchb .form-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

/* Search button */
.site-header .topsearchb input.form-submit {
  display: block;
  width: auto;
  min-width: 70px;
  height: 36px;
  margin: 0;
  padding: 0 16px;
  color: var(--sayuni-white);
  background: var(--sayuni-red);
  border: 1px solid var(--sayuni-red);
  border-radius: 0 4px 4px 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header .topsearchb input.form-submit:hover,
.site-header .topsearchb input.form-submit:focus {
  color: var(--sayuni-white);
  background: var(--sayuni-red-hover);
  border-color: var(--sayuni-red-hover);
}

/* Hide labels visually, but keep them accessible */
.site-header .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   5. MAIN HEADER ROW
========================================================= */

.site-header .w100.headerbrand {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--sayuni-white);
  border-bottom: 1px solid var(--sayuni-border);
}

/* Logo, menu and action container */
.site-header .header-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Main horizontal layout */
.site-header .w100.headerbrand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(28px, calc((100% - 1244px) / 2));
}

/* Drupal branding block */
.site-header .sitebrandb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  padding: 0;
}

/* Logo image */
.site-header .sitebrandb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 210px;
  max-height: 66px;
  object-fit: contain;
  object-position: left center;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Remove unwanted wrapper spacing */
.site-header .header-brand > div {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* =========================================================
   6. PRIMARY NAVIGATION
========================================================= */

.site-header .primary-menu {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Drupal navigation block */
.site-header .primary-menu > div,
.site-header .primary-menu nav {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Menu list — scoped to main navigation only */
.site-header .primary-menu nav > ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 30px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Menu list items */
.site-header .primary-menu nav > ul > li {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Menu links */
.site-header .primary-menu nav > ul > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 88px;
  padding: 0;
  color: var(--sayuni-text);
  background: transparent;
  border: 0;
  text-decoration: none;
  text-transform: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Red underline */
.site-header .primary-menu nav > ul > li > a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--sayuni-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

/* Hover and keyboard focus */
.site-header .primary-menu nav > ul > li > a:hover,
.site-header .primary-menu nav > ul > li > a:focus-visible {
  color: var(--sayuni-red);
  text-decoration: none;
}

/* Show underline on hover */
.site-header .primary-menu nav > ul > li > a:hover::after,
.site-header .primary-menu nav > ul > li > a:focus-visible::after {
  transform: scaleX(1);
}

/* Current active page */
.site-header .primary-menu nav > ul > li > a.is-active,
.site-header .primary-menu nav > ul > li > a[aria-current="page"] {
  color: var(--sayuni-red);
  font-weight: 500;
}

.site-header .primary-menu nav > ul > li > a.is-active::after,
.site-header .primary-menu nav > ul > li > a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Empty action region retained from existing HTML */
.site-header .header-action {
  display: none;
}

/* =========================================================
   7. LAPTOPS AND SMALL DESKTOPS
========================================================= */

@media (max-width: 1100px) {
  .site-header .w100.headerbrand {
    gap: 22px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-header .sitebrandb img {
    max-width: 180px;
    max-height: 60px;
  }

  .site-header .primary-menu nav > ul {
    gap: 20px;
  }

  .site-header .primary-menu nav > ul > li > a {
    font-size: 13px;
  }
}

/* =========================================================
   8. TABLET
========================================================= */

@media (max-width: 900px) {
  .site-header .w100.header-top > .header-top {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header .w100.header-top > .header-top > div {
    gap: 18px;
  }

  .site-header .topsearchb {
    flex-basis: 260px;
    width: 260px;
  }

  .site-header .w100.headerbrand {
    flex-wrap: wrap;
    gap: 0 20px;
    padding: 12px 20px;
  }

  .site-header .header-brand {
    min-height: 54px;
  }

  .site-header .sitebrandb img {
    max-width: 170px;
    max-height: 56px;
  }

  .site-header .primary-menu {
    flex: 1 1 auto;
  }

  .site-header .primary-menu nav > ul {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .site-header .primary-menu nav > ul > li > a {
    min-height: 54px;
    font-size: 13px;
  }

  .site-header .primary-menu nav > ul > li > a::after {
    bottom: 8px;
  }
}

/* =========================================================
   9. MOBILE
========================================================= */

@media (max-width: 600px) {
  /* Top bar */
  .site-header .w100.header-top > .header-top {
    padding: 12px 16px;
  }

  .site-header .w100.header-top > .header-top > div {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
  }

  .site-header .topleftb {
    width: 100%;
    flex: 0 0 auto;
  }

  .site-header .sayuni-top-message {
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
  }

  .site-header .topsearchb {
    width: 100%;
    max-width: 380px;
    flex: 0 1 auto;
    margin: 0 auto;
  }

  .site-header .topsearchb input.form-search,
  .site-header .topsearchb input.form-submit {
    height: 36px;
  }

  /* Main header */
  .site-header .w100.headerbrand {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px 8px;
  }

  .site-header .header-brand {
    width: 100%;
    justify-content: center;
  }

  .site-header .header-brand > div {
    justify-content: center;
  }

  .site-header .sitebrandb {
    justify-content: center;
    width: 100%;
  }

  .site-header .sitebrandb img {
    max-width: 190px;
    max-height: 60px;
    object-position: center;
  }

  /* Mobile menu wraps neatly.
     This does not create a hamburger button. */
  .site-header .primary-menu {
    width: 100%;
    justify-content: center;
  }

  .site-header .primary-menu > div,
  .site-header .primary-menu nav {
    width: 100%;
  }

  .site-header .primary-menu nav > ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 18px;
    width: 100%;
  }

  .site-header .primary-menu nav > ul > li > a {
    min-height: 42px;
    font-size: 13px;
  }

  .site-header .primary-menu nav > ul > li > a::after {
    bottom: 4px;
  }
}

/* =========================================================
   10. VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {
  .site-header .w100.header-top > .header-top {
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-header .w100.headerbrand {
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-header .sitebrandb img {
    max-width: 170px;
  }

  .site-header .primary-menu nav > ul {
    gap: 0 12px;
  }

  .site-header .primary-menu nav > ul > li > a {
    font-size: 12px;
  }
}

