/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --primary-color: #16a1a4;
  --primary-dark: #0f797b;
  --primary-light: #e6f6f7;
  --accent-color: #b5b800;
  --accent-hover: #999c00;
  --accent-gold: #C5942E;
  
  --text-main: #1e293b; /* Slate-800 for high-contrast readability */
  --text-muted: #64748b; /* Slate-500 */
  --text-white: #ffffff;
  
  --bg-main: #f8fafc; /* Slate-50 */
  --bg-card: #ffffff;
  --border-color: #e2e8f0; /* Slate-200 */
  
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  
  --max-width: 1140px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-main);
  font-family: var(--font-sans);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0.5em;
}

p {
  margin-top: 0;
  margin-bottom: 1.25em;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

hr {
  border: 0;
  height: 1px;
  background-color: var(--border-color);
  margin: 1.5rem 0;
}

/* Custom SVG Icons Style */
.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  vertical-align: middle;
}

/* ==========================================================================
   LAYOUT SYSTEM (NATIVE GRID / FLEXBOX)
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

.grid-3-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .grid-3-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Primary Sidebar Grid Layout */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .layout-with-sidebar {
    grid-template-columns: 2fr 1fr;
  }
}

/* Spacing Utilities */
.margin-top-10 { margin-top: 0.625rem; }
.margin-top-15 { margin-top: 0.938rem; }
.margin-top-20 { margin-top: 1.25rem; }
.margin-bottom-10 { margin-bottom: 0.625rem; }
.margin-bottom-20 { margin-bottom: 1.25rem; }
.margin-bottom-30 { margin-bottom: 1.875rem; }
.padding-top-10 { padding-top: 0.625rem; }
.padding-bottom-20 { padding-bottom: 1.25rem; }

/* ==========================================================================
   HEADER STYLE (SIMPLE & CLEAN)
   ========================================================================== */
.headerLogo {
  background-color: var(--bg-card);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.logosm {
  height: 60px;
  width: auto;
  display: inline-block;
}

.menubgblue {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 50px;
}

.nav-menu {
  display: none; /* Hidden on mobile */
  list-style: none;
  padding-left: 0;
  margin: 0;
  width: 100%;
}

.nav-menu li a {
  display: block;
  color: var(--text-white) !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li.active a {
  background-color: var(--primary-dark);
}

.home-icon-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Header search toggles */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-toggle-btn {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-toggle-btn:hover {
  background-color: var(--primary-dark);
  border-radius: var(--radius-sm);
}

/* Hamburger toggle */
.menu-toggle {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 2.25rem;
  height: 2.25rem;
}

.menu-toggle .hamburger {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text-white);
  position: relative;
  transition: var(--transition);
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 2px;
  background: var(--text-white);
  left: 0;
  transition: var(--transition);
}

.menu-toggle .hamburger::before { top: -6px; }
.menu-toggle .hamburger::after { bottom: -6px; }

/* Expanded Mobile Menu states */
.menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Header Search Bar Overlay */
.header-search-bar {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-card);
  padding: 0.75rem 1.25rem;
  border-bottom: 2px solid var(--primary-color);
  box-shadow: var(--shadow-md);
  z-index: 101;
}

.header-search-bar.is-visible {
  display: block;
}

.header-search-bar .search-form {
  display: flex;
  width: 100%;
  gap: 0.5rem;
}

.header-search-bar .search-field {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
}

.header-search-bar .search-field:focus {
  border-color: var(--primary-color);
}

.header-search-bar .search-submit {
  background-color: var(--primary-color);
  border: none;
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-bar .search-submit:hover {
  background-color: var(--primary-dark);
}

/* Mobile responsive menu */
@media (max-width: 899px) {
  .site-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  
  .site-nav.is-active {
    display: block;
  }
  
  .nav-menu {
    display: block;
  }
  
  .nav-menu li {
    border-bottom: 1px solid var(--primary-dark);
  }
  
  .desktop-search-item {
    display: none;
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
  
  .nav-menu {
    display: flex;
  }
  
  .site-nav {
    display: block;
    flex-grow: 1;
  }
  
  .header-actions {
    display: none; /* Use desktop search in menu instead */
  }
}

/* ==========================================================================
   CARDS AND MAIN COMPONENT DESIGNS
   ========================================================================== */
.categoryTtile {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.categoryTtile a {
  color: var(--primary-color) !important;
  background: none !important;
  padding: 0 !important;
  font-weight: 700;
}

.categoryTtile::after {
  display: none; /* Remove old olive block underline */
}

/* Accent Badge under category names */
.categoryTtile-accent {
  position: relative;
}
.categoryTtile-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Image wrappers preserving aspect ratios to prevent CLS */
.itemimg {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--border-color);
  aspect-ratio: 16 / 9; /* Modern aspect-ratio instead of padding hack */
  width: 100%;
}

.itemimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.itemimg:hover img {
  transform: scale(1.03);
}

/* Clean Cards Grid */
.news-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.news-card-image-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--border-color);
  position: relative;
}

.news-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image-wrapper img {
  transform: scale(1.05);
}

.news-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--text-main);
  transition: color 0.2s ease;
  
  /* Multiline truncation (3 lines max) */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-card-title {
  color: var(--primary-color);
}

