/*
Theme Name: Frisbeegolfopas
Theme URI: https://frisbeegolfopas.fi
Author: Pasi
Description: Custom lightweight theme for Frisbeegolfopas.fi
Version: 1.0.0
Text Domain: fgp
Requires at least: 6.0
Requires PHP: 8.0
*/

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: var(--color-text); background: #fafaf8; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; border: none; background: none; cursor: pointer; }

/* === CSS VARIABLES === */
:root {
    --color-primary: #f4d430;
    --color-primary-hover: #e6c520;
    --color-link: #d4a017;
    --color-link-hover: #b8860b;
    --color-black: #0a0a0a;
    --color-dark: #111111;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-white: #ffffff;
    --color-gray: #f3f4f6;
    --color-border: #e5e7eb;
    --content-width: 820px;
    --max-width: 1200px;
    --header-height: 80px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.2s ease;
}

/* === UTILITY === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--color-black);
}

#site-header.is-scrolled {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
}

/* Desktop Nav */
#site-nav {
    display: none;
}

#site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

#site-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

#site-nav > ul > li > a:hover,
#site-nav > ul > li.current-menu-item > a,
#site-nav > ul > li.current_page_item > a,
#site-nav > ul > li.current-menu-ancestor > a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Dropdown indicator arrow for items with children */
#site-nav > ul > li.menu-item-has-children > a::after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -2px;
    opacity: 0.6;
}

/* Sub-menus */
#site-nav ul li {
    position: relative;
}

#site-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 0.5rem;
    background: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    gap: 0;
}

#site-nav ul li:hover > ul {
    display: flex;
}

#site-nav ul li ul li a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
}

#site-nav ul li ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Hamburger Button */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-menu__panel {
    position: relative;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: var(--color-black);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__top .site-logo img {
    height: 32px;
}

.menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.menu-close:hover {
    color: #fff;
}

/* Featured Cards Grid */
.mobile-menu__featured {
    padding: 1.5rem;
}

.mobile-menu__label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.mobile-menu__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mobile-menu__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu__card:hover,
.mobile-menu__card:active {
    background: rgba(244, 212, 48, 0.1);
    border-color: rgba(244, 212, 48, 0.25);
}

.mobile-menu__card svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Nav List */
.mobile-menu__nav {
    padding: 0 1.5rem 2rem;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
}

.mobile-menu__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu__list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu__list li a::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
    transform: rotate(-45deg);
    flex-shrink: 0;
}

.mobile-menu__list li a:hover {
    color: #fff;
}

/* Sub-menus in mobile */
.mobile-menu__list li ul {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
}

.mobile-menu__list li ul li {
    border-bottom: none;
}

.mobile-menu__list li ul li a {
    font-size: 0.875rem;
    padding: 0.625rem 0;
    color: rgba(255, 255, 255, 0.5);
}

/* CTA Button in Mobile Menu */
.mobile-menu__contact {
    padding: 1rem 1.5rem 2rem;
    margin-top: auto;
}

.mobile-menu__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-black);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu__cta:hover,
.mobile-menu__cta:active {
    background: var(--color-primary-hover);
}

.mobile-menu__cta svg {
    flex-shrink: 0;
}

/* ============================================
   BODY OFFSET FOR FIXED HEADER
   ============================================ */
#content {
    padding-top: var(--header-height);
}

/* Seamless black header-to-page transition */
.blog #content,
.single-post #content,
.page #content,
.single-course #content {
    padding-top: 0;
}

.blog .archive-header,
.single-post .single-post__header,
.page .page-hero,
.single-course .single-course-hero {
    padding-top: calc(var(--header-height) + 3rem);
}

/* ============================================
   CONTENT AREA — narrower, centered
   ============================================ */
article {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: var(--color-white);
}

/* White card for page content on warm background */
.page article {
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    padding: 2rem 2rem;
}

/* ============================================
   BASE TYPOGRAPHY (applies to all content pages)
   ============================================ */
.entry-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text);
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Prevent horizontal scroll from oversized content */
article,
.single-post__content {
    overflow-x: hidden;
}

.entry-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--color-black);
}

.entry-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 2.5rem 0 1rem;
    padding-left: 0.875rem;
    border-left: 4px solid var(--color-primary);
    color: var(--color-black);
    clear: both;
}

.entry-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 2rem 0 0.75rem;
    color: var(--color-black);
    clear: both;
}

.entry-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.5rem 0 0.5rem;
    color: var(--color-black);
    clear: both;
}

.entry-content p {
    margin-bottom: 1.25rem;
}

