/* ============================================
   ICKEA 2027 - Modern Design Override
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Root Variables --- */
/* Color scheme referenced from icspies.org */
:root {
  --primary: #154ea7;
  --primary-light: #2863c7;
  --primary-dark: #053a8e;
  --accent: #c0392b;
  --accent-light: #e74c3c;
  --text-dark: #2c3e50;
  --text-muted: #7f8c8d;
  --bg-light: #f8f9fa;
  --card-bg: #ffffff;
  --border: #e1e8ed;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

/* --- Base Typography --- */
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  color: var(--text-dark) !important;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4ecf4 100%) !important;
  font-size: 15px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

/* --- Links --- */
a {
  color: var(--primary-light) !important;
  transition: var(--transition);
}
a:hover, a:focus {
  color: var(--primary-dark) !important;
  text-decoration: none !important;
}

/* --- Navigation Menu --- */
#menu {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md);
  padding: 0;
}

#menu .navbar-brand {
  background: transparent !important;
  padding: 12px 20px !important;
}

#menu ul.nav li a {
  color: #fff !important;
  font-weight: 500 !important;
  padding: 14px 20px !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition);
}

#menu ul.nav li a:hover,
#menu ul.nav li a:focus,
#menu li.dropdown:hover > a {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}

#menu .dropdown-menu {
  background: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 8px 0 !important;
  margin-top: 8px !important;
}

#menu ul.nav .dropdown-menu li a {
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  padding: 10px 20px !important;
  border-radius: 0 !important;
}

#menu ul.nav .dropdown-menu li a:hover {
  background: var(--bg-light) !important;
  color: var(--primary) !important;
}

/* --- Featured / Carousel --- */
.featured {
  background: var(--card-bg) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 20px !important;
  margin-bottom: 24px;
}

.carousel-inner img {
  border-radius: var(--radius-sm);
  max-height: 500px;
  object-fit: cover;
}

.carousel-indicators .active {
  background-color: var(--accent) !important;
}

