@charset "utf-8";
/* CSS Document */

/* ==========================================================================
   USA Made Products – Fishing Reels Page
   Global resets, typography, layout, components
   ========================================================================== */

/* ==========================================================================
   1. Global & Reset
   ========================================================================== */
html {
  background-image: url(https://usamadeproducts.biz/images/flagbg.gif);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacOSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  margin: 0 auto;
  max-width: 940px;
  padding: 1rem;
}

/* ==========================================================================
   2. Header (Site-wide banner)
   ========================================================================== */
header[role="banner"] {
  text-align: center;
  padding: 2.5rem 1rem;
  background: linear-gradient(to bottom, #0a2540, #1e3a5f);
  color: white;
  border-radius: 0 0 16px 16px;
  margin-bottom: 2.5rem;
  position: relative;
}

.site-branding {
  margin-bottom: 1.5rem;
}

.site-branding a {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.site-branding a:hover,
.site-branding a:focus {
  transform: scale(1.04);
  outline: none;
}

#site-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.site-name {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.page-subtitle {
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-weight: 500;
  margin-top: 0.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin: 0.4rem 0 0.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.site-branding a:focus {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  border-radius: 8px;
}

/* ==========================================================================
   3. Main Content Layout
   ========================================================================== */
main#main-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

/* Each brand profile card */
article {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;  
}

article:hover,
article:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(10, 37, 64, 0.15);
}

/* ==========================================================================
   4. Brand Header (logo + h2 + description)
   ========================================================================== */
.company-header {
  position: relative;
  background: #e6f0fa;
  border-bottom: 1px solid #e0e7ef;
  padding: 1.5rem 1.5rem 1rem;      /* Balanced padding */
  display: flex;
  flex-direction: row;                /* Explicit row */
  flex-wrap: nowrap;                  /* No wrap on desktop */
  justify-content: flex-start;        /* Force left alignment */
  align-items: flex-start;            /* Tops aligned */
  gap: 1.5rem;                        /* Reasonable space between columns */
}
.logo-and-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;            /* Left-align logo/stars in their column */
  gap: 0.8rem;                        /* Tighter for better visual balance */
  flex-shrink: 0;
  width: 200px;                       /* Fixed column width */
  max-width: 220px;
}

.company-logo {
  width: 100%;                         /* Fills the .logo-and-rating width */
  max-width: 200px;
  height: auto;
  display: block;
}

.star-rating {
  width: 100%;                         /* Matches logo width exactly */
  height: auto;
}

.company-header img.company-logo,
.company-header picture img.company-logo {
  width: auto !important;             /* Let CSS control */
  max-width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
}

.company-header h2 {
  margin: 0;
  padding: 1rem;
  font-size: 2.1rem;          /* was 1.1rem – restored to readable size */
  color: #0a2540;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.15;
  text-align: center;
  position: relative;
  z-index: 1;
}

.company-desc {
  padding: 1rem;                      /* Increased padding for better breathing room inside */
  text-align: left;
  background-color: white;
  border-radius: 12px;                /* Main rounded corners – adjust value to taste (8–16px common) */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);  /* Optional: subtle shadow for depth/lift */
  border: 1px solid #e0e7ef;          /* Optional: light border to define the card edge */
}

  .company-desc h2 {
    text-align: center;               /* Centered title on mobile */
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
  }
article > div[itemprop="author"] {
  margin: 2.5rem 0 1.5rem;
  padding: 1rem;
  background: #f8f9fa;             /* Light bg like your body, or subtle flag tint if desired */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #444;
  text-align: center;
}

article > div[itemprop="author"]::before {
  content: "Reviewed & Compiled by";   /* Optional visible label */
  display: block;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.4rem;
}

article > div[itemprop="author"] a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0a2540;
  font-weight: 700;
}

article > div[itemprop="author"] a:hover {
  color: #c8102e;                  /* Red accent for USA theme on hover */
}

/* ==========================================================================
   5. Mobile Adjustments
   ========================================================================== */
