/*
 Theme Name: Unionen Seniorer Stockholm
Template: astra
 Theme URI: https://example.com/
 Author: H Fryklund
 Description: Anpassat Astra tema som liknar Unionen Seniorer Stockholm med grön menyrad.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: unionen-seniorer
*/

:root {
    --unionen-green: #009A44;
    --unionen-blue: #005aa0;
    --text-dark: #152238;
    --bg-light: #ffffff;
    --bg-grey: #f5f7fa;
    --card-shadow: 0 8px 20px rgba(0,0,0,0.06);
    --radius-lg: 12px;
    --max-width: 1100px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

a {
    color: var(--unionen-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & meny */

.site-header {
    background: var(--unionen-green);
    color: #ffffff;
}

.site-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.03em;
}

/* LOGGA */

.site-logo img {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-height: 90px;
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.main-navigation a {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    text-decoration: underline;
}

/* Hero */

.hero {
    text-align: center;
    padding: 72px 20px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    color: var(--unionen-blue);
    margin-bottom: 12px;
}

.hero-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--unionen-blue);
    margin: 0 0 16px;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto;
}

/* Ikonkort */

.feature-grid-wrapper {
    background: var(--bg-grey);
}

.feature-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 20px 40px;
}

.feature-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid var(--unionen-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 8px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
}

.feature-text {
    font-size: 14px;
}

/* Välkommen-text */

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.section h2 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section p {
    margin: 0 0 12px;
}

/* Footer */

.site-footer {
    border-top: 1px solid #e2e6ec;
    margin-top: 20px;
}

.site-footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
    font-size: 13px;
    color: #6b7280;
}

/* Responsiv */

@media (max-width: 800px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-items {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 28px;
    }
}

.site-logo img {
    height: 70px !important;
    max-height: none !important;
    width: auto !important;
}