/**
 * Apple Dark Theme - Main Stylesheet
 *
 * @package Apple_Dark
 * @since 1.0.0
 * 
 * This stylesheet contains all the styles for the Apple Dark theme.
 * Following WordPress coding standards and best practices.
 */

/* ========================================
   CSS Variables - Root Theme Colors
   ======================================== */

:root {
    /* Color Palette - PSL Theme (Zielony - Koniczynka) */
    --color-bg: #ffffff;
    --color-bg-secondary: #f5f5f5;
    --color-text: #333333;
    --color-text-secondary: #666666;
    --color-border: #e0e0e0;
    --color-accent: #2ed397;
    --color-accent-hover: #1a8c5a;
    --color-header: #2ed397;
    --color-header-text: #ffffff;
    --color-success: #4CAF50;
    --color-warning: #ff9500;
    --color-error: #ff3b30;

    /* Typography */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    --font-heading: 'Poppins', 'Montserrat', sans-serif;
    --font-mono: 'Menlo', 'Monaco', 'Courier New', monospace;
    --font-size-base: 14px;
    --line-height-base: 1.7;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
}

/* ========================================
   Normalize & Base Styles
   ======================================== */

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    font-weight: var(--font-weight-regular);
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

a {
    color: #333333;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #2ed397;
    background-color: rgba(46, 211, 151, 0.08);
    border-radius: 3px;
    padding: 2px 4px;
}

a:focus {
    outline: 2px solid #2ed397;
    outline-offset: 2px;
}

/* ========================================
   Typography
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin: 0 0 var(--spacing-md) 0;
    color: var(--color-text);
}

h1 {
    font-size: 1.8rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.875rem;
}

p {
    margin: 0 0 var(--spacing-md) 0;
}

em {
    font-style: italic;
}

strong,
b {
    font-weight: var(--font-weight-bold);
}

code {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: 0.2rem 0.4rem;
    color: var(--color-accent);
}

pre {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    overflow-x: auto;
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

blockquote {
    border-left: 4px solid var(--color-accent);
    margin: var(--spacing-lg) 0;
    padding-left: var(--spacing-md);
    font-style: italic;
    color: var(--color-text-secondary);
}

/* ========================================
   Lists
   ======================================== */

ul,
ol {
    margin: 0 0 var(--spacing-md) 0;
    padding-left: 1.5rem;
}

ul ul,
ul ol,
ol ul,
ol ol {
    margin-bottom: 0;
}

li {
    margin-bottom: var(--spacing-sm);
}

dl {
    margin: 0 0 var(--spacing-md) 0;
}

dt {
    font-weight: var(--font-weight-bold);
}

dd {
    margin: 0 0 var(--spacing-md) 0;
    padding-left: 1.5rem;
}

/* ========================================
   Header
   ======================================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .site-header {
        position: relative;
    }
}

.site-header.scrolled {
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.12);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem;
    margin: -0.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-logo-link:hover {
    transform: scale(1.05);
}

.site-logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.site-logo-text {
    margin: 0;
}

.site-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-heading);
    color: var(--color-header-text);
    letter-spacing: 0.05em;
    margin: 0;
    display: inline-block;
    text-transform: uppercase;
}

.site-title a {
    color: var(--color-header-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.9;
}

.site-description {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0.25rem 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* Navigation */

.primary-menu-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.primary-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    align-items: center;
}

.primary-menu>li {
    position: relative;
}

.primary-menu>li>a {
    color: #333333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.2rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-radius: 8px;
    white-space: nowrap;
}

.primary-menu>li>a:hover {
    color: #2ed397;
}


.primary-menu>li.current-menu-item>a {
    color: #2ed397;
    font-weight: 600;
    border-bottom: 3px solid #2ed397;
    padding-bottom: 0.52rem;
}

/* Invisible bridge between parent and submenu - eliminates gap */
.primary-menu>li::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    pointer-events: auto;
}

.primary-menu .sub-menu {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(46, 211, 151, 0.12), 0 0 0 1px rgba(46, 211, 151, 0.08);
    display: none;
    list-style: none;
    margin: 0.25rem 0 0 0;
    padding: 0.5rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s 0.3s,
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
}

.primary-menu>li:hover .sub-menu,
.primary-menu>li:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
    transition-delay: 0s;
}

.primary-menu .sub-menu li a {
    color: #2ed397;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    display: block;
    transition: all 0.2s ease;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    font-weight: 400;
}

