/**
 * Shared Ownership Guide — Main Stylesheet
 */

/* ===================== RESET & BOX MODEL ===================== */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.sog-page *,
.sog-page *::before,
.sog-page *::after,
.sog-page--abstract *,
.sog-page--abstract *::before,
.sog-page--abstract *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===================== BASE TYPOGRAPHY & LAYOUT ===================== */
.sog-page,
.sog-page--abstract {
    color: #111111;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.sog-page h1,
.sog-page h2,
.sog-page h3,
.sog-page h4,
.sog-page h5,
.sog-page h6,
.sog-page--abstract h1,
.sog-page--abstract h2,
.sog-page--abstract h3,
.sog-page--abstract h4,
.sog-page--abstract h5,
.sog-page--abstract h6 {
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.sog-page p,
.sog-page--abstract p {
    margin-bottom: 1em;
}

/* ===================== HERO SECTION ===================== */
.sog-hero,
.sog-hero--photo,
.sog-page .sog-hero,
.sog-page--abstract .sog-hero,
.sog-page--abstract .sog-hero--photo {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
}

.sog-hero__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-color: #111111;
}

.sog-hero__image--placeholder {
    background: linear-gradient(135deg, #000000 0%, #111111 40%, #1e3a1d 75%, #3FAD3C 100%);
}

.sog-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.sog-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.sog-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.sog-hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #ffffff;
}

.sog-hero__cta {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    background-color: #3FAD3C;
    color: #ffffff !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sog-hero__cta:hover {
    background-color: #349b32;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(63, 173, 60, 0.4);
}

/* ===================== INTRO QUOTE ===================== */
.sog-intro {
    background-color: #ffffff;
    padding: 4rem 2rem 0 2rem;
    text-align: center;
    scroll-margin-top: 30px;
}

.sog-intro__inner {
    max-width: 800px;
    margin: 0 auto;
    background: #f8faf8;
    padding: 2.25rem 2.5rem;
    border-radius: 1rem;
    border-left: 4px solid #3FAD3C;
}

.sog-intro__quote {
    font-size: 1.29rem;
    font-style: italic;
    color: #111111;
    line-height: 1.7;
    position: relative;
    padding: 0.5rem 3.5rem;
    border-left: none;
    margin: 0;
}

.sog-intro__quote p:last-child {
    margin-bottom: 0;
}

.sog-intro__quote::before {
    content: '\201C';
    font-family: 'Raleway', Georgia, sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 4rem;
    color: #3FAD3C;
    position: absolute;
    top: -1.5rem;
    left: -0.25rem;
    line-height: 1;
    pointer-events: none;
}

.sog-intro__quote::after {
    content: '\201D';
    font-family: 'Raleway', Georgia, sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 4rem;
    color: #3FAD3C;
    position: absolute;
    bottom: -2.75rem;
    right: -0.25rem;
    line-height: 1;
    pointer-events: none;
}

.sog-intro__quote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-style: normal;
    color: #555555;
}

/* ===================== ABOUT THIS GUIDE SECTION ===================== */
.sog-section--about {
    padding: 0 0 2.5rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e8ece8;
}

.sog-section--about p:last-child,
.sog-section--about > *:last-child {
    margin-bottom: 0;
}

.sog-section--about .sog-section__title {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
}

/* ===================== CONTENT STRUCTURE ===================== */
.sog-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 4rem 2rem;
}

.sog-section {
    padding: 3rem 0;
}

.sog-section__inner {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.sog-section__text {
    flex: 1;
}

.sog-section__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111111;
}

.sog-section__body p {
    font-size: 1.05rem;
    color: #333333;
}

/* ===================== GUIDE TOOLBAR & SEARCH ===================== */
.sog-guide-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.sog-search-bar {
    width: 100%;
}

.sog-search-bar__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.sog-search-bar__icon {
    position: absolute;
    left: 1.25rem;
    width: 20px;
    height: 20px;
    color: #3FAD3C;
    pointer-events: none;
    flex-shrink: 0;
}