.carousel-control.left,
.carousel-control.right {
  opacity: 0.8;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  color: #fff;
  font-size: 24px;
  background: rgba(0,0,0,0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  line-height: 44px;
  text-align: center;
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 48px 32px;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-section h1 {
  color: #fff !important;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-section h2 {
  color: rgba(255,255,255,0.9) !important;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.hero-section .hero-date {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 12px;
  font-size: 1.1rem;
}

/* --- Cards / Boxes --- */
.box {
  background: var(--card-bg) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 24px !important;
  margin-bottom: 24px;
  transition: var(--transition);
}

.box:hover {
  box-shadow: var(--shadow-lg) !important;
}

.box h2 {
  font-size: 1.5rem !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
  display: block !important;
}

.box h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.box h3.vid-name {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.box h3.vid-name a {
  color: var(--primary) !important;
  font-weight: 700;
}

.box h3.vid-name a:hover {
  color: var(--accent) !important;
}

.box .info {
  margin: 8px 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.box .info a {
  color: var(--primary-light) !important;
  border: none !important;
  box-shadow: none !important;
}

.box .info a:hover {
  color: var(--accent) !important;
  background: transparent !important;
  text-decoration: underline !important;
}

/* Remove old header background images, use clean titles */
.box .box-header.header-photo,
.box .box-header.header-natural,
.box .box-header.header-vimeo {
  background: none !important;
  margin-bottom: 16px !important;
}

.box .box-header h2 {
  padding: 0 !important;
  margin-left: 0 !important;
  background: transparent !important;
  border-bottom: 2px solid var(--border);
  display: block !important;
}

.box .box-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin-top: 8px;
}

/* --- Sidebar Widgets --- */
.widget {
  background: var(--card-bg) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 20px !important;
  margin-bottom: 20px;
}

.widget .heading {
  background: none !important;
  margin-bottom: 12px;
}

.widget .heading h4 {
  font-size: 1.1rem !important;
  padding: 0 !important;
  margin-left: 0 !important;
  background: transparent !important;
  color: var(--primary) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  display: block !important;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px !important;
}

.widget .post {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.widget .post:last-child {
  border-bottom: none;
}

.widget.wid-comment .post img {
  max-width: 48px !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none !important;
  object-fit: cover;
}

.widget .post .wrapper {
  flex: 1;
  min-width: 0;
}

.widget.wid-comment .wrapper {
  margin-left: 0 !important;
  max-width: none !important;
}

.widget .wrapper h5 {
  font-size: 0.95rem !important;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.widget .wrapper h5 a {
  color: var(--text-dark) !important;
  font-weight: 600;
}

.widget .wrapper h5 a:hover {
  color: var(--primary) !important;
}

.widget .list-inline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  padding: 0;
}

.widget .list-inline li {
  display: block;
  padding: 0;
}

.widget .list-inline li i {
  color: var(--accent);
  margin-right: 4px;
}

/* --- Important Dates Sidebar --- */
.widget.wid-comment .post {
  border-bottom: 1px solid var(--border);
}

.widget.wid-comment .post:last-of-type {
  border-bottom: none;
}

.widget.wid-comment .post img.img-circle {
  border-radius: 50%;
  background: var(--bg-light);
  padding: 8px;
  width: 48px !important;
  height: 48px !important;
}

/* --- Submission Widget --- */
.widget.wid-tags a {
  color: var(--primary) !important;
  border: 1px solid var(--primary-light) !important;
  padding: 4px 12px !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  margin: 3px !important;
  display: inline-block;
  transition: var(--transition);
}

.widget.wid-tags a:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

/* --- Content Area --- */
#page-content {
  padding: 24px 0 !important;
}

#page-content.index-page,
#page-content.archive-page {
  margin-top: 0 !important;
}

/* --- OWL Carousel --- */
#owl-demo-1 {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

#owl-demo-1 img {
  border-radius: var(--radius-sm);
}

#owl-demo-2 .item img {
  border-radius: var(--radius-sm);
  margin: 4px;
  box-shadow: var(--shadow-sm);
}

/* --- Buttons --- */
.btn-primary,
.btn {
  background: var(--primary) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary:hover,
.btn:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* --- Footer --- */
footer {
  background: linear-gradient(135deg, #1a252f 0%, #000 100%) !important;
  color: #bbb !important;
  padding: 40px 0 20px !important;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 40px !important;
}

footer .wrap-footer {
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  padding-bottom: 24px !important;
}

footer .footer-heading h4 {
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

footer .copy-right {
  padding-top: 20px !important;
  color: #888;
  font-size: 0.85rem;
}

footer a {
  color: #bbb !important;
  transition: var(--transition);
}

footer a:hover {
  color: #fff !important;
}

footer .footer-3 ul li {
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding-bottom: 8px !important;
  margin-bottom: 8px !important;
}
footer .footer-1 .footer-logo {
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}
footer .footer-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #bbb;
  margin-bottom: 12px;
  text-align: justify;
}
footer .footer-text:last-child { margin-bottom: 0; }
footer .footer-3 ul li a {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  transition: var(--transition);
}
footer .footer-3 ul li a::before {
  content: '\f105';
  font-family: FontAwesome;
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* --- Tables (for dates.html) --- */
table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  background: var(--card-bg) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table tr {
  transition: var(--transition);
}

table tr:hover {
  background: var(--bg-light);
}

table td {
  padding: 16px 20px !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  font-size: 0.95rem;
}

table tr:last-child td {
  border-bottom: none !important;
}

table td img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
}

table td b {
  font-weight: 600;
}

table td[bgcolor="#FFFFFF"],
table td[bgcolor="#ffffff"] {
  background: var(--card-bg) !important;
}

/* --- Legacy Box Header compatibility --- */
.box-header { margin-bottom: 14px; }
.box-header h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--primary-dark) !important;
  margin: 0 !important;
  padding-bottom: 14px !important;
  border-bottom: 2px solid var(--accent) !important;
}
.wrap-vid { padding: 8px 0; }
.wrap-vid table { margin: 0; }
.tweet-item { padding: 8px 0; }
.tweet-item p { font-size: 0.92rem; color: var(--text); margin-bottom: 4px; line-height: 1.6; }

/* --- Widget styles for legacy sidebars --- */
.widget {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  overflow: hidden;
}
.widget .heading {
  background: var(--gradient);
  padding: 14px 18px;
}
.widget .heading h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.widget .content {
  padding: 18px;
}
.widget .content p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}
.widget .content .post {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.widget .content .post img.img-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.widget .content .post .wrapper h5 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}
.widget .content .post .wrapper .list-inline {
  padding: 0;
  margin: 0;
  list-style: none;
}
.widget .content .post .wrapper .list-inline li {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}
.widget.wid-calendar .content {
  padding: 18px;
  text-align: center;
}

