:root {
    --orange: #ff6b35;
    --orange-dark: #e85a30;
    --dark-bg: #1a1a1a;
    --section-bg: #2a2a2a;
    --gray: #cccccc;
    --gray-dark: #666;
    --gray-light: #888;
    --blue: #4a9eff;
    --blue-light: #66b3ff;
    --shadow-orange: rgba(255, 107, 53, 0.3);
    --shadow-orange-strong: rgba(255, 107, 53, 0.5);
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--dark-bg);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    padding: 1rem;
}

/* Announcement Bar Styles */
.announcement-bar {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    padding: 1.25rem 2rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px var(--shadow-orange);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    display: none;
    min-height: 7rem;
    max-height: 7rem;
    overflow: hidden;
}

.announcement-bar.slide-down {
    transform: translateY(0);
}

.announcement-bar.slide-up {
    transform: translateY(-100%);
}

.announcement-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-right: 5rem; /* Make room for dots and close button */
}

.announcement-text {
    margin: 0;
    line-height: 1.4;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 5rem; /* Increased to accommodate 3 lines properly */
    flex: 1;
    text-align: center;
}

.announcement-dots {
    position: fixed;
    top: 3.5rem; /* Half of 7rem bar height */
    right: 3rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 1020;
    height: auto;
}

.announcement-dot {
    width: var(--dot-size, 0.5rem);
    height: var(--dot-size, 0.5rem);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease-in-out;
}

.announcement-dot.active {
    background: white;
    transform: scale(1.2);
}

.announcement-close-btn {
    position: fixed;
    top: 3.5rem; /* Half of 7rem bar height */
    right: 1rem;
    transform: translateY(-50%);
    z-index: 1030;
}

.announcement-close-btn:hover {
    background: var(--orange-dark) !important;
    border-color: var(--orange-dark) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 12px var(--shadow-orange-strong) !important;
}

.announcement-close-btn:hover::after {
    content: "Close this announcement";
    position: absolute;
    top: 50%;
    right: calc(100% + 0.5rem);
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: none;
}

.announcement-close-btn.show-temp-message::after {
    content: attr(data-temp-message);
    position: absolute;
    top: 50%;
    right: calc(100% + 0.5rem);
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: none;
    display: block;
}


/* Container spacing is handled dynamically by JavaScript */
.container {
    transition: margin-top 0.3s ease-in-out;
}