.sog-search-bar__input {
    width: 100%;
    padding: 0.95rem 3.25rem 0.95rem 3.25rem;
    font-size: 1.05rem;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    border: 2px solid #d2ecd1;
    border-radius: 10px;
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sog-search-bar__input:focus {
    border-color: #3FAD3C;
    box-shadow: 0 0 0 4px rgba(63, 173, 60, 0.15), 0 4px 20px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
}

.sog-search-bar__input::placeholder {
    color: #6b7a6a;
    opacity: 0.9;
}

.sog-search-bar__input::-webkit-search-cancel-button {
    display: none;
}

.sog-search-bar__clear {
    position: absolute;
    right: 1rem;
    background: #eaf2ea;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #444444;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.sog-search-bar__clear:hover {
    background-color: #3FAD3C;
    color: #ffffff;
    transform: scale(1.05);
}

.sog-search-bar__clear svg {
    width: 15px;
    height: 15px;
}

.sog-search-bar__clear[hidden] {
    display: none !important;
}

.sog-search-status {
    font-size: 0.9rem;
    font-weight: 600;
    color: #276925;
    background-color: #eef7ed;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid #d2ecd1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sog-search-status[hidden] {
    display: none !important;
}

.sog-search-status strong {
    color: #0b1f0a;
}

/* ===================== ACCORDION CONTROLS ===================== */
.sog-accordion-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.sog-accordion-controls:only-child,
.sog-accordion-controls:has(.sog-search-status[hidden]) {
    justify-content: flex-end;
}

.sog-accordion-controls__toggle-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #111111;
    border: 1px solid #d2dcd0;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.2s ease;
}

.sog-accordion-controls__toggle-all:hover {
    background-color: #3FAD3C;
    color: #ffffff;
    border-color: #3FAD3C;
    box-shadow: 0 4px 12px rgba(63, 173, 60, 0.25);
}

.sog-accordion-controls__toggle-all svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

/* ===================== ACCORDION CONTAINER & ITEMS ===================== */
.sog-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.sog-accordion__item {
    background-color: #ffffff;
    border: 1px solid #e2e8e0;
    border-radius: 12px;
    overflow: hidden;
    scroll-margin-top: 30px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

/* Alternating item background */
.sog-accordion__item:nth-child(even) {
    background-color: #F4F7F4;
    border-color: #dbe6da;
}

.sog-accordion__item:hover {
    border-color: #3FAD3C;
    box-shadow: 0 4px 18px rgba(63, 173, 60, 0.1);
}

.sog-accordion__item:nth-child(even):hover {
    border-color: #3FAD3C;
    box-shadow: 0 4px 18px rgba(63, 173, 60, 0.15);
}

.sog-accordion__item.is-open {
    border-color: #3FAD3C;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07);
}

.sog-accordion__header {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font: inherit;
    color: inherit;
    gap: 1rem;
    transition: background-color 0.2s ease;
}

.sog-accordion__header:focus-visible {
    outline: 2px solid #3FAD3C;
    outline-offset: -2px;
}

.sog-accordion__header:hover {
    background-color: #fafdfa;
}

.sog-accordion__item:nth-child(even) .sog-accordion__header:hover {
    background-color: #eaf0ea;
}

.sog-accordion__header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
}

.sog-accordion__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #3FAD3C 0%, #111111 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease;
}

.sog-accordion__item:hover .sog-accordion__icon {
    transform: scale(1.05);
}

.sog-accordion__icon-svg {
    width: 28px;
    height: 28px;
}

.sog-accordion__icon-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.sog-accordion__title-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.sog-accordion__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.35;
    transition: font-size 0.2s ease, color 0.2s ease;
}

.sog-accordion__item.is-open .sog-accordion__title {
    font-size: 1.35rem;
    color: #0b1f0a;
}

.sog-accordion__toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #dbe6da;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.sog-accordion__arrow {
    width: 18px;
    height: 18px;
    stroke: #3FAD3C;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s ease;
}

.sog-accordion__header:hover .sog-accordion__toggle {
    border-color: #3FAD3C;
    box-shadow: 0 2px 8px rgba(63, 173, 60, 0.15);
}

