/* ============================================================================
   SNUI Common Styles - Shared across all pages
   ============================================================================ */

/* CSS Variables */
:root {
  --primary-color: #9333ea;
  --primary-dark: #7e22ce;
  --bg-color: #f8f9fa;
  --surface-color: #ffffff;
  --text-color: #000000;
  --text-muted: #666666;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition);
}

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

/* ============================================================================
   ICE REPORT LINE BANNER
   ============================================================================ */

.ice-banner {
  background-color: #1e40af;
  color: #ffffff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid #1d4ed8;
}

.ice-banner-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.ice-banner-text {
  display: block;
}

.ice-banner-mobile {
  display: none;
}

/* ============================================================================
   HEADER AND NAVIGATION
   ============================================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  overflow: visible;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 1rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  overflow: visible;
}

.navbar-logo-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 0 1 auto;
  min-width: 0;
  flex-shrink: 1;
}

.navbar-logo {
  display: flex;
  align-items: center;
  height: 60px;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 100%;
  width: auto;
  max-width: 150px;
}

.navbar-title {
  font-size: 24px;
  color: var(--text-color);
  font-weight: 500;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-left: auto;
}

.nav-menu a {
  color: var(--text-color);
  font-size: 18px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition);
  flex-shrink: 0;
  z-index: 101;
  position: relative;
}

.hamburger:hover {
  background-color: var(--bg-color);
}

.hamburger:focus {
  outline: 2px solid var(--primary-color);
}

.hamburger .bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-color);
  transition: transform 0.18s ease, opacity 0.18s ease;
  border-radius: 2px;
}

.hamburger .bar + .bar {
  margin-top: 7px;
}

.hamburger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 8px 12px 14px;
  border-radius: 0 0 12px 12px;
  width: 100%;
  z-index: 110;
}

.mobile-menu a {
  display: block;
  padding: 12px 12px;
  border-radius: 8px;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 500;
  transition: background-color var(--transition), color var(--transition);
}

.mobile-menu a:hover {
  background-color: var(--bg-color);
  color: var(--primary-color);
}

.mobile-menu a + a {
  margin-top: 4px;
}

.mobile-menu.show {
  display: block;
}

/* ============================================================================
   ALERT BOX
    ============================================================================ */

.alert__expandable {
    background:transparent
}

.alert__expandable .alert .alert__inner {
    align-items: center;
    background: var(--p-bg);
    border-radius: 0 0 16px 16px;
    padding-block: 10px;
    padding-inline:24px
}

@media (min-width: 740px) {
    .alert__expandable .alert .alert__inner {
        justify-content:start
    }
}

.alert__expandable .alert .alert__inner .alert__text {
    display: none;
    font-family: var(--font-family-label);
    font-size: 16px;
    font-variant-numeric: lining-nums;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    max-width: 800px;
    padding-left: 0;
    text-transform:uppercase
}

@media (min-width: 740px) {
    .alert__expandable .alert .alert__inner .alert__text {
        display: block;
        padding-right:calc(var(--icon-size) + clamp(20px, 1.7123vw + 13.8356px, 40px))
    }
}

@media (min-width: 1330px) {
    .alert__expandable .alert .alert__inner .alert__text {
        left: 0;
        margin: 0 auto;
        padding: 0;
        position: absolute;
        right:0
    }
}

.alert__expandable .alert .alert__inner .alert__button {
    margin-top: 0;
    order: -1;
    padding-right:0
}

@media (min-width: 740px) {
    .alert__expandable .alert .alert__inner .alert__button {
        margin-top:0
    }
}

.alert__expandable .alert .alert__inner .alert__button .btn {
    --btn-text-color-default: #fff;
    --btn-border-color-default: transparent;
    --btn-bg-color-default:transparent
}

.alert__expandable .alert .alert__inner .alert__button .btn .button__text {
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    text-transform:uppercase
}

.alert__expandable .alert .alert__inner .alert__button .btn .icon {
    --icon-size:20px
}

