/* ACCK site-wide additions to the theme (all pages). Dashboard styles live in dashboard.css. */

/* ACCK palette (logo 2, approved Nov 2026): blue #29ABE2, red #FF1E02, yellow #FFC84D, dark grey #4D4D4D,
   black #000000, white #FFFFFF, navy #10223F. Every other colour below is derived from these (mixes with white or
   black), documented next to it. The theme's own variables are redefined here (main.css stays untouched).
   Light mode: navy only for headings and for text on the light blue fills; dark backgrounds are a deep blue
   (--acck-band #095E86). Dark mode: greys, no navy (the --acck-navy* tokens hold greys there, see below).
   Contrast rules: #29ABE2 is 2.6:1 on white, so it never carries text on white: it fills tabs, pills and active
   states with --acck-on-accent text (navy 6.1:1, dark grey #2B2B2B 5.4:1 in dark mode). Buttons are --acck-button
   #0B76A8 with white text (5.0:1), darker #095E86 on hover (7.1:1). Links and small blue text use
   --acck-blue-strong (#0B76A8 on white 5.0:1; #7FCDEE in dark mode: 8.0:1 on the page, 4.8:1 on cards).
   Red #FF1E02 (3.9:1) only for large text, icons, marks and borders; small red text uses --acck-red-dark.
   Yellow (1.5:1 on white) never carries text on white: on the deep blue (4.6:1), dark grey, or behind dark text.
   The theme writes its "500" steps both as text and as fills: they are the text-safe blue of each mode. */
:root {
  --acck-blue: #29ABE2; --acck-blue-strong: #0B76A8;  /* the only added colour: links, small blue text on white */
  --acck-blue-light: #EAF7FC;  /* 10 % blue on white: tinted backgrounds */
  --acck-blue-hover: #2596CA;  /* 85 % blue + navy: hover of the light blue fills (navy text on it 4.7:1) */
  --acck-button: #0B76A8; --acck-button-hover: #095E86;  /* buttons, white text, the same in both modes */
  --acck-band: #095E86;        /* blue-strong + 20 % black: dark sections, top bar (white 7.1:1, yellow 4.6:1) */
  --acck-band-deep: #074D6D;   /* blue-strong + 35 % black: its darker end (white 9.2:1, yellow 5.9:1) */
  --acck-red: #FF1E02;
  --acck-red-dark: #CC1802;    /* red + 20 % black: 5.7:1 on white, white text on it 5.7:1 */
  --acck-red-light: #FFE8E6;   /* 10 % red on white (red-dark text on it 4.9:1) */
  --acck-yellow: #FFC84D;
  --acck-yellow-dark: #6B5420; /* yellow + 58 % black: 7.2:1 on white */
  --acck-yellow-light: #FFF4DB;  /* 20 % yellow on white */
  --acck-grey: #4D4D4D; --acck-black: #000;
  --acck-navy: #10223F;          /* headings; dark mode: the page grey #2B2B2B */
  --acck-navy-deep: #0A1629;     /* navy + 35 % black; dark mode: #1F1F1F */
  --acck-navy-raised: #1C2D49;   /* navy + 5 % white; dark mode: the palette grey #4D4D4D (cards) */
  --acck-ink: var(--acck-navy);  /* text on yellow and light accents, focus ring */
  --acck-success: var(--acck-blue-strong);  /* no green in the palette: success is blue */
  /* former red / yellow families, folded into the palette */
  --acck-crimson: var(--acck-red-dark); --acck-vermilion: var(--acck-red); --acck-coral: var(--acck-red);
  --acck-rose: var(--acck-red-light); --acck-ochre: var(--acck-yellow-dark); --acck-amber: var(--acck-yellow);
  --acck-butter: var(--acck-yellow-light);
  --acck-flag: linear-gradient(100deg, var(--acck-blue) 0 44%, var(--acck-yellow) 44% 46%, var(--acck-red) 46% 54%,
      var(--acck-yellow) 54% 56%, var(--acck-blue) 56%);  /* the stripe above the header and footer */
  /* surfaces of our own blocks and the text written on a light blue fill (dark values below) */
  --acck-surface: #fff; --acck-surface-2: #F5F6F7;  /* 4 % navy on white */
  --acck-track: #E7E9EC; --acck-border: #E7E9EC;    /* 10 % navy on white */
  --acck-on-accent: var(--acck-navy);
  --tg-heading-color-dark: #fff; --tg-body-color-dark: rgba(255, 255, 255, .75);  /* dark mode text: white, 75 % */
  /* the theme's dark mode (moon button) reads these: grey backgrounds, light blue accents.
     Greys: #1F1F1F / #2B2B2B = #4D4D4D + 60 / 44 % black; #959595 / #CACACA = 50 / 75 % white on #2B2B2B.
     Blues: #2B3D45 / #2B4753 / #2A7899 = 14 / 22 / 60 % blue on #2B2B2B; #7FCDEE / #A9DDF3 / #D4EEF9 / #EAF7FC = 60 / 40 /
     20 / 10 % blue on white. */
  --tg-bg-dark-1: #1F1F1F; --tg-bg-dark-2: #2B2B2B;
  --tg-theme-dark-primary-50: #1F1F1F;  --tg-theme-dark-primary-80: #959595;  --tg-theme-dark-primary-100: #2B2B2B;
  --tg-theme-dark-primary-200: #4D4D4D; --tg-theme-dark-primary-300: #2B4753; --tg-theme-dark-primary-400: #7FCDEE;
  --tg-theme-dark-primary-500: #7FCDEE; --tg-theme-dark-primary-600: #1F1F1F; --tg-theme-dark-primary-700: #A9DDF3;
  --tg-theme-dark-primary-800: #D4EEF9; --tg-theme-dark-primary-900: #EAF7FC;
  --tg-theme-dark-secondary-50: #1F1F1F;  --tg-theme-dark-secondary-100: #2B3D45; --tg-theme-dark-secondary-200: #4D4D4D;
  --tg-theme-dark-secondary-300: #2A7899; --tg-theme-dark-secondary-400: #29ABE2; --tg-theme-dark-secondary-500: #7FCDEE;
  --tg-theme-dark-secondary-600: #A9DDF3; --tg-theme-dark-secondary-700: #A9DDF3; --tg-theme-dark-secondary-800: #D4EEF9;
  --tg-theme-dark-secondary-900: #EAF7FC;
  --tg-color-dark-white-default: #4D4D4D;  /* the theme's cards */
  --tg-color-dark-gray-1: #959595; --tg-color-dark-gray-2: #CACACA; --tg-color-dark-gray-4: #959595;
  --tg-color-dark-dark: #2B2B2B; --tg-color-dark-black-1: #1F1F1F; --tg-color-dark-black-2: #2B2B2B;
  --tg-color-dark-yellow-light: #4D4D4D; --tg-color-dark-yellow-light-2: #1F1F1F;  /* the theme's browns, in grey */
}
/* light colours; with the moon button the theme's dark block uses the dark scales above.
   Mixes: blue on white #EAF7FC 10 %, #D4EEF9 20 %, #A9DDF3 40 %, #7FCDEE 60 %; #0A6A97 = blue-strong + 10 % black;
   navy on white #EEF0F2 7 %, #E7E9EC 10 %, #DBDEE2 15 %, #CFD3D9 20 %, #9FA7B2 40 %, #7C8595 55 %;
   yellow on white #FFFAED 10 %, #FFF4DB 20 %, #FFE9B8 40 %, #FFDE94 60 %. */
