/* ============================================================
   ADNPROG – ANTI NUISIBLE
   Direction : intervention alpine, énergique, premium
   Palette : jaune signal / rouge action / vert sapin / anthracite
   ============================================================ */

:root {
  --an-ink: #17191d;
  --an-ink-soft: #2b3037;
  --an-red: #df1f26;
  --an-red-dark: #b8151b;
  --an-green: #1f6b2f;
  --an-green-dark: #164d22;
  --an-yellow: #e2c400;
  --an-yellow-soft: #fff4b8;
  --an-surface: #fffdf7;
  --an-surface-alt: #f5f7f2;
  --an-muted: #5f6773;
  --an-line: rgba(23, 25, 29, 0.10);
  --an-line-strong: rgba(23, 25, 29, 0.18);
  --an-shadow: 0 20px 45px rgba(18, 22, 27, 0.08);
  --an-shadow-lg: 0 34px 70px rgba(18, 22, 27, 0.13);
  --an-radius: 18px;
  --an-radius-lg: 28px;
  --an-radius-xl: 38px;
  --an-section-space: clamp(4rem, 7vw, 7rem);
  --adn-p1: var(--an-red);
  --adn-p2: var(--an-ink);
  --adn-p3: var(--an-green);
  --adn-p1-rgb: 223, 31, 38;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(226, 196, 0, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 107, 47, 0.08), transparent 30%),
    linear-gradient(180deg, #fffdf6 0%, #f5f4ee 100%);
  color: var(--an-ink-soft);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.bloc-section-title,
.bloc-global-title {
  color: var(--an-ink);
  font-family: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h1,
.hero-title {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

h2,
.bloc-section-title,
.bloc-global-title {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p,
li,
.entry-content p,
.page-content p {
  color: var(--an-muted);
  font-size: 1.04rem;
}

p {
  max-width: 72ch;
}

strong {
  color: var(--an-ink);
}

a {
  color: var(--an-red);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

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

.btn,
button,
input[type="submit"],
.wp-element-button {
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.wp-element-button:hover {
  transform: translateY(-1px);
}

.header-top {
  background: linear-gradient(90deg, #121418 0%, #20242b 100%) !important;
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-top a {
  color: rgba(255,255,255,0.88);
}

.header-top a:hover {
  color: #ffffff;
}

.header-main,
.header-main nav.navbar,
.adn-header .navbar {
  background: rgba(255, 253, 247, 0.92) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(20, 23, 28, 0.06);
}

.navbar-brand img {
  max-height: 82px;
}

.header-main .navbar-nav > li > a,
.header-main .nav-link {
  color: var(--an-ink) !important;
  font-weight: 700;
}

.header-main .navbar-nav > li > a:hover,
.header-main .nav-link:hover {
  color: var(--an-red) !important;
}

.header-main .btn,
.adn-header .btn,
.header-main .wp-element-button {
  background: linear-gradient(135deg, var(--an-red) 0%, #f24132 100%) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 800;
  padding: 0.95rem 1.4rem;
  box-shadow: 0 14px 28px rgba(223, 31, 38, 0.22);
}

.breadcrumb-nav {
  background: transparent;
  padding-top: 1rem;
}

.breadcrumb-nav .breadcrumb,
.breadcrumb-nav a,
.breadcrumb-nav li,
.breadcrumb-nav span {
  color: rgba(23, 25, 29, 0.66);
}

.page-hero-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--an-radius-xl) var(--an-radius-xl);
  min-height: clamp(520px, 72vh, 760px);
  box-shadow: var(--an-shadow-lg);
}

.page-hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(14, 16, 20, 0.82) 0%, rgba(14, 16, 20, 0.54) 42%, rgba(14, 16, 20, 0.22) 100%),
    linear-gradient(180deg, rgba(226, 196, 0, 0.14), transparent 34%);
  pointer-events: none;
}

.page-hero-overlay .container,
.page-hero-overlay .content-wrapper,
.page-hero-overlay .row {
  position: relative;
  z-index: 2;
}

.page-hero-overlay .hero-title,
.page-hero-overlay h1,
.page-hero-overlay h2,
.page-hero-overlay h3,
.page-hero-overlay p,
.page-hero-overlay li {
  color: #fff !important;
}

.page-hero-overlay .hero-title,
.page-hero-overlay h1 {
  max-width: 12ch;
  text-shadow: 0 12px 24px rgba(0,0,0,0.24);
}

.page-hero-overlay p {
  max-width: 62ch;
  color: rgba(255,255,255,0.88) !important;
}

.page-hero-overlay .btn,
.page-hero-overlay a.btn {
  background: linear-gradient(135deg, var(--an-yellow) 0%, #ffdf45 100%) !important;
  color: #14161a !important;
  border: 0 !important;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(226, 196, 0, 0.26);
}

.flexible-content-wrapper {
  position: relative;
}

.flexible-content-wrapper > section {
  position: relative;
  padding-top: var(--an-section-space);
  padding-bottom: var(--an-section-space);
}

.flexible-content-wrapper > section:nth-of-type(odd) {
  background: transparent;
}

.flexible-content-wrapper > section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(247,248,242,0.84));
}

.flexible-content-wrapper > section .container,
.flexible-content-wrapper > section .container-fluid {
  max-width: 1220px;
}

.flexible-content-wrapper > section h2,
.flexible-content-wrapper > section .bloc-section-title,
.flexible-content-wrapper > section .bloc-global-title,
.flexible-content-wrapper > section h3:first-child {
  margin-bottom: 1.1rem;
}

.flexible-content-wrapper > section h2::after,
.flexible-content-wrapper > section .bloc-section-title::after,
.flexible-content-wrapper > section .bloc-global-title::after,
.flexible-content-wrapper > section h3:first-child::after,
.page-hero-overlay .hero-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--an-yellow) 0%, var(--an-red) 58%, var(--an-green) 100%);
}

.acf-block-2col-text-left-img-right .row,
.acf-block-2col-img-left-text-right .row {
  align-items: center;
  row-gap: 2rem;
}

.acf-block-2col-text-left-img-right img,
.acf-block-2col-img-left-text-right img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--an-shadow-lg);
}