/* Responsive adjustments for announcement bar */
@media (max-width: 768px) {
    * {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
    }
    
    .announcement-bar {
        padding: 1rem 1rem;
        font-size: 1rem;
        line-height: 1.3;
        min-height: 5.5rem;
        max-height: 5.5rem;
    }
    
    .announcement-text {
        max-height: 4.5rem; /* Increased for mobile 3 lines */
        padding-right: 0rem;
    }
    
    .announcement-text {
        padding-right: 0rem;
    }
    
    .announcement-content {
        padding-left: 0.5rem;
        padding-right: 0rem; /* Space for vertical dots and close button */
    }
    
    .announcement-dots {
        right: 2.6rem;
        top: 2.75rem; /* Vertically centered */
        gap: 0.2rem;
        flex-direction: column;
        transform: translateY(-50%);
    }
    
    .announcement-dot {
        width: var(--dot-size-mobile, 0.4rem);
        height: var(--dot-size-mobile, 0.4rem);
    }
    
    .announcement-close-btn {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1.2rem;
        right: 0.5rem;
        top: 2.75rem; /* Vertically centered */
    }
    
    
    body {
        padding: 0.5rem;
        overflow-x: hidden !important;
    }
    
    .section {
        margin: 0.5rem auto;
        padding: 0.8rem;
        width: calc(100% - 1rem);
    }
    
    .section.letter, .section.alternatives {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .content {
        font-size: 1.25rem;
    }
    
    .email-template {
        padding: 1rem !important;
        margin: 0.5rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .email-template.expanded {
        padding-top: 2.5rem;
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .email-template.expanded .email-controls {
        padding: 0.5rem;
        max-width: 100%;
        overflow: hidden;
    }
    
    .email-preview {
        padding: 0 !important;
        font-size: 1.2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        margin: 0 !important;
        line-height: 1.5 !important;
    }
    
    .hover-expand-btn, .announcement-show-again-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .email-template.collapsed.in-viewport .hover-expand-btn {
        opacity: 1;
    }
    
    .inline-copy-btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .email-button {
        font-size: 1rem;
        font-weight: bold;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: center;
        margin: 1rem 0 0 0;
        display: block;
        border-radius: 6px;
        box-sizing: border-box;
    }
    
    .email-button-container {
        width: 100%;
        margin-top: 1rem;
    }
    
    .email-to, .email-subject, .email-text {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        max-width: 100%;
        overflow: hidden;
        margin: 0 0 1rem 0 !important;
        padding: 0 !important;
    }
    
    .email-to .inline-copy-btn, 
    .email-subject .inline-copy-btn, 
    .email-text .inline-copy-btn {
        display: block !important;
        margin: 0 0 0.5rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0.75rem !important;
        background: #555 !important;
        color: var(--gray) !important;
        border: 1px solid #666 !important;
        border-radius: 3px !important;
        font-size: 0.9rem !important;
        box-sizing: border-box !important;
    }
    
    .email-to .inline-copy-btn:hover,
    .email-subject .inline-copy-btn:hover,
    .email-text .inline-copy-btn:hover {
        background: #666 !important;
        border-color: var(--orange) !important;
        color: white !important;
    }
    
    .email-to .to-text,
    .email-subject .subject-text,
    .email-text .message-content {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
        background: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

.container {
    text-align: center;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

h1 {
    font-size: 1.875rem;
    margin: 0 0 1rem;
    color: var(--orange);
    line-height: 1.2;
}

.section {
    margin: 1rem auto;
    padding: 1rem;
    background: var(--section-bg);
    border-radius: 4px;
    border: 1px solid var(--orange);
    max-width: 600px;
    width: calc(100% - 2rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow-x: hidden;
}

.section.letter, .section.alternatives { 
    padding: 1.5rem; 
}

.section-title {
    font-size: 1.375rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.protest-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.play-button {
    background: var(--orange);
    border: 0;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px var(--shadow-orange);
}

.play-button:hover {
    background: var(--orange-dark);
    transform: scale(1.05);
    box-shadow: 0 12px 30px var(--shadow-orange-strong);
}

.play-button:active { 
    transform: scale(0.95); 
}

.status {
    margin: 0.5rem 0;
    font-size: 1.125rem;
    color: var(--gray);
}

.content {
    text-align: left;
    font-size: 1.375rem;
    line-height: 1.4;
    color: var(--gray);
    margin-bottom: 1rem;
}

.content.center { 
    text-align: center; 
}

.letter-content {
    font-size: 1.1875rem;
    line-height: 1.5;
    color: var(--gray);
    text-align: left;
}

.letter-content h3 {
    color: var(--orange);
    font-size: 1.375rem;
    margin: 1.5rem 0 0.8rem;
}

.letter-content h3:first-child { 
    margin-top: 0; 
}

.letter-content p { 
    margin: 0 0 1rem; 
}

.letter-content ul { 
    margin: 0.5rem 0 1rem 1.2rem; 
    padding: 0; 
}

.letter-content li { 
    margin-bottom: 0.5rem; 
}

.alternatives-content {
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--gray);
    text-align: left;
}

.alternatives-content ul { 
    margin: 1rem 0; 
    padding: 0; 
    list-style: none; 
}

.alternatives-content li {
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    position: relative;
}

.alternatives-content li:before {
    content: "•";
    color: var(--orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.alternatives-content strong { 
    color: var(--orange); 
}

.alternatives-content a {
    color: var(--blue);
    text-decoration: none;
    word-break: break-all;
}

.alternatives-content a:hover {
    color: var(--blue-light);
    text-decoration: underline;
}

.contact-info { 
    text-align: left; 
}

.contact-item {
    margin-bottom: 0.8rem;
    font-size: 1.125rem;
}

.contact-label {
    font-weight: bold;
    color: var(--orange);
    display: block;
    margin-bottom: 0.3rem;
}

.contact-link, .mark-unseen-button {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    background: var(--orange);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 2px 8px var(--shadow-orange);
    cursor: pointer;
    border: 2px solid var(--orange);
}

.contact-link {
    margin-top: 0.5rem;
}

.contact-link:hover, .mark-unseen-button:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-orange-strong);
}

.contact-link:active { 
    transform: none; 
}

.image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.image-caption {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--gray);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    padding: 0 1rem;
}

.footer {
    margin: 2rem auto 0;
    padding: 1rem;
    font-size: 1.0625rem;
    color: var(--gray-dark);
    text-align: center;
    border-top: 1px solid #333;
    max-width: 600px;
}

.footer a { 
    color: var(--gray-light); 
    text-decoration: none; 
}

.footer a:hover { 
    color: var(--gray); 
}

.email-template {
    background: #333;
    border: 2px solid var(--orange);
    border-radius: 6px;
    padding: 1.2rem;
    margin: 0.8rem 0;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow-x: hidden;
    max-width: 100%;
}

.email-template.expanded {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "close-area close-area"
        "content content";
    gap: 0;
    padding-top: 3rem;
}

.email-template:hover {
    border-color: var(--orange-dark);
    background: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.email-template.copied {
    border-color: #4CAF50;
    background: #2d4a2d;
}

.email-template.collapsed {
    cursor: pointer;
}

.email-controls {
    display: flex;
    flex-direction: column;
}

.email-template.collapsed .email-controls {
    display: none;
}

.email-template.collapsed .close-btn {
    display: none;
}

.email-template.collapsed:hover .hover-expand-btn {
    opacity: 1;
}

.email-template.expanded {
    cursor: default;
}

.email-template.expanded .email-controls {
    display: flex;
    grid-area: content;
    padding: 1rem;
}

.email-template.expanded .hover-expand-btn {
    display: none;
}

.email-template.expanded .close-btn {
    display: flex;
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 10;
}

.email-template.expanded .email-preview {
    display: none;
}

.close-btn {
    background: var(--orange);
    border: 2px solid var(--orange);
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px var(--shadow-orange);
}

.announcement-close-btn, .close-btn {
    background: var(--orange);
    border: 2px solid var(--orange);
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px var(--shadow-orange);
}

.close-btn:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--shadow-orange-strong);
}

.email-button-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
}

.hover-expand-btn, .announcement-show-again-btn {
    position: absolute;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 2px 8px var(--shadow-orange);
    cursor: pointer;
}

.hover-expand-btn {
    top: 0.5rem;
    right: 0.5rem;
}

.email-preview {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--gray);
    text-align: left;
    margin: 0;
    padding-top: 3rem !important;
    padding-right: 8rem;
}

.copy-indicator {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    font-size: 0.9rem;
    color: var(--orange);
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.email-template:hover .copy-indicator { 
    opacity: 1; 
}

.email-template.copied .copy-indicator {
    color: #4CAF50;
    opacity: 1;
}

.email-subject {
    font-size: 1.3rem;
    font-weight: normal;
    color: var(--gray);
    margin-bottom: 0.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.email-subject .subject-text {
    text-align: left;
}

.email-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--gray);
    text-align: left;
    margin-bottom: 0.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: flex-start;
}

.email-text .message-content {
    /* No longer needs padding-right since grid handles spacing */
}

.email-to {
    font-size: 1.3rem;
    font-weight: normal;
    color: var(--gray);
    margin-bottom: 0.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.email-to .to-text {
    text-align: left;
}

.inline-copy-btn {
    background: #555;
    color: var(--gray);
    border: 1px solid #666;
    border-radius: 3px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 1rem;
}

.inline-copy-btn:hover {
    background: #666;
    border-color: var(--orange);
    color: white;
}

.inline-copy-btn.copied {
    background: #2d4a2d;
    border-color: #4CAF50;
    color: #4CAF50;
}

.email-group-title {
    font-size: 1.2rem;
    color: var(--orange);
    font-weight: bold;
    margin: 1.5rem 0 0.8rem 0;
    text-align: left;
}

.email-group-title:first-of-type {
    margin-top: 1rem;
}

.email-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .email-actions {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 0;
    }
    .copy-action {
        width: 100%;
        text-align: center;
    }
}

.copy-action {
    background: #444;
    color: var(--gray);
    border: 1px solid #555;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.copy-action:hover {
    background: #4a4a4a;
    border-color: var(--orange);
    color: white;
}

.copy-action.copied {
    background: #2d4a2d;
    border-color: #4CAF50;
    color: #4CAF50;
}

.email-button {
    background: #555;
    color: var(--gray);
    border: 1px solid #666;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.email-button:hover {
    background: #666;
    border-color: var(--orange);
    color: white;
}

.email-button:hover::after {
    content: "May not work in all email clients. Use individual copy buttons if needed.";
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.actual-email-template {
    margin: 0;
    width: 100%;
    max-width: none;
}

.actual-email-template .email-controls {
    padding: 1.5rem;
    text-align: left;
}

.actual-email-template .email-preview {
    text-align: left;
}

/* Inline Styles Moved to CSS */
.section-with-anchor {
    position: relative;
}

.section-title-with-anchor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.anchor-link {
    color: var(--blue);
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.8rem;
    position: relative;
    transform: translateY(-6px);
    display: inline-block;
}

.section-with-anchor:hover .anchor-link {
    opacity: 0.7;
}

.anchor-link:hover {
    opacity: 1 !important;
    color: var(--orange);
}

.anchor-link.copied {
    color: var(--orange);
    opacity: 1 !important;
}

.copy-indicator {
    position: absolute;
    background: #333;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    top: -1rem;
    left: calc(100% + 0.5rem);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
}

.copy-indicator.show {
    opacity: 1;
}

.video-container {
    margin: 1rem 0;
}

.pond-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.budget-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.budget-link {
    margin: 0 0 1rem 0;
}

.pdf-link {
    color: var(--blue);
    text-decoration: none;
}

.budget-list {
    margin: 0;
    padding-left: 1.5rem;
}

.budget-list li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .anchor-link {
        opacity: 0.6;
    }
}

/* Testimonial Quote Styles */
.testimonial-attribution {
    text-align: right;
    font-style: italic;
    color: var(--orange);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.testimonial {
    background: #2d2d2d;
    border-left: 4px solid var(--orange);
    margin: 1.5rem 0;
    padding: 1.5rem 2rem;
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray);
    position: relative;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.testimonial::before {
    content: """;
    font-size: 4rem;
    color: var(--orange);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: Georgia, serif;
    opacity: 0.7;
}

.testimonial::after {
    content: """;
    font-size: 4rem;
    color: var(--orange);
    position: absolute;
    bottom: -2rem;
    right: 1rem;
    font-family: Georgia, serif;
    opacity: 0.7;
}

/* Announcements History Styles */
.announcements-history-controls {
    margin-top: 1rem;
    text-align: right;
}

.mark-unseen-button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.announcements-history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement-history-item {
    background: #333;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.announcement-history-item:hover {
    background: #3a3a3a;
    border-color: var(--orange);
}

.announcement-show-again-btn {
    top: 0.5rem;
    right: 0.5rem;
}

.announcement-history-item:hover .announcement-show-again-btn {
    opacity: 1;
    pointer-events: auto;
}

.hover-expand-btn:hover, .announcement-show-again-btn:hover {
    background: var(--orange-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-orange-strong);
}

.announcement-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.announcement-history-status-left {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.announcement-history-status-right {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-badge, .seen-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Date-based status badges (Current/Past) */
.status-badge.date-status-current {
    background: #4CAF50;
    color: white;
}

.status-badge.date-status-past {
    background: #FF9800;
    color: white;
}

/* Active/Inactive status badges from JSON */
.status-badge.active-status-active {
    background: #2196F3;
    color: white;
}

.status-badge.active-status-inactive {
    background: #666;
    color: white;
}

/* User interaction badges */
.seen-badge.seen-dismissed {
    background: #9C27B0;
    color: white;
}

.seen-badge.seen-unseen {
    background: #444;
    color: var(--gray);
}

.announcement-history-content {
    border-top: 1px solid #444;
    padding-top: 0.8rem;
}

.announcement-history-text {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--gray);
    margin-bottom: 0.8rem;
    font-style: italic;
    text-align: left;
}

.announcement-history-dates {
    font-size: 0.95rem;
    color: var(--gray-light);
    text-align: left;
}

    .announcement-history-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .announcement-history-status-left {
        justify-content: flex-start;
        flex: 1;
    }
    
    .announcement-history-status-right {
        justify-content: flex-end;
        flex-shrink: 0;
    }
    
    .mark-unseen-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .announcement-history-item.in-viewport .announcement-show-again-btn {
        opacity: 1;
        pointer-events: auto;
    }
    
    .testimonial-attribution {
        font-size: 1rem;
        margin-top: 0.4rem;
    }
    
    .testimonial {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        margin: 1rem 0;
    }
    
    .testimonial::before,
    .testimonial::after {
        font-size: 3rem;
    }
    
    .testimonial::before {
        top: -0.3rem;
        left: 0.8rem;
    }
    
    .testimonial::after {
        bottom: -1.5rem;
        right: 0.8rem;
    }
}

/* Email Signup Section Styles */
.email-signup-section {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-signup-divider {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .email-signup-section {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .email-signup-divider {
        margin: 0;
        font-size: 0.9rem;
    }
}

/* Pull Quote Styles */
.pull-quote {
    background: var(--section-bg);
    border-left: 8px solid var(--orange);
    padding: 3rem;
    margin: 3rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.pull-quote cite {
    display: block;
    margin-top: 2rem;
    font-style: normal;
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.4;
}

.transcript-link {
    color: #66b3ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.transcript-link:hover {
    color: #80c7ff;
    text-decoration: underline;
}

/* Specific styling for transcript links in sections */
.section .transcript-link {
    color: #66b3ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section .transcript-link:hover {
    color: #80c7ff;
    text-decoration: underline;
}

/* Specific styling for transcript links in pull quotes */
.pull-quote .transcript-link {
    color: #66b3ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pull-quote .transcript-link:hover {
    color: #80c7ff;
    text-decoration: underline;
}

/* Transcript Highlight Styles */
.highlight-target {
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.highlight-target.highlighted {
    background: var(--orange);
    color: white;
    box-shadow: 0 0 10px var(--shadow-orange);
    animation: pulse 2s ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@media (max-width: 768px) {
    .pull-quote {
        padding: 2rem;
        font-size: 1.1rem;
        margin: 2rem 0;
        border-left: 6px solid var(--orange);
    }
    
    .pull-quote cite {
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }
    
    /* General transcript link mobile styles */
    .transcript-link {
        color: #66b3ff;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.85rem;
        transition: color 0.3s ease;
    }
    
    .transcript-link:hover {
        color: #80c7ff;
        text-decoration: underline;
    }
    
    /* Specific mobile styling for transcript links in pull quotes */
    .pull-quote .transcript-link {
        color: #66b3ff;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }
    
    .pull-quote .transcript-link:hover {
        color: #80c7ff;
        text-decoration: underline;
    }
}