/*
Theme Name: Notre Gabon
Theme URI: https://notre-gabon.ga/
Author: Notre Gabon Team
Author URI: https://notre-gabon.ga/
Description: Thème WordPress moderne pour la promotion de la culture gabonaise. Intègre Tailwind CSS et des animations avancées.
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: culture, gabon, responsive, modern, tailwind, animations, custom-header, custom-menu, featured-images, translation-ready
Text Domain: notre-gabon

Ce thème est sous licence GPL.
Utilisez-le pour créer quelque chose de cool, amusez-vous et partagez ce que vous avez appris.
*/

/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Media Queries
 * 5.0 - Notre Gabon Styles
 * ----------------------------------------------------------------------------
 */

/* Tailwind CSS sera chargé via le header.php */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");

/* Variables CSS personnalisées */
:root {
  --gabon-blue: #2365b7;
  --gabon-yellow: #ffdf1b;
  --gabon-green: #00995c;
  --primary-font: "Montserrat", "sans-serif";
}

/* Reset et base */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: var(--primary-font);
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Styles pour le header personnalisé */
.site-header {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Glassmorphisme sur le header scrollé */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Navigation */
.navbar-area {
  background: transparent;
  padding: 1rem 0;
}

.navbar-brand h3 {
  color: white;
  font-weight: 600;
  margin: 0;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--gabon-yellow) !important;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Marge pour utilisateurs connectés WordPress */
body.admin-bar .hero-section {
  padding-top: 32px;
}

/* Header fixe avec changement de style et glassmorphisme */
.site-header {
  background: transparent;
  backdrop-filter: blur(0px);
  transition: all 0.3s ease;
}

/* Changement de logo */
.site-header .logo-light {
  display: block;
}

.site-header .logo-dark {
  display: none;
}

.site-header.scrolled .logo-light {
  display: none;
}

.site-header.scrolled .logo-dark {
  display: block;
}

/* Changement de couleur des liens */
.site-header .nav-link {
  color: white;
  transition: color 0.3s ease;
}

.site-header.scrolled .nav-link {
  color: #374151;
}

.site-header .nav-link:hover {
  color: #ffdf1b;
}

.site-header.scrolled .nav-link:hover {
  color: #2365b7;
}

/* Bouton mobile */
.site-header .mobile-menu-btn {
  color: white;
  background-color: var(--gabon-yellow);
  transition: color 0.3s ease;
}

/* Menu mobile avec glassmorphisme amélioré */
.site-header #mobileMenu {
  background-color: #081c34;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.site-header.scrolled #mobileMenu {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header #mobileMenu a {
  color: white;
}

.site-header.scrolled #mobileMenu a {
  color: #374151;
}

/* Blog Template Styles - Revision Inspired */
.hero-blog-section {
  background: linear-gradient(
    135deg,
    var(--gabon-green),
    var(--gabon-yellow),
    var(--gabon-blue)
  );
  position: relative;
  overflow: hidden;
}

.hero-blog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.category-badge {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.category-badge:hover::before {
  left: 100%;
}

/* Search Bar Animation */
.hero-blog-section input:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(255, 223, 27, 0.3);
}

/* Author Card Hover Effects */
.author-card img {
  transition: transform 0.3s ease;
}

.author-card:hover img {
  transform: scale(1.1);
}