/* --- Forms --- */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--card-bg) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 0 3px rgba(21,78,167,0.15);
  outline: none;
}

/* --- Alert/Info boxes --- */
.notice-box {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border: 1px solid #f5c6cb;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #721c24;
  margin: 16px 0;
}

.info-box {
  background: linear-gradient(135deg, #e8f4fd 0%, #d6eaf8 100%);
  border: 1px solid #bee5eb;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #0c5460;
  margin: 16px 0;
}

/* --- Utility Classes --- */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.bg-light { background: var(--bg-light) !important; }

/* --- Speaker Cards --- */
.speaker-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.speaker-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.speaker-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.speaker-card .speaker-info {
  padding: 16px;
  text-align: center;
}

.speaker-card .speaker-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.speaker-card .speaker-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Program/Schedule Cards --- */
.schedule-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
}

.schedule-card .time {
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
}

/* --- Registration Table --- */
.reg-table {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.reg-table th {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none !important;
}

.reg-table td {
  padding: 14px 20px !important;
  border-bottom: 1px solid var(--border) !important;
}

/* --- Photo Gallery --- */
#owl-demo-2 .item {
  margin: 4px;
}

#owl-demo-2 .item img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* --- Badge / Tags --- */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
}
.badge.badge-primary { background: var(--primary); }
.badge.badge-primary-light { background: var(--primary-light); }
.badge.badge-accent { background: var(--accent); }

/* --- Breadcrumb --- */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 12px 0;
}