.entry-content a {
    color: var(--color-link);
    text-decoration: none;
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: color var(--transition), background-size 0.3s ease;
    padding-bottom: 1px;
}

.entry-content a:hover {
    color: var(--color-link-hover);
    background-size: 100% 2px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.25rem 1.5rem;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.375rem;
}

.entry-content blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--color-primary);
    background: var(--color-gray);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Images — always fit content width, override inline styles */
.entry-content img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.entry-content figure,
.entry-content .wp-caption {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.75rem 0;
}

.entry-content figure img,
.entry-content .wp-caption img {
    width: 100%;
    margin: 0;
}

.entry-content .wp-block-image {
    margin: 1.75rem 0;
}

.entry-content .wp-block-image img {
    width: 100%;
    margin: 0;
}

.entry-content .aligncenter,
.entry-content img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .alignleft,
.entry-content figure.alignleft,
.entry-content .wp-caption.alignleft {
    float: left;
    width: auto !important;
    max-width: 40% !important;
    margin: 0.5rem 1.5rem 1rem 0;
}

.entry-content .alignright,
.entry-content figure.alignright,
.entry-content .wp-caption.alignright {
    float: right;
    width: auto !important;
    max-width: 40% !important;
    margin: 0.5rem 0 1rem 1.5rem;
}

.entry-content .alignleft img,
.entry-content .alignright img {
    width: 100%;
}

.entry-content .wp-caption-text,
.entry-content figcaption {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 0.5rem;
    padding: 0 0.25rem;
}

/* SVGs — constrain to content width, fix undefined dimensions */
.entry-content img[src$=".svg"] {
    width: auto;
    max-width: 100% !important;
    height: auto !important;
}

/* Responsive iframes & embeds (YouTube, etc.) */
.entry-content iframe {
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    display: block;
}

.entry-content .wp-block-embed,
.entry-content .wp-block-embed__wrapper {
    max-width: 100%;
    margin: 1.75rem 0;
}

.entry-content .wp-block-embed__wrapper iframe {
    margin: 0;
}

/* Clearfix for floated images */
.entry-content::after {
    content: '';
    display: table;
    clear: both;
}

.entry-content table {
    margin: 1.5rem 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.entry-content th,
.entry-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.entry-content th {
    background: var(--color-gray);
    font-weight: 600;
    font-size: 0.875rem;
}

.entry-content hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid var(--color-border);
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

.toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--color-black);
    color: #fff;
    cursor: pointer;
}

.toc__title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.toc__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition), transform var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.toc.is-open .toc__toggle {
    transform: rotate(180deg);
}

.toc__chevron {
    flex-shrink: 0;
}

.toc__list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    background: var(--color-white);
    counter-reset: toc-counter;
    display: none;
}

.toc.is-open .toc__list {
    display: block;
}

.toc__item {
    margin: 0;
    border-bottom: none;
}

.toc__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 450;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
    border-left: 3px solid transparent;
}

.toc__link:hover {
    background: var(--color-gray);
    color: var(--color-black);
}

.toc__link.is-active {
    background: rgba(244, 212, 48, 0.1);
    border-left-color: var(--color-primary);
    color: var(--color-black);
    font-weight: 600;
}

.toc__link.is-active .toc__dot {
    background: var(--color-primary);
    transform: scale(1.2);
}

.toc__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform var(--transition), opacity var(--transition);
}

.toc__link:hover .toc__dot,
.toc__link.is-active .toc__dot {
    opacity: 1;
}

/* ToC list uses ordered list but we hide native numbers */

/* Page titles (outside entry-content) */
article h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    color: var(--color-black);
}

/* ============================================
   LATEST NEWS SHORTCODE (front page / any page)
   ============================================ */

/* Reset entry-content overrides inside latest-news */
.entry-content .latest-news {
    overflow-wrap: normal;
    word-break: normal;
}

.entry-content .latest-news h2 {
    font-size: 1.5rem;
    color: var(--color-text);
    border-left: none;
    padding-left: 0;
    margin: 0;
    clear: none;
}

.entry-content .latest-news h3 {
    font-size: 1rem;
    color: var(--color-text);
    border-left: none;
    padding-left: 0;
    margin: 0;
    clear: none;
}

.entry-content .latest-news p {
    margin-bottom: 0;
}

.entry-content .latest-news a {
    color: inherit;
    background-image: none;
    background-size: 0;
    text-decoration: none;
    padding-bottom: 0;
}

/* Section container */
.latest-news {
    margin: 2.5rem 0;
}

/* Centered header */
.latest-news__header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.latest-news__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-link);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem;
}

.latest-news__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.latest-news__subtitle {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0.25rem 0 0;
}