.sog-accordion__item.is-open .sog-accordion__toggle {
    background-color: #3FAD3C;
    border-color: #3FAD3C;
    box-shadow: none;
}

.sog-accordion__item.is-open .sog-accordion__arrow {
    stroke: #ffffff;
    transform: rotate(180deg);
}

/* ===================== ACCORDION CONTENT ===================== */
.sog-accordion__content {
    display: none;
    overflow: hidden;
}

.sog-accordion__content[hidden] {
    display: none !important;
}

.sog-accordion__item.is-open > .sog-accordion__content {
    display: block;
    animation: sogAccordionFadeIn 0.25s ease-out;
}

@keyframes sogAccordionFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sog-accordion__body {
    padding: 0 1.75rem 2rem 1.75rem;
    border-top: 1px solid #edf2ec;
    padding-top: 1.5rem;
}

.sog-accordion__body::after {
    content: "";
    display: table;
    clear: both;
}

.sog-accordion__item:nth-child(even) .sog-accordion__body {
    border-top-color: #dbe6da;
}

.sog-accordion__body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2b2b2b;
    margin-bottom: 1.25rem;
}

.sog-section--about p a,
.sog-accordion__body p a,
.sog-accordion__body li a:not(.sog-resource-link) {
    color: #276925 !important;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sog-section--about p a:hover,
.sog-accordion__body p a:hover,
.sog-accordion__body li a:not(.sog-resource-link):hover {
    color: #3FAD3C !important;
}

.sog-accordion__body p:last-child,
.sog-accordion__body .sog-quote:last-child,
.sog-accordion__body .sog-resource-links:last-child,
.sog-accordion__body .sog-callout:last-child,
.sog-accordion__body .sog-list:last-child,
.sog-accordion__body .sog-sub-accordion:last-child,
.sog-accordion__body > *:last-child {
    margin-bottom: 0;
}

/* ===================== COPY SECTION LINK ===================== */
.sog-accordion__share-bar {
    float: right;
    margin: 0 0 0.5rem 1.25rem;
    position: relative;
    z-index: 2;
}

.sog-accordion__copy-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: #f2f7f1;
    color: #276925;
    border: 1px solid #d2ecd1;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    user-select: none;
}

.sog-accordion__copy-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.sog-accordion__copy-btn:hover {
    background-color: #3FAD3C;
    color: #ffffff;
    border-color: #3FAD3C;
    box-shadow: 0 2px 8px rgba(63, 173, 60, 0.25);
    transform: translateY(-1px);
}

.sog-accordion__item:nth-child(even) .sog-accordion__copy-btn {
    background-color: #ffffff;
    border-color: #dbe6da;
    color: #2e8b2b;
}

.sog-accordion__item:nth-child(even) .sog-accordion__copy-btn:hover {
    background-color: #3FAD3C;
    color: #ffffff;
    border-color: #3FAD3C;
}

.sog-accordion__copy-btn.is-copied {
    background-color: #276925 !important;
    color: #ffffff !important;
    border-color: #276925 !important;
    box-shadow: 0 2px 8px rgba(39, 105, 37, 0.3) !important;
    transform: none !important;
}

/* ===================== SUB-ACCORDION ===================== */
.sog-sub-accordion {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sog-sub-accordion__item {
    border: 1px solid #dbe6da;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sog-sub-accordion__item:hover {
    border-color: #3FAD3C;
}

.sog-sub-accordion__item.is-open {
    border-color: #3FAD3C;
    box-shadow: 0 4px 14px rgba(63, 173, 60, 0.08);
}

.sog-sub-accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: #fbfdfb;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.sog-sub-accordion__header:hover {
    background-color: #f2f7f1;
}

.sog-sub-accordion__item.is-open > .sog-sub-accordion__header {
    background-color: #f2f8f1;
}

.sog-sub-accordion__header-left {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex: 1;
    min-width: 0;
}