/* Newsletter Form */
.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-blog-section h1 {
    font-size: 3rem;
  }

  .blog-card {
    margin-bottom: 1.5rem;
  }

  .category-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 640px) {
  .hero-blog-section h1 {
    font-size: 2.5rem;
  }

  .hero-blog-section p {
    font-size: 1.125rem;
  }

  .grid.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Breadcrumb Styles */

/* Article Header */
/* Meta Information */
.article-header .flex {
  align-items: center;
}

/* Featured Image */
.featured-image img {
  transition: transform 0.3s ease;
}

.featured-image:hover img {
  transform: scale(1.02);
}

/* Share Buttons */
.share-buttons a {
  transition: all 0.3s ease;
}

.share-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Post Navigation */
.post-navigation a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Author Card */
.author-card {
  transition: all 0.3s ease;
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.author-card img {
  transition: transform 0.3s ease;
}

.author-card:hover img {
  transform: scale(1.1);
}

/* Related Posts */
.related-posts article {
  transition: all 0.3s ease;
  padding: 0.75rem;
  border-radius: 0.75rem;
}

.related-posts article:hover {
  background: #f9fafb;
  transform: translateX(4px);
}

.related-posts img {
  transition: transform 0.3s ease;
}

.related-posts article:hover img {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .single-post-section h1 {
    font-size: 2.5rem;
  }

  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .post-navigation a {
    width: 100%;
  }

  .share-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .share-buttons a {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .single-post-section h1 {
    font-size: 2rem;
  }

  .article-header {
    padding: 1.5rem;
  }

  .article-content {
    padding: 1.5rem;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 1.2s ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 153, 92, 0.5) 0%,
    rgba(255, 223, 27, 0.5) 50%,
    rgba(35, 101, 183, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 1s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 1s ease-out;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.service-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Blog/Artistes Section */
.blog-section {
  padding: 5rem 0;
  background: white;
}

/* Video Section */
.video-section {
  padding: 5rem 0;
  background-color: var(--gabon-blue);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Video Background Slow Motion */
.video-section video {
  animation: slowMotion 20s ease-in-out infinite;
}

@keyframes slowMotion {
  0% {
    transform: scale(1.1) translateX(0);
  }
  25% {
    transform: scale(1.15) translateX(-2%);
  }
  50% {
    transform: scale(1.1) translateX(0);
  }
  75% {
    transform: scale(1.15) translateX(2%);
  }
  100% {
    transform: scale(1.1) translateX(0);
  }
}

/* Play Button Animation */
.video-section button {
  animation: playButtonPulse 3s ease-in-out infinite,
    playButtonFloat 4s ease-in-out infinite;
}

@keyframes playButtonPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
}

@keyframes playButtonFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

/* Animation du cercle externe */
.video-section button .animate-pulse {
  animation: circlePulse 2s ease-in-out infinite;
}

@keyframes circlePulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Animation de l'icône play */
.video-section button svg {
  animation: playIconBounce 2s ease-in-out infinite;
}

@keyframes playIconBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Animation de brillance */
.video-section button .group-hover\:opacity-100 {
  animation: shineEffect 3s ease-in-out infinite;
}

@keyframes shineEffect {
  0% {
    transform: translateX(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translateX(100%) rotate(45deg);
    opacity: 0;
  }
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 80px;
  height: 80px;
  background: var(--gabon-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(255, 223, 27, 0.3);
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(255, 223, 27, 0.5);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: var(--gabon-blue);
  color: white;
  position: relative;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gabon-blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(35, 101, 183, 0.1);
}

.contact-form button {
  background: linear-gradient(135deg, var(--gabon-blue) 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(35, 101, 183, 0.3);
}

/* Footer */
.site-footer {
  background: #2365b7;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--gabon-yellow);
  margin-bottom: 1rem;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

/* Carousel Styles */
.carousel-slide {
  opacity: 0;
  transition: all 1.2s ease-in-out;
  transform: scale(1.05);
  filter: brightness(0.8);
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
}

.carousel-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.carousel-content.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

/* Hero Section Improvements */
.hero-backgrounds {
  z-index: 1;
}

.hero-overlay {
  z-index: 2;
}

.hero-content {
  z-index: 10;
}

/* Carousel Navigation */
.carousel-nav {
  z-index: 20;
}

.carousel-dots {
  z-index: 20;
}

/* Enhanced hover effects */
.carousel-dot:hover {
  transform: scale(1.2);
}

.carousel-prev:hover,
.carousel-next:hover {
  transform: scale(1.1);
}

/* Mobile responsiveness for carousel */
@media (max-width: 1024px) {
  .carousel-nav {
    display: none;
  }

  .carousel-dots {
    bottom: 2rem;
  }
}

/* Hide default WordPress elements we don't need */
.site-title,
.site-description {
  display: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gabon-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gabon-green);
}

/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a {
  text-decoration: none;
}

a:visited {
}

a:focus {
  outline: thin dotted;
}

a:active,
a:hover {
  outline: 0;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

address {
  font-style: italic;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

code,
kbd,
pre,
samp {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

pre {
  overflow: auto;
  white-space: pre;
  white-space: pre-wrap;
}

blockquote,
q {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 24px 40px;
}

blockquote blockquote {
  margin-right: 0;
}

blockquote cite,
blockquote small {
  font-weight: normal;
  text-transform: uppercase;
}

blockquote em,
blockquote i {
  font-style: normal;
  font-weight: 300;
}

blockquote strong,
blockquote b {
  font-weight: 400;
}

small {
  font-size: smaller;
}

sub,
sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

dl {
  margin: 0 20px;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 0 20px;
}

menu,
ol,
ul {
  margin: 16px 0;
  padding: 0 0 0 40px;
}

ul {
  list-style-type: square;
}

nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
}

li > ul,
li > ol {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
  border: 0;
  vertical-align: middle;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

form {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  max-width: 100%;
  vertical-align: baseline;
}

button,
input {
  line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
  padding-right: 2px; /* Don't cut off the webkit search cancel button */
  width: 270px;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-bottom: 1px solid #ededed;
  border-collapse: collapse;
  border-spacing: 0;
  line-height: 2;
  width: 100%;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

caption {
  margin: 20px 0;
}

th {
  font-weight: bold;
  text-transform: uppercase;
}

td {
  border-top: 1px solid #ededed;
  padding: 6px 10px 6px 0;
}

del {
  color: #333;
}

ins {
  background: #fff9c0;
  text-decoration: none;
}

hr {
  background: url(images/dotted-line.png) repeat center top;
  background-size: 4px 4px;
  border: 0;
  height: 1px;
  margin: 0 0 24px;
}

/**
 * 2.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
 */

.genericon:before,
.menu-toggle:after,
.featured-post:before,
.date a:before,
.entry-meta .author a:before,
.format-audio .entry-content:before,
.comments-link a:before,
.tags-links a:first-child:before,
.categories-links a:first-child:before,
.edit-link a:before,
.attachment .entry-title:before,
.attachment-meta:before,
.attachment-meta a:before,
.comment-awaiting-moderation:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.bypostauthor > .comment-body .fn:before,
.error404 .page-title:before {
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font: normal 16px/1 Genericons;
  vertical-align: text-bottom;
}

/* Clearing floats */
.clear:after,
.attachment .entry-header:after,
.site-footer .widget-area:after,
.entry-content:after,
.page-content:after,
.navigation:after,
.nav-links:after,
.gallery:after,
.comment-form-author:after,
.comment-form-email:after,
.comment-form-url:after,
.comment-body:after {
  clear: both;
}

.clear:before,
.clear:after,
.attachment .entry-header:before,
.attachment .entry-header:after,
.site-footer .widget-area:before,
.site-footer .widget-area:after,
.entry-content:before,
.entry-content:after,
.page-content:before,
.page-content:after,
.navigation:before,
.navigation:after,
.nav-links:before,
.nav-links:after,
.gallery:before,
.gallery:after,
.comment-form-author:before,
.comment-form-author:after,
.comment-form-email:before,
.comment-form-email:after,
.comment-form-url:before,
.comment-form-url:after,
.comment-body:before,
.comment-body:after {
  content: "";
  display: table;
}

/* Assistive text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  line-height: normal;
  padding: 15px 23px 14px;
  position: absolute;
  left: 5px;
  top: 5px;
  text-decoration: none;
  width: auto;
  z-index: 100000; /* Above WP toolbar */
}

/* Images */
img {
  max-width: 100%;
}

img {
  height: auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

figure.wp-caption.alignleft,
img.alignleft {
  margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
  margin: 5px 10px 5px 0;
}

figure.wp-caption.alignright,
img.alignright {
  margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
  margin: 5px 0 5px 10px;
}

img.aligncenter {
  margin: 5px auto;
}

img.alignnone {
  margin: 5px 0;
}

.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
  color: #220e10;
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  margin: 0 0 24px;
}

div.wp-caption.alignright img[class*="wp-image-"] {
  float: right;
}

div.wp-caption.alignright .wp-caption-text {
  padding-left: 10px;
}

img.wp-smiley,
.rsswidget img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol {
  list-style-position: inside;
}

/* Body Typography */
p {
  margin: 0 0 10px;
  line-height: 1.6;
}

blockquote {
  position: relative;
  text-align: center;
  background: #f3f4f6;
  padding: 38px 40px 38px 40px; /* top and bottom padding to fit SVG */
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

blockquote::before,
blockquote::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
}

blockquote::before {
  top: 12px;
  left: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z'/></svg>");
}

blockquote::after {
  right: 24px;
  bottom: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' transform='rotate(180)'><path d='M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z'/></svg>");
}

blockquote cite {
  position: relative;
  display: inline-block;
  padding: 0 20px;
  font-size: 14px;
  margin-top: 20px;
}

blockquote cite::before {
  content: "";
  background-color: #363b40;
  width: 10px;
  height: 1px;
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
}

code {
  background-color: #f1f3f5;
  padding: 0.125em 0.25em;
}

pre {
  background-color: #f8f9fa;
  padding: 20px;
}

.entry-content {
  line-height: 1.8;
}

.entry-content p {
  line-height: inherit;
}

/* Input */

textarea {
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #16181a;
  border: 1px solid #dee2e6;
  padding: 15px;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #51585f;
  outline: none;
  border-color: #343a40;
}

select {
  border: 1px solid #dee2e6;
}

/* Button */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: var(--gabon-yellow);
  border-color: var(--gabon-yellow);
  border: none;
  border-width: 1px;
  color: #111827;
  cursor: pointer;
  justify-content: center;
  padding-bottom: calc(0.5em - 1px);
  padding: 0.7rem 1rem;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background-color: var(--gabon-yellow);
  color: #111827;
}

.button:hover::after,
button:hover::after,
input[type="button"]:hover::after,
input[type="reset"]:hover::after,
input[type="submit"]:hover::after {
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
}

.button-arrow::after {
  content: "\f103";
  font-family: themegrill-icons;
  display: inline-block;
  font-size: 8px;
  margin-left: 10px;
  -webkit-transition: all 0.35s cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: all 0.35s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.wp-block-button.is-style-fill .wp-block-button__link {
  text-decoration: none;
  color: #ffffff;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  color: #000000;
  text-decoration: none;
}

/* Comments */

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comments-area .comment-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.comments-area .comment-list .comment-meta {
  position: relative;
  margin-bottom: 10px;
  min-height: 60px;
}

.comments-area .comment-list .comment-meta .comment-author img.avatar {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
}

.comments-area .comment-list .comment-meta .comment-author .says {
  display: none;
}

.comments-area .comment-list .comment-meta .fn,
.comments-area .comment-list .comment-meta .comment-metadata,
.comments-area .comment-list .comment-meta .comment-awaiting-moderation {
  margin-left: 80px;
}

.comments-area .comment-list .comment-meta .fn {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.comments-area .comment-list .comment-meta .comment-metadata {
  margin-bottom: 3px;
}

.comments-area .comment-list .comment-meta .comment-metadata a {
  color: #868e96;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: 400;
}

.comments-area .comment-list .comment-meta .comment-awaiting-moderation {
  color: #868e96;
  font-size: 12px;
  font-weight: 400;
}

.comments-area .comment-list .comment-body {
  border-bottom: 1px solid #f1f3f5;
  padding: 40px 0;
}

.comments-area .comment-list .comment-body .reply {
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 12px;
}

.comments-area .comment-list .comment-body .reply a::before {
  content: "\f117";
  font-family: themegrill-icons;
  display: inline-block;
  font-size: 8px;
  margin-right: 10px;
  vertical-align: top;
  margin-top: 1px;
}

.comments-area .comment-list .comment-body .comment-content {
  margin-bottom: 20px;
}

.comments-area .comment-list .children {
  list-style-type: none;
}

.comments-area .comment-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.comments-area .comment-form .comment-notes {
  margin-bottom: 30px;
}

.comments-area .comment-form label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.comments-area .comment-form p {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
}

.comments-area .comment-form p input[type="text"],
.comments-area .comment-form p input[type="email"],
.comments-area .comment-form p input[type="url"] {
  width: 100%;
}

.comments-area .comment-form .comment-form-author,
.comments-area .comment-form .comment-form-email {
  -ms-flex-preferred-size: 47%;
  flex-basis: 47%;
}

.comments-area .comment-form .comment-form-author input,
.comments-area .comment-form .comment-form-email input {
  width: 100%;
}

.comments-area .comment-form .form-submit {
  text-align: right;
  margin-top: 30px;
}

.comments-area .comment-form .form-submit button.submit {
  padding: 20px 25px;
  font-size: 14px;
}

.comments-title,
.comment-reply-title {
  font-size: 1.5rem;
  margin-bottom: 0;
}

/* Auther Box */
.tg-author-box {
  margin-top: 100px;
  padding: 40px 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-top: 2px solid #343a40;
  border-bottom: 2px solid #343a40;
}

.tg-author-box .tg-author__avatar {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100px;
  flex: 0 0 100px;
}

.tg-author-box .tg-author__avatar img {
  border-radius: 100%;
}

.tg-author-box .tg-author-info {
  padding-left: 40px;
}

.tg-author-box .tg-author__name {
  margin: 0 0 20px;
}

.tg-author-box .tg-author__bio {
  margin-bottom: 15px;
}

.tg-author-box .tg-author-meta {
  font-size: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.tg-author-box .tg-author__website {
  padding-right: 10px;
}

.tg-author-box .tg-author__website a {
  color: var(--gabon-yellow);
}

.tg-author-box .tg-author__website a:hover {
  color: #363b40;
}

/* Search */
.search-form label {
  position: relative;
}

.search-form label::before {
  position: absolute;
  top: calc(50% - 7px);
  right: 10px;
  display: block;
  content: "\f002";
  font-family: "Font Awesome 5 free";
  font-weight: 900;
  font-size: 14px;
  color: #adb5bd;
}

.search-form .search-field {
  -webkit-appearance: textarea;
  font-size: 14px;
  color: #adb5bd;
}

.search-form .search-field::-webkit-input-placeholder {
  color: inherit;
  font-size: inherit;
}

.search-form .search-field:-ms-input-placeholder {
  color: inherit;
  font-size: inherit;
}

.search-form .search-field::-ms-input-placeholder {
  color: inherit;
  font-size: inherit;
}

.search-form .search-field::placeholder {
  color: inherit;
  font-size: inherit;
}

/* Widget */
.widget {
  margin: 0 0 30px;
  /* Make sure select elements fit in widgets. */
}

.widget ul {
  margin: 0 0 0 15px;
  line-height: 1.6;
}

.widget ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.widget ul li a {
  display: block;
  text-decoration: none;
}

.widget ul li a:hover {
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
}

.widget ul li:last-child {
  margin-bottom: 0;
}

.widget select {
  max-width: 100%;
}

.widget .widget-title {
  font-size: 14px;
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  color: #16181a;
}

.widget .widget-title::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 1px;
  background: #007bff;
  left: calc(100% + 10px);
  top: calc(50% - 1px);
}

/* Search Widget */
.widget_search .search-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.widget_search label {
  width: 100%;
}

.widget_search .search-field,
.widget_search .search-submit {
  padding: 10px;
}

.widget_search .search-submit {
  display: block;
  font-size: 12px;
}

.widget_search .search-field {
  width: 100%;
}

.tg_widget_recent_posts ul,
.tg-post-ribbon ul {
  margin: 0;
}

.tg_widget_recent_posts ul li,
.tg-post-ribbon ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-transition: -webkit-transform 0.35s
    cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: -webkit-transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    -webkit-transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tg_widget_recent_posts ul li:hover,
.tg-post-ribbon ul li:hover {
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
}

.tg_widget_recent_posts ul li a:hover,
.tg-post-ribbon ul li a:hover {
  -webkit-transform: none;
  transform: none;
}

.tg_widget_recent_posts ul li .tg-post-thumbnail,
.tg-post-ribbon ul li .tg-post-thumbnail {
  padding-right: 20px;
}

.tg_widget_recent_posts ul li .tg-post-thumbnail img,
.tg-post-ribbon ul li .tg-post-thumbnail img {
  max-width: 70px;
}

.tg_widget_recent_posts ul li .tg-post-info a,
.tg-post-ribbon ul li .tg-post-info a {
  font-size: 14px;
  font-weight: 700;
}

.tg_widget_recent_posts ul li .tg-post-info .post-date,
.tg-post-ribbon ul li .tg-post-info .post-date {
  margin-top: 5px;
  display: inline-block;
  font-size: 12px;
  color: #868e96;
}

.tg-post-ribbon {
  background-color: #f7f7f7;
  padding: 40px 0 30px;
}

.tg-post-ribbon ul {
  margin: 0 -10px;
}

.tg-post-ribbon ul li {
  padding-right: 10px;
  padding-left: 10px;
  width: 25%;
  margin-bottom: 10px;
}

.tg-post-ribbon ul li .tg-post-info .tg-post-title {
  margin-bottom: 10px;
  display: block;
}

.widget_calendar caption {
  margin-bottom: 1.5em;
}

.widget_calendar table th,
.widget_calendar table td {
  padding: 10px;
}

.widget_recent_comments ul li {
  color: #868e96;
}

.widget_media_gallery .gallery-item {
  margin: 0;
}

/* Table */
table {
  margin: 0 0 1.5em;
  width: 100%;
}

table th,
table td,
table .wp-block-table th,
table .wp-block-table td {
  text-align: left;
  border: 1px solid #e9ecef;
  padding: 1em;
}

.entry-content table a {
  text-decoration: none;
  color: #363b40;
}

.entry-content table a:hover {
  color: #01b6f4;
}

.wpcf7 form br {
  display: none !important;
}

.wpcf7 .wpcf7-form-control-wrap,
.wpcf7 .wpcf7-form-control-wrap input,
.wpcf7 .wpcf7-form-control-wrap textarea {
  width: 100%;
}

/* wpcf7  */
.wpcf7 .phone-row {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.wpcf7 .phone-row input[type="tel"] {
  flex: 1;
  min-width: 0;
  padding: 1rem;
  border-radius: 0 0.75rem 0.75rem 0;
  border: none;
  background-color: #fff;
  color: #111827;
}

.wpcf7 .phone-row input[type="tel"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 112, 244, 0.3);
}

/* === Fix responsive phone row for this CF7 form (wpcf7-f351-o1) === */
.wpcf7 .phone-row {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 0;
}

/* CF7 wraps inputs in a <p> — make it a flex container and remove margins */
.wpcf7 .phone-row > p {
  display: flex !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  gap: 0;
}

/* hide stray <br> that CF7 sometimes inserts */
.wpcf7 .phone-row br {
  display: none !important;
}

/* prefix (+241) keeps its natural width */
.wpcf7 .phone-row span:first-child {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  background-color: transparent;
}

/* make the CF7 wrapper behave like the flex child */
.wpcf7 .phone-row .wpcf7-form-control-wrap {
  flex: 1 1 auto !important;
  min-width: 0 !important; /* essentiel pour que flex shrink fonctionne sur mobile */
}

/* force the input to fill remaining space and use box-sizing */
.wpcf7 .phone-row input[type="tel"] {
  width: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 1rem 1rem 1rem 5rem !important; /* adapte selon ton design */
  border-radius: 0 0.75rem 0.75rem 0 !important; /* arrondi à droite seulement */
  border: 0 !important;
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #dee2e6;
}

/* focus look (équivalent du focus:ring) */
.wpcf7 .phone-row input[type="tel"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important; /* ajuste la couleur si besoin */
}

/* LastPass / password managers injectent parfois un div : on le cache */
.wpcf7 .phone-row div[data-lastpass-icon-root] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Contact Form 7 styling for white background */
.white-bg .wpcf7-form label,
.white-bg .wpcf7-form-control-wrap label,
.white-bg .wpcf7 label {
  color: #111827 !important; /* gray-900 */
  font-weight: 500;
}

.white-bg .wpcf7-form input[type="text"],
.white-bg .wpcf7-form input[type="email"],
.white-bg .wpcf7-form input[type="tel"],
.white-bg .wpcf7-form textarea,
.white-bg .wpcf7-form select {
  color: #111827 !important; /* gray-900 */
  border: 1px solid #dee2e6 !important;
}

.white-bg .wpcf7-form input::placeholder,
.white-bg .wpcf7-form textarea::placeholder {
  color: #6b7280; /* gray-500 */
}

/* Join Us Success Message - on white backgrounds */
.success-message-wrapper #join-us-success {
  background: linear-gradient(135deg, #2365b7 0%, #1e40af 100%);
  border: none;
}

.success-message-wrapper #join-us-success.hidden {
  display: none;
}

/* Posts and Pages */
img {
  margin-bottom: 0;
}

.updated:not(.published) {
  display: none;
}

.page-links {
  clear: both;
}

.hentry {
  margin-bottom: 80px;
  line-height: 1.6;
}

.entry-thumbnail {
  position: relative;
  display: inline-block;
  margin-bottom: 34px;
  background-color: #000;
}

.entry-thumbnail img {
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  width: 100%;
}

.entry-thumbnail .post-thumbnail__letter {
  position: absolute;
  visibility: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  font-size: 120px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-weight: 700;
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
  -webkit-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.entry-thumbnail:hover img {
  opacity: 0.6;
}

.entry-thumbnail:hover .post-thumbnail__letter {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.cat-links .cat-seperator {
  margin: 0 5px;
}

.tg-top-cat .cat-links {
  font-size: 12px;
}

.tg-top-cat .cat-links a {
  text-transform: uppercase;
  display: inline-block;
  color: #3298dc;
}

.tg-top-cat .cat-links a:hover {
  color: #363b40;
}

.entry-content {
  margin-bottom: 18px;
}

.entry-title {
  margin: 0 0 10px;
  font-size: 1.313rem;
}

.entry-meta {
  font-size: 12px;
  margin-bottom: 12px;
}

.entry-meta .byline,
.entry-meta .posted-on,
.entry-meta .cat-links {
  letter-spacing: 1px;
  cursor: pointer;
}

.entry-meta a {
  color: #3298dc;
}

.entry-meta a:hover {
  color: #363b40;
}

.entry-meta .posted-on {
  position: relative;
  padding-left: 60px;
}

.entry-meta .posted-on::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 1px;
  background-color: #3298dc;
  left: 10px;
  top: calc(50% - 1px);
}

.entry-footer {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

.entry-footer .cat-links,
.entry-footer .tags-links,
.entry-footer .edit-link {
  display: block;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
  margin-bottom: 20px;
}

.entry-footer .cat-links a,
.entry-footer .tags-links a {
  display: inline-block;
  margin: 0 5px 5px;
}

.entry-footer .cat-links a:first-child,
.entry-footer .tags-links a:first-child {
  margin-left: 20px;
}

.entry-footer .cat-links a {
  font-size: 12px;
  text-transform: uppercase;
  padding: 8px 15px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-weight: 400;
  background-color: #3298dc;
  color: #fff;
}

.entry-footer .cat-links a:hover {
  background-color: #363b40;
}

.tg-readmore-link {
  position: relative;
  padding-left: 40px;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}

.tg-readmore-link::before {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  top: calc(50% - 1px);
  width: 30px;
  height: 1px;
  background-color: #212529;
  -webkit-transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.tg-readmore-link:hover {
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
}

.tg-readmore-link:hover::before {
  background-color: #3298dc;
}

/* Single Page */
.single .hentry .entry-thumbnail {
  margin-bottom: 20px;
  background-color: transparent;
}

.single .hentry .entry-thumbnail img {
  margin-bottom: 0;
}

.single .hentry .tg-top-cat {
  margin-bottom: 10px;
}

.single .hentry .entry-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.single .hentry .entry-meta {
  margin-bottom: 40px;
}

.single .hentry .entry-meta a {
  color: #363b40;
}

.single .hentry .entry-meta a:hover {
  color: #3298dc;
}

.single .hentry .entry-meta .posted-on::before {
  background-color: #363b40;
}

.single .hentry .entry-content {
  margin-bottom: 70px;
}

/* Page template */
.post-template-cover #primary {
  width: 100%;
}

.post-template-cover .hentry:not(.has-post-thumbnail) .entry-header {
  min-height: 500px;
}

.post-template-cover .entry-thumbnail--template {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  width: 100%;
  min-height: 550px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.post-template-cover .entry-thumbnail--template::before,
.post-template-cover .entry-thumbnail--template::after {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0)),
    to(rgba(0, 0, 0, 0.2))
  );
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
  display: block;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  content: "";
  z-index: 9;
  position: absolute;
}

.post-template-cover .entry-thumbnail--template::after {
  bottom: auto;
  top: 0;
}

.post-template-cover .entry-thumbnail--template .entry-info {
  z-index: 999;
  text-align: center;
  margin: 0 auto;
}

.post-template-cover .entry-thumbnail--template .entry-info .tg-top-cat {
  margin-bottom: 10px;
}

.post-template-cover
  .entry-thumbnail--template
  .entry-info
  .tg-top-cat
  .cat-links
  a {
  color: #fff;
  background-color: #16181a;
  padding: 10px;
  text-transform: uppercase;
  margin: 0 5px;
}

.post-template-cover
  .entry-thumbnail--template
  .entry-info
  .tg-top-cat
  .cat-links
  a:hover {
  background-color: #3298dc;
}

.post-template-cover
  .entry-thumbnail--template
  .entry-info
  .tg-top-cat
  .cat-links
  .cat-seperator {
  display: none;
}

.post-template-cover .entry-thumbnail--template .entry-info .entry-title {
  color: #fff;
  font-size: 2.5rem;
}

.post-template-cover .entry-thumbnail--template .entry-info .entry-meta {
  margin-bottom: 0;
  font-size: 14px;
}

.post-template-cover .entry-thumbnail--template .entry-info .entry-meta a {
  color: #fff;
}

.post-template-cover
  .entry-thumbnail--template
  .entry-info
  .entry-meta
  .posted-on::before {
  background-color: #fff;
}

.post-template-cover .entry-header--cover {
  position: relative;
  text-align: center;
  background-color: #868e96;
  margin-bottom: 60px;
}

.post-template-cover .entry-header--cover .entry-thumbnail {
  padding-bottom: 80px;
}

.post-template-cover .entry-center-content {
  width: calc(100% - 200px);
  margin: 0 auto;
}

.post-template-cover .tg-author-box {
  margin-bottom: 80px;
}

.post-template-cover .hentry {
  margin-bottom: 0;
}

.comment-navigation,
.posts-navigation,
.post-navigation {
  margin-bottom: 60px;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 1rem 1rem 0 1rem;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next,
.posts-navigation .nav-previous,
.posts-navigation .nav-next,
.post-navigation .nav-previous,
.post-navigation .nav-next {
  width: 50%;
  -webkit-transition: -webkit-transform 0.45s cubic-bezier(0.79, 1, 0.92, 1);
  transition: -webkit-transform 0.45s cubic-bezier(0.79, 1, 0.92, 1);
  transition: transform 0.45s cubic-bezier(0.79, 1, 0.92, 1);
  transition: transform 0.45s cubic-bezier(0.79, 1, 0.92, 1),
    -webkit-transform 0.45s cubic-bezier(0.79, 1, 0.92, 1);
}

.comment-navigation .nav-previous a,
.comment-navigation .nav-next a,
.posts-navigation .nav-previous a,
.posts-navigation .nav-next a,
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: block;
  font-size: 1.313rem;
  font-weight: 500;
  color: #333;
}

.comment-navigation .nav-previous a:hover,
.comment-navigation .nav-next a:hover,
.posts-navigation .nav-previous a:hover,
.posts-navigation .nav-next a:hover,
.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  color: #333;
  text-decoration: none;
}

.comment-navigation .nav-previous .nav-links__label,
.comment-navigation .nav-next .nav-links__label,
.posts-navigation .nav-previous .nav-links__label,
.posts-navigation .nav-next .nav-links__label,
.post-navigation .nav-previous .nav-links__label,
.post-navigation .nav-next .nav-links__label {
  display: block;
  height: 20px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.55, 1, 0.22, 1);
  transition: -webkit-transform 0.35s cubic-bezier(0.55, 1, 0.22, 1);
  transition: transform 0.35s cubic-bezier(0.55, 1, 0.22, 1);
  transition: transform 0.35s cubic-bezier(0.55, 1, 0.22, 1),
    -webkit-transform 0.35s cubic-bezier(0.55, 1, 0.22, 1);
  margin-bottom: 5px;
}

.comment-navigation .nav-previous .nav-links__label::before,
.comment-navigation .nav-previous .nav-links__label::after,
.comment-navigation .nav-next .nav-links__label::before,
.comment-navigation .nav-next .nav-links__label::after,
.posts-navigation .nav-previous .nav-links__label::before,
.posts-navigation .nav-previous .nav-links__label::after,
.posts-navigation .nav-next .nav-links__label::before,
.posts-navigation .nav-next .nav-links__label::after,
.post-navigation .nav-previous .nav-links__label::before,
.post-navigation .nav-previous .nav-links__label::after,
.post-navigation .nav-next .nav-links__label::before,
.post-navigation .nav-next .nav-links__label::after {
  content: "";
  font-family: themegrill-icons;
  display: inline-block;
  font-size: 8px;
  -webkit-transition: font-size 0.35s cubic-bezier(0.55, 1, 0.22, 1);
  transition: font-size 0.35s cubic-bezier(0.55, 1, 0.22, 1);
}

.comment-navigation .nav-previous:hover .nav-links__label::before,
.comment-navigation .nav-previous:hover .nav-links__label::after,
.comment-navigation .nav-next:hover .nav-links__label::before,
.comment-navigation .nav-next:hover .nav-links__label::after,
.posts-navigation .nav-previous:hover .nav-links__label::before,
.posts-navigation .nav-previous:hover .nav-links__label::after,
.posts-navigation .nav-next:hover .nav-links__label::before,
.posts-navigation .nav-next:hover .nav-links__label::after,
.post-navigation .nav-previous:hover .nav-links__label::before,
.post-navigation .nav-previous:hover .nav-links__label::after,
.post-navigation .nav-next:hover .nav-links__label::before,
.post-navigation .nav-next:hover .nav-links__label::after {
  font-size: 0;
}

.comment-navigation .nav-previous .nav-links__label::before,
.posts-navigation .nav-previous .nav-links__label::before,
.post-navigation .nav-previous .nav-links__label::before {
  content: "\f060" /*rtl:"\f103"*/;
  font-family: "Font Awesome 5 free";
  font-weight: 900;
  margin-right: 10px;
}

.comment-navigation .nav-previous:hover,
.posts-navigation .nav-previous:hover,
.post-navigation .nav-previous:hover {
  -webkit-transform: translateX(-10px);
  transform: translateX(-10px);
}

.comment-navigation .nav-previous:hover .nav-links__label,
.posts-navigation .nav-previous:hover .nav-links__label,
.post-navigation .nav-previous:hover .nav-links__label {
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: right;
  margin-left: auto;
}

.comment-navigation .nav-next .nav-links__label::after,
.posts-navigation .nav-next .nav-links__label::after,
.post-navigation .nav-next .nav-links__label::after {
  content: "\f061" /*rtl:"\f102"*/;
  font-family: "Font Awesome 5 free";
  font-weight: 900;
  margin-left: 10px;
}

.comment-navigation .nav-next:hover,
.posts-navigation .nav-next:hover,
.post-navigation .nav-next:hover {
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
}

.comment-navigation .nav-next:hover .nav-links__label,
.posts-navigation .nav-next:hover .nav-links__label,
.post-navigation .nav-next:hover .nav-links__label {
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
}

@media screen and (max-width: 991.98px) {
  .comment-navigation .nav-next a,
  .comment-navigation .nav-previous a,
  .posts-navigation .nav-next a,
  .posts-navigation .nav-previous a,
  .post-navigation .nav-next a,
  .post-navigation .nav-previous a {
    font-size: 14px;
  }
  .comment-navigation .nav-next .nav-links__label,
  .comment-navigation .nav-previous .nav-links__label,
  .posts-navigation .nav-next .nav-links__label,
  .posts-navigation .nav-previous .nav-links__label,
  .post-navigation .nav-next .nav-links__label,
  .post-navigation .nav-previous .nav-links__label {
    font-size: 11px;
  }
  .comments-area .comment-form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .comments-area .comment-form .comment-form-author,
  .comments-area .comment-form .comment-form-email {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .comments-title,
  .comment-reply-title {
    line-height: 1.3;
  }
}

/* Navigation */
#navbar {
  z-index: 3;
  width: 100%;
}

#navbar ul {
  line-height: 2;
  position: relative;
}

#navbar ul li {
  display: inline-block;
}

#navbar ul li a {
  display: block;
  margin: 0;
  padding: 0 1rem;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

#navbar ul li a:last-child {
  padding: 0 0 0 1rem;
}

#navbar ul li.current_page_item a {
  color: #007bff;
}

/* Active link */
#navbar ul li a:hover {
  color: #007bff;
}

/**
 * 3.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

/**
 * 4.0 Media Queries
 * ----------------------------------------------------------------------------
 */

/* WordPress Media Queries */
@media (max-width: 600.98px) {
}
@media (min-width: 601px) and (max-width: 782.98px) {
}
@media (min-width: 783px) {
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Single Post Enhanced Styles */
.single-post-section {
  background: #ffffff;
}

/* Article Header Styles */
.article-header h1 {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* wysiwyg Styles */
.wysiwyg h1,
.wysiwyg h2,
.wysiwyg h3,
.wysiwyg h4,
.wysiwyg h5,
.wysiwyg h6 {
  color: #1f2937;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.wysiwyg h1 {
  font-size: 2.25rem;
  border-bottom: 3px solid #2365b7; /* gabon-blue */
  padding-bottom: 0.5rem;
}

.wysiwyg h2 {
  font-size: 1.875rem;
  border-left: 4px solid #2365b7; /* gabon-blue */
  padding-left: 1rem;
  background: linear-gradient(
    90deg,
    rgba(35, 101, 183, 0.08) 0%,
    transparent 100%
  );
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.wysiwyg h3 {
  font-size: 1.5rem;
}

.wysiwyg h4 {
  font-size: 1.25rem;
}

.wysiwyg h5,
.wysiwyg h6 {
  font-size: 1.125rem;
}

.wysiwyg p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.wysiwyg strong {
  color: #1f2937;
  font-weight: 600;
}

.wysiwyg em {
  color: #2365b7; /* gabon-blue */
  font-style: italic;
}

.wysiwyg a {
  color: #2365b7; /* gabon-blue */
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  outline: none;
}

.wysiwyg a:hover {
  color: #1f4f93; /* darken */
  border-bottom-color: #2365b7;
}
.wysiwyg a:focus {
  box-shadow: 0 0 0 3px rgba(35, 101, 183, 0.25);
  border-bottom-color: #2365b7;
}

.wysiwyg ul,
.wysiwyg ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.wysiwyg li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.wysiwyg ul li {
  list-style-type: none;
  position: relative;
}

.wysiwyg ul li::before {
  content: "▸";
  color: #2365b7; /* gabon-blue */
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

.wysiwyg ol {
  counter-reset: item;
}

.wysiwyg ol li {
  counter-increment: item;
  list-style-type: none;
  position: relative;
}

.wysiwyg ol li::before {
  content: counter(item) ".";
  color: #2365b7; /* gabon-blue */
  font-weight: bold;
  position: absolute;
  left: -2rem;
}

.wysiwyg blockquote {
  border-left: 4px solid #2365b7; /* gabon-blue */
  background: linear-gradient(
    90deg,
    rgba(35, 101, 183, 0.08) 0%,
    transparent 100%
  );
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: #4b5563;
  border-radius: 0 0.5rem 0.5rem 0;
}

.wysiwyg blockquote p {
  margin-bottom: 0;
}

.wysiwyg code {
  background: #f3f4f6;
  color: #dc2626;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
}

.wysiwyg pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #374151;
}

.wysiwyg pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

.wysiwyg table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wysiwyg th,
.wysiwyg td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.wysiwyg th {
  background: #2365b7; /* gabon-blue */
  color: white;
  font-weight: 600;
}

.wysiwyg tr:nth-child(even) {
  background: #f9fafb;
}

.wysiwyg tr:hover {
  background: #f3f4f6;
}

.wysiwyg img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}

.wysiwyg hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2365b7, transparent);
  margin: 3rem 0;
}

/* Buttons inside content (e.g., .wp-block-button) */
.wysiwyg .wp-block-button__link,
.wysiwyg .button,
.wysiwyg button,
.wysiwyg input[type="submit"],
.wysiwyg input[type="button"],
.wysiwyg a.button {
  background: #2365b7;
  color: #ffffff;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px -8px rgba(35, 101, 183, 0.5);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.wysiwyg .wp-block-button__link:hover,
.wysiwyg .button:hover,
.wysiwyg button:hover,
.wysiwyg input[type="submit"]:hover,
.wysiwyg input[type="button"]:hover,
.wysiwyg a.button:hover {
  background: #1f4f93;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(35, 101, 183, 0.55);
}
.wysiwyg .wp-block-button__link:focus,
.wysiwyg .button:focus,
.wysiwyg button:focus,
.wysiwyg input[type="submit"]:focus,
.wysiwyg input[type="button"]:focus,
.wysiwyg a.button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 101, 183, 0.25);
}

/* WP align classes for media */
.wysiwyg .alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.wysiwyg .alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.wysiwyg .alignleft {
  float: left;
  margin: 0.5rem 1rem 1rem 0;
}
.wysiwyg .alignright {
  float: right;
  margin: 0.5rem 0 1rem 1rem;
}
.wysiwyg .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wysiwyg .wp-caption {
  text-align: center;
  margin: 2rem 0;
}

.wysiwyg .wp-caption img {
  margin-bottom: 0.5rem;
}

.wysiwyg .wp-caption-text {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
}

.wysiwyg .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.wysiwyg .gallery-item {
  text-align: center;
}

.wysiwyg .gallery-item img {
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.wysiwyg .gallery-item img:hover {
  transform: scale(1.05);
}

/* Remove top margin for first heading */
.wysiwyg h1:first-child,
.wysiwyg h2:first-child,
.wysiwyg h3:first-child,
.wysiwyg h4:first-child,
.wysiwyg h5:first-child,
.wysiwyg h6:first-child {
  margin-top: 0;
}

.wysiwyg blockquote p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .wysiwyg h1 {
    font-size: 1.875rem;
  }
  .wysiwyg h2 {
    font-size: 1.5rem;
  }
  .wysiwyg h3 {
    font-size: 1.25rem;
  }
  .wysiwyg h4 {
    font-size: 1.125rem;
  }

  .wysiwyg blockquote {
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
  }

  .wysiwyg pre {
    padding: 1rem;
    font-size: 0.875rem;
  }

  .wysiwyg table {
    font-size: 0.875rem;
  }

  .wysiwyg th,
  .wysiwyg td {
    padding: 0.5rem 0.75rem;
  }
}

/* Sticky Sidebar */
.sticky {
  position: sticky;
  top: 2rem;
}

/* Newsletter Animation */
.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Related Posts Grid */
.related-post-card {
  transition: all 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.related-post-card:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.related-post-card img {
  transition: transform 0.3s ease;
}

.related-post-card:hover img {
  transform: scale(1.05);
}

/* Category Badge */
.related-post-card .category-badge {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
}

/* Header Fixed Only on Homepage */
.site-header.relative {
  background: transparent;
}

/* Navbar Scroll Animation */
.site-header.fixed {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.site-header.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

/* Smooth scroll behavior for navbar */
.site-header {
  will-change: transform;
}

/* Reading Progress Circle */
.reading-progress-circle {
  transition: stroke-dashoffset 0.3s ease-out, stroke 0.3s ease-out;
}

.reading-progress-active {
  stroke: #2365b7 !important;
  filter: drop-shadow(0 0 4px rgba(35, 101, 183, 0.3));
}

.reading-progress-circle:hover {
  stroke: #1d4ed8;
  stroke-width: 2.5;
}

/* Smooth number transition */
.reading-time-number {
  transition: all 0.3s ease-out;
}

/* Progress circle container hover effect */
.relative:hover .reading-progress-circle {
  stroke: #1d4ed8;
  transform: scale(1.05);
}

/* Responsive Design for Single Post */
@media (max-width: 1023px) {
  /* Mobile Layout Adjustments */
  .single-post-section .flex-col {
    gap: 2rem;
  }

  /* Reading Progress Circle - Mobile */
  .reading-progress-circle {
    width: 4rem;
    height: 4rem;
  }

  /* Social Share Buttons - Mobile */
  .single-post-section .space-x-4 > * + * {
    margin-left: 1rem;
  }

  /* Sidebar - Mobile */
  .single-post-section .w-full {
    order: -1; /* Move sidebar above content on mobile */
  }

  /* Share Buttons - Mobile */
  .single-post-section .flex-wrap {
    justify-content: center;
  }

  /* Post Navigation - Mobile */
  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .post-navigation a {
    width: 100%;
    text-align: left !important;
  }

  .post-navigation .text-right {
    text-align: left !important;
  }

  .post-navigation .ml-auto {
    margin-left: 0 !important;
    margin-right: auto;
  }

  /* Navigation card improvements */
  .post-navigation .group:hover {
    /* transform: translateY(-2px); */
  }

  /* Line clamp utility */
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  /* Small Mobile Adjustments */
  .single-post-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Reading Time Circle - Small Mobile */
  .reading-progress-circle {
    width: 3rem;
    height: 3rem;
  }

  /* Author Card - Small Mobile */
  .author-card {
    padding: 1.5rem;
  }

  /* Newsletter Form - Small Mobile */
  .newsletter-form {
    padding: 1.5rem;
  }

  /* Share Buttons - Small Mobile */
  .single-post-section .gap-4 {
    gap: 0.5rem;
  }

  .single-post-section .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Comments System Styles */
.comments-area {
  margin-top: 2rem;
}

.comments-title {
  position: relative;
  padding-bottom: 1rem;
}

.comments-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gabon-blue), var(--gabon-green));
  border-radius: 2px;
}

/* Comment List */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  position: relative;
  transition: all 0.3s ease;
}

.comment-meta {
  margin-bottom: 1rem;
}

.comment-author {
  margin: 0;
}

.comment-author a {
  color: var(--gabon-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.comment-author a:hover {
  color: var(--gabon-green);
}

.comment-date {
  color: #6b7280;
  font-size: 0.875rem;
}

.comment-text {
  line-height: 1.6;
  color: #374151;
}

.comment-text p {
  margin-bottom: 1rem;
}

.comment-text p:last-child {
  margin-bottom: 0;
}

/* Comment Form */
.comment-form {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
}

.comment-form label {
  display: block;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gabon-blue);
  box-shadow: 0 0 0 3px rgba(35, 101, 183, 0.1);
}

.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Comment Navigation */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem 0;
}

.comment-navigation a {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--gabon-blue);
  color: white;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.comment-navigation a:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 101, 183, 0.3);
}