:root:not([data-bs-theme=dark]) {
  --tg-body-color: #4D4D4D;
  --tg-heading-color: #10223F;
  --tg-theme-primary-50: #EAF7FC;  --tg-theme-primary-80: #D4EEF9;  --tg-theme-primary-100: #A9DDF3;
  --tg-theme-primary-200: #7FCDEE; --tg-theme-primary-300: #29ABE2; --tg-theme-primary-400: #0B76A8;
  --tg-theme-primary-500: #0B76A8; --tg-theme-primary-600: #095E86; --tg-theme-primary-700: #095E86;
  --tg-theme-primary-800: #074D6D; --tg-theme-primary-900: #074D6D;
  --tg-theme-secondary-50: #EAF7FC;  --tg-theme-secondary-100: #D4EEF9; --tg-theme-secondary-200: #A9DDF3;
  --tg-theme-secondary-300: #7FCDEE; --tg-theme-secondary-400: #29ABE2; --tg-theme-secondary-500: #0B76A8;
  --tg-theme-secondary-600: #0A6A97; --tg-theme-secondary-700: #095E86; --tg-theme-secondary-800: #074D6D;
  --tg-theme-secondary-900: #074D6D;
  --tg-color-dark-blue: #095E86;
  --tg-color-yellow-light: #FFF4DB; --tg-color-yellow-light-2: #FFFAED; --tg-color-yellow-light-3: #FFE9B8;
  --tg-color-yellow-light-4: #FFDE94;
  --tg-color-gray-2: #CFD3D9; --tg-color-gray-4: #7C8595; --tg-color-gray-5: #E7E9EC;
  --tg-color-dark: #095E86; --tg-color-black-1: #074D6D; --tg-color-black-2: #095E86;
  --tg-border-2: #E7E9EC; --tg-border-3: #CFD3D9; --tg-border-5: #9FA7B2; --tg-border-6: #DBDEE2;
  --tg-border-7: #EEF0F2; --tg-border-8: #29ABE2;
}
/* dark mode: grey page #2B2B2B (header too), cards on the palette grey #4D4D4D, dark sections and wells on #1F1F1F.
   Text: white headings, body white 75 %, links #7FCDEE. Borders #5A5A5A = 22 % white on #2B2B2B. */