.sog-sub-accordion__icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background-color: #eaf5ea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2e8b2b;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sog-sub-accordion__header:hover .sog-sub-accordion__icon {
    transform: scale(1.05);
    background-color: #def0de;
}

.sog-sub-accordion__item.is-open .sog-sub-accordion__icon {
    background-color: #3FAD3C;
    color: #ffffff;
}

.sog-sub-accordion__icon-svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.sog-sub-accordion__title-wrap {
    flex: 1;
    min-width: 0;
}

.sog-sub-accordion__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #164015;
    margin: 0;
    line-height: 1.35;
}

.sog-sub-accordion__toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dbe6da;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0.75rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sog-sub-accordion__header:hover .sog-sub-accordion__toggle {
    border-color: #3FAD3C;
}

.sog-sub-accordion__arrow {
    width: 14px;
    height: 14px;
    stroke: #3FAD3C;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s ease;
}

.sog-sub-accordion__item.is-open .sog-sub-accordion__toggle {
    background-color: #3FAD3C;
    border-color: #3FAD3C;
}

.sog-sub-accordion__item.is-open .sog-sub-accordion__arrow {
    stroke: #ffffff;
    transform: rotate(180deg);
}

.sog-sub-accordion__content {
    display: none;
    overflow: hidden;
}

.sog-sub-accordion__content[hidden] {
    display: none !important;
}

.sog-sub-accordion__item.is-open > .sog-sub-accordion__content {
    display: block;
    animation: sogSubAccordionFadeIn 0.2s ease-out;
}

@keyframes sogSubAccordionFadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sog-sub-accordion__body {
    padding: 1.25rem 1.25rem 1.5rem 1.25rem;
    border-top: 1px solid #edf2ec;
    background: #ffffff;
}

.sog-sub-accordion__body p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2b2b2b;
    margin-bottom: 1.25rem;
}

.sog-sub-accordion__body p:last-child,
.sog-sub-accordion__body .sog-quote:last-child,
.sog-sub-accordion__body .sog-resource-links:last-child,
.sog-sub-accordion__body .sog-callout:last-child,
.sog-sub-accordion__body .sog-list:last-child,
.sog-sub-accordion__body > *:last-child {
    margin-bottom: 0;
}

/* ===================== SHARED CONTENT ELEMENTS ===================== */
.sog-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.sog-section--light {
    background-color: #ffffff;
}

.sog-section--dark {
    background-color: #f4f7f4;
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem -2rem;
}

.sog-section--dark blockquote.sog-quote {
    background-color: #ffffff;
}

.sog-section__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #3FAD3C 0%, #111111 100%);
    color: #ffffff;
}

.sog-section__icon-svg {
    width: 48px;
    height: 48px;
}

/* Quotes */
.sog-quote {
    background: #f4f7f4;
    border-left: 4px solid #3FAD3C;
    color: #111111;
    position: relative;
    padding: 1.5rem 2.5rem 1.5rem 3rem;
    border-radius: 8px;
    margin: 1.75rem 0;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.65;
}

.sog-quote p {
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.sog-quote p:last-child {
    margin-bottom: 0;
}

.sog-quote:last-child {
    margin-bottom: 0;
}

/* Quotes in alternating (even) accordion items */
.sog-accordion__item:nth-child(even) .sog-quote,
.sog-accordion__item:nth-child(even) blockquote.sog-quote {
    background-color: #ffffff;
    border-left: 4px solid #3FAD3C;
}

.sog-quote::before {
    content: '\201C';
    font-family: 'Raleway', Georgia, sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 3.5rem;
    color: #3FAD3C;
    position: absolute;
    top: -0.1rem;
    left: 0.75rem;
    line-height: 1;
    pointer-events: none;
}

.sog-quote::after {
    content: '\201D';
    font-family: 'Raleway', Georgia, sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 3.5rem;
    color: #3FAD3C;
    position: absolute;
    bottom: -1.75rem;
    right: 0.75rem;
    line-height: 1;
    pointer-events: none;
}

.sog-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    color: #2e8b2b;
}