.alert__expandable .alert .alert__inner .alert__button .btn .icon svg path {
    fill:#ffb800
}

@media (min-width: 740px) {
    .alert__expandable .alert .alert__inner .alert__button .btn {
        --btn-text-color-default: #091e2c;
        --btn-border-color-default: #ffb800;
        --btn-bg-color-default:#ffb800
    }

    .alert__expandable .alert .alert__inner .alert__button .btn .icon svg path {
        fill:#091e2c
    }
}
/* ============================================================================
   CONTENT LAYOUT
   ============================================================================ */

.content {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: justify;
}

.content p {
  font-size: 20px;
  margin-bottom: 1rem;
}

.content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.content ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.content ul li {
  margin-bottom: 0.75rem;
}

/* ============================================================================
   FORMS
   ============================================================================ */

.form-group {
  margin: 1.5rem 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 18px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 500px;
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: Verdana, sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  font-size: 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color var(--transition);
}

.form-group button:hover {
  background-color: var(--primary-dark);
}

/* ============================================================================
   TABLES
   ============================================================================ */
   /* Three image containers (use 25% for four, and 50% for two, etc) */
.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

/* Clear floats after image containers */
.row::after {
  content: "";
  clear: both;
  display: table;
}

/* ============================================================================
   LAYOUT WITH SIDEBAR
   ============================================================================ */

.main-container {
  display: flex;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  gap: 2rem;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.main-content p {
  font-size: 20px;
  text-align: justify;
  margin-bottom: 1rem;
}

.sidebar {
  width: 450px;
  flex-shrink: 0;
}

.sidebar-section {
  background-color: var(--bg-color);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.sidebar-section h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.sidebar-section iframe {
  width: 100%;
  height: auto;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  font-size: 20px;
  color: var(--text-color);
  margin: 2rem 0;
}

.social-icons .follow-text {
  margin-right: 4px;
  font-weight: 500;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 7px;
  background: linear-gradient(135deg, #764ba2 0%, #9333ea 100%);
  border-radius: 50%;
  color: #ffffff;
  transition: transform var(--transition), box-shadow var(--transition);
}

.social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
  .main-container {
    flex-direction: column;
    gap: 2rem;
  }

  .sidebar {
    width: 100%;
  }

  .sidebar-section iframe {
    max-width: 100%;
  }

  .navbar-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
  }

  .navbar {
    padding: 0.8rem 1rem;
    gap: 12px;
  }

  .navbar-logo-title {
    gap: 0.8rem;
    flex: 0 1 auto;
    min-width: 0;
  }

  .navbar-logo {
    height: 50px;
    flex-shrink: 0;
  }

  .navbar-logo img {
    max-width: 80px;
    height: 50px;
  }

  .navbar-title {
    display: none;
  }

  .ice-banner {
    padding: 0.5rem 0.75rem;
    font-size: 16px;
  }

  .ice-banner-text {
    display: none;
  }

  .ice-banner-mobile {
    display: block;
  }

  .content {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  .main-container {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  .content p {
    font-size: 18px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.6rem 0.8rem;
    gap: 8px;
  }

  .navbar-logo-title {
    gap: 0.5rem;
    flex: 0 1 auto;
    min-width: 0;
  }

  .navbar-logo {
    height: 40px;
    flex-shrink: 0;
  }

  .navbar-logo img {
    max-width: 60px;
    height: 40px;
  }

  .navbar-title {
    display: none;
  }

  .hamburger {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .content {
    padding: 0 0.8rem;
    margin: 1rem auto;
  }

  .main-container {
    padding: 0 0.8rem;
    margin: 1rem auto;
    gap: 1rem;
  }

  .content p,
  .main-content p {
    font-size: 16px;
  }

  .form-group {
    margin: 1rem 0;
  }

  .form-group label {
    font-size: 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select,
  .form-group button {
    font-size: 14px;
  }

  .mobile-menu a {
    font-size: 14px;
    padding: 10px 8px;
  }
}