[data-bs-theme=dark] {
  --acck-navy: #2B2B2B; --acck-navy-deep: #1F1F1F; --acck-navy-raised: #4D4D4D;
  --acck-band: #1F1F1F; --acck-band-deep: #1F1F1F;
  --acck-surface: #4D4D4D; --acck-surface-2: #1F1F1F;
  --acck-track: #5A5A5A; --acck-border: #5A5A5A;
  --acck-blue-strong: #7FCDEE; --acck-blue-light: #2B3D45; --acck-blue-hover: #7FCDEE;
  --acck-red-light: #4D2924; --acck-red-dark: #FFB0A6;  /* 16 % red on #2B2B2B; 35 % red on white (4.8:1 on cards) */
  --acck-yellow-light: #494130; --acck-yellow-dark: var(--acck-yellow);  /* 14 % yellow on #2B2B2B */
}
/* Dark mode: text the theme leaves in a fixed dark colour, inputs, links */
[data-bs-theme=dark] ::placeholder { color: #CACACA !important; }
[data-bs-theme=dark] .breadcrumb-item a, [data-bs-theme=dark] .breadcrumb-item::before { color: #CACACA; }
[data-bs-theme=dark] .breadcrumb-item.active, [data-bs-theme=dark] .tgmenu__navbar-wrap > ul > li.active > a,
[data-bs-theme=dark] .tgmenu__navbar-wrap > ul > li:hover > a { color: var(--tg-theme-secondary-500); }
[data-bs-theme=dark] .footer-social .list-wrap li a:not(:hover) { background: var(--acck-surface); }
[data-bs-theme=dark] .tgmobile__menu .navigation li.menu-item-has-children .dropdown-btn .plus-line, [data-bs-theme=dark] .tgmobile__menu .navigation li.menu-item-has-children .dropdown-btn .plus-line::after { background-color: var(--tg-heading-color); }
/* Logo (SVG, symbol + ACCK): the theme caps it at 34px high, too small for the symbol; dark mode swaps in the light version */
:is(.tgmenu__nav .logo, .tgmobile__menu .nav-logo, .offCanvas__logo, .fw-logo) img { height: 48px; max-height: none; width: auto; }
[data-bs-theme=dark] :is(.logo, .nav-logo, .fw-logo, .offCanvas__logo) img { content: url("../img/logo/acck-entete-sombre.svg"); }
.tg-header__top .language-switch button:not(.active) { color: #fff; }
/* Flag accents: yellow on the deep blue sections, red for small marks, a flag stripe above the header and footer */
.section-title.white-title .sub-title, .choose-list .list-wrap li .icon,
[data-bs-theme=dark] .section-title .sub-title { color: var(--acck-yellow); }
.consulting-content .content-left .title, .consulting-content .content-left span { color: var(--acck-ink); }
.card-flag { background: var(--acck-red-dark) !important; color: #fff !important; }  /* white on red #FF1E02 is 3.9:1 */
[data-bs-theme=dark] .card-flag { color: var(--acck-navy) !important; }  /* #2B2B2B on #FFB0A6 8.1:1 */
.tg-header__top, .footer-area { border-top: 4px solid; border-image: var(--acck-flag) 1; }
/* under every page title: public pages (breadcrumb banner) and the dashboard header */
.breadcrumb__area { border-bottom: 4px solid; border-image: var(--acck-flag) 1; }
/* a short red mark before the section sub-titles (those on dark blue sections are yellow, without it) */
.section-title:not(.white-title) .sub-title::before { content: ""; display: inline-block; width: 26px; height: 3px; margin-right: 10px;
    vertical-align: middle; border-radius: 3px; background: var(--acck-red); }
.section-title:not(.white-title) .sub-title::before { background: linear-gradient(90deg, var(--acck-red), var(--acck-coral)); }
[data-bs-theme=dark] .section-title:not(.white-title) .sub-title::before { background: linear-gradient(90deg, var(--acck-red), var(--acck-yellow)); }
.fw-title::before { background: linear-gradient(90deg, var(--acck-red), var(--acck-amber)); }
/* one colour per content type on its badges (home news cards, cover of a detail page); "Members only" stays red.
   Contrast: navy on blue 6.1:1, yellow on deep blue 4.6:1, navy on yellow 10.3:1, white on red-dark 5.7:1,
   white on dark grey 8.5:1; dark mode: #2B2B2B on blue 5.4, yellow on #1F1F1F 11, #2B2B2B on #FFB0A6 8.1:1. */
.kind-activities { --kind-bg: var(--acck-blue); --kind-fg: var(--acck-on-accent); }
.kind-events { --kind-bg: var(--acck-band); --kind-fg: var(--acck-yellow); }
.kind-celebrations { --kind-bg: var(--acck-yellow); --kind-fg: var(--acck-navy); }
.kind-announcements { --kind-bg: var(--acck-red-dark); --kind-fg: #fff; }
.kind-publications { --kind-bg: var(--acck-grey); --kind-fg: #fff; }
[data-bs-theme=dark] .kind-announcements { --kind-fg: var(--acck-navy); }
[data-bs-theme=dark] .kind-events { box-shadow: inset 0 0 0 1px var(--acck-yellow); }  /* dark badge on a dark page */
.post-tag[class*="kind-"], .content-chip--kind[class*="kind-"] { background: var(--kind-bg) !important; color: var(--kind-fg) !important; }
/* home page icons: blue, red and yellow-dark in turn (red and yellow in dark mode); yellow stars; yellow block */
.services-area .equal-cards > :nth-child(3n+2) .services-content .icon, .counter-area .row > :nth-child(3n+2) .counter-item .icon { color: var(--acck-vermilion); }
.services-area .equal-cards > :nth-child(3n) .services-content .icon, .counter-area .row > :nth-child(3n) .counter-item .icon { color: var(--acck-ochre); }
[data-bs-theme=dark] .services-area .equal-cards > :nth-child(3n+2) .services-content .icon, [data-bs-theme=dark] .counter-area .row > :nth-child(3n+2) .counter-item .icon { color: var(--acck-coral); }
[data-bs-theme=dark] .services-area .equal-cards > :nth-child(3n) .services-content .icon, [data-bs-theme=dark] .counter-area .row > :nth-child(3n) .counter-item .icon { color: var(--acck-amber); }
.testimonial__rating i:not(:last-child) { color: var(--acck-amber); }
.consulting-content .content-left { background: var(--acck-yellow); }
/* Theme rules with the template's navy / orange written out */
.tg-header__top { background: var(--acck-band); }
.tg-header__top li a:hover, .tg-header__top li a:focus-visible { color: var(--acck-yellow); }  /* the theme's blue hover vanishes on the band (yellow 4.6:1) */
/* Solid header (the theme's is see-through, made to lie over the home banner), also when it sticks on scroll */
.tg-header__area, [data-bs-theme=dark] .tg-header__area, .sticky-menu { background: var(--acck-surface); backdrop-filter: none; box-shadow: 0 1px 0 var(--acck-border); }
[data-bs-theme=dark] .tg-header__area, [data-bs-theme=dark] .sticky-menu { background: var(--acck-navy); }  /* same grey as the page */
.sticky-menu { box-shadow: 0 6px 20px rgba(16, 34, 63, .12); }
.call-back-area { background: var(--acck-band); }
.call-back-form form .form-grp input::placeholder { color: #7C8595; }
.request-bg::before { background: var(--acck-band); }
.project-thumb::before { background: var(--acck-band); }
.about-bottom .author-wrap .thumb { border-color: var(--tg-color-gray-2); }
.about-bottom .author-wrap .content .title span { color: var(--tg-theme-secondary-500); }
/* Keyboard focus: yellow ring around a dark one, visible on light and dark backgrounds */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--acck-yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--acck-ink); }

/* Language switch (header top bar and mobile menu) */
.language-switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 20px; background: rgba(255, 255, 255, .12); }
.language-switch button { border: 0; background: none; color: inherit; font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 20px; opacity: .75; }
.language-switch button:hover { opacity: 1; }
.language-switch button.active { background: var(--acck-blue); color: var(--acck-on-accent); opacity: 1; }
.tgmobile__menu .language-switch { background: var(--tg-theme-primary-50); color: var(--tg-heading-color); margin: 10px 25px; }
/* Mobile menu: sign in / my account (the top bar holding these links is hidden on phones and tablets) */
/* Moon/sun button (color-modes.js): the icon and words of the mode it leads to; native controls follow the mode */
:root { color-scheme: light; }
:root[data-bs-theme=dark] { color-scheme: dark; }
:root:not([data-bs-theme=dark]) .to-light, [data-bs-theme=dark] .to-dark { display: none; }
.tgmobile__menu .tgmobile__theme { display: block; text-align: left; justify-content: flex-start; width: auto; height: auto; margin: 0 25px 10px; padding: 8px 0; border: 0; background: none !important; color: var(--tg-heading-color); font-weight: 600; font-size: 15px; line-height: 1.5; }
.tgmobile__theme i { width: 22px; }
.tgmobile__account { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 10px 25px 20px; }
.tgmobile__account a { color: var(--tg-heading-color); font-weight: 600; font-size: 15px; }
.tgmobile__account a.tgmobile__account-main { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 30px; background: var(--acck-button); color: #fff; }

/* French: the theme capitalises Every Word in many places, which is English title style only.
   French keeps the sentence case written in the translations. */
html:lang(fr) .btn.btn-login-social,
html:lang(fr) .tgmenu__navbar-wrap > ul > li a,
html:lang(fr) .tgmenu__navbar-wrap > ul > li .sub-menu > li a,
html:lang(fr) .tgmobile__menu .navigation li > a,
html:lang(fr) .tgmobile__menu .navigation ul li ul li > a,
html:lang(fr) .banner-content .title,
html:lang(fr) .banner-content p,
html:lang(fr) .banner__content-two .title,
html:lang(fr) .banner__content-three .title,
html:lang(fr) .banner__content-three.home-9 .sub,
html:lang(fr) .banner__content-four .title,
html:lang(fr) .slider__content .title,
html:lang(fr) .brand__content.home-9 .title,
html:lang(fr) .brand__content .title,
html:lang(fr) .services__details-content > .title,
html:lang(fr) .services__details-inner-content .title,
html:lang(fr) .sidebar__form form .form-grp textarea::placeholder,
html:lang(fr) .sidebar__form form .form-grp input::placeholder,
html:lang(fr) .choose__tab .nav-tabs .nav-item .nav-link,
html:lang(fr) .choose__tab-content .list-wrap li,
html:lang(fr) .operating__box .content p,
html:lang(fr) .pricing__price .price span,
html:lang(fr) .pricing__list .list-wrap li,
html:lang(fr) .request__content-two .title,
html:lang(fr) .testimonial__item-two p,
html:lang(fr) .testimonial__item-three p,
html:lang(fr) .testimonial-content p,
html:lang(fr) .testimonial__form .title,
html:lang(fr) .testimonial__form .form-grp.select-grp select,
html:lang(fr) .features__content-two .title,
html:lang(fr) .blog-post-content .title,
html:lang(fr) .blog__post-content-two .title,
html:lang(fr) .blog__post-content-four .title,
html:lang(fr) .blog__details-content > .title,
html:lang(fr) .blog__details-content .title-two,
html:lang(fr) blockquote p,
html:lang(fr) .sidebar__cat-list .list-wrap li a,
html:lang(fr) .sidebar__post-content .title,
html:lang(fr) .footer__social-three .title,
html:lang(fr) .footer-newsletter form input::placeholder,
html:lang(fr) .footer__newsletter-three .title,
html:lang(fr) .footer__newsletter-three form input::placeholder,
html:lang(fr) .footer__newsletter-four form input::placeholder,
html:lang(fr) .footer__newsletter-inner .title,
html:lang(fr) .footer__newsletter-inner form input::placeholder,
html:lang(fr) .text-or span,
html:lang(fr) .transforming .tag span,
html:lang(fr) .transforming .tag p,
html:lang(fr) .testimonials__area-home-11 .tag span,
html:lang(fr) .testimonials__area-home-11 .tag p { text-transform: none; }

/* Header top bar: French texts are longer; keep each item on one line */
.tg-header__top-right li, .tg-header__top-info li { white-space: nowrap; }

/* Home testimonials: photos uploaded from the dashboard are square; show them round like the theme's avatars */
.testimonial-nav button img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

/* Home page slider: each slide is the theme's banner (banner-area banner-bg); content slides get an even dark shade
   over their photo (28 %) and white text, which rises in when the slide shows.
   While one shows, home-slider.js puts .is-dark on .home-slider so the dots, arrows and side links turn light. */
.home-slider { position: relative; }
/* The header sits above the slider (not over it): less top padding than the theme's banner, room for the arrows below */
.home-slider .banner-bg { min-height: 640px; padding: 90px 0 130px; }
@media (max-width: 767.98px) { .home-slider .banner-bg { min-height: 560px; padding: 60px 0 120px; } }
.home-slider .swiper-slide { height: auto; }
/* Background pictures are real images (found by the browser as soon as the HTML arrives), under the dark veils */
.bg-cover { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
/* width/height attributes only reserve the place (no effect where the theme sets a size) */
:where(img[width][height]) { height: auto; }
.home-welcome .banner-content > * { animation: home-slide-rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.home-slide__shade { position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .3); }
/* the theme's dark veil over background photos is its own #08173F: the page grey, nearly opaque */
[data-bs-theme=dark] .bg-img::before { background: var(--acck-navy); opacity: .94; }
[data-bs-theme=dark] .bg-img-2::before { background: var(--acck-navy-deep); }
[data-bs-theme=dark] .home-slide .bg-img::before { display: none; }  /* the theme's navy veil would hide the photo */
.home-slide .banner-content .title, .home-slide .banner-content p { color: #fff !important; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.home-slide .banner-content .sub-title { color: var(--acck-yellow); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.home-slider.is-dark .home-slider__dots .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) { background: rgba(255, 255, 255, .55); }
.home-slider.is-dark .home-slider__dots .swiper-pagination-bullet-active { background: #fff; }
.home-slider.is-dark .banner-social .title { color: #fff !important; }  /* beats the h5's .text-primary */
.home-slider.is-dark .banner-social .list-wrap li a, .home-slider.is-dark .banner-scroll a { color: #fff; }
.home-slider.is-dark .banner-social .title::before { background: #fff; }
.home-slider.is-dark .banner-scroll a span { border-color: #fff; }
.home-slider.is-dark .banner-social .list-wrap li a:hover, .home-slider.is-dark .banner-scroll a:hover { color: var(--acck-yellow); }
.home-slider.is-dark .banner-scroll a:hover span { border-color: var(--acck-yellow); }
.home-slide .banner-content .title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-slide.swiper-slide-active .banner-content > * { animation: home-slide-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.home-slide.swiper-slide-active .banner-content > :nth-child(2) { animation-delay: .15s; }
.home-slide.swiper-slide-active .banner-content > :nth-child(3) { animation-delay: .3s; }
.home-slide.swiper-slide-active .banner-content > :nth-child(4) { animation-delay: .45s; }
@keyframes home-slide-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.home-slider__shared { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.home-slider__shared .banner-social, .home-slider__shared .banner-scroll { pointer-events: auto; }
.home-slider__nav { position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; }
.home-slider__dots { display: flex; justify-content: center; gap: 10px; }
.home-slider__arrow { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--acck-border); background: var(--acck-surface); color: var(--tg-theme-secondary-500); box-shadow: 0 6px 18px rgba(16, 34, 63, .15); transition: background .2s, color .2s; }
.home-slider__arrow:hover, .home-slider__arrow:focus-visible { background: var(--acck-blue); color: var(--acck-on-accent); border-color: transparent; }
.home-slider__dots .swiper-pagination-bullet { width: 12px; height: 12px; margin: 0 !important; opacity: 1; background: rgba(9, 94, 134, .3); transition: width .3s, background .3s; border-radius: 12px; }
.home-slider__dots .swiper-pagination-bullet-active { width: 34px; background: var(--acck-blue); }
[data-bs-theme=dark] .home-slider__dots .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) { background: rgba(255, 255, 255, .35); }
@media (prefers-reduced-motion: reduce) { .home-welcome .banner-content > *, .home-slide.swiper-slide-active .banner-content > * { animation: none; } }
/* Fixed header: the theme turns action links blue, which hides the button text on its blue fill */
.sticky-menu .tgmenu__action ul .header-btn a.btn { color: #fff !important; }
/* Buttons (theme .btn): #0B76A8 with white text (5.0:1), #095E86 sliding in on hover (7.1:1), in both modes
   (the theme's own "white" turns dark in dark mode, so white is written out) */
.btn, .btn:hover, .btn:focus-visible, .btn.btn-login:hover, .request-content .btn { background: var(--acck-button); color: #fff; }
.btn::before { background: var(--acck-button-hover); }
.btn.btn-login-social { background: var(--acck-surface); color: var(--tg-heading-color); }
.btn.btn-login-social:hover, .services-content .btn:hover, .blog-post-meta .btn:hover { color: #fff; }
.request-content .btn::before { background: var(--acck-button-hover); }  /* theme: light blue under white text in dark mode */
.btn-two, .btn-two:hover { background: var(--acck-band); color: #fff; }
.btn-two::before { background: var(--acck-button); }
.tgmenu__action ul .header-btn .btn { color: #fff; }  /* Mon compte, Nouveau au Kenya ? */
.sidebar__post-content .date { color: var(--tg-body-color); }  /* theme grey #83849E: 3.3:1 on the blue tint */
[data-bs-theme=dark] .btn-two:not(:hover) { box-shadow: inset 0 0 0 1px var(--acck-blue); }  /* dark button on a dark page */

/* Content lists: category, tag and period filters (core/_list_filters.html, _filter_bar.html, _active_filters.html) */
.sidebar__cat-list .list-wrap li a.is-current { color: var(--tg-theme-primary-500); font-weight: 700; }
.sidebar__cat-list .filter-count { margin-left: auto; padding-left: 8px; font-size: 13px; font-weight: 600; opacity: .6; }
.sidebar__tag-list .list-wrap li a.is-current { background: var(--acck-blue); border-color: var(--acck-blue); color: var(--acck-on-accent); }
.sidebar__tag-list + .period-form { margin-top: 22px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-weight: 600; color: var(--tg-heading-color); }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 30px; background: var(--acck-blue); color: var(--acck-on-accent); font-size: 14px; }
.active-filters a:hover { background: var(--acck-blue-hover); color: var(--acck-on-accent); }
.services-category { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 20px; background: var(--tg-theme-primary-50); color: var(--tg-theme-primary-500); font-size: 13px; font-weight: 600; }
.active-filters a.is-clear { background: none; color: var(--tg-theme-primary-500); text-decoration: underline; padding-left: 4px; }
.active-filters a.is-clear:hover { background: none; color: var(--tg-theme-secondary-500); }
.period-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tg-border-2); }
.period-form label, .filter-bar label { min-width: 0; display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 13px; font-weight: 600; color: var(--tg-heading-color); }
.period-form input, .filter-bar input, .filter-bar select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--acck-border); border-radius: 8px; background: var(--acck-surface); color: var(--tg-body-color); font-size: 14px; font-weight: 400; }
.period-form .btn { grid-column: 1 / -1; justify-content: center; padding: 13px 20px; }
.period-form .btn::after, .filter-bar .btn::after { display: none; }
.filter-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; gap: 12px; margin-bottom: 18px; padding: 18px; border-radius: 14px; background: var(--acck-surface); box-shadow: 0 6px 24px rgba(16, 34, 63, .08); }
.filter-bar .btn { height: 44px; justify-content: center; padding: 0 22px; }

/* Tabs on a public list (events: upcoming / past), loaded with HTMX */
.content-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 40px; background: var(--tg-theme-primary-50); width: fit-content; max-width: 100%; }
.content-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 30px; color: var(--tg-heading-color); font-weight: 600; }
.content-tabs a:hover { color: var(--tg-theme-primary-500); }
.content-tabs a.active { background: var(--acck-blue); color: var(--acck-on-accent); }
.content-tabs .count { min-width: 24px; padding: 1px 8px; border-radius: 20px; background: var(--acck-surface); color: var(--tg-heading-color); font-size: 13px; text-align: center; }
.htmx-request.blog__area .blog-post-wrap { opacity: .6; transition: opacity .2s; }

/* Card lists (activities, events, celebrations, publications, announcements): a grid whose rows all take the height
   of the tallest card, so every card has the same size; titles (2 lines) and summaries (3 lines) are clamped. */
.card-grid { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); grid-auto-rows: 1fr; }
.card-grid > * { display: flex; width: auto; max-width: none; }
.card-grid > .col-12, .card-grid > .col-lg-8 { grid-column: 1 / -1; display: block; }
@media (min-width: 768px) { .card-grid { --cols: 2; } }
@media (min-width: 992px) { .card-grid-4 { --cols: 3; } }
@media (min-width: 1200px) { .card-grid-4 { --cols: 4; } }
.card-grid .services-item, .card-grid .blog__post-two { display: flex; flex-direction: column; width: 100%; }
.card-grid .services-content, .card-grid .blog__post-content-two { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card-grid .services-content .title, .card-grid .blog__post-content-two .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; min-height: 2.6em; }
.card-grid .services-content p:not(.mb-2), .card-grid .blog__post-content-two p:not(.mb-2):not(.mb-10) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-grid .services-content .btn { margin-top: auto; }

/* Animated background of the list pages: slowly drifting soft colour blobs on a tinted base (the footer stays white) */
.animated-bg { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--acck-blue-light) 0%, var(--acck-yellow-light) 45%, var(--acck-red-light) 75%, var(--acck-blue-light) 100%); }
.animated-bg::before, .animated-bg::after { content: ""; position: absolute; z-index: -1; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.animated-bg::before { top: -14vmax; left: -12vmax; background: radial-gradient(circle, rgba(41, 171, 226, .28), transparent 65%); animation: bg-drift-a 26s ease-in-out infinite alternate; }
.animated-bg::after { bottom: -16vmax; right: -12vmax; background: radial-gradient(circle, rgba(255, 200, 77, .40), transparent 65%); animation: bg-drift-b 32s ease-in-out infinite alternate; }
@keyframes bg-drift-a { to { transform: translate(38vw, 30vh) scale(1.15); } }
@keyframes bg-drift-b { to { transform: translate(-36vw, -40vh) scale(.9); } }
[data-bs-theme=dark] .animated-bg { background: linear-gradient(160deg, var(--acck-navy-deep) 0%, var(--acck-navy) 60%, var(--acck-navy-raised) 100%); }
@media (prefers-reduced-motion: reduce) { .animated-bg::before, .animated-bg::after { animation: none; } }

/* Header on small desktops and landscape tablets (992–1399 px): tighter menu so the actions stay on the same line */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .tgmenu__navbar-wrap > ul { margin-left: 32px !important; }
    .tgmenu__navbar-wrap > ul > li { margin-right: 22px !important; }
    .tgmenu__action > ul > li { margin-left: 16px !important; }
    .tgmenu__action .header-btn .btn { padding: 14px 20px; }
}
@media (min-width: 992px) and (max-width: 1299.98px) {
    .tgmenu__navbar-wrap > ul > li { margin-right: 18px !important; }
    .tgmenu__navbar-wrap > ul > li > a { font-size: 15px !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .tg-header__area .custom-container { max-width: 100%; }
    .tgmenu__navbar-wrap > ul { margin-left: 24px !important; }
    .tgmenu__action .header-search, .tgmenu__action .offCanvas-menu { display: none; } /* contact details stay in the top bar */
    .tgmenu__action ul .header-btn:has(> .btn) { display: block; } /* the theme hides the account button below 1200 px */
    .tgmenu__action .header-btn .btn { padding: 12px 16px; }
}

/* Home page card rows (.equal-cards: activities, celebrations, board, news): the theme's responsive columns stay;
   every card fills its column and its texts take a fixed number of lines (longer ones end with "…"), so all the
   cards of a section have the same size at every width, also from one row to the next. */
.equal-cards > [class*="col-"] { display: flex; }
.equal-cards > [class*="col-"] > * { flex: 1; min-width: 0; }
.equal-cards .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; min-height: 2.4em; }
.equal-cards .services-content p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em; }
.equal-cards .left-side-content { min-width: 0; }
.equal-cards .left-side-content > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.45; }
.equal-cards .team-content span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; min-height: 2.6em; }
.equal-cards .card-place { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.5em; line-height: 1.5; }
.card-flag { position: absolute; top: 16px; right: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px;
    background: var(--acck-red-dark); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; }
/* News cards: the date on its own line above the button (never cut, same height whatever its length) */
.equal-cards .blog-post-meta .list-wrap { flex-wrap: wrap; row-gap: 14px; }
.equal-cards .blog-post-meta li:last-child { order: -1; flex-basis: 100%; margin: 0; white-space: nowrap; }
.equal-cards .team-thumb img { width: 100%; aspect-ratio: 287 / 292; object-fit: cover; }

/* Public contact forms: field errors, notices, and the trap field hidden from people (core.views.contact) */
.form-error { display: block; margin-top: 6px; font-size: 14px; color: var(--acck-red); }
.form-notice { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.form-notice.is-success { background: var(--acck-blue-light); color: var(--acck-success); }
.form-notice.is-error { background: var(--acck-red-light); color: var(--acck-red-dark); }
.form-notice i { margin-top: 3px; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
body:has(input.g-recaptcha) .scroll__top.open { bottom: 90px; }  /* above Google's reCAPTCHA badge */
.grecaptcha-badge { z-index: 90; }  /* else the sections with their own stacking order hide it; stays under the menus */
#message-form, #callback-form { scroll-margin-top: 130px; }  /* the fixed header must not cover the notice after sending */
.checkbox-grp { flex-wrap: wrap; }
.email-check { margin-top: 10px; font-size: 14px; }
.email-check__start:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.email-check small { color: inherit; opacity: .85; }
.email-check__button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 6px;
  background: var(--acck-button); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.4; }
.email-check__button:hover { background: var(--acck-button-hover); }
.email-check__button[disabled], .email-check__link[disabled] { opacity: .6; cursor: wait; }
.email-check__code label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.call-back-form { --acck-success: #D4EEF9; }  /* the call-back forms sit on the deep blue (dark grey in dark mode): light texts there (5.9:1) */
.call-back-form .email-check, .call-back-form .email-check label { color: #fff; }
#message-form .btn:disabled, #callback-form .btn:disabled { background: var(--acck-button); color: #fff;
  opacity: .5; cursor: not-allowed; }  /* the address is not verified yet: still visible, clearly off */
.call-back-form .form-error { color: var(--acck-yellow); }
.email-check__row { display: flex; gap: 10px; margin-bottom: 6px; }
.email-check__row input { flex: 1 1 auto; min-width: 0; max-width: 200px; letter-spacing: .2em; font-weight: 600; }
.email-check__link { padding: 0; border: 0; background: none; color: inherit; font-weight: 600; text-decoration: underline; }
.email-check__ok { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--acck-success); font-weight: 600; }
.checkbox-grp label { flex: 1 1 0; min-width: 0; }
.checkbox-grp .form-error { flex-basis: 100%; }

/* Home "Who we are" ring: the text turns on the band-coloured ring, around the ACCK symbol on a light disc edged in yellow (core/home.html) */
.experience-year { background: var(--acck-band); }
.experience-year .icon { width: 88px; height: 88px; background: var(--acck-surface); box-shadow: 0 0 0 3px var(--acck-yellow); }
.experience-year .icon img { width: 62px; height: 62px; }
[data-bs-theme=dark] .experience-year .icon img { content: url("../img/logo/acck-symbole-sombre.svg"); }
.experience-year .ring-text { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.experience-year .ring-text text { fill: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .experience-year .ring-text { animation: none; } }

/* Testimonials: the people (a ring and colour on the one shown) and the pause button */
.testimonial-nav .swiper-wrapper { flex-wrap: wrap; height: auto; }
.testimonial-nav .swiper-wrapper button[data-testimonial] { width: 60px; height: 60px; border: 3px solid transparent; }
.testimonial-nav .swiper-wrapper button[aria-current] { border-color: var(--acck-blue-strong); }
.testimonial-nav button[aria-current] img { filter: none; }
.testimonial-nav .swiper-wrapper .testimonial-pause { display: grid; width: 44px; height: 44px; border: 1px solid var(--acck-border); background: var(--acck-surface); }
.testimonial-nav .swiper-wrapper .testimonial-pause:hover { background: var(--acck-blue); }
.testimonial-nav button:focus-visible { outline: 2px solid var(--acck-blue-strong); outline-offset: 3px; }
@media (max-width: 1399.98px) { .banner-social { display: none; } }  /* it would cover the banner text */
.offCanvas__social-icon .list-wrap { display: flex; flex-wrap: wrap; }

/* Less motion asked of the system: the theme's decorations stay still and its pictures do not shine or zoom
   (colours still change on hover). Our own animations stop beside their rules. */
@media (prefers-reduced-motion: reduce) {
    .alltuchtopdown, .rightToLeft, .ribbonRotate, .rotateme, .shine-animate::before, .play-btn, .play-btn::before, .play-btn::after { animation: none !important; }
    img, .swiper-wrapper, .tgmobile__menu-box, .offCanvas__info, .sub-menu { transition: none !important; }
    .btn:hover, .shine-animate-item:hover img { transform: none; }
}