/* --- Highlighted Date Cards --- */
.date-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.date-highlight .date-label {
  font-size: 0.85rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.date-highlight .date-value {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-section {
    padding: 28px 20px;
  }
  .hero-section h1 {
    font-size: 1.6rem;
  }
  .box {
    padding: 16px;
  }
  .widget {
    padding: 16px;
  }
  footer {
    padding: 28px 0 16px !important;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ============================================
   Modern Home Page Components (2027 Redesign)
   ============================================ */

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: #ecf0f1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar a { color: #ecf0f1 !important; }
.top-bar a:hover { color: #fff !important; }
.top-bar .top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar .tb-info i { margin-right: 6px; color: #aab3b4; }
.top-bar .tb-links a { margin-left: 18px; }

/* --- Brand Header --- */
.brand-header {
  background: #fff;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.brand-header .brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.brand-header .brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-header .brand-logo .logo-badge {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(21,78,167,0.3);
  letter-spacing: -0.02em;
}
.brand-header .brand-logo .logo-text h1 {
  font-size: 1.7rem;
  margin: 0;
  color: var(--primary) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-header .brand-logo .logo-text p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.brand-header .brand-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.brand-header .brand-meta {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.brand-header .brand-meta .meta-item i {
  color: var(--accent);
  margin-right: 6px;
}

/* --- Sticky Modern Nav --- */
#menu.modern-nav {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 20px rgba(5,58,142,0.25);
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#menu.modern-nav .navbar-header { display: none !important; }
#menu.modern-nav .navbar-collapse { padding-left: 0 !important; }
#menu.modern-nav ul.navbar-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#menu.modern-nav ul.navbar-nav > li > a {
  color: #fff !important;
  font-weight: 500 !important;
  padding: 16px 18px !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.02em;
  border-radius: 0 !important;
  position: relative;
}
#menu.modern-nav ul.navbar-nav > li > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  transform: translateX(-50%);
}
#menu.modern-nav ul.navbar-nav > li > a:hover::after,
#menu.modern-nav ul.navbar-nav > li.active > a::after,
#menu.modern-nav ul.navbar-nav > li:hover > a::after {
  width: 24px;
}
#menu.modern-nav ul.navbar-nav > li > a:hover,
#menu.modern-nav ul.navbar-nav > li > a:focus {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}
#menu.modern-nav .dropdown-menu {
  background: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 8px !important;
  margin-top: 0 !important;
  border-top: 3px solid var(--accent) !important;
  min-width: 220px;
}
#menu.modern-nav .dropdown-menu li a {
  color: var(--text-dark) !important;
  padding: 10px 16px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.9rem !important;
}
#menu.modern-nav .dropdown-menu li a:hover {
  background: var(--bg-light) !important;
  color: var(--primary) !important;
}

/* --- Hero Banner (Full-width with overlay) --- */
.hero-banner {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.hero-banner .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-banner .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,58,142,0.88) 0%, rgba(21,78,167,0.72) 100%);
}
.hero-banner .hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0 88px;
  width: 100%;
}
.hero-banner .hero-edition {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-banner h1 {
  color: #fff !important;
  font-size: 3.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-shadow: 0 2px 14px rgba(0,0,0,0.22);
}
.hero-banner .hero-subtitle {
  font-size: 1.35rem;
  font-weight: 400;
  opacity: 0.96;
  margin-bottom: 32px;
  line-height: 1.45;
  max-width: 820px;
}
.hero-banner .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  margin-bottom: 36px;
  font-size: 1.05rem;
}
.hero-banner .hero-meta .hm-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-banner .hero-meta .hm-item i {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-banner .hero-meta .hm-item span b {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.hero-banner .hero-meta .hm-item span small {
  font-size: 0.85rem;
  opacity: 0.85;
}
.hero-banner .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-banner .btn-hero-primary {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(192,57,43,0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-banner .btn-hero-primary:hover {
  background: var(--accent-light);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(192,57,43,0.5);
}
.hero-banner .btn-hero-ghost {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff !important;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-banner .btn-hero-ghost:hover {
  background: #fff;
  color: var(--primary) !important;
  transform: translateY(-2px);
}

/* --- Quick Info Bar (Stats) --- */
.quick-info-wrapper {
  margin-bottom: 24px;
}
.quick-info-bar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 32px;
  margin-top: -48px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quick-info-bar .qi-item {
  text-align: center;
  padding: 6px 12px;
  border-right: 1px solid var(--border);
}
.quick-info-bar .qi-item:last-child { border-right: none; }
.quick-info-bar .qi-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(21,78,167,0.25);
}
.quick-info-bar .qi-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
}
.quick-info-bar .qi-value {
  font-size: 1.12rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.005em;
}

/* --- Section Title --- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2.1rem !important;
  color: var(--primary) !important;
  font-weight: 800;
  margin-bottom: 14px !important;
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 760px;
  margin: 10px auto 0;
  line-height: 1.6;
}

/* --- Topics Grid --- */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.topic-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.topic-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.topic-card .tc-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(21,78,167,0.1) 0%, rgba(40,99,199,0.15) 100%);
  color: var(--primary);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: var(--transition);
}
.topic-card:hover .tc-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}
.topic-card h4 {
  font-size: 1.08rem !important;
  color: var(--text-dark) !important;
  font-weight: 700;
  margin-bottom: 8px !important;
  letter-spacing: -0.01em;
}
.topic-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* --- Date Cards Row --- */
.dates-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.date-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.date-card.dc-accent { border-top-color: var(--accent); }
.date-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.date-card .dc-icon {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.date-card.dc-accent .dc-icon { color: var(--accent); }
.date-card .dc-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
}
.date-card .dc-date {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.date-card .dc-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Publication Timeline Cards --- */
.pub-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.pub-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: var(--transition);
  position: relative;
}
.pub-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.pub-card .pub-year {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pub-card .pub-index {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.pub-card .pub-index a {
  color: var(--primary) !important;
  font-weight: 600;
}

/* --- Submission Path Cards --- */
.submission-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.subpath-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 28px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.subpath-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}
.subpath-card.sp-accent::before { background: var(--accent); }
.subpath-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.subpath-card .sp-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.subpath-card.sp-accent .sp-num {
  background: rgba(192,57,43,0.1);
  color: var(--accent);
}
.subpath-card h4 {
  font-size: 1.18rem !important;
  color: var(--text-dark) !important;
  font-weight: 700;
  margin-bottom: 10px !important;
  letter-spacing: -0.01em;
}
.subpath-card .sp-tag {
  display: inline-block;
  background: rgba(21,78,167,0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.subpath-card.sp-accent .sp-tag {
  background: rgba(192,57,43,0.1);
  color: var(--accent);
}
.subpath-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-section h2 {
  color: #fff !important;
  font-size: 2.1rem !important;
  font-weight: 800;
  margin-bottom: 14px !important;
  position: relative;
  letter-spacing: -0.02em;
}
.cta-section p {
  font-size: 1.08rem;
  opacity: 0.92;
  margin-bottom: 28px;
  position: relative;
  line-height: 1.6;
}
.cta-section .btn-cta {
  background: var(--accent);
  color: #fff !important;
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: var(--transition);
}
.cta-section .btn-cta:hover {
  background: var(--accent-light);
  color: #fff !important;
  transform: translateY(-2px);
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.gallery-grid .g-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-grid .g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-grid .g-item:hover img {
  transform: scale(1.08);
}
.gallery-grid .g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,58,142,0.5) 100%);
  opacity: 0;
  transition: var(--transition);
}
.gallery-grid .g-item:hover::after { opacity: 1; }

/* --- Section Spacing --- */
.section-pad {
  padding: 64px 0;
}
.section-pad-sm {
  padding: 40px 0;
}
.bg-soft {
  background: linear-gradient(180deg, #f8f9fa 0%, #eef2f7 100%) !important;
}

/* --- Section CTA Row (centered action button under grids) --- */
.section-cta-row {
  text-align: center;
  margin-top: 36px;
}
.btn-section-cta {
  padding: 12px 30px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-section-cta.btn-ghost {
  background: #fff !important;
  color: var(--primary) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm);
}
.btn-section-cta.btn-ghost:hover {
  background: var(--bg-light) !important;
  color: var(--primary-dark) !important;
  border-color: var(--primary-light) !important;
}

/* --- Submission Action Box --- */
.sub-action-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.sub-action-text {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.6;
}
.sub-action-text i {
  color: var(--accent);
  margin-right: 6px;
}
.sub-action-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}


/* --- About Section Layout --- */
.about-section .section-title {
  text-align: left;
  margin-bottom: 24px;
}
.about-section .section-title h2 {
  font-size: 1.85rem !important;
  margin-bottom: 0 !important;
}
.about-section .section-title h2::after {
  left: 0;
  transform: none;
}
.about-text {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.about-text:last-child { margin-bottom: 0; }
.about-text .badge {
  margin: 0 2px;
  vertical-align: baseline;
  font-size: 0.82rem;
  padding: 4px 12px;
}
.about-text b { color: var(--primary-dark); }

/* --- Publication Section --- */
.pub-hero {
  background: linear-gradient(135deg, #fff 0%, #f5f7fa 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.pub-hero .pub-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(21,78,167,0.25);
}
.pub-hero p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
  max-width: 760px;
  margin: 0 auto;
}
.pub-hero p b { color: var(--primary); }
.pub-index-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.pub-index-row .pi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}
.pub-index-row .pi-badge i { color: var(--accent); }


/* --- Sidebar Modern Widgets --- */
.side-widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
}
.side-widget .sw-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 16px;
}
.side-widget .sw-head i {
  color: var(--accent);
  font-size: 1rem;
}
.side-widget .sw-head h4 {
  font-size: 1.05rem !important;
  color: var(--primary) !important;
  font-weight: 700;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.side-widget .sw-date-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.side-widget .sw-date-item:last-child { border-bottom: none; }
.side-widget .sw-date-item .swd-icon {
  width: 40px;
  height: 40px;
  background: rgba(21,78,167,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.side-widget .sw-date-item .swd-icon img { width: 22px; height: 22px; }
.side-widget .sw-date-item .swd-text { flex: 1; min-width: 0; }
.side-widget .sw-date-item .swd-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.side-widget .sw-date-item .swd-value {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
}
.side-widget .sw-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 600;
  margin-top: 12px;
  transition: var(--transition);
}
.side-widget .sw-btn:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
}
.side-widget .sw-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* ========== SUB-PAGE STYLES ========== */

/* --- Sub-page Hero Banner --- */
.subpage-hero {
  position: relative;
  background: var(--gradient);
  padding: 70px 0 50px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 0;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-banner-2027.jpg') center/cover no-repeat;
  opacity: 0.12;
  filter: blur(2px);
}
.subpage-hero .subpage-hero-content {
  position: relative;
  z-index: 1;
}
.subpage-hero .page-icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  font-size: 1.8rem;
  color: var(--accent);
  background: rgba(212,168,67,.12);
  border-radius: 50%;
  margin-bottom: 16px;
}
.subpage-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}
.subpage-hero .breadcrumb-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
}
.subpage-hero .breadcrumb-sub a {
  color: var(--accent);
  text-decoration: none;
}
.subpage-hero .breadcrumb-sub a:hover { text-decoration: underline; }