.acf-block-2col-text-left-img-right .col,
.acf-block-2col-text-left-img-right [class*="col-"],
.acf-block-2col-img-left-text-right .col,
.acf-block-2col-img-left-text-right [class*="col-"] {
  position: relative;
}

.acf-block-2col-text-left-img-right .btn,
.acf-block-2col-img-left-text-right .btn,
.flexible-content-wrapper .btn-primary,
.flexible-content-wrapper a.btn-primary {
  background: linear-gradient(135deg, var(--an-green) 0%, #2c8741 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(31, 107, 47, 0.18);
}

.flexible-content-wrapper .btn-outline,
.flexible-content-wrapper .btn-outline-dark,
.flexible-content-wrapper .btn-dark {
  border: 1px solid rgba(23, 25, 29, 0.14) !important;
  background: rgba(255,255,255,0.82) !important;
  color: var(--an-ink) !important;
  box-shadow: 0 12px 24px rgba(18, 22, 27, 0.08);
}

.flexible-content-wrapper .btn-outline:hover,
.flexible-content-wrapper .btn-outline-dark:hover,
.flexible-content-wrapper .btn-dark:hover {
  background: #121418 !important;
  border-color: #121418 !important;
  color: #fff !important;
}

.acf-block-infos-3-colonnes .row,
.acf-block-infos-4-colonnes .row {
  row-gap: 1.6rem;
}

.acf-block-infos-3-colonnes .row > *,
.acf-block-infos-4-colonnes .row > * {
  margin-bottom: 0;
}

.acf-block-infos-3-colonnes article,
.acf-block-infos-4-colonnes article,
.acf-block-infos-2-colonnes .card,
.acf-block-infos-3-colonnes .card,
.acf-block-infos-4-colonnes .card,
.flexible-content-wrapper .card {
  height: 100%;
  padding: 1.7rem 1.55rem;
  border: 1px solid var(--an-line);
  border-radius: 22px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--an-shadow);
}