/* Traditional list cards used in categories and homepage */
.list-feature-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.list-feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.list-feature-card .caption {
  padding: 1rem;
}

.list-feature-card h4 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  color: var(--text-main);
}

/* Tips / Overbox Cards (Dynamic Hover) */
.box-overlay-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #333;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 1rem;
}

.box-overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.box-overlay-card .overbox {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: flex-end;
  transition: background 0.3s ease;
}

.box-overlay-card:hover img {
  transform: scale(1.05);
}

.box-overlay-card .title h4 {
  color: var(--text-white) !important;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   CATEGORY & LISTINGS PAGE SPECIFICS
   ========================================================================== */
.cat-post-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

@media (min-width: 600px) {
  .cat-post-row {
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
  }
}

.cat-post-row h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0;
}

.cat-post-row h3 a {
  color: var(--text-main);
  font-weight: 700;
}

.cat-post-row h3 a:hover {
  color: var(--primary-color);
}

/* Category pagination */
.nav-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
}

.nav-pagination a {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-pagination a:hover {
  background-color: var(--primary-dark);
}

/* ==========================================================================
   SINGLE POST LAYOUT (READABILITY OPTIMIZED)
   ========================================================================== */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--primary-color);
}

.single-post-container {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .single-post-container {
    padding: 2.5rem;
  }
}

.entry-header {
  margin-bottom: 1.5rem;
}

.itemH1 {
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--text-main);
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .itemH1 {
    font-size: 2.5rem;
  }
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.post-meta svg {
  color: var(--primary-color);
}

.labelarticle {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* Optimized Typography for Reading Article */
.post-text {
  font-family: var(--font-sans); /* Clean system fonts */
  font-size: 1.15rem !important; /* Extremely readable ~18.5px */
  line-height: 1.75 !important;
  color: #2d3748; /* Dark charcoal */
}

.post-text p {
  margin-bottom: 1.5rem;
}

.post-text a:not(.neadiatrofis-poll-button) {
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-light);
  font-weight: 600;
}

.post-text a:hover:not(.neadiatrofis-poll-button) {
  border-bottom-color: var(--primary-color);
}

/* Post Featured Image optimization */
.post-thumbnail-wrapper {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--border-color);
}

.post-thumbnail-wrapper img {
  width: 100%;
  height: auto;
}

/* Related posts grid below single posts */
.relatedpost {
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.relatedpost-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .relatedpost-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .relatedpost-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.related-card-image {
  flex: 0 0 80px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--border-color);
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-card-title {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
  font-weight: 700;
}

.related-card-title a {
  color: var(--text-main);
}

.related-card-title a:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   SIDEBAR & WIDGET DESIGNS
   ========================================================================== */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h2.widget-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text-main);
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Online tools sidebar specific styling */
.online-tools-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.online-tools-list p {
  margin: 0;
}

.online-tools-list a {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-main);
}

.online-tools-list strong {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-right: 0.35rem;
}

/* Ad Layout wrappers for layout shifts */
.ad-slot-wrapper {
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
  min-height: 250px;
}

.height300 {
  min-height: 300px;
}

.height250 {
  min-height: 250px;
}

/* ==========================================================================
   POLLS COMPONENT (PRESERVED & INTEGRATED)
   ========================================================================== */
.neadiatrofis-poll-media {
  position: relative;
}

.neadiatrofis-poll-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.neadiatrofis-poll-notice {
  margin-top: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.02));
  border: 1px solid #e5e5e5;
  color: #222;
  font-size: 0.95rem;
  line-height: 1.4;
}

.neadiatrofis-poll-notice strong {
  font-weight: 700;
}

