/* San Rafael Digital — portal skin (mockup) */
:root {
  --srd-blue: #1e9fe8;
  --srd-blue-dark: #0d8ad1;
  --srd-navy: #001e3f;
  --srd-navy-mid: #002851;
  --srd-text: #1a1a1a;
  --srd-muted: #6b7280;
  --srd-border: #e5e7eb;
  --srd-bg: #ffffff;
  --srd-bg-soft: #f5f7fa;
  --srd-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body.srd-portal {
  font-family: var(--srd-font);
  color: var(--srd-text);
  background: var(--srd-bg);
  padding-top: 0 !important;
}

body.srd-portal #wrapper {
  padding-top: 0;
}

body.srd-portal h1,
body.srd-portal h2,
body.srd-portal h3,
body.srd-portal h4,
body.srd-portal h5,
body.srd-portal h6,
body.srd-portal p,
body.srd-portal .nav-link {
  font-family: var(--srd-font);
}

body.srd-portal .srd-featured a:hover,
body.srd-portal .srd-featured-card:hover h4,
body.srd-portal .srd-news-item:hover h3,
body.srd-portal h3:hover,
body.srd-portal h4:hover {
  text-decoration: none !important;
}

/* ---------- Top bar ---------- */
.srd-topbar {
  background: var(--srd-navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  text-align: left;
}

.srd-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.srd-topbar-meta {
  margin: 0 !important;
  margin-right: auto !important;
  flex: 1 1 auto;
  min-width: 0;
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 500;
  text-align: left !important;
  line-height: 1.4;
  float: none !important;
  width: auto !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.srd-topbar-social {
  flex: 0 0 auto;
  margin-left: 16px;
  white-space: nowrap;
}

.srd-topbar-social a {
  color: #ffffff;
  margin-left: 14px;
  font-size: 14px;
  opacity: 1;
}

.srd-topbar-social a:first-child {
  margin-left: 0;
}

.srd-topbar-social a:hover {
  color: var(--srd-blue);
}

/* ---------- Brand header ---------- */
.srd-brandbar {
  background: #fff;
  border-bottom: 1px solid var(--srd-border);
  padding: 14px 0;
}

.srd-brandbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.srd-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

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

.srd-nav-toggler {
  display: none;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--srd-border);
  border-radius: 4px;
  margin: 0;
  padding: 6px 10px;
  background: transparent;
  cursor: pointer;
}

.srd-nav-toggler .navbar-toggler-icon,
.srd-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%230b1a2b' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ---------- Main nav ---------- */
.srd-nav {
  background: #fff;
  border-bottom: 1px solid var(--srd-border);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.srd-nav .navbar {
  padding: 0;
  background: transparent !important;
}

.srd-nav .navbar-nav {
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.srd-nav .nav-link {
  color: var(--srd-navy) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 16px !important;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.srd-nav .nav-link:hover,
.srd-nav .nav-item.active .nav-link {
  color: var(--srd-blue) !important;
  border-bottom-color: var(--srd-blue);
}

/* Override old tech-header fixed navbar */
body.srd-portal .tech-header,
body.srd-portal header.header {
  position: static !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.srd-portal .navbar.fixed-top,
body.srd-portal .navbar-inverse,
body.srd-portal .bg-inverse {
  position: static !important;
  background: transparent !important;
}

/* ---------- Sections ---------- */
.srd-section {
  padding: 28px 0 10px;
}

.srd-section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--srd-navy);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--srd-blue);
  display: inline-block;
}

.srd-tag {
  display: inline-block;
  background: var(--srd-blue);
  color: #fff !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  line-height: 1.4;
  text-decoration: none !important;
}

.srd-tag:hover {
  background: var(--srd-blue-dark);
  color: #fff !important;
}

/* ---------- Featured grid ---------- */
.srd-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}

.srd-featured-main {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 360px;
  background: #111;
  text-decoration: none !important;
  color: #fff !important;
}

.srd-featured-main img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.srd-featured-main:hover img {
  transform: scale(1.04);
}

.srd-featured-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.srd-featured-main .srd-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.srd-featured-main .srd-featured-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 22px;
}

