:root {
  --max: 1180px;
  --dark: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #d71920;
  --bg: #ffffff;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--bg);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

.topbar {
  font-size: .875rem;
  background: #f3f4f6;
  border-bottom: 1px solid var(--line);
}

.header-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 1rem;
}

.main-nav {
  background: var(--dark);
}

.main-nav a {
  color: white;
  text-decoration: none;
  padding: 1rem;
  display: inline-block;
}

.main-nav a:hover {
  background: var(--accent);
}

.breaking {
  border-bottom: 1px solid var(--line);
}

.breaking-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .75rem 1rem;
}

.breaking strong {
  background: var(--accent);
  color: white;
  padding: .35rem .6rem;
  text-transform: uppercase;
  font-size: .75rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  padding-top: 2rem;
}

.hero-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section {
  margin-bottom: 2rem;
}

.section h2,
.category-grid h2 {
  border-bottom: 3px solid var(--accent);
  padding-bottom: .4rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.sidebar > * {
  margin-bottom: 1.5rem;
}

.card,
.moduletable {
  border: 1px solid var(--line);
  padding: 1rem;
  background: white;
}

.footer {
  margin-top: 3rem;
  background: var(--dark);
  color: white;
}

.footer a {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 1rem;
  text-align: center;
  color: #d1d5db;
}

@media (max-width: 900px) {
  .header-grid,
  .layout,
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-ad {
    display: none;
  }

  .main-nav a {
    display: block;
  }
}


.newsgrid-module {
  display: grid;
  gap: 1rem;
}

.news-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

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

.news-card-body {
  padding: 1rem;
}

.news-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: .25rem .5rem;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.news-card h3 {
  margin: 0 0 .5rem;
}

.news-meta {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: .5rem;
}
.hero-grid .newsgrid-module,
.featured .newsgrid-module,
.section .newsgrid-module {
  grid-template-columns: repeat(3, 1fr);
}

.latest .newsgrid-module {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .hero-grid .newsgrid-module,
  .featured .newsgrid-module,
  .section .newsgrid-module {
    grid-template-columns: 1fr;
  }
}
.newsgrid-module {
  display: grid;
  gap: 1rem;
}

/* Featured + latest cards grid */
.section .newsgrid-module {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Make cards smaller */
.news-card-image img {
  height: 180px;
  object-fit: cover;
}

/* Latest list style */
.section.latest .newsgrid-module {
  grid-template-columns: 1fr;
}

.section.latest .news-card {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.section.latest .news-card-image img {
  height: 130px;
}

/* Hero should be larger */
.hero-grid .newsgrid-module {
  grid-template-columns: 2fr 1fr;
}

.hero-grid .news-card:first-child {
  grid-row: span 2;
}

.hero-grid .news-card:first-child .news-card-image img {
  height: 360px;
}

@media (max-width: 900px) {
  .section .newsgrid-module,
  .section.latest .news-card,
  .hero-grid .newsgrid-module {
    grid-template-columns: 1fr;
  }
}
.news-title {
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 800;
}

.hero-grid .news-card:first-child .news-title {
  font-size: 1.8rem;
}
.main-nav .mod-menu,
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .mod-menu > li,
.main-nav ul > li {
  position: relative;
  display: block;
}

.main-nav .mod-menu > li > a,
.main-nav ul > li > a {
  display: block;
  padding: 1rem;
  color: #fff;
}

.main-nav .mod-menu li ul,
.main-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--dark);
  z-index: 9999;
  flex-direction: column;
}

.main-nav .mod-menu li:hover > ul,
.main-nav ul li:hover > ul {
  display: flex;
}

.main-nav .mod-menu li ul li,
.main-nav ul li ul li {
  width: 100%;
}

.main-nav .mod-menu li ul a,
.main-nav ul li ul a {
  white-space: nowrap;
  padding: .8rem 1rem;
}
.main-nav .mod-menu > li > a,
.main-nav ul > li > a {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 1rem;
  line-height: 1;
}

.main-nav .mod-menu,
.main-nav ul {
  align-items: center;
}

.main-nav .container {
  display: flex;
  align-items: center;
}

.main-nav .mod-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap;
}

.main-nav .mod-menu > li {
  display: flex !important;
  align-items: center !important;
}