.neadiatrofis-poll-box {
  margin: 2rem 0 0;
  padding: 1.4rem;
  border: 1px solid var(--poll-border, #e7e7e7);
  background: linear-gradient(180deg, var(--poll-bg-top, #ffffff) 0%, var(--poll-bg-bottom, #f8f8f8) 100%);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  --poll-accent: #111111;
  --poll-accent-2: #666666;
  --poll-border: #e7e7e7;
  --poll-bg-top: #ffffff;
  --poll-bg-bottom: #f8f8f8;
  --poll-chip: rgba(17, 17, 17, 0.08);
  --poll-track: #ececec;
}

.neadiatrofis-poll-box.is-loading {
  opacity: 0.9;
  cursor: wait;
}

.neadiatrofis-poll-box.neadiatrofis-poll-theme-ocean {
  --poll-accent: #1463ff;
  --poll-accent-2: #49a3ff;
  --poll-border: #dbe7ff;
  --poll-bg-top: #f7fbff;
  --poll-bg-bottom: #eef5ff;
  --poll-chip: rgba(20, 99, 255, 0.1);
}

.neadiatrofis-poll-box.neadiatrofis-poll-theme-sunset {
  --poll-accent: #e2563a;
  --poll-accent-2: #ff9b62;
  --poll-border: #f3d8ce;
  --poll-bg-top: #fffaf7;
  --poll-bg-bottom: #fff2ec;
  --poll-chip: rgba(226, 86, 58, 0.1);
}

.neadiatrofis-poll-box.neadiatrofis-poll-theme-forest {
  --poll-accent: #1f7a4d;
  --poll-accent-2: #59b37a;
  --poll-border: #d9ebdf;
  --poll-bg-top: #f7fcf8;
  --poll-bg-bottom: #edf7ef;
  --poll-chip: rgba(31, 122, 77, 0.1);
}

.neadiatrofis-poll-box.neadiatrofis-poll-theme-berry {
  --poll-accent: #8d2de2;
  --poll-accent-2: #c46bff;
  --poll-border: #eadcf8;
  --poll-bg-top: #fcf8ff;
  --poll-bg-bottom: #f5eefc;
  --poll-chip: rgba(141, 45, 226, 0.1);
}

.neadiatrofis-poll-header {
  margin-bottom: 1rem;
}

.neadiatrofis-poll-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6d6d6d;
}

.neadiatrofis-poll-title {
  margin: 0 0 0.45rem;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--poll-accent);
  font-weight: 800;
}

.neadiatrofis-poll-subtitle {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.neadiatrofis-poll-form {
  display: block;
  margin-bottom: 1rem;
}

.neadiatrofis-poll-form.is-ajax .neadiatrofis-poll-button {
  display: none;
}

.neadiatrofis-poll-status {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--poll-accent-2);
}

.neadiatrofis-poll-status.is-error {
  color: #b12a2a;
}

.neadiatrofis-poll-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.neadiatrofis-poll-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.neadiatrofis-poll-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.neadiatrofis-poll-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--poll-border);
  border-radius: 12px;
  background: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
}

.neadiatrofis-poll-option-text {
  color: #1d1d1d;
  font-weight: 600;
  line-height: 1.35;
}

.neadiatrofis-poll-option-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.18);
  position: relative;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.neadiatrofis-poll-option-check::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.15s ease;
}

.neadiatrofis-poll-option:hover .neadiatrofis-poll-option-card,
.neadiatrofis-poll-option input:focus + .neadiatrofis-poll-option-card {
  border-color: var(--poll-accent-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.neadiatrofis-poll-option input:checked + .neadiatrofis-poll-option-card {
  border-color: var(--poll-accent);
  background: linear-gradient(135deg, var(--poll-accent) 0%, var(--poll-accent-2) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.neadiatrofis-poll-option input:checked + .neadiatrofis-poll-option-card .neadiatrofis-poll-option-text {
  color: #fff;
}

.neadiatrofis-poll-option input:checked + .neadiatrofis-poll-option-card .neadiatrofis-poll-option-check {
  border-color: #fff;
  background: #fff;
}

.neadiatrofis-poll-option input:checked + .neadiatrofis-poll-option-card .neadiatrofis-poll-option-check::after {
  background: var(--poll-accent);
}

.neadiatrofis-poll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--poll-accent) 0%, var(--poll-accent-2) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.neadiatrofis-poll-result-message {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-left: 4px solid var(--poll-accent);
  border-radius: 10px;
  color: #333;
}

.neadiatrofis-poll-results {
  margin-top: 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid #ececec;
}

.neadiatrofis-poll-results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  color: #666;
  font-size: 0.9rem;
}

.neadiatrofis-poll-result {
  margin-bottom: 1rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid var(--poll-border);
  border-radius: 12px;
}

.neadiatrofis-poll-result-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.94rem;
  margin-bottom: 0.55rem;
}

.neadiatrofis-poll-result-option {
  font-weight: 600;
  color: #222;
}

.neadiatrofis-poll-result-stats {
  color: #666;
  white-space: nowrap;
}

.neadiatrofis-poll-bar {
  height: 12px;
  background: var(--poll-track);
  border-radius: 999px;
  overflow: hidden;
}

.neadiatrofis-poll-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--poll-accent) 0%, var(--poll-accent-2) 100%);
  border-radius: 999px;
  transition: width 700ms ease;
}

.neadiatrofis-poll-percent {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #777;
  text-align: right;
}

/* ==========================================================================
   FOOTER (MODERN GRID FOOTER)
   ========================================================================== */
.footer-bs {
  background-color: var(--primary-color);
  padding: 3rem 0;
  color: var(--text-white);
  border-top: 4px solid var(--accent-color);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 600px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer-brand h2 {
  background: none;
  margin-bottom: 1rem;
}

.footer-brand .logosm {
  filter: brightness(0) invert(1); /* Render logo white in footer */
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
}

.footer-nav h4,
.footer-social h4,
.footer-ns h4 {
  color: var(--text-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  padding-bottom: 0.5rem;
}

.footer-nav ul,
.footer-social ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-nav ul li,
.footer-social ul li {
  margin-bottom: 0.5rem;
}

.footer-nav ul li a,
.footer-social ul li a {
  color: var(--text-white);
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-nav ul li a:hover,
.footer-social ul li a:hover {
  opacity: 1;
  color: var(--accent-color) !important;
}

.footer-ns p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}
