/******************************************************
 BASIC PAGE STYLE
******************************************************/
body {
    background-color: white;
    font-family: Verdana, sans-serif;
}

h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #333333;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

h2 {
    text-align: center;
    font-size: 20px;
}

p, li {
    font-size: 14px;
}

img {
    display: block;
    margin: auto;
}

/******************************************************
 HEADER (logo + title)
******************************************************/
.header-container {
    display: flex;
    align-items: flex-start;   /* <-- TOP ALIGN everything */
    gap: 20px;                 /* space between logo and text */
    padding: 10px;
    width: 100%;
}

.header-logo {
    height: 80px;
    width: auto;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* <-- text aligns left */
    justify-content: flex-start; /* <-- keeps text at top */
    margin-top: 0;             /* ensure no offset */
}

.header-title {
    font-weight: bold;
    font-size: 1.8em;
    margin: 0;
}

.header-subtitle {
    font-size: 1em;
    margin: 0;
}

/* MOBILE */
@media (max-width: 492px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .header-text {
        align-items: center;
    }
}
/******************************************************
 NAVIGATION MENU
******************************************************/
.nav-bar {
    width: 100%;
    background-color: #f0f0f0;
    padding: 5px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* side padding */
}

.nav-menu {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 40px;
    list-style: none;
    padding: 0 10px;
}

.nav-menu > li {
    position: relative;
    font-weight: bold;
}

.nav-menu a {
    color: black;
    text-decoration: none;
    font-size: 15px;
}

.nav-menu a:hover {
    text-decoration: underline;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    list-style: none;
    border: 1px solid #ccc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.dropdown-content li a {
    padding: 10px;
    display: block;
    color: black;
}

.dropdown-content li a:hover {
    background-color: #f2f2f2;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow {
    color: #A02C14;
    font-size: 0.8em;
    margin-left: 4px;
}

/* Mobile nav */
@media (max-width: 700px) {
    .nav-menu {
        flex-direction: column;
        gap: 16px;
    }

    .dropdown-content {
        position: static;
        border: none;
        box-shadow: none;
    }
}


.align-like-manifesto {
    max-width: 85%;        /* same width as manifesto text */
    margin-left: 25px;     /* same left indent as party voices text */
    text-align: left;
    line-height: 1.55;
    font-size: 15px;        /* matches .description text */
    color: #333;
}


/******************************************************
 PARTY VOICES – TABS
******************************************************/
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: -10px;
}

.tab {
    padding: 10px 25px;
    border: 1px solid #d2c7c2;
    background: white;
    font-weight: 700;
    color: #7A0E2F;
    cursor: pointer;
}

.tab.active {
    background: #EC164B;
    color: white;
}

.tab.inactive:hover {
    background: #f0ebe9;
}

/******************************************************
 CONTENT BOX (pink box)
******************************************************/
.content-box {
    background: #FCE6EC;
    border: 1px solid #cccccc;
    border-radius: 6px;
    padding: 25px;
    width: 90%;
    margin: 0 auto 20px auto;
    display: flex;
    gap: 25px;
}

.tab-content {
    display: none;
    width: 100%;
}
.tab-content.active {
    display: block;
}

/******************************************************
 VIDEO (LEFT COLUMN)
******************************************************/
.video-column {
    width: 50%;
    min-width: 300px;          /* prevents too-small video on mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive 16:9 container */
.video-frame-wrapper {
    width: 100%;               /* take all column width */
    padding-top: 56.25%;       /* 16:9 aspect ratio */
    position: relative;
}

/* Responsive iframe filling the wrapper */
.video-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 1px solid #cfcfcf;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

#video-player iframe {
    width: 650px;
    /* height: 255px; */
    border: 1px solid #cfcfcf;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* Arrows under video */
.video-bottom-arrows {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.video-arrow {
    font-size: 26px;
    font-weight: bold;
    color: #EC164B;
    cursor: pointer;
    user-select: none;
}

/******************************************************
 RIGHT COLUMN (TITLE + META)
******************************************************/
.text-content {
    flex: 1;
    padding-right: 10px;
}

.title {
    font-size: 22px;
    font-weight: 800;
    color: #EC164B;
}

.meta {
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
}

.description {
    font-size: 15px;
    margin-bottom: 25px;
}

.show-all {
    float: right;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

/******************************************************
 ISSUES (SUBSTACK LINKS)
******************************************************/
.issues-box {
    background: #FCE6EC;
    padding: 25px;
    border-radius: 6px;
}

.issues-title {
    color: #EC164B;
    font-size: 26px;
    font-weight: 700;
}

.issues-list {
    list-style: none;
    padding-left: 0;
}

.issues-list a {
    color: #7A0E2F;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
}
.issues-list a:hover {
    text-decoration: underline;
}

/******************************************************
 LOCAL ACTIVITIES BOX
******************************************************/
.activities-box {
    padding: 25px;
}

/******************************************************
 RESPONSIVE
******************************************************/
@media (max-width: 992px) {
    .content-box {
        flex-direction: column;
    }
    .video-slider-wrapper {
        width: 100%;
    }
}

/******************************************************
 USA MAP SECTION
******************************************************/
.box {  
    height: 20px;
    width: 20px;
    border: 2px solid black;
}

.bgreen { background-color: #04AA6D; }
.bred   { background-color: #EC154B; }
.bblue  { background-color: #1da1f2; }

.scaling-svg-container {
    width: 100%;
    aspect-ratio: 2 / 1;
}

.scaling-svg {
    width: 100%;
    height: 100%;
}

path:hover {
    fill: purple;
    stroke: red;
    stroke-width: 5px;
    transition: fill 0.4s;
}

/******************************************************
 MANIFESTO BLOCK
******************************************************/
.manifesto-block {
    margin: 40px 0;
}

.manifesto-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.manifesto-left {
    flex: 1;
}

.manifesto-toptext {
    text-align: center;
}

.manifesto-toptext h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.manifesto-toptext h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

.manifesto-desc {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-left: 25px;
}

.manifesto-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.manifesto-image-wrapper {
    padding: 8px;
    background: white;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.manifesto-image {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .manifesto-container {
        flex-direction: column;
        text-align: center;
    }
    .manifesto-desc {
        margin-left: 0;
        text-align: center;
    }
}