.primary-menu .sub-menu li a:hover {
    border-left: 3px solid #2ed397;
    padding-left: 1.2rem;
}

.primary-menu .sub-menu li.current-menu-item>a {
    border-left: 3px solid #2ed397;
    font-weight: 500;
    color: #2ed397;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.primary-menu .sub-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-menu .sub-menu li:last-child {
    border-bottom: none;
}

.primary-menu .sub-menu li:first-child a {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.primary-menu .sub-menu li:last-child a {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.primary-menu .sub-menu li a {
    color: rgba(255, 255, 255, 0.95);
    display: block;
    padding: 1rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-left: 3px solid transparent;
}

.primary-menu .sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.primary-menu .sub-menu li a:hover::before {
    width: 100%;
}

.primary-menu .sub-menu li a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    padding-left: 2.25rem;
    border-left-color: #ffffff;
    transform: translateX(5px);
}

/* Menu toggle button */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle:focus {
    outline: 2px solid rgba(46, 211, 151, 0.5);
    outline-offset: 2px;
}

.menu-toggle .line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--color-header-text);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.menu-toggle.active .line-1 {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .line-3 {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========================================
   Layout
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xl);
}

/* Single Post Container - Left Sidebar */
.single-post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
}

.single-content {
    min-height: 400px;
    order: 2;
}