/* Lists */
.sog-list {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.sog-list:last-child {
    margin-bottom: 0;
}

.sog-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.sog-list li::marker {
    color: #3FAD3C;
}

/* Callouts */
.sog-callout {
    margin: 1.75rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f4f7f4;
    border-left: 5px solid #3FAD3C;
}

.sog-callout:last-child {
    margin-bottom: 0;
}

.sog-accordion__item:nth-child(even) .sog-callout {
    background: #ffffff;
    border: 1px solid #d2ecd1;
    border-left: 5px solid #3FAD3C;
}

.sog-callout--alert {
    background: #ffffff;
    border: 1px solid #d2ecd1;
    border-left: 5px solid #ff0000 !important;
}

.sog-callout__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111111;
}

.sog-callout--alert .sog-callout__title {
    color: #111111;
}

.sog-callout p:last-child {
    margin-bottom: 0;
}

/* Resource Links */
.sog-resource-links {
    margin: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sog-resource-links:last-child {
    margin-bottom: 0;
}

.sog-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    background: #3FAD3C;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.sog-resource-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sog-resource-link:hover {
    background: #111111;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.sog-resource-link:hover svg {
    transform: translateX(3px);
}

/* Footnotes (Fallback / Reference) */
.sog-footnotes {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.875rem;
    color: #666666;
}

.sog-footnotes__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #444444;
}

.sog-footnotes ol {
    margin-left: 1.25rem;
    padding: 0;
}

.sog-footnotes li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.sog-footnotes a,
#other-resources a {
    color: inherit;
    text-decoration: underline;
}

/* ===================== SEARCH HIGHLIGHTS & NO RESULTS ===================== */
mark.sog-highlight {
    background-color: #d6f5d4;
    color: #0b2b0a;
    font-weight: 700;
    padding: 0.1em 0.3em;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(63, 173, 60, 0.15);
}

.sog-accordion__item.is-search-hidden,
.sog-sub-accordion__item.is-search-hidden {
    display: none !important;
}

.sog-search-no-results {
    text-align: center;
    background: #ffffff;
    border: 2px dashed #cde6cc;
    border-radius: 12px;
    padding: 3.5rem 2rem;
    margin-bottom: 3.5rem;
    animation: sogAccordionFadeIn 0.25s ease-out;
}

.sog-search-no-results[hidden] {
    display: none !important;
}

.sog-search-no-results__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f4f7f4;
    color: #6b7a6a;
    margin-bottom: 1.25rem;
}

.sog-search-no-results__icon svg {
    width: 32px;
    height: 32px;
}

.sog-search-no-results__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.5rem;
}

.sog-search-no-results__text {
    font-size: 1rem;
    color: #555555;
    max-width: 520px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.sog-search-no-results__text em {
    font-style: normal;
    font-weight: 600;
    color: #2e8b2b;
}

.sog-search-no-results__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #3FAD3C;
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.6rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sog-search-no-results__btn:hover {
    background-color: #359832;
    box-shadow: 0 4px 12px rgba(63, 173, 60, 0.25);
    transform: translateY(-1px);
}

/* ===================== TAKEAWAYS & CTA & GUIDE BLOCK ===================== */
.sog-takeaways {
    padding: 4rem 2rem;
    background-color: #f4f7f4;
}

.sog-takeaways__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.sog-takeaways__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.sog-takeaway-card {
    padding: 2rem;
    border-radius: 8px;
    background: #ffffff;
    border-left: 4px solid #3FAD3C;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.sog-takeaway-card:hover {
    transform: translateY(-4px);
}

.sog-takeaway-card__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #3FAD3C;
    opacity: 0.35;
}

.sog-takeaway-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.sog-takeaway-card__text {
    font-size: 0.95rem;
    color: #555555;
}

.sog-cta {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #000000 0%, #111111 60%, #1e3a1d 100%);
    color: #ffffff;
}

.sog-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.sog-cta__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.sog-cta__text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    color: #ffffff;
}

.sog-cta__button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    background-color: #3FAD3C;
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sog-cta__button:hover {
    background-color: #349b32;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(63, 173, 60, 0.4);
}