.srd-featured-main .srd-featured-caption h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.srd-featured-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.srd-featured-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  background: #fff;
}

.srd-featured-card .srd-thumb {
  position: relative;
  overflow: hidden;
  height: 150px;
  background: #ddd;
}

.srd-featured-card .srd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.srd-featured-card:hover .srd-thumb img {
  transform: scale(1.04);
}

.srd-featured-card .srd-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.srd-featured-card h4 {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--srd-text);
}

.srd-featured-card:hover h4 {
  color: var(--srd-blue);
}

/* ---------- News list ---------- */
.srd-news-list {
  margin-top: 8px;
}

.srd-news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--srd-border);
  text-decoration: none !important;
  color: inherit;
}

.srd-news-item:first-child {
  padding-top: 0;
}

.srd-news-item .srd-news-thumb {
  overflow: hidden;
  height: 140px;
  background: #e5e7eb;
}

.srd-news-item .srd-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.srd-news-item:hover .srd-news-thumb img {
  transform: scale(1.04);
}

.srd-news-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--srd-text);
}

.srd-news-item:hover .srd-news-body h3 {
  color: var(--srd-blue);
}

.srd-news-body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--srd-muted);
}

.srd-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 12px;
  color: var(--srd-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Sidebar ---------- */
.srd-sidebar .srd-widget {
  margin-bottom: 28px;
}

.srd-widget-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--srd-navy);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--srd-blue);
  display: inline-block;
}

.srd-weather {
  --srd-weather-accent: var(--srd-blue);
  --srd-weather-accent-dark: var(--srd-navy);
  background: #fff;
  border: 1px solid var(--srd-border);
  color: var(--srd-text);
  padding: 0;
  overflow: hidden;
  line-height: 1.3;
}

.srd-weather a {
  display: block;
  line-height: 0;
}

.srd-weather img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  vertical-align: top;
}

.srd-weather-head {
  background: var(--srd-weather-accent-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  line-height: 1.3;
}

.srd-weather-body {
  background: #fff;
}

.srd-weather-now {
  padding: 18px 16px 14px;
}

.srd-weather-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.srd-weather-temp {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--srd-weather-accent);
  line-height: 1;
}

.srd-weather-now-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 4px;
}

.srd-weather-now-side .fa {
  font-size: 22px;
  line-height: 1;
  color: var(--srd-weather-accent);
}

.srd-weather-desc {
  font-size: 12px;
  font-weight: 400;
  color: #8a8f98;
  line-height: 1.3;
}

.srd-weather-forecast {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--srd-border);
  padding: 12px 8px 14px;
  background: #fff;
}

.srd-weather-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.srd-weather-day-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}

.srd-weather-day .fa {
  font-size: 16px;
  color: var(--srd-weather-accent);
}

.srd-weather-day-temp {
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.srd-weather-day-temp strong {
  font-weight: 700;
  color: #1a1a1a;
  font-style: normal;
}

.srd-weather-day-temp em {
  font-style: normal;
  font-weight: 400;
  color: #8a8f98;
  margin-left: 3px;
}

.srd-most-read {
  list-style: none;
  margin: 0;
  padding: 0;
}

.srd-most-read li {
  display: grid;
  grid-template-columns: 32px 56px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--srd-border);
}

.srd-most-read li:last-child {
  border-bottom: 0;
}

.srd-most-read .srd-rank {
  font-size: 18px;
  font-weight: 700;
  color: var(--srd-blue);
  line-height: 1;
}

.srd-most-read .srd-most-thumb {
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: #e5e7eb;
}

.srd-most-read .srd-most-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.srd-most-read a {
  color: var(--srd-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none !important;
}

.srd-most-read a:hover {
  color: var(--srd-blue);
}

.srd-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.srd-cat-list li {
  border-bottom: 1px solid var(--srd-border);
}

.srd-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: var(--srd-text);
  font-size: 14px;
  text-decoration: none !important;
}

.srd-cat-list a:hover {
  color: var(--srd-blue);
}

.srd-cat-list .fa {
  font-size: 12px;
  color: var(--srd-muted);
}

.srd-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.srd-recent-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--srd-border);
}

