﻿:root {
  --primary-red: #c6002b;
  --dark-text: #480721;
  --gray-text: #666;
  --light-gray: #888;
  --border-gray: #e0e0e0;
  --bg-light: #ffffff;
  --featured-black: #353535;
  --bg-gray: #e0e0e0;
  --success-green: #4caf50;
  --bg-dark: #480721;
  --cta-yellow: #e7fe31;
}

body {
  background-color: var(--bg-light);
}

main.root {
  background-color: #fff;
}

/*section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #fff;

    @include media-breakpoint-down(md) {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}*/
figure {
  margin: 0;
}

main cite {
  font-style: normal;
  color: #666;
  font-size: 0.8rem;
  display: block;
  margin-top: 1rem;
  text-align: center;
}
@media (max-width: 991.98px) {
  main cite {
    font-size: 0.75rem;
  }
}

/* Sticky Mini Menu */
.sticky-mini-menu {
  /*    position: sticky;
  top: 7rem;
  z-index: 1020;*/
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
@media (max-width: 991.98px) {
  .sticky-mini-menu {
    top: 5rem;
  }
}

.mini-nav {
  padding: 0.9rem 0;
}
.mini-nav .nav-link {
  color: #495057;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 60px;
  transition: all 0.3s ease;
  position: relative;
}
@media (max-width: 991.98px) {
  .mini-nav .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}
.mini-nav .nav-link.active {
  background: #c6002b;
  color: white;
}
.mini-nav .nav-link.outline {
  color: #c6002b;
  border-color: #c6002b;
}
.mini-nav .nav-link:hover {
  background: rgba(168, 168, 168, 0.1);
  color: #495057;
  transform: translateY(-1px);
}

/* Dropdowns */
.dropdown-toggle::after {
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background: rgba(168, 168, 168, 0.1);
  color: #495057;
  transform: translateX(5px);
}
.dropdown-item i {
  width: 20px;
  margin-right: 0.5rem;
  color: #6c757d;
}
.dropdown-item:hover i {
  color: #667eea;
}

/* Nested dropdown styles */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0.125rem;
}
@media (max-width: 991.98px) {
  .dropdown-submenu .dropdown-menu {
    position: static;
    display: none;
    margin-left: 1rem;
    box-shadow: none;
    border-left: 2px solid #667eea;
  }
}
.dropdown-submenu:hover .dropdown-menu {
  display: block;
}
.dropdown-submenu > .dropdown-item::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  float: right;
  margin-left: 0.5rem;
  color: #6c757d;
}

/* Content Section */
.content-section {
  min-height: 100vh;
  padding: 0 0;
}

.section-title {
  color: #667eea;
  margin-bottom: 2rem;
}

/* Contact form */
form.awu {
  padding-bottom: 2rem;
}

form.awu .form-group {
  padding-bottom: 1rem;
}

form.awu .form-group label {
  padding-bottom: 0.5rem;
  font-weight: bold;
}

.validation-summary-errors {
  color: #c6002b;
}

.field-validation-error {
  color: #c6002b;
  background-color: #fff;
  text-indent: 0.5rem;
}

.field-validation-error:before {
  content: "* ";
}

.captcha {
  text-align: center;
  margin: 1rem auto;
  height: 75px;
}

.g-recaptcha {
  display: inline-block;
}

/* Reusable Category Badges */
.category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}
.category-badge span {
  background-color: var(--primary-red);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-left: 0.25rem;
}

/* Header Section */
.header-section {
  margin-bottom: 1rem;
  /*    background-color: white;*/
}
@media (max-width: 991.98px) {
  .header-section {
    /*    padding: 2rem 0;*/
  }
}
.header-section .header-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}
@media (max-width: 991.98px) {
  .header-section .header-content {
    flex-direction: column;
    gap: 2rem;
  }
}
.header-section .header-text {
  flex: 1;
}
@media (max-width: 991.98px) {
  .header-section .header-text {
    order: 1;
  }
}

.article-image-wrapper {
  flex: 1;
  max-width: 600px;
  position: relative;
}
@media (max-width: 991.98px) {
  .article-image-wrapper {
    order: 2;
    max-width: 100%;
  }
}
.article-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.header-content-section {
  padding: 1rem 0 4rem 0;
  margin-bottom: 1rem;
  background-color: white;
}

.article-title {
  color: var(--dark-text);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1;
}
@media (max-width: 991.98px) {
  .article-title {
    font-size: 1.75rem;
  }
}

.article-title-link {
  color: inherit;
  text-decoration: none;
}
.article-title-link:hover {
  color: var(--primary-red);
}

.article-meta {
  color: var(--gray-text);
  font-size: 0.95rem;
  /*    margin-bottom: 2rem;*/
}

.article-description {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .article-description {
    font-size: 1rem;
    text-align: left;
  }
}

/* Filter Navigation */
.filter-nav {
  padding: 1rem 0;
  margin-bottom: 2rem;
}
@media (max-width: 991.98px) {
  .filter-nav {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 1rem;
    padding: 1rem 0;
    scroll-behavior: smooth;
  }
  .filter-nav .container,
  .filter-nav .text-center {
    white-space: nowrap;
    text-align: left;
    padding-right: 1rem;
  }
}

.filter-nav::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  margin: 0 0.3rem;
  border-radius: 25px;
  border: 1px solid #ddd;
  background-color: white;
  color: var(--dark-text);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media (max-width: 991.98px) {
  .filter-btn {
    margin: 0.3rem;
    font-size: 0.9rem;
    display: inline-block;
    flex-shrink: 0;
  }
}
.filter-btn.active {
  background-color: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
}
.filter-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