.acf-block-infos-3-colonnes article:nth-child(3n+1),
.acf-block-infos-4-colonnes article:nth-child(4n+1),
.acf-block-infos-3-colonnes .row > *:nth-child(3n+1) article,
.acf-block-infos-4-colonnes .row > *:nth-child(4n+1) article {
  border-top: 4px solid var(--an-red);
}

.acf-block-infos-3-colonnes article:nth-child(3n+2),
.acf-block-infos-4-colonnes article:nth-child(4n+2),
.acf-block-infos-3-colonnes .row > *:nth-child(3n+2) article,
.acf-block-infos-4-colonnes .row > *:nth-child(4n+2) article {
  border-top: 4px solid var(--an-yellow);
}

.acf-block-infos-3-colonnes article:nth-child(3n+3),
.acf-block-infos-4-colonnes article:nth-child(4n+3) article,
.acf-block-infos-3-colonnes .row > *:nth-child(3n+3) article,
.acf-block-infos-4-colonnes .row > *:nth-child(4n+3) article {
  border-top: 4px solid var(--an-green);
}

.acf-block-rich-text .container,
.acf-block-rich-text .container-fluid {
  position: relative;
}

.acf-block-rich-text .container > *,
.acf-block-rich-text .container-fluid > * {
  position: relative;
  z-index: 2;
}

.acf-block-rich-text {
  background: transparent;
}

.acf-block-rich-text .container,
.acf-block-rich-text .container-fluid,
.acf-block-tableau .container,
.acf-block-tableau .container-fluid {
  padding: 2rem 2.2rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(23, 25, 29, 0.07);
  box-shadow: var(--an-shadow);
}

.acf-block-temoignages .container,
.acf-block-temoignages .container-fluid {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.acf-block-temoignages .row {
  justify-content: center;
}

.acf-block-temoignages article {
  max-width: 760px;
}

.acf-block-temoignages article > div {
  background: linear-gradient(135deg, rgba(23,25,29,0.96) 0%, rgba(38,44,52,0.98) 100%) !important;
  border: 0 !important;
  border-radius: 28px !important;
  box-shadow: var(--an-shadow-lg) !important;
  padding: 2rem 2.1rem !important;
}

.acf-block-temoignages,
.acf-block-temoignages * {
  color: #fff !important;
}

.acf-block-temoignages .rounded-circle {
  background: rgba(255,255,255,0.08) !important;
}

.acf-block-temoignages blockquote,
.acf-block-temoignages p {
  color: rgba(255,255,255,0.82) !important;
}

.acf-block-etapes .list-unstyled,
.bloc-etapes .list-unstyled {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 1.9rem;
  align-items: stretch;
}

.acf-block-etapes .list-unstyled > li,
.bloc-etapes .list-unstyled > li {
  margin: 0;
  width: 100% !important;
  max-width: 100% !important;
  flex: initial !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.acf-block-etapes .list-unstyled > li > div,
.bloc-etapes .list-unstyled > li > div {
  position: relative;
  height: 100%;
  min-height: 100%;
  padding: 1.95rem 1.75rem 1.75rem;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(23, 25, 29, 0.08);
  border-radius: 24px;
  box-shadow: var(--an-shadow);
  overflow: hidden;
}

.acf-block-etapes .list-unstyled > li > div::before,
.bloc-etapes .list-unstyled > li > div::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--an-red) 0%, var(--an-yellow) 55%, var(--an-green) 100%);
}

.acf-block-etapes .list-unstyled > li > div > *:first-child,
.bloc-etapes .list-unstyled > li > div > *:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--an-ink) 0%, #323842 100%);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(23, 25, 29, 0.18);
}