@media (max-width: 680px) {
  .company-header {
    flex-direction: column;            /* Stack logo-block then description */
    align-items: center;               /* Center horizontally */
    gap: 1rem;
    padding: 1.2rem 1rem;
    text-align: center;
  }

  .logo-and-rating {
    align-items: center;               /* Center logo + stars on mobile */
    width: 180px;                      /* Smaller but still proportional */
    max-width: 90%;
    margin: 0 auto 1rem;
  }

  .company-logo {
    width: 100%;
    max-width: 180px;
  }

  .star-rating {
    width: 100%;
    max-width: 160px;                  /* Slightly narrower for balance */
  }

  .company-desc {
    padding: 0.5rem 1rem;
    text-align: left;                  /* Keep left-aligned text for readability */
                  /* Optional subtle bg */
  }

  .company-header h2 {
    font-size: 1.8rem;
    text-align: center;
    padding: 0;
  }
}

/* ==========================================================================
   6. Sections, Accordions & Typography
   ========================================================================== */
section {
  padding: 1rem;
  border-top: 1px solid #eee;
}

section h3 {
  font-size: 1.15rem;
  color: #1e3a5f;
  margin-bottom: 0.75rem;
  border-left: 4px solid #4682b4;
  padding-left: 0.75rem;
}

p {
  margin-bottom: 0.5rem;
}

strong {
  color: #1a3c5e;
}

.highlight {
  background-color: #e8f4ff;
  padding: 2px 6px;
  border-radius: 3px;
}

.note {
  background-color: #fff8e1;
  border-left: 5px solid #ffb300;
  padding: 15px 20px;
  margin: 25px 0;
  font-style: italic;
}

/* Blockquotes */
blockquote {
  background: #f0f4f8;
  border-left: 5px solid #4682b4;
  padding: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #333;
  border-radius: 6px;
}

blockquote footer {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  text-align: right;
  color: #555;
}

blockquote a {
  color: #0a2540;
  text-decoration: underline;
}

/* Accordions */
details {
  margin: 1rem 0;
  border: 1px solid #e0e7ef;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

details[open] {
  box-shadow: 0 6px 20px rgba(10,37,64,0.12);
}

summary {
  padding: 1.2rem 1.5rem;
  background: #e6f0fa;
  color: #0a2540;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: background 0.2s ease;
}

summary:hover,
summary:focus {
  background: #d9e8f8;
}

summary::-webkit-details-marker {
  display: none;
}

summary {
  list-style: none;
}

.custom-accordion {
  position: relative;
  padding-left: 2.5rem !important;
}

.custom-accordion::before {
  content: "\25B6";
  font-size: 1.8rem;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.35s;
  color: #1e3a5f;
}

details[open] .custom-accordion::before {
  transform: translateY(-50%) rotate(180deg);
}

details > *:not(summary) {
  padding: 1.2rem 1.5rem;
  background: #fdfdff;
  border-top: 1px solid #e0e7ef;
}

.reel-features-nav {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.reel-features-nav h4 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}
.reel-features-nav ul {
  list-style: none;
  padding-left: 0;
}
.reel-features-nav a {
  text-decoration: none;
  color: #007bff;
}
.reel-features-nav a:hover {
  text-decoration: underline;
}
.reel-features-nav ul ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   7. Media & Images
   ========================================================================== */
img[loading="lazy"],
iframe[loading="lazy"] {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

iframe {
  aspect-ratio: 16 / 9;
}

img[alt*="Made in USA"] {
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.accordion-thumb {
  width: 3rem;                /* ≈40px – good desktop size; adjust to taste (2–3rem) */
  height: auto;                 /* Maintain aspect ratio */
  max-width: 5rem;              /* Safety cap if container is very wide */
  flex-shrink: 0;               /* Prevent flex item from shrinking too much */
  object-fit: contain;          /* Ensures no cropping/distortion */
  display: inline-block;        /* or block if needed; helps in flex */
  vertical-align: middle;      /* Aligns nicely with text if inline */
  border-radius: 0 !important; 
}


/* ==========================================================================
   8. Aside & Footer
   ========================================================================== */
aside {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #e6f0fa;
  border-radius: 12px;
  border: 1px solid #b3d4fc;
  font-style: italic;
  text-align: center;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-top: 1px solid #ddd;
  color: #555;
}

footer a {
  color: #0a2540;
  font-weight: bold;
  text-decoration: none;
}

/* ==========================================================================
   9. Accessibility & Focus States
   ========================================================================== */
a:focus,
button:focus,
summary:focus {
  outline: 3px solid #4682b4;
  outline-offset: 2px;
}

/* Lists */
ul,
ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
}

/* Code */
code {
  background: #f4f4f4;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: Consolas, monospace;
}