/* NOTO SANS CLEAN COLUMN STYLE - NO DIV REQUIRED */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Stop browsers from artificially inflating text sizes */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

:root {
    --fsu-garnet: #78243c;
    --fsu-gold: #ceb888;
    --paper-white: #ffffff;
    --bg-wash: #f0f2f5; 
    --text-color: #1a1a1a;
    --text-light: #5f6368;
    --paper-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

body {
    background-color: var(--bg-wash);
    color: var(--text-color);
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.container {
    background: var(--paper-white);
    max-width: 800px;
    width: 100%;
    padding: 50px 60px;
    box-shadow: var(--paper-shadow);
    border-radius: 8px;
}

header {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 35px;
    padding-bottom: 25px;
}

header h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--fsu-garnet);
    font-family: 'Noto Sans', sans-serif !important;
    font-weight: 600;
}

header p {
    color: var(--text-light);
    margin: 8px 0 0 0;
}

summary h2 {
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 1.2rem;
    margin: 0;
}

h2 {
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 1.4rem;
    margin: 0;
}

summary h3 {
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 1.1rem;
    margin: 0;
}

/* This targets any direct child of <details> that is NOT the <summary> */
 details > *:not(summary) { 
    margin-left: 28px; /* Keeps the indent from the arrow */
    font-size: 1rem;
    padding-right: 10px;
}

/* Adds the border and extra spacing to the very last element inside the details */
details > *:last-child {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

/* --- SUMMARY STYLING --- */

summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px 0;
    list-style: none;
    outline: none;
    display: flex;
    align-items: center;
}

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


 summary::before { 
     content: '→';
     display: inline-block; /*required for transform/rotate to work! */
    margin-right: 12px; 
    color: var(--fsu-garnet); 
    transition: transform 0.2s ease-in-out; 
 } 

 details[open] > summary::before { 
    transform: rotate(90deg); 
 } 


/* --- LINKS & LISTS --- */

a {
    color: var(--fsu-garnet);
    text-decoration: underline;
    text-decoration-color: rgba(120, 36, 60, 0.3);
    text-underline-offset: 3px;
}

ul {
    padding-left: 20px;
    margin: 10px 0;
}

li { margin-bottom: 8px; }

/* Banner Container */
.banner-wrapper {
    width: 100%;
    /*margin: -60px -100px 40px -100px;*/ /* Negates the paper's padding to go edge-to-edge */
    /*width: calc(100% + 200px);*/ /* Adjusts width to fill the gap */
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100px; /* Adjust height as desired */
    object-fit: cover; /* Crops image to fill space without stretching */
    display: block;
    border-bottom: 3px solid var(--accent-gold);
}

.card { background: rgba(79, 70, 229, 0.05); padding: 30px; border-radius: 12px; border: 1px solid rgba(79, 70, 229, 0.1); text-align: center; }