.srd-recent-list li:last-child {
  border-bottom: 0;
}

.srd-recent-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: start;
  text-decoration: none !important;
  color: inherit;
}

.srd-recent-thumb {
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: #e5e7eb;
}

.srd-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.srd-recent-title {
  display: block;
  color: var(--srd-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.srd-recent-item:hover .srd-recent-title {
  color: var(--srd-blue);
}

.srd-recent-date {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--srd-muted);
}

.srd-follow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.srd-follow-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 18px 10px;
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(0, 30, 63, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.srd-follow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.srd-follow-icon i {
  font-size: 18px;
  line-height: 1;
  color: #fff;
}

.srd-follow-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
}

.srd-follow-fb {
  background: linear-gradient(160deg, #4a6fb5 0%, #3b5998 55%, #2f477a 100%);
}

.srd-follow-radio {
  background: linear-gradient(160deg, #3bb0f0 0%, var(--srd-blue) 55%, var(--srd-blue-dark) 100%);
}

.srd-follow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 30, 63, 0.2);
  filter: brightness(1.04);
  color: #fff !important;
}

.srd-follow-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 30, 63, 0.16);
}

/* ---------- Related news carousel ---------- */
.srd-related {
  margin-top: 2rem;
  padding: 22px 20px 16px;
  border: 1px dashed var(--srd-border);
}

.srd-related-title {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--srd-text);
  background: #f0f1f3;
}

.srd-related-item {
  padding-bottom: 4px;
}

.srd-related-media {
  display: block;
  overflow: hidden;
  margin-bottom: 12px;
  background: #e5e7eb;
}

.srd-related-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.srd-related-item:hover .srd-related-media img {
  transform: scale(1.04);
}

.srd-related-heading {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.srd-related-heading a {
  color: var(--srd-text);
  text-decoration: none !important;
}

.srd-related-heading a:hover {
  color: var(--srd-blue);
}

.srd-related-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--srd-muted);
}

.srd-related-meta a {
  color: var(--srd-muted);
  text-decoration: none !important;
}

.srd-related-meta a:hover {
  color: var(--srd-blue);
}

.srd-related-meta span {
  margin: 0 4px;
}

.srd-related-carousel .owl-nav {
  margin-top: 8px;
}

.srd-related-carousel .owl-nav [class*="owl-"] {
  background: var(--srd-navy);
  color: #fff;
  width: 32px;
  height: 32px;
  line-height: 28px;
  margin: 0 4px;
  border-radius: 2px;
  font-size: 18px;
}

.srd-related-carousel .owl-nav [class*="owl-"]:hover {
  background: var(--srd-blue);
}

.srd-related-carousel .owl-dots .owl-dot.active span,
.srd-related-carousel .owl-dots .owl-dot:hover span {
  background: var(--srd-blue);
}

/* ---------- Footer ---------- */
.srd-footer {
  background: #001e3f;
  color: rgba(255, 255, 255, 0.9);
  padding: 50px 0 0;
  margin-top: 40px;
}

.srd-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none !important;
}

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

.srd-footer-logo img {
  max-height: 52px;
  width: auto;
  margin-bottom: 14px;
}

.srd-footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.srd-footer-social a {
  display: inline-block;
  margin-right: 14px;
  border: 0;
  width: auto;
  height: auto;
  color: #fff;
  font-size: 16px;
  background: transparent;
}

.srd-footer-social a:hover {
  background: transparent;
  border: 0;
  color: var(--srd-blue);
}

.srd-footer h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}

.srd-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.srd-footer-links li {
  margin: 0;
  padding: 0;
}

.srd-footer-links a {
  display: block;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

.srd-footer-links li:last-child a {
  border-bottom: 0;
}

.srd-footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.srd-footer-bottom {
  margin-top: 36px;
  padding: 20px 0 24px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.7;
}

.srd-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--srd-font);
}

.srd-footer-copy {
  margin-bottom: 4px !important;
}

.srd-footer-contact {
  font-size: 12px;
  opacity: 0.9;
}

/* Hide old theme scroll-top chrome clash */
body.srd-portal .dmtop {
  background: var(--srd-blue) !important;
}