/* --- Sub-page Content Area --- */
.subpage-content {
  padding: 50px 0 60px;
  background: #f5f7fa;
}
.subpage-content .content-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  margin-bottom: 28px;
}
.subpage-content .content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  position: relative;
}
.subpage-content .content-card h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
}

/* --- Important Dates Table --- */
.dates-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dates-table tr {
  transition: background .25s;
}
.dates-table tr:hover { background: rgba(0,108,108,.03); }
.dates-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.dates-table tr:last-child td { border-bottom: none; }
.dates-table .dt-icon {
  width: 70px;
  text-align: center;
}
.dates-table .dt-icon img { width: 36px; height: 36px; }
.dates-table .dt-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}
.dates-table .dt-date {
  text-align: right;
}
.dates-table .dt-date span {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 7px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}
.dates-table .dt-date span.conf-date {
  background: var(--primary);
}
.dates-table .dt-date span.past {
  background: #ccc;
  text-decoration: line-through;
}

/* --- Committee Cards --- */
.committee-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.committee-section h3 i {
  color: var(--accent);
  margin-right: 8px;
}
.committee-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 10px;
}
.committee-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 16px 20px;
  border-left: 3px solid var(--primary-light);
  transition: all .25s;
}
.committee-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  border-left-color: var(--accent);
}
.committee-card .cc-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.committee-card .cc-affil {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Topics Grid --- */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.topics-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.topics-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.topics-col ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
}
.topics-col ul li::before {
  content: '\f105';
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* --- Submission Methods --- */
.submission-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.sub-method {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  border-top: 4px solid var(--primary);
}
.sub-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.sub-method .sm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.sub-method h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.sub-method p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.sub-method .sm-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.sub-method .sm-link:hover { text-decoration: underline; color: var(--accent); }

/* --- Registration Table --- */
.reg-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.reg-table thead th {
  background: var(--gradient);
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
}
.reg-table tbody td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  background: #fff;
}
.reg-table tbody tr:hover td { background: #f8fafb; }
.reg-table .price-highlight {
  color: var(--primary);
  font-weight: 700;
}

/* --- Sidebar Widgets --- */
.subpage-sidebar .side-widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 22px;
}
.subpage-sidebar .side-widget h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.subpage-sidebar .side-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.subpage-sidebar .side-widget ul li {
  padding: 9px 0;
  border-bottom: 1px solid #f0f0f0;
}
.subpage-sidebar .side-widget ul li:last-child { border-bottom: none; }
.subpage-sidebar .side-widget ul li a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color .25s;
  display: block;
}
.subpage-sidebar .side-widget ul li a:hover { color: var(--primary); }
.subpage-sidebar .side-widget ul li a i {
  color: var(--accent);
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

/* --- Venue Cards --- */
.venue-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 28px;
}
.venue-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.venue-card .venue-info {
  padding: 24px;
}
.venue-card .venue-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.venue-card .venue-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Page Content Typography --- */
.content-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 14px;
}
.content-card strong, .content-card b {
  color: var(--text-dark);
}
.content-card ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.content-card ul li {
  padding: 5px 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text);
}

