/*
Theme Name: MG Theme
Description: A modern WordPress theme for political websites built with PHP, Bootstrap, and ACF.
Version: 1.0.0
Author: Your Name
Text Domain: mg-theme
*/
/* MG Theme Main Styles */
:root {
  --mg-primary: #00583C;
  --mg-secondary: #8ab892;
  --mg-accent: #f4f6f4;
  --mg-text-dark: #2d3748;
  --mg-text-light: #718096;
  --mg-white: #ffffff;
  --mg-font-system: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mg-font-serif: "Open Sans", Georgia, serif;
}

a {
  color: var(--mg-primary);
}

body {
  font-family: var(--mg-font-system);
  color: var(--mg-text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--mg-primary);
  font-weight: 600;
}

.btn-primary {
  background-color: var(--mg-primary);
  border-color: var(--mg-primary);
  color: var(--mg-white);
  padding: 12px 28px;
}
.btn-primary:hover {
  background-color: #1e3a21;
  border-color: #1e3a21;
}

.btn-secondary {
  background-color: var(--mg-secondary);
  border-color: var(--mg-secondary);
  color: var(--mg-primary);
  padding: 12px 28px;
}
.btn-secondary:hover {
  background-color: #7aa882;
  border-color: #7aa882;
}

.card {
  border: none;
  background: var(--mg-primary);
  transition: transform 0.2s, box-shadow 0.2s;
  border-bottom: 6px solid var(--mg-secondary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  padding: 20px;
}
.card .card-title {
  line-height: 1.4;
  color: white;
}
.card .card-title a {
  color: white;
}
.card .small {
  color: white !important;
  opacity: 0.7;
}
.card .card-text, .card p {
  color: white;
  opacity: 0.8;
}
.card-img-top {
  height: 200px;
  object-fit: cover;
}
.card .btn {
  margin-top: 20px;
}

.hero-section {
  background: #00452f;
  padding: 4rem 0;
  border-bottom: 12px #9CD1A0 solid;
}
.hero-section h1, .hero-section .hero-subtitle {
  color: white;
}
.hero-section .hero-subtitle {
  opacity: 0.5;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--mg-primary);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--mg-text-light);
  margin-bottom: 2rem;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--mg-primary);
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: background-color 0.2s;
}
.social-icons a:hover {
  background-color: var(--mg-secondary);
  color: var(--mg-primary);
}
@media (max-width: 1100px) {
  .social-icons {
    margin-bottom: 20px;
  }
}

.site-header {
  background: var(--mg-primary);
  color: white;
}

.navbar {
  padding-block: 20px;
}
@media (max-width: 1000px) {
  .navbar {
    padding-block: 10px;
  }
}
.navbar .navbar-toggler {
  color: white;
}
.navbar .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-brand {
  font-weight: 700;
  color: white;
}
.navbar-brand span {
  padding-left: 10px;
  color: white !important;
}
.navbar-nav .nav-link {
  color: var(--mg-text-dark) !important;
  font-weight: 500;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: var(--mg-primary) !important;
}
.navbar-nav .menu-item a {
  color: white !important;
  text-decoration: none;
  font-weight: 400;
  padding: 0.5rem 1rem;
  display: block;
  transition: opacity 0.3s ease;
  font-size: 18px;
  opacity: 0.8;
}
.navbar-nav .menu-item a:hover, .navbar-nav .menu-item a:focus {
  opacity: 1;
}
.navbar-nav .menu-item.current-menu-item a {
  font-weight: 600;
  opacity: 1;
}

.footer {
  background-color: var(--mg-primary);
  color: var(--mg-white);
  padding: 6rem 0;
  border-top: 12px #9CD1A0 solid;
}
.footer h5 {
  color: var(--mg-white) !important;
  font-size: 34px;
}
.footer a {
  color: var(--mg-secondary);
}
.footer a:hover {
  color: var(--mg-white);
}

.text-primary-custom {
  color: var(--mg-primary) !important;
}

.text-secondary-custom {
  color: var(--mg-secondary) !important;
}

.bg-primary-custom {
  background-color: var(--mg-primary) !important;
}

.bg-secondary-custom {
  background-color: var(--mg-secondary) !important;
}

.bg-accent-custom {
  background-color: var(--mg-accent) !important;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}
img {
  max-width: 100%;
  height: auto;
}

a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--mg-secondary);
  outline-offset: 2px;
}

.wrap-textblock h1, .wrap-textblock h2, .wrap-textblock h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}
.wrap-textblock p {
  font-size: 18px;
  line-height: 1.8;
}
.wrap-textblock ol {
  padding: 2em;
  color: white;
  background: var(--mg-primary);
  display: flex;
  flex-wrap: wrap;
  font-size: 20px;
  font-weight: 600;
  line-height: 2;
}
.wrap-textblock ol li {
  flex: 0 0 50%;
  margin: 0;
  padding-left: 5px;
  transform: translateX(30px);
}
.wrap-textblock ul li {
  font-size: 18px;
  line-height: 1.8;
}

blockquote {
  background: var(--mg-primary);
  padding: 2em;
  color: white;
  font-style: italic;
  margin: 25px 0;
}
blockquote strong {
  color: #9CD1A0;
  font-style: normal;
}
blockquote p {
  font-size: 24px !important;
  line-height: 1.2;
}

article p {
  font-size: 18px;
  line-height: 1.8;
}
article li, article ul li {
  font-size: 18px;
  line-height: 1.8;
}

@media (min-width: 1000px) {
  .is-col {
    width: 50%;
    flex-direction: column;
    display: inline-flex;
    float: left;
  }
  .is-col:nth-child(odd) {
    padding-right: 50px;
  }
}

/*# sourceMappingURL=style.css.map */