/* ---------- Single / contact page breathing room ---------- */
body.srd-portal .section.single-wrapper,
body.srd-portal .section {
  padding-top: 28px;
}

body.srd-portal .color-orange a,
body.srd-portal span.color-orange a {
  color: var(--srd-blue) !important;
}

/* ---------- Single post header ---------- */
body.srd-portal .srd-post-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

body.srd-portal .srd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 13px;
  color: var(--srd-muted);
}

body.srd-portal .srd-breadcrumb li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--srd-muted);
}

body.srd-portal .srd-breadcrumb a {
  color: var(--srd-muted);
  text-decoration: none;
}

body.srd-portal .srd-breadcrumb a:hover {
  color: var(--srd-blue);
}

body.srd-portal .srd-breadcrumb li[aria-current="page"] {
  color: var(--srd-muted);
}

body.srd-portal .srd-post-tag {
  margin: 0 0 16px;
  background: #1a5c2e;
}

body.srd-portal .srd-post-tag:hover {
  background: #144722;
}

body.srd-portal .srd-post-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--srd-text);
  margin: 0 0 12px;
}

body.srd-portal .srd-post-meta {
  font-size: 14px;
  color: var(--srd-muted);
  margin: 0 0 20px;
}

body.srd-portal .srd-post-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

body.srd-portal .srd-post-share--bottom {
  margin-top: 2rem;
  margin-bottom: 0;
}

body.srd-portal .srd-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

body.srd-portal .srd-share-btn:hover {
  opacity: 0.9;
  color: #fff !important;
}

body.srd-portal .srd-share-btn i {
  font-size: 16px;
}

body.srd-portal .srd-share-fb {
  background: #3b5998;
}

body.srd-portal .srd-share-wa {
  background: #25d366;
}

body.srd-portal .single-post-media {
  margin-bottom: 2rem;
}

body.srd-portal .single-post-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

body.srd-portal .copete-text {
  font-size: 18px;
  font-weight: 400;
  color: #666;
  font-style: italic;
  border-left: 4px solid var(--srd-blue);
  padding-left: 20px;
  margin: 20px 0;
}

body.srd-portal .contenido,
body.srd-portal .blog-content,
body.srd-portal .pp {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body.srd-portal .contenido img,
body.srd-portal .blog-content img,
body.srd-portal .pp img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block;
}

@media (max-width: 590px) {
  body.srd-portal .srd-post-header {
    text-align: left;
  }

  body.srd-portal .srd-post-title {
    font-size: 26px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .srd-nav-toggler {
    display: inline-block;
  }

  .srd-nav {
    border-bottom: none;
  }

  .srd-nav .navbar-collapse {
    border-bottom: 1px solid var(--srd-border);
  }

  .srd-nav .navbar-collapse:not(.show):not(.collapsing) {
    border-bottom: none;
  }

  .srd-featured {
    grid-template-columns: 1fr;
  }

  .srd-featured-main,
  .srd-featured-main img {
    min-height: 280px;
  }

  .srd-featured-main .srd-featured-caption h3 {
    font-size: 20px;
  }

  .srd-featured-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .srd-nav .navbar-nav {
    flex-direction: column;
    width: 100%;
    padding-bottom: 8px;
  }

  .srd-nav .nav-link {
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--srd-border);
  }

  .srd-nav .nav-item.active .nav-link {
    border-bottom-color: var(--srd-border);
    color: var(--srd-blue) !important;
  }
}

@media (max-width: 767px) {
  .srd-topbar .container {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    text-align: left;
  }

  .srd-topbar-meta {
    font-size: 11px;
  }

  .srd-topbar-social {
    margin-left: 8px;
  }

  .srd-topbar-social a {
    margin: 0 0 0 12px;
  }

  .srd-topbar-social a:first-child {
    margin-left: 0;
  }

  .srd-logo img {
    max-height: 40px;
  }

  .srd-featured-side {
    grid-template-columns: 1fr;
  }

  .srd-news-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .srd-news-item .srd-news-thumb {
    height: 180px;
  }

  .srd-footer .srd-footer-col {
    margin-bottom: 28px;
  }
}