/* --- Responsive for sub-pages --- */
@media (max-width: 992px) {
  .subpage-hero h1 { font-size: 1.8rem; }
  .subpage-hero { padding: 50px 0 36px; }
  .topics-grid { grid-template-columns: 1fr; }
  .committee-list { grid-template-columns: 1fr; }
  .subpage-content .content-card { padding: 28px; }
}
@media (max-width: 768px) {
  .subpage-hero h1 { font-size: 1.5rem; }
  .subpage-hero { padding: 40px 0 28px; }
  .submission-methods { grid-template-columns: 1fr; }
  .dates-table td { padding: 12px 14px; }
  .dates-table .dt-label { font-size: 0.88rem; }
  .dates-table .dt-date span { font-size: 0.8rem; padding: 5px 12px; }
  .subpage-content { padding: 32px 0 44px; }
  .subpage-content .content-card { padding: 20px; border-radius: 8px; }
  .reg-table { font-size: 0.8rem; }
  .reg-table thead th, .reg-table tbody td { padding: 8px 10px; }
}

/* --- Back-to-Top Button --- */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: all .3s;
  border: none;
}
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* --- Override old archive-page styles --- */
.archive-page .box, .archive-page .wrap-vid {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
.archive-page .vid-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}
.archive-page img { max-width: 100%; height: auto; }
.archive-page table { width: 100%; }

/* --- Legacy box and content fixes --- */
#main-content .box { margin-bottom: 28px; }
#main-content .box > h2.vid-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}
#main-content .box p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 14px;
}
#main-content .box strong, #main-content .box b {
  color: var(--text-dark);
}

