/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-background-color: #102649;
    --secondary-background-color: #1B4B8A;
    --card-background-color: #FFFFFF;
    --action-color: #E31837;
    --primary-text-color: #ffffff;
    --secondary-text-color: #000000;
    --secondary-card-text-color: #1B4B8A;
    --secondary-text-color-light: #ADD8E6;
}

body {
    font-family: "Overpass", Helvetica, Arial, sans-serif;
    background-color: var(--primary-background-color);
    color: var(--primary-text-color);
}

a {
    color: var(--secondary-text-color-light);
    text-decoration: none;
}

a:hover {
    color: var(--action-color);
}

.action-section p a {
    color: var(--action-color);
}
.action-section p a:hover {
    color: var(--secondary-text-color-light);
}

.button {
    background-color: var(--action-color);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    width: 295px;
    font-size: clamp(1.2rem, 4.5vw, 1.25rem);
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #102649;
    color: white;
}

h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    margin-bottom: 20px;
    text-align: center;
    text-decoration: underline;
}

/* Landing Section */
.landing-section {
    position: relative;
    max-width: 100%;
    height: clamp(20vw, 250px, 50vw);
    background-image: url('../assets/belgium-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-shadow: 0px 2px 4px rgb(0 0 0 / 80%);
    color: #fff;
    text-align: center;
    padding-bottom: 4vw;
}

.landing-content {
    width: 100%;
    background-color: rgba(16, 38, 73, 0.8);
    padding: 2vw;
}

.landing-content h1 {
    font-size: clamp(1.8rem, 7vw, 3rem);
    font-weight: bold;
    margin-bottom: 10px;
}

.landing-content h1 span {
    padding: 2vw;
}

.landing-content p {
    font-size: clamp(1.2rem, 4.5vw, 2rem);
    margin-top: 10px;
}

/* Info Section */
.info-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vw;
    text-align: center;
    padding-bottom: 4vw;
    padding-top: 4vw;
}

.info-section p {
    font-size: clamp(1.0rem, 4.5vw, 1.25rem);
    margin-top: 1vw;
    margin-bottom: 1.5vw;
}

/* Executive Committee Image */
.exec-committee-img {
    max-width: 600px;
    margin: 2vw auto;
    padding: 0 20px;
    height: auto;
    overflow: hidden;
}

.exec-committee-img img {
    width: 100%;
    object-fit: cover;
    object-position: center 33%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/*.exec-committee-img {
    max-width: 600px;
    margin: 2vw auto;
    padding: 0 20px;
}

.exec-committee-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}*/

/* Action Section */
.action-section {
    background-color: var(--secondary-background-color);
    color: var(--primary-text-color);
    position: relative;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 2vw;
    text-align: center;
    padding-bottom: 4vw;
    padding-top: 4vw;
}

.action-section h3 {
    color: var(--secondary-text-color);
    padding-bottom: 0.5em;
}

.action-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1em;
    padding-top: 0.75em;
}

.action-card {
    color: var(--secondary-text-color);
    display: flex;
    background-color: var(--card-background-color);
    padding: 20px;
    width: 340px;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card p {
    margin-bottom: 15px;
    /*font-size: clamp(0.8rem, 0.5em, 1.25rem);*/
    font-size: 1em;
}

.action-card .button {
    position: relative;
    border-radius: 8px;
    z-index: 2;
}

.action-card .background-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 180px;
    opacity: 0.1;
    color: #102649;
    z-index: 1;
    transform: rotate(-15deg);
}

/* Democrats Abroad Section */
.democrats-abroad-section {
    padding: 10px 20px 30px 20px;
    text-align: center;
}

.democrats-abroad-section p {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.social-links {
    margin-top: 20px;
    margin-bottom: 30px;
}

.social-links a {
    margin: 0 15px;
    color: var(--primary-text-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--action-color);
}

/* Footer Section */
.footer-section {
    display: flex; /* Changed from text-align: right; */
    justify-content: space-between; /* To place items on left and right */
    align-items: center; /* Vertically align items */
    padding: 20px;
    background-color: var(--primary-background-color);
}

.footer-section a {
    color: var(--primary-text-color);
    /* text-decoration: underline; */
}
.footer-section a:hover {
  text-decoration: underline;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/* Added for take_action.html enhancements */
.highlight-container {
    background-color: var(--primary-background-color);
    padding: 1.5em;
    border-radius: 8px;
    margin: 2em auto;
    max-width: 80%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 5px solid var(--action-color);
}

.info-section .highlight-container {
    background-color: var(--secondary-background-color)
}

/* .highlight-container a:hover,
.did-you-know-box a:hover {
    color: var(--secondary-text-color-light);
} */

.highlight-container p {
    font-size: clamp(1rem, 4vw, 1.15rem);
    text-align: left;
}

code, .code-style {
  font-family: "Courier New", Courier, monospace;
  /* background-color: #e0e0e0; */
/*  color: var(--action-color) ;*/ /*var(--secondary-card-text-color);*/ /* Changed from var(--secondary-text-color) */
  /* padding: 3px 5px; */
  /* border-radius: 4px; */
  font-size: 0.95em;
  font-weight: bold;
}

code a {
/*  color: inherit; *//* Ensure link color inside code block uses the code's color */
  text-decoration: none; /* Remove underline */
}

.social-links a svg {
  fill: currentColor;
}

/* Style for the 'Did You Know?' box */
.did-you-know-box {
  background-color: inherit; /*var(--secondary-background-color);*/
  border: 1px solid var(--secondary-text-color-light);
  border-radius: 8px;
  padding: 1.5em;
  padding-left: 5em; /* Space for the icon */
  margin: 2em auto;
  max-width: 80%;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.did-you-know-box .icon {
  position: absolute;
  left: .4em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3em;
  color: var(--secondary-text-color-light);
  opacity: 0.8;
}

.did-you-know-box h3 {
  color: var(--primary-text-color);
  margin-bottom: 0.5em;
  text-decoration: none;
  font-size: 1.35rem;
}

.did-you-know-box p {
  font-size: 1.1rem;
  margin: 0 1em 0.4em 1em;
}
.did-you-know-box :last-child {
  margin-bottom: 0;
}

i.fas {
    margin: 0 0.4em;
    display: inline-block;
}