/* Nested Comments */
.children {
  margin-left: 2rem;
  margin-top: 1rem;
  padding-left: 2rem;
  border-left: 2px solid #e5e7eb;
}

.children .comment {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

/* Comment Status Messages */
.no-comments,
.must-log-in,
.logged-in-as {
  text-align: center;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

.no-comments {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #6b7280;
}

.must-log-in {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
}

.logged-in-as {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
}

/* Comment Reply Link */
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* Comment Awaiting Moderation */
.comment-awaiting-moderation {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #fef3c7;
  color: #92400e;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Author Badge */
.comment-author-info .bg-gabon-blue {
  background: var(--gabon-blue) !important;
}

/* Mobile Responsive Comments */
@media (max-width: 768px) {
  .children {
    margin-left: 1rem;
    padding-left: 1rem;
  }

  .comment-form {
    padding: 1.5rem;
  }

  .comment-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .comment-navigation a {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ANIMATION COEUR DRAPEAU GABON
   ============================================ */

/* Animation de battement de cœur */
@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.1);
  }
  20% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.15);
  }
  40% {
    transform: scale(1);
  }
}

/* Animation des anneaux de pulsation */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Classe pour l'animation de battement */
.animate-heartbeat {
  animation: heartbeat 2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

/* Classe pour l'animation des anneaux */
/* .animate-pulse-ring {
  animation: pulse-ring 2s ease-out infinite;
  transform-origin: center;
} */

/* Conteneur du cœur drapeau */
/* .gabon-heart-flag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
} */

/* Effet au survol */
/* .gabon-heart-flag:hover {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
} */

/* Effet au survol sur l'animation */
.gabon-heart-flag:hover .animate-heartbeat {
  animation: heartbeat 1s ease-in-out infinite;
}

/* ============================================
   SIDEBAR LARGEUR FIXE 320PX
   ============================================ */

/* Grid layout avec sidebar fixe de 320px */
.grid-sidebar-fixed {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

/* Responsive pour la sidebar */
@media (max-width: 1024px) {
  .grid-sidebar-fixed {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Sidebar devient pleine largeur sur mobile */
  .sidebar-320px {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Largeur fixe pour les sidebars */
.sidebar-320px {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 2rem;
  align-self: flex-start;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  padding-bottom: 2rem;
}

/* Adjust for WordPress admin bar */
.admin-bar .sidebar-320px {
  top: calc(2rem + 32px);
  max-height: calc(100vh - 4rem - 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .sidebar-320px {
    top: calc(2rem + 46px);
    max-height: calc(100vh - 4rem - 46px);
  }
}

/* Scrollbar styling for webkit browsers */
.sidebar-320px::-webkit-scrollbar {
  width: 6px;
}

.sidebar-320px::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-320px::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.sidebar-320px::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* ============================================
   LAYOUT HORIZONTAL ARTICLE CARDS (50/50)
   ============================================ */

/* Style pour les cartes d'articles en layout horizontal */
.article-card-horizontal {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.article-card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image de l'article horizontal */
.article-card-horizontal .w-full.md\:w-2\/3,
.article-card-horizontal .w-full.md\:w-1\/2 {
  height: 100%;
  min-height: 300px;
}

.article-card-horizontal .w-full.md\:w-2\/3 img,
.article-card-horizontal .w-full.md\:w-1\/2 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Contenu de l'article horizontal */
.article-card-horizontal .w-full.md\:w-1\/2.bg-white,
.article-card-horizontal .w-full.md\:w-1\/3.bg-white {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive pour les cartes horizontales */
@media (max-width: 768px) {
  .article-card-horizontal .w-full.md\:w-1\/2 img {
    min-height: 200px;
  }

  .article-card-horizontal .w-full.md\:w-1\/2.bg-white {
    padding: 1.5rem;
  }

  .article-card-horizontal h3 {
    font-size: 1.5rem !important;
  }
}

/* Effet de groupe pour les cartes horizontales */
.article-card-horizontal.group:hover .group-hover\:scale-110 {
  transform: scale(1.05);
}

.article-card-horizontal.group:hover .group-hover\:text-gabon-blue {
  color: var(--gabon-blue);
}

/* ============================================
   Swiper Carousel Custom Styles
   ============================================ */

/* Culture Carousel Pagination */
.culture-swiper-pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 30 !important;
  pointer-events: auto;
}

.culture-swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
}

.culture-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--gabon-yellow);
  width: 32px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 223, 27, 0.5);
}

.culture-swiper-pagination .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Navigation buttons styling */
.culture-swiper-prev,
.culture-swiper-next {
  opacity: 0.9;
  transition: all 0.3s ease;
}

.culture-swiper-prev:hover,
.culture-swiper-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.4) !important;
}

.culture-swiper-prev.swiper-button-disabled,
.culture-swiper-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Swiper slide transitions */
.culture-swiper .swiper-slide {
  transition: opacity 0.5s ease;
}

.culture-swiper .swiper-slide-active {
  opacity: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .culture-swiper-prev,
  .culture-swiper-next {
    padding: 0.75rem !important;
  }

  .culture-swiper-pagination {
    bottom: 1.5rem !important;
  }
}

/* Accessibility improvements */
.culture-swiper-prev:focus,
.culture-swiper-next:focus {
  outline: 2px solid var(--gabon-yellow);
  outline-offset: 2px;
}