/* Card grid: horizontal scroll on mobile, 3-col on desktop */
.latest-news__grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

/* Hide scrollbar but keep functionality */
.latest-news__grid::-webkit-scrollbar { display: none; }
.latest-news__grid { scrollbar-width: none; }

/* Cards */
.latest-news__card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition), transform var(--transition);
}

.latest-news__card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.latest-news__link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

/* Card image: 3:2 aspect ratio */
.latest-news__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--color-gray);
}

.latest-news__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

/* Card body */
.latest-news__body {
    padding: 0.875rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Category pill */
.latest-news__cat {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-link);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    padding: 0.125rem 0.5rem;
    margin-bottom: 0.5rem;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Card title */
.latest-news__card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news__card:hover .latest-news__card-title {
    color: var(--color-link-hover);
}

/* Date + author meta */
.latest-news__meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
}

/* Footer CTA */
.latest-news__footer {
    text-align: center;
    margin-top: 1.5rem;
}

.latest-news__btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--color-primary);
    color: var(--color-black);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 50px;
    text-align: center;
    line-height: 1.4;
    transition: background var(--transition), transform var(--transition);
}

.entry-content .latest-news .latest-news__btn {
    color: var(--color-black);
    background-image: none;
    padding-bottom: 0.75rem;
}

.latest-news__btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

/* Tablet: cards grow to fill */
@media (min-width: 640px) {
    .latest-news__grid {
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .latest-news__card {
        flex: 1 1 0;
        min-width: 0;
    }

    .entry-content .latest-news h2,
    .latest-news__title {
        font-size: 1.75rem;
    }
}

/* ============================================
   NEWS ARCHIVE (Uutiset)
   ============================================ */
.archive-header {
    padding: 3.5rem 0 2.5rem;
    background: var(--color-black);
    color: #fff;
}

.archive-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.archive-header__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

.archive-header__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.archive-header__count {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* Card Grid */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0 3rem;
}

.news-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    max-width: none;
    padding: 0;
    margin: 0;
}

.news-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.news-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.news-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-gray);
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.03);
}

.news-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-text-muted);
}

.news-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.news-card__meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-card__meta .separator {
    color: var(--color-border);
}

.news-card__author {
    font-weight: 500;
    color: var(--color-text);
}

.news-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-black);
    margin: 0 0 0.625rem;
}

.news-card__excerpt {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0 0 1.25rem;
    flex: 1;
}

.news-card__more {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-link);
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

.news-card:hover .news-card__more {
    color: var(--color-link-hover);
}

/* Pagination */
.news-pagination {
    padding: 0 0 3rem;
    display: flex;
    justify-content: center;
}

.news-pagination .page-numbers {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-pagination .page-numbers li {
    display: flex;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-gray);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}

.news-pagination .page-numbers a:hover {
    background: var(--color-primary);
    color: var(--color-black);
}

.news-pagination .page-numbers .current {
    background: var(--color-black);
    color: #fff;
}

.news-pagination .page-numbers .prev,
.news-pagination .page-numbers .next {
    font-weight: 600;
}

.news-empty {
    padding: 4rem 0;
    text-align: center;
    color: var(--color-text-muted);
}

/* ============================================
   SINGLE POST (Uutinen)
   ============================================ */
.single-post__header {
    padding: 3.5rem 0 2.5rem;
    background: var(--color-black);
    color: #fff;
}

.single-post__header .container {
    max-width: calc(var(--content-width) + 3rem);
    overflow-wrap: break-word;
    word-break: break-word;
}

.single-post__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
}

.single-post__author-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.single-post__author-link:hover {
    color: #fff;
}

.single-post__author-label {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.single-post__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.single-post__meta .separator {
    color: rgba(255, 255, 255, 0.2);
}

.single-post__date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
}

.single-post__title {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    word-break: break-word;
}

.single-post__hero {
    padding: 2rem 0 0;
}

.single-post__hero img {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    border-radius: var(--radius);
    display: block;
}

.single-post__content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 0;
}

.single-post__footer {
    padding: 0 0 3rem;
}

.single-post__back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    max-width: var(--content-width);
    margin: 0 auto;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition);
}

.single-post__back:hover {
    color: var(--color-link-hover);
}

/* Remove default article padding/max-width for single posts (handled by sections) */
.single .type-post {
    max-width: none;
    padding: 0;
}

/* ============================================
   AUTHOR PAGE
   ============================================ */
.author-header {
    padding: 3rem 0 2rem;
    background: var(--color-black);
    color: #fff;
}

.author-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-header__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
    flex-shrink: 0;
}