.sidebar-left {
    order: 1;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.content-area {
    min-height: 400px;
}

.content-area.full-width {
    grid-column: 1 / -1;
}

.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.site-main {
    flex: 1;
}

/* ========================================
   Posts & Articles
   ======================================== */

.post-item,
.archive-post {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 40px;
    margin-bottom: 40px;
    background: transparent;
}

.post-item:last-child,
.archive-post:last-child {
    border-bottom: none;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    margin: 0 0 12px 0;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.entry-title a {
    color: #1a1a1a;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.entry-title a:hover {
    color: #2ed397;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #999999;
    margin-bottom: 20px;
}

.entry-meta a {
    color: #999999;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.entry-meta a:hover {
    color: #2ed397;
}

.entry-image {
    margin: 25px 0;
    border-radius: 0px;
    overflow: hidden;
    max-height: 400px;
    background: #f5f5f5;
}

.entry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-image {
    max-height: 600px;
    width: 100%;
    margin: 30px 0;
    border-radius: 0;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Single Post Styling */
.single-post {
    background: transparent;
    padding: 40px 0;
    margin-bottom: 40px;
}

.entry-content {
    line-height: 1.8;
    word-break: break-word;
    color: #666666;
    font-size: 1rem;
}

.entry-content>* {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: var(--spacing-md) 0;
    border-radius: var(--border-radius-md);
}

.entry-content iframe,
.entry-content embed,
.entry-content video {
    margin: var(--spacing-md) 0;
    max-width: 100%;
    height: auto;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-md) 0;
    border: 1px solid var(--color-border);
}

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

.entry-content th {
    background-color: var(--color-bg-secondary);
    font-weight: var(--font-weight-semibold);
}

.entry-footer {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.entry-tags {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    color: var(--color-text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ========================================
   Buttons
   ======================================== */

.btn,
button,
input[type="button"],
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    white-space: nowrap;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before,
button::before,
input[type="button"]::before,
input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before,
button:active::before,
input[type="button"]:active::before,
input[type="submit"]:active::before {
    width: 300px;
    height: 300px;
}

.btn:focus,
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
    outline: 2px solid #2ed397;
    outline-offset: 2px;
}

.btn-primary,
.button-primary {
    background: linear-gradient(135deg, #2ed397 0%, #5ce4a1 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover,
.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
}

/* Blog Read More Button - Minimalist Style */
.btn-read-more {
    background: transparent !important;
    color: #2ed397;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    padding: 0 !important;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: visible;
    border-radius: 0;
    align-items: unset;
    justify-content: unset;
}

.btn-read-more::before {
    display: none !important;
}

.btn-read-more:hover {
    color: #1a8c5a;
    transform: translateX(4px);
    box-shadow: none;
    background: transparent !important;
}

.btn-secondary {
    background: #ffffff;
    border: 2px solid #2ed397;
    color: #2ed397;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #5ce4a1;
    color: #5ce4a1;
}

/* ========================================
   Sidebar & Widgets
   ======================================== */

.widget {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 30px 0;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.125rem;
    margin: 0 0 15px 0;
    font-weight: 600;
    border-bottom: 3px solid #2ed397;
    padding-bottom: 10px;
    color: #2ed397;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    display: block;
    color: #666666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px 0;
    text-decoration: none;
}

.widget a:hover {
    color: #2ed397;
    padding-left: 0;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #1a8c5a 0%, #2ed397 50%, #1a8c5a 100%);
    border-top: 4px solid #5ce4a1;
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-2xl) var(--spacing-lg);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-widgets .widget {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-widgets .widget:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-widgets .widget-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.footer-credits {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.footer-credits p {
    margin: 0;
    line-height: 1.5;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-menu li {
    position: relative;
}

.footer-menu li::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--spacing-lg) / 2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-menu li:last-child::after {
    display: none;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-menu a:hover::after {
    width: 100%;
}

.footer-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

font-size: 0.875rem;
transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer Widget Styling */
.footer-widgets .widget {
    color: rgba(255, 255, 255, 0.9);
}

.footer-widgets .widget a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-widgets .widget a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-widgets .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widgets .widget ul li {
    padding: 0.3rem 0;
}

/* ========================================
   Comments
   ======================================== */

.comments-area {
    margin-top: var(--spacing-xl);
}

.comments-title,
.comment-reply-title {
    font-size: 1.5rem;
    margin: 0 0 var(--spacing-lg) 0;
}

.comments-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
}

.comment {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    background-color: var(--color-bg-secondary);
    border-left: 3px solid var(--color-accent);
    border-radius: var(--border-radius-md);
}

.comment-author {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.comment-author a {
    color: var(--color-text);
}

.comment-author a:hover {
    color: var(--color-accent);
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.comment-content {
    line-height: 1.6;
}

.reply {
    margin-top: var(--spacing-md);
}

.children {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0 0 var(--spacing-lg);
}

/* ========================================
   Forms
   ======================================== */

.comment-form {
    margin-top: var(--spacing-lg);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
select {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: var(--spacing-sm);
    transition: border-color var(--transition-fast);
    width: 100%;
    max-width: 100%;
    display: block;
    margin-bottom: var(--spacing-md);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
    font-family: var(--font-sans);
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    background-color: var(--color-accent);
    border: none;
    border-radius: var(--border-radius-md);
    color: white;
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-fast);
    font-size: 1rem;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

button:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="reset"]:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

/* ========================================
   Pagination
   ======================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.pagination a,
.pagination span,
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination a:hover,
.page-numbers:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: rgba(0, 113, 227, 0.1);
}

.pagination .current,
.page-numbers.current {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* ========================================
   Search Form
   ======================================== */

.search-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.search-form input[type="search"],
.search-form input[type="text"] {
    flex: 1;
    margin-bottom: 0;
}

.search-form button {
    margin-bottom: 0;
}

/* ========================================
   Archive & Search
   ======================================== */

.archive-header,
.search-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-border);
}

.archive-title,
.search-header h1 {
    margin: 0 0 var(--spacing-sm) 0;
}

.archive-description {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin: var(--spacing-md) 0 0 0;
}

/* ========================================
   Utility Classes
   ======================================== */

.container-full {
    max-width: 100%;
    width: 100%;
}

.no-posts {
    text-align: center;
    padding: var(--spacing-xl);
}

.error-404 {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.error-404 h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* ========================================
   Word Press Embeds & Content
   ======================================== */

.wp-block-image {
    margin: var(--spacing-lg) 0;
}

.wp-block-gallery {
    margin: var(--spacing-lg) 0;
}

.wp-block-video {
    margin: var(--spacing-lg) 0;
}

.wp-caption {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    text-align: center;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: var(--spacing-sm) 0 0 0;
}

/* ========================================
   Hero Slider - Political Style
   ======================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #2ed397 0%, #1a8c5a 100%);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.20) 40%,
        rgba(0, 0, 0, 0.30) 70%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: #ffffff;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.9);
    text-shadow:
        -2px -2px 0 rgba(0, 0, 0, 0.8),
        2px -2px 0 rgba(0, 0, 0, 0.8),
        -2px 2px 0 rgba(0, 0, 0, 0.8),
        2px 2px 0 rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.8),
        0 4px 20px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.hero-content .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.8);
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        1px -1px 0 rgba(0, 0, 0, 0.8),
        -1px 1px 0 rgba(0, 0, 0, 0.8),
        1px 1px 0 rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(0, 0, 0, 0.6);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

margin: 0 0 2rem 0;
text-transform: uppercase;
letter-spacing: 0.1em;
color: rgba(255, 255, 255, 0.95);
}

.hero-content .btn-hero {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 3px solid rgba(255, 255, 255, 0.98);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.95);
    text-shadow: 
        -2px -2px 0 rgba(0, 0, 0, 0.95),
        2px -2px 0 rgba(0, 0, 0, 0.95),
        -2px 2px 0 rgba(0, 0, 0, 0.95),
        2px 2px 0 rgba(0, 0, 0, 0.95),
        -2px 0 0 rgba(0, 0, 0, 0.95),
        2px 0 0 rgba(0, 0, 0, 0.95),
        0 -2px 0 rgba(0, 0, 0, 0.95),
        0 2px 0 rgba(0, 0, 0, 0.95),
        0 0 12px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
}

.hero-content .btn-hero:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--color-accent);
    border-color: #ffffff;
}

/* ========================================
   Political Sections - Home Layout
   ======================================== */

.home-sections {
    background-color: #ffffff;
}

.section-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.section-item {
    text-align: center;
}

.section-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.section-item h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
    position: relative;
}

.section-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 1rem 0;
}

.section-item p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* About Page Sections */

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-header {
    text-align: left;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 3rem;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.breadcrumb {
    background: linear-gradient(180deg, rgba(46, 211, 151, 0.15) 0%, rgba(46, 211, 151, 0.05) 100%);
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666666;
    border-bottom: 1px solid rgba(46, 211, 151, 0.1);
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.breadcrumb a {
    color: #2ed397;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.breadcrumb a:hover {
    color: #1a8c5a;
    background-color: rgba(46, 211, 151, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.breadcrumb-separator {
    color: #2ed397;
    margin: 0 10px;
    font-weight: 600;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.about-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-column h2 {
    font-size: 2rem;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.about-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.offer-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.offer-number {
    background-color: var(--color-accent);
    color: #ffffff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.offer-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.offer-content h4 {
    font-size: 1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.offer-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   Buttons - Political Style
   ======================================== */

.btn,
button.btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn:hover,
button.btn:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 91, 79, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: #ffffff;
}

/* ========================================
   Typography Overrides for Political Theme
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
}

body {
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* ========================================
   Footer - Political Style
   ======================================== */

.site-footer {
    background-color: #2c3e50;
    color: #ffffff;
    margin-top: 4rem;
}

.footer-widgets-area {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-widget-column {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 0.75rem;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-widget ul li a:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

.footer-widget p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    background-color: transparent;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-copyright p {
    margin: 0;
}

.footer-navigation {
    display: flex;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-widgets-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .header-container {
        gap: 1.5rem;
        padding: 0.75rem 1.5rem;
    }

    .site-logo-image {
        height: 45px;
    }

    .primary-menu {
        gap: 0.25rem;
    }

    .primary-menu>li>a {
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
    }

    /* Single post layout */
    .single-post-container {
        grid-template-columns: 1fr;
    }

    .single-content {
        order: 1;
    }

    .sidebar-left {
        order: 2;
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .footer-widgets-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    /* Mobile Menu */
    .header-container {
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .site-logo-image {
        height: 40px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        margin: -0.5rem;
    }

    .menu-toggle .line {
        width: 24px;
        height: 2.5px;
        background-color: #2ed397;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-toggle.active .line:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .menu-toggle.active .line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Single post mobile layout */
    .single-post-container {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .entry-title {
        font-size: 1.8rem;
    }

    .entry-meta {
        flex-direction: column;
        gap: 10px;
    }

    .container {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .sidebar {
        position: relative;
        top: auto;
    }

    .primary-menu-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e5e5;
        padding: 1rem 0;
        z-index: 999;
        animation: slideDown 0.3s ease;
    }

    .primary-menu-wrapper.active {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .primary-menu>li {
        width: 100%;
    }

    .primary-menu>li>a {
        padding: 0.75rem 1rem;
        border-radius: 0;
        font-size: 0.95rem;
    }

    .primary-menu .sub-menu {
        position: static;
        display: none;
        background: #f5f5f5;
        border: none;
        border-radius: 0;
        box-shadow: none;
        min-width: auto;
        margin: 0;
        padding: 0.5rem 0 0.5rem 2rem;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .primary-menu>li:hover .sub-menu,
    .primary-menu>li.active .sub-menu {
        display: block;
    }

    .primary-menu .sub-menu li a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ========================================
   Premium Cards & Sections
   ======================================== */

.card,
[style*="background: #f5f5f5"],
[style*="background:#f5f5f5"],
.wp-block-group {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.05);
}

.card:hover,
.wp-block-group:hover {
    border-color: #2ed397;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.12);
    transform: translateY(-4px);
}

.card h3,
.wp-block-group h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2ed397;
    margin: 0 0 1rem 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.card h4,
.wp-block-group h4 {
    color: #2ed397;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Section Styling */
.wp-block-group[style*="border-top: 4px solid #2ed397"] {
    border-top-color: #2ed397 !important;
    border-radius: 12px;
    overflow: hidden;
}

/* Grid Sections */
[style*="grid-template-columns"],
[style*="display: grid"] {
    gap: 2rem !important;
}

[style*="grid-template-columns: 1fr 1fr 1fr"],
[style*="grid-template-columns:1fr 1fr 1fr"] {
    gap: 1.5rem !important;
}

/* Image Styling */
figure img,
.entry-image img,
[style*="border-radius"] img {
    border-radius: 12px;
    transition: all 0.3s ease;
}

figure img:hover,
.entry-image img:hover {
    transform: scale(1.02);
}

/* Hero/Banner Sections */
[style*="background: linear-gradient(135deg, #2ed397"],
[style*="background: linear-gradient"] {
    border-radius: 12px;
    overflow: hidden;
}

/* Links in Content */
.entry-content a,
.post-content a {
    color: #2ed397;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.entry-content a:hover,
.post-content a:hover {
    border-bottom-color: #2ed397;
    color: #5ce4a1;
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: #2ed397;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    outline: none;
}

/* Badge/Tag Styling */
.badge,
[style*="background: #2ed397"],
[style*="background:#2ed397"] {
    background: linear-gradient(135deg, #2ed397 0%, #5ce4a1 100%) !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

/* Heading Styling */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #2ed397;
}

/* Premium Borders */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ed397, transparent);
    margin: 2rem 0;
}

/* Table Styling */
table {
    border-collapse: collapse;
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.05);
}

table th {
    background: linear-gradient(135deg, #2ed397 0%, #5ce4a1 100%);
    color: white;
    padding: 1rem;
    font-weight: 600;
}

table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e5e5;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background: rgba(46, 125, 50, 0.02);
}

/* Blockquote */
blockquote {
    border-left: 4px solid #2ed397;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background: rgba(46, 125, 50, 0.02);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2ed397;
    outline-offset: 2px;
}

/* ==========================================
   GALLERY ENGINE v2.0
   ========================================== */

/* Gallery Container */
[data-gallery] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

[data-gallery] img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-gallery] img:hover {
    box-shadow: 0 8px 16px rgba(46, 221, 151, 0.2);
}

/* Lightbox Container */
.apple-dark-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.apple-dark-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-dark-lightbox .lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.apple-dark-lightbox .lightbox-container {
    position: relative;
    z-index: 10000;
    width: 90%;
    max-width: 900px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-dark-lightbox .lightbox-content {
    text-align: center;
    position: relative;
    width: 100%;
}

.apple-dark-lightbox #lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
}

#lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 1rem;
    min-height: 1.5rem;
    animation: slideUp 0.3s ease;
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(46, 221, 151, 0.9);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    top: 20px;
    right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #2ed397;
    transform: scale(1.1);
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.lightbox-close {
    font-size: 32px;
    width: 45px;
    height: 45px;
}

.lightbox-prev {
    left: 20px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
}

#lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    [data-gallery] {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev,
    .lightbox-next {
        top: 50%;
        transform: translateY(-50%);
    }

    .apple-dark-lightbox .lightbox-container {
        width: 95%;
        height: 95vh;
    }

    .apple-dark-lightbox #lightbox-image {
        max-height: 80vh;
    }
}

/* ========================================
   Facebook Feeds Section
   ======================================== */

.facebook-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.facebook-feeds-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    overflow: visible;
}

.facebook-feeds-section .section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #1a5f2a;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
}

.facebook-feeds-section .title-icon {
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.facebook-feeds-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.facebook-feeds-grid {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: start;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

@media (max-width: 992px) {
    .facebook-container {
        max-width: 90%;
        padding: 2rem 1.5rem;
    }
    
    .facebook-feeds-grid {
        gap: 1rem;
    }
    
    .facebook-feed-column {
        width: calc(50% - 0.5rem);
        flex: 0 0 calc(50% - 0.5rem);
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .facebook-feeds-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .facebook-feed-column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0;
    }
    
    .facebook-container {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
        border-radius: 12px;
    }
    
    .facebook-feeds-section .section-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .facebook-feeds-section .title-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .facebook-container {
        margin: 0 0.5rem;
        padding: 1rem 0.75rem;
    }
    
    .facebook-feed-column {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .facebook-feeds-section .section-title {
        font-size: 1.4rem;
    }
}

.facebook-feeds-grid.single-feed {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.facebook-feed-column {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(46, 211, 151, 0.15);
    transition: none;
    width: calc(50% - 0.75rem);
    flex: 0 0 calc(50% - 0.75rem);
    max-width: none;
    overflow: hidden;
    position: relative;
}

.facebook-feed-column:hover {
    box-shadow: 0 4px 12px rgba(46, 211, 151, 0.2);
}

.custom-fb-feed {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    background: white;
    padding: 0;
    margin: 0;
    position: relative;
}

.custom-fb-feed iframe {
    margin-top: -85px !important;
    display: block;
    width: 100% !important;
    height: calc(600px + 85px) !important;
}

.custom-fb-feed::-webkit-scrollbar {
    width: 8px;
}

.custom-fb-feed::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-fb-feed::-webkit-scrollbar-thumb {
    background: #2ed397;
    border-radius: 4px;
}

.custom-fb-feed::-webkit-scrollbar-thumb:hover {
    background: #1a5f2a;
}

.facebook-feed-column .fb-page,
.facebook-feed-column .fb-page span,
.facebook-feed-column .fb-page iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

.facebook-feed-column:hover {
    transform: none;
    box-shadow: none;
}

.facebook-feed-column .feed-title {
    display: none;
}

.facebook-feed-column .feed-title svg {
    flex-shrink: 0;
}

.facebook-feed-wrapper {
    min-height: 400px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.facebook-feed-wrapper iframe {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.facebook-feed-wrapper .fb-page,
.facebook-feed-wrapper .fb-page > span,
.facebook-feed-wrapper .fb-page > span > iframe {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.facebook-placeholder {
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, rgba(46, 211, 151, 0.05) 0%, rgba(26, 95, 42, 0.05) 100%);
    border-radius: 12px;
    border: 2px dashed rgba(46, 211, 151, 0.3);
}

.facebook-placeholder p {
    color: #666;
    margin-bottom: 1rem;
}

.facebook-placeholder .btn-configure {
    display: inline-block;
    background: linear-gradient(135deg, #2ed397 0%, #1a5f2a 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 211, 151, 0.3);
}

.facebook-placeholder .btn-configure:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 211, 151, 0.4);
}

.facebook-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-facebook {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #1877f2 0%, #0e5ac7 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.3);
}

.btn-facebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.4);
    background: linear-gradient(135deg, #0e5ac7 0%, #1877f2 100%);
}

/* Stylowanie feedów z wtyczki */
#cff {
    padding: 0 !important;
}

#cff .cff-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

#cff .cff-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

#cff .cff-author {
    margin-bottom: 0.75rem;
}

#cff .cff-author-text {
    color: #1a5f2a !important;
    font-weight: 600;
}

#cff .cff-post-text {
    color: #333 !important;
    line-height: 1.6;
}

#cff .cff-date {
    color: #999 !important;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .facebook-feeds-section {
        padding: 3rem 0;
    }

    .facebook-feeds-section .section-title {
        font-size: 1.875rem;
    }

    .facebook-feeds-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .facebook-feed-column {
        padding: 1.25rem;
    }

    .facebook-feed-wrapper {
        min-height: 300px;
    }
}

/* ========================================
   PSL Green Scrollbars - Horizontal & Vertical
   ======================================== */

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #2ed397 #f5f5f5;
}

/* WebKit (Chrome, Safari, Edge) - Vertical Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #2ed397;
    border-radius: 6px;
    border: 2px solid #f5f5f5;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a8c5a;
    border-color: #e8e8e8;
}

/* WebKit - Horizontal Scrollbar */
::-webkit-scrollbar-corner {
    background: #f5f5f5;
}