/* Make submenu same height as main menu */
.main-nav .mod-menu li ul li a {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  line-height: 1;
}

/* Remove extra vertical spacing */
.main-nav .mod-menu li ul {
  padding: 0;
}

.main-nav .mod-menu > li {
  position: relative !important;
}

.main-nav .mod-menu > li > ul,
.main-nav .mod-menu > li .mod-menu__sub {
  position: absolute !important;
  top: 56px !important;
  left: 0 !important;
  display: none !important;
  min-width: 220px;
  z-index: 9999;
}

.main-nav .mod-menu > li:hover > ul,
.main-nav .mod-menu > li:hover > .mod-menu__sub {
  display: flex !important;
  flex-direction: column !important;
}

.main-nav .mod-menu > li > ul li,
.main-nav .mod-menu > li .mod-menu__sub li {
  width: 100%;
}
.main-nav .mod-menu {
  display: flex !important;
  align-items: center !important;
  position: relative;
}

.main-nav .mod-menu > li {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.main-nav .mod-menu > li > ul,
.main-nav .mod-menu > li > .mod-menu__sub,
.main-nav .mod-menu > li > .nav-child {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 220px !important;
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--dark);
}

.main-nav .mod-menu > li:hover > ul,
.main-nav .mod-menu > li:hover > .mod-menu__sub,
.main-nav .mod-menu > li:hover > .nav-child {
  display: block !important;
}

.main-nav .mod-menu > li > ul *,
.main-nav .mod-menu > li > .mod-menu__sub *,
.main-nav .mod-menu > li > .nav-child * {
  position: static !important;
}
.main-nav .mod-menu__toggle-sub {
  display: none !important;
}

.main-nav .mod-menu > li.parent {
  position: relative !important;
}

.main-nav .mod-menu > li.parent > .mod-menu__sub {
  position: absolute !important;
  top: 56px !important;
  left: 0 !important;
  display: none !important;
  width: 220px;
  background: var(--dark);
  z-index: 9999;
}

.main-nav .mod-menu > li.parent:hover > .mod-menu__sub {
  display: block !important;
}

.main-nav .mod-menu__sub li,
.main-nav .mod-menu__sub a {
  width: 100%;
}
.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.category-grid .newsgrid-module {
  display: grid;
  gap: 1rem;
}

.category-grid .news-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: .8rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.category-grid .news-card-image img {
  width: 78px;
  height: 64px;
  object-fit: cover;
  border-radius: 2px;
}

.category-grid .news-card-body {
  padding: 0;
}

.category-grid .news-tag {
  display: none;
}

.category-grid .news-title {
  font-size: .95rem;
  line-height: 1.25;
  margin: 0 0 .25rem;
}

.category-grid .news-card-body p {
  display: none;
}

@media (max-width: 1000px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}
a {
  text-decoration: none !important;
  color: inherit;
}

a:visited {
  color: inherit !important;
}

.news-title a {
  color: #0b3ea8; /* or your preferred headline color */
  font-weight: 600;
}

.news-title a:hover {
  text-decoration: underline;
}

.news-time {
  font-size: 0.75rem;
  color: #777;
  margin-bottom: 0.25rem;
}