.author-header__info {
    flex: 1;
}

.author-header__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.25rem;
}

.author-header__name {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    color: #fff;
}

.author-header__bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.author-posts__heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 1.5rem;
}

/* Seamless black header for author page */
.author #content {
    padding-top: 0;
}

.author .author-header {
    padding-top: calc(var(--header-height) + 3rem);
}

/* ============================================
   PAGE HERO (Landing pages)
   ============================================ */
.page-hero {
    padding: 3.5rem 0 2.5rem;
    background: var(--color-black);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover), var(--color-primary));
}

.page-hero .container {
    max-width: calc(var(--content-width) + 3rem);
}

.page-hero__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: #fff;
    letter-spacing: -0.02em;
}

.page-hero__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0.75rem 0 0;
    line-height: 1.5;
}

/* Hero metadata (author + last updated) */
.page-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
}

.page-hero__author-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.page-hero__author-link:hover {
    color: #fff;
}

.page-hero__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.page-hero__separator {
    color: rgba(255, 255, 255, 0.2);
}

.page-hero__date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   COURSES FINDER (Frisbeegolfradat)
   ============================================ */

/* Seamless hero for course pages */
.page .courses-finder {
    margin: -2rem -2rem 0;
}

/* Hero */
.courses-hero {
    background: var(--color-black);
    padding: 2rem 0 2.5rem;
    text-align: center;
}

.courses-hero__inner {
    max-width: var(--max-width);
}

.courses-hero__badge {
    display: inline-block;
    padding: 0.25rem 0.875rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.courses-hero__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.courses-hero__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.5rem;
}

/* Search bar */
.courses-hero__search {
    position: relative;
    max-width: 480px;
    margin: 0 auto 1.25rem;
}

.courses-hero__search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

.courses-hero__search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: var(--color-white);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.9375rem;
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.courses-hero__search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(244, 212, 48, 0.15);
}

.courses-hero__search-input::placeholder {
    color: var(--color-text-muted);
}

/* City pills */
.courses-hero__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
}

.courses-hero__pill {
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
}

.courses-hero__pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.courses-hero__pill.is-active {
    background: var(--color-primary);
    color: var(--color-black);
    border-color: var(--color-primary);
    font-weight: 600;
}

/* Results area */
.courses-results {
    padding: 1.5rem 1.5rem 2rem;
}

.courses-results__count {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0 0 1.25rem;
}

.courses-results__empty {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.0625rem;
    color: var(--color-text-muted);
}

/* Course list */
.courses-list {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

/* Course row */
.course-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    max-width: none;
    margin: 0;
}

.course-row:last-child {
    border-bottom: none;
}

.course-row:hover {
    background: var(--color-gray);
}

.course-row.is-hidden {
    display: none;
}

.course-row__rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.1875rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-link);
    border: 1.5px solid var(--color-primary);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    text-align: center;
}

.course-row__rating--empty {
    border-color: var(--color-border);
    color: var(--color-text-muted);
}

.course-row__name {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--transition);
}

.course-row__name:hover {
    color: var(--color-link-hover);
}

.course-row__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: var(--color-black);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}

.course-row__cta:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.course-row__cta--disabled {
    background: var(--color-gray);
    color: var(--color-text-muted);
    cursor: default;
    font-weight: 500;
}

.course-row__cta--disabled:hover {
    background: var(--color-gray);
    transform: none;
}

/* Lightbox */
.courses-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 1rem;
}

.courses-lightbox[hidden] {
    display: none;
}

.courses-lightbox__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    border-radius: 50%;
    transition: background var(--transition);
    z-index: 1;
}

.courses-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.courses-lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Reset entry-content overrides inside courses finder */
.entry-content .courses-finder h1,
.entry-content .courses-finder h2 {
    border-left: none;
    padding-left: 0;
    margin: 0;
    clear: none;
}

.entry-content .courses-finder p {
    margin-bottom: 0;
}

.entry-content .courses-finder a {
    background-image: none;
    background-size: 0;
    padding-bottom: 0;
}

/* Single course hero */
.single-course-hero {
    padding: 3.5rem 0 2.5rem;
    background: var(--color-black);
    color: #fff;
}

.single-course-hero .container {
    max-width: calc(var(--content-width) + 3rem);
}