.acf-block-etapes h4,
.bloc-etapes h4 {
  color: var(--an-ink);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  line-height: 1.24;
}

.acf-block-etapes p,
.bloc-etapes p,
.acf-block-etapes li,
.bloc-etapes li {
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--an-muted);
  max-width: none;
}

.acf-block-etapes img,
.bloc-etapes img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: #fff8cf;
  padding: 0.5rem;
}

.acf-block-cta-simple,
.bloc-cta-simple {
  background: transparent !important;
}

.acf-block-cta-simple .container,
.bloc-cta-simple .container,
.acf-block-cta-simple .container-fluid,
.bloc-cta-simple .container-fluid {
  position: relative;
  padding: 2.5rem 2.3rem;
  border-radius: 30px;
  background: linear-gradient(135deg, #16191d 0%, #252a31 58%, #1f6b2f 125%) !important;
  overflow: hidden;
  box-shadow: var(--an-shadow-lg);
}

.acf-block-cta-simple .container::before,
.bloc-cta-simple .container::before,
.acf-block-cta-simple .container-fluid::before,
.bloc-cta-simple .container-fluid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(226,196,0,0.24), transparent 26%),
    linear-gradient(90deg, transparent 0%, rgba(223,31,38,0.12) 35%, transparent 35%, transparent 68%, rgba(226,196,0,0.14) 68%, transparent 68%);
  pointer-events: none;
}

.acf-block-cta-simple .container > *,
.bloc-cta-simple .container > *,
.acf-block-cta-simple .container-fluid > *,
.bloc-cta-simple .container-fluid > * {
  position: relative;
  z-index: 2;
}

.acf-block-cta-simple h2,
.bloc-cta-simple h2,
.acf-block-cta-simple p,
.bloc-cta-simple p {
  color: #fff !important;
}

.acf-block-cta-simple p,
.bloc-cta-simple p {
  color: rgba(255,255,255,0.76) !important;
}

.acf-block-cta-simple .btn,
.bloc-cta-simple .btn,
.acf-block-cta-simple a.btn,
.bloc-cta-simple a.btn {
  background: linear-gradient(135deg, var(--an-yellow) 0%, #ffdc40 100%) !important;
  color: #17191d !important;
  border: 0 !important;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(226, 196, 0, 0.24);
}

.acf-block-carte-map,
.bloc-carte-map {
  background: linear-gradient(180deg, rgba(31,107,47,0.05), rgba(255,255,255,0.2));
}

.acf-block-carte-map .container,
.bloc-carte-map .container,
.acf-block-carte-map .container-fluid,
.bloc-carte-map .container-fluid {
  padding-top: 1.7rem;
  padding-bottom: 1.7rem;
  border-radius: 28px;
  border: 1px solid rgba(23,25,29,0.08);
  background: rgba(255,255,255,0.62);
}

.leaflet-container,
.leaflet-pane,
.flexible-content-wrapper iframe {
  border-radius: 24px;
}

.leaflet-container {
  border: 1px solid rgba(23,25,29,0.10);
  box-shadow: var(--an-shadow);
  overflow: hidden;
}

.adn-footer {
  margin-top: 0;
  background: linear-gradient(180deg, #13161a 0%, #1a1f26 100%) !important;
  color: rgba(255,255,255,0.78);
}

.adn-footer,
.adn-footer p,
.adn-footer li,
.adn-footer span {
  color: rgba(255,255,255,0.72) !important;
}

.adn-footer h2,
.adn-footer h3,
.adn-footer h4,
.adn-footer a {
  color: #fff !important;
}

.adn-footer a:hover {
  color: #ffe36a !important;
}

.adn-footer .footer-main,
.adn-footer .footer-bottom {
  border-color: rgba(255,255,255,0.08) !important;
}

.adn-footer .navbar-brand img,
.adn-footer img {
  max-height: 86px;
}

.cookieadmin_law_container,
#cookieadmin,
.cookieadmin-box {
  border-radius: 18px !important;
  border: 1px solid rgba(23,25,29,0.09) !important;
  box-shadow: 0 18px 40px rgba(20, 22, 26, 0.16) !important;
}

#section5 .container,
#section13 .container {
  max-width: 72rem !important;
}

#section5 p {
  column-count: 2;
  column-gap: 2.6rem;
  max-width: none;
}