.category-grid .news-title {
  font-size: .82rem;
  line-height: 1.2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-grid .news-time {
  font-size: .68rem;
  margin-top: .25rem;
}

.category-grid .news-card {
  grid-template-columns: 64px 1fr;
  gap: .65rem;
  align-items: start;
}

.category-grid .news-card-image img {
  width: 64px;
  height: 54px;
}

.category-grid .newsgrid-module {
  gap: .85rem;
}

.container {
  max-width: 1180px;
}

.content {
  max-width: 900px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 320px;
  gap: 2rem;
  align-items: start;
}

.sidebar-section h2 {
  font-size: 1.25rem;
  border-bottom: 3px solid var(--accent);
  padding-bottom: .4rem;
  margin: 0 0 1rem;
}

.sidebar .newsgrid-module {
  display: grid;
  gap: 1rem;
}

.sidebar .news-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: .8rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sidebar .news-card-image img {
  width: 86px;
  height: 74px;
  object-fit: cover;
  border-radius: 2px;
}

.sidebar .news-card-body {
  padding: 0;
}

.sidebar .news-title {
  font-size: .9rem;
  line-height: 1.25;
  margin: .25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar .news-card-body p {
  display: none;
}

.sidebar .news-tag {
  font-size: .65rem;
  padding: .18rem .35rem;
}

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

.main-nav .mod-menu > li > a,
.main-nav .mod-menu > li > a:visited,
.main-nav .mod-menu > li > a:link {
  color: #fff !important;
}

.main-nav .mod-menu > li.active > a,
.main-nav .mod-menu > li.current > a,
.main-nav .mod-menu > li:hover > a {
  color: #fff !important;
  background: var(--accent);
}

.breaking-inner {
  overflow: hidden;
}

.breaking .newsgrid-module {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: breakingTicker 28s linear infinite;
  will-change: transform;
}



.breaking .news-card {
  border: 0;
  background: transparent;
  display: inline-block;
}

.breaking .news-card-image,
.breaking .news-tag,
.breaking .news-card-body p,
.breaking .news-time {
  display: none;
}

.breaking .news-card-body {
  padding: 0;
}

.breaking .news-title {
  font-size: .9rem;
  margin: 0;
}

.breaking .news-title::after {
  content: " •";
  margin-left: 1.5rem;
  color: var(--accent);
}

@keyframes breakingTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.breaking:hover .newsgrid-module {
  animation-play-state: paused;
}
.breaking .newsgrid-module::after {
  content: attr(data-ticker);
}

.breaking .news-title a {
  color: #0b3ea8 !important;
}


.news-title a,
.news-title a:link,
.news-title a:visited {
  color: #0b3ea8 !important;
}

.news-title a:hover {
  text-decoration: underline;
}

.sidebar .news-title a {
  color: #0b3ea8 !important;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.logo img {
  height: 50px;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
}

.site-footer {
  background: #0b1a2b;
  color: #fff;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 1rem;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: #ddd;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  background: #08121f;
  font-size: 0.85rem;
}


.article-layout {
  max-width: 920px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.article-page {
  background: #fff;
}

.article-header h1 {
  font-size: 2.3rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: .75rem 0 .5rem;
}

.article-meta {
  color: #6b7280;
  font-size: .9rem;
  margin-bottom: 1.25rem;
}

.article-image {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.72;
  color: #1f2937;
}

.article-body p {
  margin: 0 0 1.15rem;
}

.breaking {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.breaking-label {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  background: #d71920;
  color: #fff;
  font-weight: bold;
  padding: 0 12px;
  z-index: 2;
}

.breaking-ticker {
  overflow: hidden;
  white-space: nowrap;
  padding-left: 100px; /* space for label */
}

/* scrolling animation */
.breaking-ticker .newsgrid-module {
  display: inline-block;
  animation: ticker-scroll 25s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.category-page {
  max-width: 1180px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

.category-page-header h1 {
  font-size: 2rem;
  border-bottom: 3px solid var(--accent);
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
}

.category-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.category-page .news-card-image img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.category-page .news-title {
  font-size: 1.05rem;
  line-height: 1.25;
}

.category-page .news-card-body p {
  font-size: .9rem;
  color: #374151;
}

@media (max-width: 900px) {
  .category-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-page-grid {
    grid-template-columns: 1fr;
  }
}

/* Dropdown menu background */
.mod-menu__sub {
  background: #0b1a2b;
}

/* Force all dropdown links to white */
.mod-menu__sub a,
.mod-menu__sub a:link,
.mod-menu__sub a:visited {
  color: #fff !important;
}

/* Hover state */
.mod-menu__sub a:hover {
  color: #fff;
  background: #16263a;
}

/* Fix inherited black text from parent */
.mod-menu__sub li {
  color: #fff;
}

.mod-menu__sub li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/*Menu polish*/

/* Main nav spacing */
.mod-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mod-menu > li > a {
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  display: block;
}

/* Remove weird vertical shifts */
.mod-menu > li {
  display: flex;
  align-items: center;
}

.mod-menu__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 6px 0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1000;
}

.mod-menu > li:hover > .mod-menu__sub {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mod-menu__sub li a {
  padding: 10px 16px;
  font-size: 0.9rem;
  display: block;
}

.mod-menu__sub li a:hover {
  background: rgba(255,255,255,0.08);
}
.mod-menu__toggle-sub {
  display: none;
}
.mod-menu > li > a {
  position: relative;
}

.mod-menu > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: #d71920;
  transition: width 0.2s ease;
}

.mod-menu > li > a:hover::after {
  width: calc(100% - 32px);
}
.mod-menu .current > a {
  background: #d71920;
  color: #fff;
}

/*date*/
.topbar {
  background: #0b1a2b;
  color: #cbd5e1;
  font-size: 0.8rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  padding: 4px 12px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: red;
  display: inline-block;
  border-radius: 50%;
  margin-right: 4px;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/*Final touch*/
.main-nav {
  position: sticky;
  top: 0;
  z-index: 999;
}
.layout {
  margin-top: 1.5rem;
}

.section h2,
.category-grid h2,
.sidebar-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}


@media (max-width: 768px) {
  .main-nav .mod-menu {
    overflow-x: auto;
    white-space: nowrap;
  }

  .header-inner {
    flex-direction: column;
    gap: .75rem;
  }

  .logo img {
    max-width: 220px;
    height: auto;
  }
}

.news-card {
  transition: transform .15s ease, box-shadow .15s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.category-pagination {
  margin: 2rem 0;
  text-align: center;
}

.category-pagination ul {
  display: inline-flex;
  gap: .4rem;
  list-style: none;
  padding: 0;
}

.category-pagination a,
.category-pagination span {
  padding: .45rem .75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
} 
.category-count {
  text-align: center;
  margin: 2rem 0 .75rem;
  color: #6b7280;
  font-size: .9rem;
}

.category-pagination .pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.category-pagination .page-link {
  min-width: 38px;
  height: 38px;
  padding: 0 .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #0b3ea8 !important;
}

.category-pagination .active .page-link {
  background: #d71920;
  color: #fff !important;
  border-color: #d71920;
}

.category-pagination .disabled .page-link {
  color: #aaa !important;
  background: #f7f7f7;
}

.emagazine-btn {
  display: inline-block;
  background: #d71920;
  color: #fff !important;
  padding: .75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-decoration: none;
  font-weight: 600;
}

.emagazine-btn:hover {
  background: #b31218;
}

iframe {
  border-radius: 8px;
  background: #fff;
}


.emagazine-preview {
  display: block;
  height: 260px;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 8px 8px 0 0;
}

.emagazine-preview iframe {
  width: 100%;
  height: 360px;
  border: 0;
  pointer-events: none;
}

.emagazine-viewer iframe {
  width: 100%;
  height: 900px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.emagazine-btn,
.emagazine-btn:link,
.emagazine-btn:visited {
  color: #fff !important;
}

.article-layout {
  max-width: 1180px;
}

.emagazine-viewer {
  width: 100%;
}

.emagazine-viewer iframe {
  display: block;
  width: 100% !important;
  min-height: 900px;
}


.video-preview {
  position: relative;
  display: block;
  overflow: hidden;
  background: #000;
}

.video-preview img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.video-play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 42px;
  border-radius: 10px;
  background: rgba(215, 25, 32, .95);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

.video-viewer {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

.video-viewer iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0 1.5rem;
}

.article-share-label {
  font-weight: 700;
  margin-right: .25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .45rem .75rem;
  border: 0;
  border-radius: 5px;
  color: #fff !important;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
}

.share-facebook {
  background: #1877f2;
}

.share-x {
  background: #111;
}

.share-linkedin {
  background: #0a66c2;
}

.share-whatsapp {
  background: #25d366;
}

.share-copy {
  background: #4b5563;
}

.share-btn:hover {
  opacity: .88;
}

.article-share-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.article-share-icons .article-share-label {
  font-weight: 700;
  margin-right: .25rem;
}

.article-share-icons .share-icon {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #111 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
}

.article-share-icons .share-icon:hover {
  color: var(--accent) !important;
  opacity: 1;
}

.article-share-icons .share-copy-icon {
  font-family: inherit;
}



.header-tools {
  margin-left: auto;
}

.header-tools .mod-finder {
  display: flex;
  align-items: center;
}

.header-tools .awesomplete {
  display: block;
}

.header-tools .js-finder-searchform {
  display: flex;
  align-items: stretch;
  width: min(360px, 36vw);
}

.header-tools .js-finder-search-query {
  width: 100%;
  height: 42px;
  padding: 0 .9rem;
  border: 1px solid #d1d5db;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #fff;
  color: #111827;
  font: inherit;
  outline: none;
}

.header-tools .js-finder-search-query:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(215, 25, 32, .12);
}

.header-tools .btn {
  height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.header-tools .btn:hover {
  background: #b51218;
}

@media (max-width: 768px) {
  .header-tools {
    width: 100%;
  }

  .header-tools .js-finder-searchform {
    width: 100%;
  }
}


.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.header-tools form {
  display: flex;
  align-items: stretch;
  width: min(360px, 38vw);
  margin: 0;
}

.header-tools input[type="text"],
.header-tools input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 .9rem;
  border: 1px solid #d1d5db;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #fff;
  color: #111827;
  font: inherit;
  outline: none;
}

.header-tools input[type="text"]:focus,
.header-tools input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(215, 25, 32, .12);
}

.header-tools button,
.header-tools input[type="submit"] {
  height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.header-tools button:hover,
.header-tools input[type="submit"]:hover {
  background: #b51218;
}

@media (max-width: 768px) {
  .header-tools {
    width: 100%;
  }

  .header-tools form {
    width: 100%;
  }
}

/* Accessibility: visually hidden but available to screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header search layout */
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.header-tools search,
.header-tools .mod-finder,
.header-tools .mod-finder__search {
  display: block;
  margin: 0;
}

.header-tools .mod-finder__search {
  display: flex !important;
  align-items: stretch;
  width: 340px;
}

.header-tools .awesomplete {
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
}

.header-tools .js-finder-search-query {
  box-sizing: border-box;
  width: 100% !important;
  height: 42px;
  padding: 0 0.9rem;
  border: 1px solid #d1d5db;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  font: inherit;
  outline: none;
}

.header-tools .js-finder-search-query:focus {
  border-color: var(--accent);
}

.header-tools .mod-finder__search .btn {
  flex: 0 0 auto;
  height: 42px;
  margin: 0;
  padding: 0 1rem;
  border: 1px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .header-tools,
  .header-tools .mod-finder__search {
    width: 100%;
  }
}


/* Smart Search page */
.component-layout:has(.com-finder),
.component-layout:has(.finder) {
  max-width: 1100px;
}

.com-finder,
.finder {
  width: 100%;
}

/* Main search form */
.com-finder__search,
.finder #search-form {
  margin-bottom: 2rem;
}

.com-finder__search form,
.finder #finder-search {
  margin: 0;
}

.com-finder__search .input-group,
.finder .input-group {
  display: flex;
  width: min(680px, 100%);
}

.com-finder__search input[type="text"],
.finder input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 1rem;
  border: 1px solid #d1d5db;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  font: inherit;
}

.com-finder__search button,
.finder #finder-search button {
  height: 46px;
  padding: 0 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Hide Joomla's verbose search instructions */
.com-finder__search .card,
.finder .searchintro,
.finder .advanced-search-tip {
  display: none;
}

/* Number of results */
.com-finder__results > p,
.finder .search-results > p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

/* Result list */
.com-finder__results-list,
.finder .search-results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.result__item,
.com-finder__results-list > li,
.finder .result-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.result__title,
.finder .result-title {
  margin: 0 0 .45rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.result__title a,
.result__title a:visited,
.finder .result-title a,
.finder .result-title a:visited {
  color: #0b3ea8 !important;
  font-weight: 750;
  text-decoration: none !important;
}

.result__title a:hover,
.finder .result-title a:hover {
  color: var(--accent) !important;
}

/* Hide long raw result URL */
.result__url,
.finder .result-url {
  display: none;
}

.result__description,
.finder .result-text {
  color: #374151;
  line-height: 1.55;
  margin-bottom: .55rem;
}

.result__taxonomy,
.result__date,
.finder .result-taxonomy,
.finder .result-created {
  color: var(--muted);
  font-size: .82rem;
}

.com-finder mark,
.finder mark {
  background: #fff3a3;
  padding: 0 .12rem;
}

/* Search pagination */
.com-finder .pagination,
.finder .pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.finder .com-finder__advanced,
.finder fieldset.com-finder__advanced,
.finder .filter-branch,
.finder .searchintro {
  display: none !important;
}
/* LIVE-CSS-CHECK-2026-07-24a */
