:root {
   --primary-color: rgb(183, 0, 0);
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: "Open Sans", Arial, sans-serif;
   color: #1a1a1a;
   line-height: 1.7;
   margin: 0;
   background-color: #eeeeee;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

/* Container Principal */
.container {
   background-color: #fff;
   border-radius: 10px;
   max-width: 900px;
   margin: 40px auto;
   padding: 20px;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.main-header {
   background-color: var(--primary-color);
   padding: 10px;
}

.header-items {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   max-width: 900px;
   margin: 0 auto;
   padding: 0 10px;
}

.container-logo {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-grow: 1;
}

.logo-header {
   width: 40px;
   height: 40px;
   margin-right: 10px;
   object-fit: contain;
}

.logo {
   color: white;
   font-size: 24px;
   font-weight: normal;
   letter-spacing: 5px;
   margin: 0;
   text-align: center;
   text-transform: uppercase;
}

.menu-icon,
.search-icon {
   background: none;
   border: none;
   cursor: pointer;
   padding: 5px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 4px;
   transition: opacity 0.3s ease;
   min-width: 40px;
}

.menu-icon span {
   display: block;
   width: 25px;
   height: 3px;
   background-color: white;
   border-radius: 2px;
   transition: all 0.3s ease;
}

.search-icon svg {
   width: 24px;
   height: 24px;
}

.menu-icon:hover span,
.search-icon:hover svg {
   opacity: 0.8;
}

.menu-icon:focus,
.search-icon:focus {
   outline: 2px solid white;
   outline-offset: 2px;
}

/* Typography */
h1.headline {
   font-size: 40px;
   font-weight: 700;
   text-align: center;
   margin-bottom: 15px;
   line-height: 1.2;
}

.red {
   color: #d62727;
}

h2.subheadline {
   text-align: center;
   font-size: 24px;
   margin-top: 5px;
   margin-bottom: 20px;
   font-weight: 600;
   color: #1a1a1a;
}

.divider {
   border: none;
   border-top: 2px dotted #000000;
   width: 60%;
   margin: 25px auto;
}

p {
   margin-bottom: 16px;
   font-size: 22px;
}

a {
   color: blue;
   text-decoration: underline;
   transition: color 0.3s ease;
}

strong {
   font-weight: 700;
}

em {
   font-style: italic;
}

/* Article Sections */
article {
   margin-bottom: 30px;
}

section {
   margin-bottom: 20px;
}

.midlle-image {
   text-align: center;
   margin: 20px auto;
}

.midlle-image img {
   width: 100%;
   max-width: 700px;
   border: 1px solid #ccc;
   border-radius: 6px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.video-section {
   text-align: center;
   margin: 40px 0;
}

.video-section a {
   display: inline-block;
   transition: transform 0.3s ease;
}

.video-section a:hover {
   transform: scale(1.02);
}

.video-section a:focus {
   outline: 3px solid #d62727;
   outline-offset: 5px;
}

.video-section img {
   width: 100%;
   max-width: 700px;
   height: auto;
   border: 1px solid #ccc;
   border-radius: 6px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   display: block;
   margin: 0 auto;
}

.small-text {
   font-size: 16px;
   margin: 8px 0;
   color: #d62727;
   font-weight: bold;
}

/* Footer */
footer {
   background-color: var(--primary-color);
   padding: 40px 20px 20px;
   text-align: center;
   color: #fff;
}

.footer-brand {
   margin-bottom: 20px;
}

footer p {
   margin-bottom: 10px;
   font-size: 18px;
}

.logo-footer {
   width: 80px;
   height: auto;
   margin: 15px auto 0;
   display: block;
   object-fit: contain;
}

.footnote {
   font-size: 16px;
   line-height: 1.6;
   max-width: 800px;
   margin: 10px auto;
   padding: 0 20px;
}

.footer-links {
   margin-top: 20px;
   font-size: 16px;
}

.footer-links a {
   color: #fff;
   text-decoration: none;
   transition: opacity 0.3s ease;
}

.footer-links a:hover {
   text-decoration: underline;
   opacity: 0.8;
}

.footer-links a:focus {
   outline: 2px solid white;
   outline-offset: 2px;
}

/* Accessibility */
.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border-width: 0;
}

/* Print Styles */
@media print {
   .main-header,
   .video-section,
   footer {
      display: none;
   }

   body {
      background-color: white;
   }

   .container {
      box-shadow: none;
      margin: 0;
   }
}

/* Responsive - Tablet */
@media (max-width: 992px) {
   .container {
      margin: 20px auto;
      padding: 15px;
   }

   h1.headline {
      font-size: 36px;
   }

   h2.subheadline {
      font-size: 22px;
   }

   p {
      font-size: 21px;
   }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
   .logo {
      font-size: 16px;
      letter-spacing: 2px;
   }

   .logo-header {
      width: 30px;
      height: 30px;
      margin-right: 8px;
   }

   .menu-icon span {
      width: 20px;
   }

   .search-icon svg {
      width: 20px;
      height: 20px;
   }

   .container {
      padding: 5px 15px;
      margin: 10px;
      border-radius: 8px;
   }

   h1.headline {
      font-size: 28px;
      margin-bottom: 10px;
   }

   h2.subheadline {
      font-size: 18px;
   }

   p {
      font-size: 18px;
      margin-bottom: 14px;
   }

   .small-text {
      font-size: 14px;
   }

   .divider {
      width: 80%;
      margin: 20px auto;
   }

   .video-section {
      margin: 30px 0;
   }

   .video-section img {
      border-radius: 4px;
   }

   footer {
      padding: 30px 15px 15px;
   }

   .footnote {
      font-size: 14px;
      padding: 0 10px;
   }

   .footer-links {
      font-size: 14px;
      line-height: 1.8;
   }

   .logo-footer {
      width: 60px;
   }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
   .logo {
      font-size: 16px;
      letter-spacing: 1px;
   }

   .logo-header {
      width: 25px;
      height: 25px;
   }

   h1.headline {
      font-size: 24px;
   }

   h2.subheadline {
      font-size: 18px;
   }

   p {
      font-size: 18px;
   }

   .container {
      margin: 5px;
      padding: 10px;
   }
}