#section5 br {
  content: "";
  display: block;
  margin-bottom: 0.8rem;
}

#section5 .mb-3,
#section13 .mb-3 {
  margin-bottom: 0 !important;
}

#section13 p {
  max-width: none;
}

#section13 a {
  font-weight: 700;
}

.acf-block-tableau:has(.container:empty) {
  display: none !important;
}

.adn-footer .footer-logo {
  margin-bottom: 0.5rem !important;
}

.adn-footer .footer-description {
  display: none;
}

.adn-footer .footer-main {
  padding-top: 3.2rem;
  padding-bottom: 2rem;
}

@media (max-width: 991px) {
  .navbar-brand img {
    max-height: 72px;
  }

  .page-hero-overlay {
    border-radius: 0 0 28px 28px;
    min-height: auto;
  }

  .flexible-content-wrapper > section .container,
  .flexible-content-wrapper > section .container-fluid,
  .acf-block-rich-text .container,
  .acf-block-rich-text .container-fluid,
  .acf-block-tableau .container,
  .acf-block-tableau .container-fluid,
  .acf-block-cta-simple .container,
  .acf-block-cta-simple .container-fluid,
  .acf-block-carte-map .container,
  .acf-block-carte-map .container-fluid,
  .acf-block-temoignages .container,
  .acf-block-temoignages .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .acf-block-etapes .list-unstyled,
  .bloc-etapes .list-unstyled {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1.35rem;
  }
}