.formula-box { background: #f8fafc; padding-top: 0px; padding-left: 20px; border-radius: 8px; border-left: 5px solid #4f46e5; font-family: serif; font-size: 1.2em; }

/* --- Mobile Responsiveness Fix --- */
@media (max-width: 768px) {
    .paper-scroll {
        margin: 0; /* Remove top/bottom margin for "full screen" scroll on mobile */
        padding: 40px 20px; /* Reduces side padding so text isn't tiny */
        width: 100%;
        box-shadow: none; /* Shadow isn't visible on full-width mobile, so we clean it up */
        border-top: none; /* Optional: cleaner look for mobile headers */
    }

    summary {
        font-size: 1.15rem; /* Makes the clickable area easier for thumbs */
    }
}

/* --- Subtle Navigation --- */
.subtle-nav {
    display: flex;
    justify-content: flex-end; /* Aligns menu to the right */
    gap: 25px; /* Adds breathing room between links */
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Very faint line */
}

.subtle-nav a {
    color: #999; /* Muted grey so it doesn't shout */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em; /* Adds elegant spacing */
    transition: color 0.3s ease;
}

.subtle-nav a:hover {
    color: #782f40; /* Gently brightens to your FSU Garnet on hover */
    text-decoration: none; /* Keeps it clean, no underline */
}

/* Mobile check: center the nav on small screens */
@media (max-width: 768px) {
    .subtle-nav {
        justify-content: center;
        gap: 15px;
    }
}


.quote {
  /* Typography */
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  color: #333333;
  line-height: 1.6;

  /* Spacing & Layout */
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  max-width: 800px;

  /* Visual Styling */
  background-color: #f8f9fa;
  border-left: 6px solid #0056b3;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  
  /* Positioning context for decorative quotes (optional) */
  position: relative;
}

/* Optional: Adds a large decorative quotation mark in the background */
.quote::before {
  content: "\201C"; /* Unicode for Left Double Quotation Mark */
  font-family: Arial, sans-serif;
  font-size: 6rem;
  font-style: normal;
  font-weight: bold;
  color: #0056b3;
  opacity: 0.1;
  position: absolute;
  top: -10px;
  left: 10px;
  pointer-events: none; /* Ensures the quote mark doesn't interfere with text selection */
}

/* Optional: Styling for a citation/author tag inside the quote */
.quote cite {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: #555555;
  margin-top: 1rem;
}

.quote cite::before {
  content: "\2014 \0020"; /* Em dash followed by a space */
}

/* ==========================================================================
   Accessible Flowchart Styles (Scoped to .ak-a11y-flowchart)
   ========================================================================== */

.ak-a11y-flowchart {
    max-width: 800px;
    margin: 2rem auto;
    font-family: inherit; /* Pulls your existing font from ak-paper.css */
    color: #333;
}

.ak-a11y-flowchart .flowchart-intro,
.ak-a11y-flowchart .flowchart-footer {
    padding: 0 1rem;
}

/* Reset the list so it doesn't inherit default ak-paper.css bullet styles */
.ak-a11y-flowchart .flowchart-list {
    list-style: none !important;
    padding: 0;
    margin: 2rem 0;
    position: relative;
    counter-reset: a11y-step-counter; /* Sets up custom numbering */
}

/* Draw the vertical connecting line */
.ak-a11y-flowchart .flowchart-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px; 
    width: 4px;
    background: #782F40; /* FSU Garnet-inspired subtle dark red/grey. Change if needed! */
    border-radius: 2px;
}

/* List Item Positioning */
.ak-a11y-flowchart .flowchart-list li {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 70px; /* Pushes the box to the right of the line */
}

/* Custom Number Nodes (The Circles) */
.ak-a11y-flowchart .flowchart-list li::before {
    content: counter(a11y-step-counter);
    counter-increment: a11y-step-counter;
    position: absolute;
    left: 8px; /* Centers circle on the vertical line */
    top: 16px;
    width: 36px;
    height: 36px;
    background: #782F40; 
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* The Content Box */
.ak-a11y-flowchart .flowchart-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle hover effect for sighted users */
.ak-a11y-flowchart .flowchart-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}

.ak-a11y-flowchart .flowchart-box h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #1e293b;
}

.ak-a11y-flowchart .flowchart-box p {
    margin: 0;
    line-height: 1.6;
}

/* The little triangle pointing from the line to the box */
.ak-a11y-flowchart .flowchart-box::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 24px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #e2e8f0; /* Matches border color */
}

.ak-a11y-flowchart .flowchart-box::after {
    content: '';
    position: absolute;
    left: -9px;
    top: 25px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid #ffffff; /* Matches background color */
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .ak-a11y-flowchart .flowchart-list::before {
        left: 16px;
    }
    .ak-a11y-flowchart .flowchart-list li {
        padding-left: 50px;
    }
    .ak-a11y-flowchart .flowchart-list li::before {
        left: 0;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .ak-a11y-flowchart .flowchart-box::before,
    .ak-a11y-flowchart .flowchart-box::after {
        display: none; /* Hides arrows on very small screens to save space */
    }
}