.sog-guide-block {
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    background-color: #f4f7f4;
    border-left: 4px solid #3FAD3C;
}

.sog-guide-block__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111111;
}

/* ===================== RESPONSIVE STYLES ===================== */
@media (max-width: 768px) {
    .sog-hero,
    .sog-hero--photo,
    .sog-page .sog-hero,
    .sog-page--abstract .sog-hero,
    .sog-page--abstract .sog-hero--photo {
        min-height: 400px;
        padding: 3rem 1.5rem;
    }

    .sog-hero__title {
        font-size: 2rem;
    }

    .sog-hero__subtitle {
        font-size: 1rem;
    }

    .sog-intro {
        padding: 2.5rem 1rem 0 1rem;
        scroll-margin-top: 20px;
    }

    .sog-intro__inner {
        padding: 1.5rem 1rem;
    }

    .sog-intro__quote {
        font-size: 1.1rem;
        padding: 0.25rem 1.75rem;
    }

    .sog-intro__quote::before {
        font-size: 3.75rem;
        top: -1.1rem;
        left: -0.25rem;
    }

    .sog-intro__quote::after {
        font-size: 3.75rem;
        bottom: -2.1rem;
        right: -0.25rem;
    }

    .sog-content {
        padding: 2rem 1.5rem;
    }

    .sog-section__inner {
        flex-direction: column;
    }

    .sog-section__title {
        font-size: 1.5rem;
    }

    .sog-section--about {
        padding-bottom: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .sog-search-bar__input {
        font-size: 0.95rem;
        padding: 0.85rem 2.8rem 0.85rem 2.8rem;
    }

    .sog-search-bar__icon {
        left: 1rem;
        width: 18px;
        height: 18px;
    }

    .sog-accordion-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .sog-accordion-controls__toggle-all {
        justify-content: center;
        margin-left: 0;
    }

    .sog-search-status {
        justify-content: center;
        text-align: center;
    }

    .sog-accordion__item {
        scroll-margin-top: 30px;
    }

    .sog-accordion__header {
        padding: 1rem 1.25rem;
    }

    .sog-accordion__header-left {
        gap: 0.875rem;
    }

    .sog-accordion__icon {
        width: 44px;
        height: 44px;
    }

    .sog-accordion__icon-svg {
        width: 24px;
        height: 24px;
    }

    .sog-accordion__title {
        font-size: 1.1rem;
    }

    .sog-accordion__item.is-open .sog-accordion__title {
        font-size: 1.2rem;
    }

    .sog-accordion__body {
        padding: 0 1.25rem 1.5rem 1.25rem;
        padding-top: 1.25rem;
    }

    .sog-accordion__share-bar {
        margin: 0 0 0.35rem 0.75rem;
    }

    .sog-accordion__copy-btn {
        padding: 0.25rem 0.65rem;
        font-size: 0.75rem;
    }

    .sog-quote {
        padding: 1.25rem 2rem 1.25rem 2.25rem;
        font-size: 1.125rem;
        line-height: 1.6;
    }

    .sog-quote p {
        font-size: 1.125rem;
        line-height: 1.6;
    }

    .sog-quote::before {
        font-size: 2.75rem;
        top: 0.2rem;
        left: 0.5rem;
    }

    .sog-quote::after {
        font-size: 2.75rem;
        bottom: -1.4rem;
        right: 0.5rem;
    }

    .sog-sub-accordion__header {
        padding: 0.75rem 1rem;
    }

    .sog-sub-accordion__icon {
        width: 34px;
        height: 34px;
    }

    .sog-sub-accordion__icon-svg {
        width: 18px;
        height: 18px;
    }

    .sog-sub-accordion__title {
        font-size: 1rem;
    }

    .sog-sub-accordion__body {
        padding: 1rem;
    }

    .sog-section__icon {
        width: 60px;
        height: 60px;
    }

    .sog-section__icon-svg {
        width: 36px;
        height: 36px;
    }

    .sog-takeaways__grid {
        grid-template-columns: 1fr;
    }
}