/* ========== EXISTING RESPONSIVE ========== */

/* --- Responsive for new components --- */
@media (max-width: 992px) {
  .quick-info-bar { grid-template-columns: repeat(2, 1fr); }
  .quick-info-bar .qi-item:nth-child(2) { border-right: none; }
  .dates-row { grid-template-columns: repeat(2, 1fr); }
  .submission-paths { grid-template-columns: 1fr; }
  .hero-banner h1 { font-size: 2.6rem; }
  .hero-banner .hero-subtitle { font-size: 1.15rem; }
  .about-section .section-title h2 { font-size: 1.6rem !important; }
  .pub-hero { padding: 32px 24px; }
  .sub-action-box { padding: 24px 20px; }
}
@media (max-width: 768px) {
  .brand-header .brand-row { flex-direction: column; align-items: flex-start; }
  .brand-header .brand-meta { gap: 14px; font-size: 0.85rem; }
  .hero-banner { min-height: 440px; }
  .hero-banner .hero-content { padding: 48px 0 60px; }
  .hero-banner h1 { font-size: 2rem; }
  .hero-banner .hero-subtitle { font-size: 1.05rem; margin-bottom: 24px; }
  .hero-banner .hero-meta { gap: 18px 24px; font-size: 0.95rem; }
  .hero-banner .hero-meta .hm-item i { width: 36px; height: 36px; font-size: 0.9rem; }
  .hero-banner .hero-cta { gap: 12px; }
  .hero-banner .btn-hero-primary,
  .hero-banner .btn-hero-ghost { padding: 11px 22px; font-size: 0.95rem; }
  .quick-info-bar { grid-template-columns: 1fr; margin-top: 0; padding: 22px 20px; }
  .quick-info-bar .qi-item { border-right: none; border-bottom: 1px solid var(--border); padding: 10px 6px 14px; }
  .quick-info-bar .qi-item:last-child { border-bottom: none; }
  .quick-info-bar .qi-icon { width: 42px; height: 42px; font-size: 1.05rem; margin-bottom: 8px; }
  .dates-row { grid-template-columns: 1fr; }
  .section-pad { padding: 40px 0; }
  .section-title { margin-bottom: 32px; }
  .section-title h2 { font-size: 1.55rem !important; }
  .about-text { font-size: 0.98rem; line-height: 1.8; }
  .topics-grid { grid-template-columns: 1fr; gap: 16px; }
  .topic-card { padding: 22px 18px; }
  .pub-hero { padding: 28px 20px; }
  .pub-hero .pub-icon { width: 56px; height: 56px; font-size: 1.4rem; }
  .pub-hero p { font-size: 1rem; }
  .pub-index-row { gap: 8px; margin-top: 20px; padding-top: 20px; }
  .pub-index-row .pi-badge { padding: 6px 14px; font-size: 0.82rem; }
  .subpath-card { padding: 22px 22px 22px 26px; }
  .sub-action-box { padding: 22px 18px; }
  .sub-action-buttons { gap: 10px; }
  .btn-section-cta { width: 100%; justify-content: center; padding: 11px 20px !important; }
  .cta-section { padding: 36px 22px; }
  .cta-section h2 { font-size: 1.55rem !important; }
  .cta-section p { font-size: 0.98rem; margin-bottom: 22px; }
  #menu.modern-nav ul.navbar-nav { flex-direction: column; align-items: stretch; }
  #menu.modern-nav ul.navbar-nav > li > a { padding: 12px 18px !important; }
  .back-to-top { right: 16px; bottom: 20px; width: 40px; height: 40px; line-height: 40px; font-size: 1rem; }
  footer .wrap-footer .row > div { margin-bottom: 28px; }
  footer .wrap-footer .row > div:last-child { margin-bottom: 0; }
  footer .footer-1 .footer-logo { max-width: 180px; }
}
@media (max-width: 480px) {
  .hero-banner h1 { font-size: 1.7rem; }
  .hero-banner .hero-edition { font-size: 0.72rem; padding: 5px 14px; }
  .hero-banner .hero-subtitle { font-size: 0.95rem; }
  .section-title h2 { font-size: 1.35rem !important; }
  .quick-info-bar { padding: 18px 14px; }
  .pub-index-row { flex-direction: column; align-items: stretch; }
  .pub-index-row .pi-badge { justify-content: center; }
}