/* Section Headers */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  border-bottom: 4px solid var(--primary-red);
  display: inline-block;
  padding-bottom: 0.5rem;
}
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  color: var(--gray-text);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Insight Cards */
.article-card {
  border: solid 1px #efefef;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  background: white;
  margin-bottom: 0;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-img-wrapper {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}
.card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-img-wrapper .category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.card-content {
  padding: 1.5rem;
}

.content-type {
  color: var(--light-gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.card-description {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (max-width: 991.98px) {
  .card-description {
    text-align: left;
  }
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover {
  color: inherit;
}

.hidden-card {
  display: none !important;
}

/* Load More Button */
.load-more-container {
  text-align: center;
  padding: 3rem 0;
}

.load-more-btn {
  padding: 1rem 3rem;
  border-radius: 30px;
  border: 2px solid var(--primary-red);
  background-color: white;
  color: var(--primary-red);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media (max-width: 991.98px) {
  .load-more-btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
}
.load-more-btn:hover {
  background-color: var(--primary-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}
.load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Detail Page - Header */
.site-header {
  background-color: white;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.back-link {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.back-link:hover {
  color: #b71c1c;
  transform: translateX(-5px);
}

/* Detail Page - Content Section */
.content-section {
  max-width: 800px;
  margin: 0 auto 1rem;
}

.article-main > .row {
  display: flex;
  flex-direction: row-reverse;
}
@media (max-width: 991.98px) {
  .article-main > .row {
    flex-direction: initial;
  }
}

article.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}
@media (max-width: 991.98px) {
  article.article-content {
    font-size: 1rem;
  }
}
article.article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}
article.article-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
article.article-content p {
  margin-bottom: 1.5rem;
}
@media (max-width: 991.98px) {
  article.article-content p {
    text-align: left;
  }
}
article.article-content ul,
article.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}
article.article-content li {
  margin-bottom: 0.75rem;
}
article.article-content dl {
  font-size: 0.8rem;
}
article.article-content section.takeaways {
  border: 1px dotted #ccc;
  border-left-width: 0;
  border-right-width: 0;
  padding: 1rem 3rem;
  background-color: #fcfcfc;
}
@media (max-width: 991.98px) {
  article.article-content section.takeaways {
    padding: 0.5rem 1rem;
  }
}
article.article-content section.takeaways h2 {
  margin-top: 1rem;
}
.highlight-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-red);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}
.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Social Share Sidebar */
.social-share-sidebar {
  position: sticky;
  top: 250px;
}
@media (max-width: 991.98px) {
  .social-share-sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 2rem;
  }
}

.share-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--light-gray);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 991.98px) {
  .share-title {
    display: none;
  }
}

.social-btn-large {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  border: 2px solid var(--border-gray);
  background-color: white;
  color: var(--dark-text);
}
@media (max-width: 991.98px) {
  .social-btn-large {
    margin-bottom: 0;
  }
}
.social-btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-red);
  color: var(--primary-red);
}
.social-btn-large svg {
  fill: currentColor;
}

/* Related Articles */
.related-section {
  background-color: var(--bg-light);
  padding: 4rem 0;
}

.related-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: block;
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  color: inherit;
}

.related-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-card-content {
  padding: 1.5rem;
}

.related-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.related-card-type {
  color: var(--light-gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.video-facade {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  margin: 2rem 0;
  width: 100%;
  max-width: 100%;
}
.video-facade::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-facade--vertical {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.video-facade--vertical::before {
  padding-top: 177.78%;
}
@media (max-width: 767.98px) {
  .video-facade--vertical {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .video-facade--vertical {
    max-width: 320px;
  }
}
@media (min-width: 992px) {
  .video-facade--vertical {
    max-width: 360px;
  }
}

@media (max-width: 767.98px) {
  .video-facade:not(.video-facade--vertical) {
    border-radius: 8px;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
    max-width: calc(100% + 3rem);
    border-radius: 0;
  }
}
@media (min-width: 576px) {
  .video-facade:not(.video-facade--vertical) {
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  .video-facade:not(.video-facade--vertical) {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

.video-facade__thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.video-facade:hover .video-facade__thumbnail {
  transform: scale(1.03);
  filter: brightness(0.85);
}

.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.video-facade__play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  fill: #1a1a1a;
}
@media (min-width: 576px) {
  .video-facade__play {
    width: 72px;
    height: 72px;
  }
  .video-facade__play svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
  }
}

.video-facade:hover .video-facade__play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.video-facade:active .video-facade__play {
  transform: translate(-50%, -50%) scale(0.95);
}

.video-facade__duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
@media (min-width: 576px) {
  .video-facade__duration {
    bottom: 12px;
    right: 12px;
    font-size: 0.75rem;
  }
}

.video-facade.is-loaded .video-facade__thumbnail,
.video-facade.is-loaded .video-facade__play,
.video-facade.is-loaded .video-facade__duration {
  display: none;
}

.video-facade__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.video-facade__player::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.video-caption {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: #666;
  text-align: left;
  padding: 0 0.25rem;
}
.video-caption strong {
  color: #333;
}
@media (min-width: 576px) {
  .video-caption {
    font-size: 0.875rem;
    text-align: center;
    padding: 0;
  }
}

@media (max-width: 767.98px) {
  figure:has(.video-facade:not(.video-facade--vertical)) .video-caption {
    padding: 0 1.5rem;
  }
}

figure:has(.video-facade--vertical) .video-caption {
  text-align: center;
  padding: 0;
}