@media (max-width: 767px) {
  body {
    background: linear-gradient(180deg, #fffdf6 0%, #f7f3e8 100%);
  }

  .page-hero-overlay .hero-title::after,
  .flexible-content-wrapper > section h2::after,
  .flexible-content-wrapper > section .bloc-section-title::after,
  .flexible-content-wrapper > section .bloc-global-title::after,
  .flexible-content-wrapper > section h3:first-child::after {
    width: 68px;
  }

  .acf-block-rich-text .container,
  .acf-block-rich-text .container-fluid,
  .acf-block-tableau .container,
  .acf-block-tableau .container-fluid,
  .acf-block-cta-simple .container,
  .acf-block-cta-simple .container-fluid,
  .acf-block-temoignages .container,
  .acf-block-temoignages .container-fluid {
    padding: 1.65rem 1.2rem;
    border-radius: 22px;
  }

  #section5 p {
    column-count: 1;
  }

  .acf-block-etapes .list-unstyled,
  .bloc-etapes .list-unstyled {
    grid-template-columns: 1fr;
  }

  .acf-block-etapes .list-unstyled > li > div,
  .bloc-etapes .list-unstyled > li > div {
    padding: 1.7rem 1.3rem 1.35rem;
  }

  .flexible-content-wrapper .btn,
  .flexible-content-wrapper a.btn,
  .header-main .btn,
  .adn-header .btn {
    width: 100%;
    justify-content: center;
  }
}
/* Savoie model override based on nuisible */
html body.wp-theme-adnprog,
body.wp-theme-adnprog.home.blog {
  background:
    radial-gradient(circle at top left, rgba(226, 196, 0, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 107, 47, 0.08), transparent 30%),
    linear-gradient(180deg, #fffdf6 0%, #f5f4ee 100%) !important;
  color: #2b3037 !important;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif !important;
}

body.wp-theme-adnprog h1,
body.wp-theme-adnprog h2,
body.wp-theme-adnprog h3,
body.wp-theme-adnprog h4,
body.wp-theme-adnprog h5,
body.wp-theme-adnprog h6 {
  color: #17191d !important;
  font-family: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
}

body.wp-theme-adnprog p,
body.wp-theme-adnprog li {
  color: #5f6773 !important;
}

body.wp-theme-adnprog a {
  color: #df1f26;
}

body.wp-theme-adnprog .adn-header .header-main,
body.wp-theme-adnprog .adn-header .header-main > .py-2,
body.wp-theme-adnprog .adn-header nav.navbar,
body.wp-theme-adnprog .adn-header .navbar {
  background: rgba(255, 253, 247, 0.92) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(20, 23, 28, 0.06) !important;
}

body.wp-theme-adnprog .adn-header .navbar-nav > li > a,
body.wp-theme-adnprog .adn-header .nav-link {
  color: #17191d !important;
  font-weight: 700 !important;
}

body.wp-theme-adnprog .adn-header .navbar-nav > li > a:hover,
body.wp-theme-adnprog .adn-header .nav-link:hover {
  color: #df1f26 !important;
}

body.wp-theme-adnprog .adn-header .btn,
body.wp-theme-adnprog .adn-header .adn-cta-primary,
body.wp-theme-adnprog a.btn.adn-cta-primary {
  background: linear-gradient(135deg, #df1f26 0%, #f24132 100%) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 28px rgba(223, 31, 38, 0.22) !important;
}

body.wp-theme-adnprog .home-news-layout {
  padding-top: 2.2rem;
  padding-bottom: 3rem;
}

body.wp-theme-adnprog .articles-grid-2-section .container {
  max-width: 1220px;
}

body.wp-theme-adnprog .articles-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 1.8rem !important;
}

body.wp-theme-adnprog article.article-card {
  margin: 0 !important;
  padding: 1.8rem 1.7rem !important;
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(23,25,29,0.08) !important;
  border-top: 4px solid #df1f26 !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 45px rgba(18, 22, 27, 0.08) !important;
}

body.wp-theme-adnprog .articles-grid-2 article.article-card:nth-child(even) {
  border-top-color: #1f6b2f !important;
}

body.wp-theme-adnprog article.article-card h2,
body.wp-theme-adnprog article.article-card h3,
body.wp-theme-adnprog article.article-card h4 {
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  line-height: 1.18 !important;
  margin-bottom: 0.8rem !important;
}

body.wp-theme-adnprog article.article-card a {
  color: #17191d !important;
  text-decoration: none !important;
}

body.wp-theme-adnprog article.article-card a:hover {
  color: #df1f26 !important;
}

body.wp-theme-adnprog article.article-card p {
  font-size: 1.02rem !important;
  line-height: 1.72 !important;
}

footer.adn-footer,
body.wp-theme-adnprog footer.adn-footer {
  background: linear-gradient(180deg, #13161a 0%, #1a1f26 100%) !important;
  color: rgba(255,255,255,0.78) !important;
  border-top-color: rgba(255,255,255,0.08) !important;
}

body.wp-theme-adnprog footer.adn-footer .footer-main,
body.wp-theme-adnprog footer.adn-footer .footer-bottom {
  background: transparent !important;
  border-color: rgba(255,255,255,0.08) !important;
}

body.wp-theme-adnprog footer.adn-footer,
body.wp-theme-adnprog footer.adn-footer p,
body.wp-theme-adnprog footer.adn-footer li,
body.wp-theme-adnprog footer.adn-footer span {
  color: rgba(255,255,255,0.74) !important;
}

body.wp-theme-adnprog footer.adn-footer h2,
body.wp-theme-adnprog footer.adn-footer h3,
body.wp-theme-adnprog footer.adn-footer h4,
body.wp-theme-adnprog footer.adn-footer a,
body.wp-theme-adnprog footer.adn-footer strong {
  color: #fff !important;
}

body.wp-theme-adnprog footer.adn-footer a:hover {
  color: #ffe36a !important;
}

@media (max-width: 991px) {
  body.wp-theme-adnprog .articles-grid-2 {
    grid-template-columns: 1fr !important;
  }
}