.single-course-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.single-course-hero__rating {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-primary);
    color: var(--color-black);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.single-course-hero__city {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.single-course-hero__title {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.single-course-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.single-course-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-black);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.single-course-hero__btn:hover {
    background: var(--color-primary-hover);
}

.single-course-hero__btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.single-course-hero__btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Tablet */
@media (min-width: 640px) {
    .courses-hero__title {
        font-size: 2.25rem;
    }

    .course-row {
        padding: 0.875rem 1.25rem;
    }

    .course-row__name {
        font-size: 1rem;
    }

    .single-course-hero__title {
        font-size: 2rem;
    }

    .page .courses-finder {
        margin: -2rem -2rem 0;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .courses-hero {
        padding: 3rem 0 3rem;
    }

    .courses-hero__title {
        font-size: 3rem;
    }

    .courses-results {
        padding: 2rem 1.5rem 3rem;
    }

    .course-row {
        padding: 0.875rem 1.5rem;
        gap: 1rem;
    }

    .course-row__rating {
        min-width: 3.5rem;
    }

    .course-row__cta {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }

    .single-course-hero {
        padding: 4.5rem 0 3rem;
    }

    .single-course-hero__title {
        font-size: 2.5rem;
    }

    .page .courses-finder {
        margin: -3rem -3rem 0;
    }
}

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-menus {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-menu h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Mobile: no floats, full-width images */
@media (max-width: 639px) {
    .entry-content .alignleft,
    .entry-content figure.alignleft,
    .entry-content .wp-caption.alignleft,
    .entry-content .alignright,
    .entry-content figure.alignright,
    .entry-content .wp-caption.alignright {
        float: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 1.5rem 0 !important;
    }
}

/* Tablet */
@media (min-width: 640px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-header__title {
        font-size: 2.75rem;
    }

    .single-post__title {
        font-size: 2rem;
    }

    .page-hero__title {
        font-size: 2.5rem;
    }

    .footer-menus {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    :root {
        --header-height: 88px;
    }

    .site-logo img {
        height: 44px;
    }

    #site-nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .archive-header {
        padding: 4.5rem 0 3rem;
    }

    .archive-header__title {
        font-size: 3.25rem;
    }

    .single-post__title {
        font-size: 2.5rem;
    }

    .single-post__header {
        padding: 4.5rem 0 3rem;
    }

    .page-hero {
        padding: 4.5rem 0 3rem;
    }

    .page-hero__title {
        font-size: 3.25rem;
    }

    .page article {
        padding: 3rem 3rem;
    }

    .footer-menus {
        grid-template-columns: repeat(4, 1fr);
    }

    .entry-content h1,
    article h1 {
        font-size: 2.75rem;
    }

    .entry-content h2 {
        font-size: 2rem;
    }

    article {
        padding: 3rem 1.5rem;
    }
}

/* === VIDEO CTA on course rows === */
a.course-row__cta.course-row__cta--video {
    background: var(--color-black);
    background-image: none;
    background-size: 0;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    padding-bottom: 0.5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
a.course-row__cta.course-row__cta--video svg {
    flex-shrink: 0;
    display: block;
}
a.course-row__cta.course-row__cta--video:hover {
    background: #222;
    background-image: none;
    background-size: 0;
    color: var(--color-white);
    transform: translateY(-1px);
}

/* Mobile: stack course rows — name on top, buttons below */
@media (max-width: 639px) {
    .course-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .course-row__name {
        flex-basis: 0;
        min-width: 0;
        font-size: 0.8125rem;
    }
    .course-row__rating {
        min-width: 2.5rem;
        font-size: 0.6875rem;
        padding: 0.125rem 0.375rem;
    }
    .course-row__cta {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.5rem;
        gap: 0.25rem;
    }
    .course-row__cta svg {
        width: 12px;
        height: 12px;
    }
}
/* ==================== FAQ accordion ==================== */
.fgp-faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 2.5rem;
}

.fgp-faq__item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius, 8px);
    background: var(--color-white);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fgp-faq__item:hover {
    border-color: var(--color-primary);
}

.fgp-faq__item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 1px 3px rgba(10, 10, 10, 0.04);
}

.fgp-faq__q {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-black);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.fgp-faq__q::-webkit-details-marker { display: none; }

.fgp-faq__q::after {
    content: '';
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
    transform-origin: 66% 66%;
    transition: transform 0.2s;
}

.fgp-faq__item[open] .fgp-faq__q::after {
    transform: rotate(-135deg);
    border-color: var(--color-primary);
}

.fgp-faq__a {
    padding: 0 1.25rem 1.125rem;
    color: var(--color-text);
    line-height: 1.65;
}

.fgp-faq__a p { margin: 0; }

@media (max-width: 640px) {
    .fgp-faq__q { font-size: 1rem; padding: 0.875rem 1rem; }
    .fgp-faq__a { padding: 0 1rem 1rem; }
}
/* ==================== /FAQ accordion ==================== */
