/* Netflix Satin Style - Auto-themed */
:root {
    --ofpe-primary-green: #0a7252;
    --ofpe-green-dark: #0a553a;
    --ofpe-green-light: #0a9f60;
    --ofpe-green-accent: #72b838;
    --ofpe-cream: #F5F5DC;
    --ofpe-bg: #F8F9FE;
    --ofpe-bg-light: #E8EAF6;
    --ofpe-text: #0a0a2a;
    --ofpe-text-light: #f5c425;
    --ofpe-border: #bed3e5;
    --ofpe-shadow: 0 4px 12px rgba(0,0,0,0.1);
    --ofpe-shadow-hover: rgba(10,109,76,0.25);
    --ofpe-success: #0aab58;
    --ofpe-warning: #f5b40a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--ofpe-text);
    background: var(--ofpe-bg);
    font-size: 16px;
    position: relative;
}

.ofpe-container {
    max-width:100%;
    margin: 0 auto;
    padding: 0 27px;
}

/* Header */
.ofpe-header {
    background: var(--ofpe-bg);
    border-bottom: 2px solid var(--ofpe-green-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    box-shadow: 0 3px 20px rgba(10,115,68,0.1);
}

.ofpe-header-container {
    max-width:100%;
    margin: 0 auto;
    padding: 13px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ofpe-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--ofpe-primary-green);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.6px;
}

.ofpe-logo-icon {
    width: 42px;
    height: 44px;
    background: linear-gradient(135deg, var(--ofpe-primary-green), var(--ofpe-green-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 800;
}

.ofpe-nav {
    display: flex;
    gap: 34px;
    align-items: center;
}

.ofpe-nav-link {
    color: var(--ofpe-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 11px 0;
}

.ofpe-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--ofpe-primary-green);
    transition: width 0.3s ease;
}

.ofpe-nav-link:hover::after,
.ofpe-nav-link--active::after {
    width: 100%;
}

.ofpe-nav-link:hover,
.ofpe-nav-link--active {
    color: var(--ofpe-primary-green);
}

.ofpe-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 11px;
}

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

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

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

.ofpe-menu-line {
    width: 24px;
    height: 2px;
    background: var(--ofpe-primary-green);
    transition: all 0.3s ease;
}

.ofpe-mobile-nav {
    display: none;
    flex-direction: column;
    padding: 18px 27px;
    background: var(--ofpe-bg);
    border-top: 1px solid var(--ofpe-border);
}

.ofpe-mobile-nav.active {
    display: flex;
}

.ofpe-mobile-link {
    padding: 9px 0;
    color: var(--ofpe-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--ofpe-border);
}

.ofpe-mobile-link:last-child {
    border-bottom: none;
}

/* Hero Section */
.ofpe-hero {
    background: linear-gradient(135deg, var(--ofpe-primary-green) 0%, var(--ofpe-green-light) 100%);
    color: white;
    padding: 100px 0 83px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ofpe-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: ofpe-float 20s ease-in-out infinite;
}

@keyframes ofpe-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, -50px) rotate(180deg); }
}

.ofpe-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 26px;
    position: relative;
    z-index: 2;
}

.ofpe-hero-badge {
    display: inline-block;
    padding: 9px 27px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 48px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 21px;
    backdrop-filter: blur(12px);
}

.ofpe-hero-title {
    font-size: 51px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 23px 0;
    color: white;
}

.ofpe-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0 0 38px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ofpe-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ofpe-btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 34px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 53px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ofpe-btn-primary {
    background: white;
    color: var(--ofpe-primary-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ofpe-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.ofpe-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.ofpe-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Main Content */
.ofpe-main {
    padding: 59px 0;
}

.ofpe-article {
    max-width: 800px;
    margin: 0 auto;
}

.ofpe-intro {
    margin-bottom: 51px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(10,106,79,0.05) 0%, rgba(110,182,60,0.03) 100%);
    border-radius: 19px;
    border-left: 5px solid var(--ofpe-primary-green);
}

.ofpe-lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--ofpe-text);
    margin-bottom: 22px;
    font-weight: 500;
}

.ofpe-article h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--ofpe-primary-green);
    margin: 53px 0 25px 0;
    line-height: 1.3;
}

.ofpe-article h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--ofpe-text);
    margin: 39px 0 18px 0;
}

.ofpe-article p {
    margin-bottom: 19px;
    line-height: 1.8;
    color: var(--ofpe-text);
}

.ofpe-list,
.ofpe-list-ordered {
    margin: 26px 0;
    padding-left: 27px;
}

.ofpe-list li,
.ofpe-list-ordered li {
    margin-bottom: 17px;
    line-height: 1.7;
    color: var(--ofpe-text);
}

.ofpe-list li::marker {
    color: var(--ofpe-primary-green);
}

.ofpe-image-wrapper {
    margin: 41px 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 11px 30px var(--ofpe-shadow);
    position: relative;
}

.ofpe-article-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.ofpe-article-image[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ofpe-article-image[loading="lazy"].loaded {
    opacity: 1;
}

/* Winner Section */
.ofpe-winner-section {
    background: linear-gradient(135deg, rgba(10,105,78,0.08) 0%, rgba(108,178,59,0.05) 100%);
    border: 2px solid var(--ofpe-green-light);
    border-radius: 22px;
    padding: 49px;
    margin: 63px 0;
    text-align: center;
}

.ofpe-winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 8px 27px;
    background: linear-gradient(135deg, var(--ofpe-primary-green), var(--ofpe-green-light));
    color: white;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    border-radius: 52px;
    margin-bottom: 24px;
}

.ofpe-winner-headline {
    font-size: 38px;
    color: var(--ofpe-primary-green);
    margin: 0 0 13px 0;
    font-weight: 800;
}

.ofpe-winner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: left;
    margin-top: 43px;
}

.ofpe-winner-main {
    text-align: center;
}

.ofpe-winner-logo-wrap {
    width: 180px;
    height: 110px;
    margin: 0 auto 22px;
    background: white;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 23px;
    box-shadow: 0 5px 13px rgba(0, 0, 0, 0.1);
}

.ofpe-winner-company-name {
    font-size: 26px;
    color: var(--ofpe-primary-green);
    margin: 0 0 18px 0;
    font-weight: 700;
}

.ofpe-winner-ratings {
    display: flex;
    justify-content: center;
    gap: 17px;
    margin-bottom: 22px;
}

.ofpe-winner-cta-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
    align-items: center;
}

.ofpe-winner-cta {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 47px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ofpe-winner-cta--primary {
    background: linear-gradient(135deg, var(--ofpe-primary-green), var(--ofpe-green-light));
    color: white;
    box-shadow: 0 4px 20px rgba(10,106,77,0.3);
}

.ofpe-winner-cta--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(10,112,68,0.4);
}

/* Author Box */
.ofpe-author-box {
    display: flex;
    gap: 27px;
    padding: 30px;
    background: var(--ofpe-bg-light);
    border: 2px solid var(--ofpe-border);
    border-radius: 18px;
    margin: 39px 0;
}

.ofpe-author-photo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ofpe-primary-green), var(--ofpe-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.ofpe-author-initials {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.ofpe-author-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--ofpe-primary-green);
    margin: 0 0 6px 0;
}

.ofpe-author-title {
    font-size: 11px;
    color: var(--ofpe-text-light);
    margin-bottom: 14px;
}

.ofpe-author-bio {
    font-size: 13px;
    color: var(--ofpe-text);
    line-height: 1.7;
    margin: 0;
}

/* Newsletter Signup */
.ofpe-newsletter {
    background: linear-gradient(135deg, var(--ofpe-primary-green), var(--ofpe-green-dark));
    color: white;
    padding: 53px 41px;
    border-radius: 18px;
    text-align: center;
    margin: 63px 0;
}

.ofpe-newsletter-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 9px 0;
}

.ofpe-newsletter-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 29px 0;
}

.ofpe-newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.ofpe-newsletter-input {
    flex: 1;
    padding: 12px 23px;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    outline: none;
}

.ofpe-newsletter-button {
    padding: 16px 31px;
    background: white;
    color: var(--ofpe-primary-green);
    border: none;
    border-radius: 53px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ofpe-newsletter-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.ofpe-faq-section {
    margin: 57px 0;
}

.ofpe-faq-header {
    text-align: center;
    margin-bottom: 52px;
}

.ofpe-faq-title {
    font-size: 35px;
    font-weight: 700;
    color: var(--ofpe-primary-green);
    margin-bottom: 15px;
}

.ofpe-faq-subtitle {
    font-size: 18px;
    color: var(--ofpe-text-light);
}

.ofpe-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ofpe-faq-item {
    background: var(--ofpe-bg);
    border: 2px solid var(--ofpe-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ofpe-faq-item.active {
    border-color: var(--ofpe-primary-green);
    box-shadow: 0 4px 20px var(--ofpe-shadow);
}

.ofpe-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 19px;
    padding: 25px 29px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.ofpe-faq-question:hover {
    background: var(--ofpe-bg-light);
}

.ofpe-faq-question-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--ofpe-text);
}

.ofpe-faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ofpe-bg-light);
    border-radius: 50%;
    color: var(--ofpe-primary-green);
    transition: all 0.3s ease;
}

.ofpe-faq-item.active .ofpe-faq-icon {
    transform: rotate(180deg);
    background: var(--ofpe-primary-green);
    color: white;
}

.ofpe-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ofpe-faq-item.active .ofpe-faq-answer {
    max-height: 1000px;
}

.ofpe-faq-answer-content {
    padding: 0 30px 21px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ofpe-text-light);
}

/* Footer */
.ofpe-footer {
    background: linear-gradient(135deg, var(--ofpe-primary-green), var(--ofpe-green-dark));
    color: rgba(255, 255, 255, 0.9);
    padding: 61px 0 28px;
    margin-top: 83px;
}

.ofpe-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 37px;
    margin-bottom: 42px;
}

.ofpe-footer-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 19px;
}

.ofpe-footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.ofpe-footer-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 19px;
}

.ofpe-footer-links {
    list-style: none;
    padding: 0;
}

.ofpe-footer-links li {
    margin-bottom: 10px;
}

.ofpe-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.ofpe-footer-links a:hover {
    color: white;
}

.ofpe-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .ofpe-header { position: relative !important; }
    .ofpe-menu-toggle {
        display: flex;
    }

    .ofpe-nav {
        display: none;
    }

    .ofpe-hero-title {
        font-size: 36px;
    }

    .ofpe-hero-subtitle {
        font-size: 16px;
    }

    .ofpe-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ofpe-btn {
        width: 100%;
        justify-content: center;
    }

    .ofpe-article h2 {
        font-size: 28px;
    }

    .ofpe-winner-content {
        grid-template-columns: 1fr;
    }

    .ofpe-author-box {
        flex-direction: column;
        text-align: center;
    }

    .ofpe-newsletter-form {
        flex-direction: column;
    }

    .ofpe-faq-title {
        font-size: 28px;
    }
}


/* ==================
   Company Logo Styles (110px height)
   ================== */
.fb-company-logo {
    width: 240px;
    height: 165px;
    object-fit: contain;
    background: var(--fb-white);
    border-radius: var(--fb-radius-sm);
    padding: 9px;
    margin-bottom: 6px;
    border: 2px solid var(--fb-gray-200);
}

.fb-company-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ==================
   Action Buttons (Go + Review)
   ================== */
.fb-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-btn-primary {
    display: inline-block;
    padding: 7px 26px;
    background: var(--fb-secondary);
    color: var(--fb-dark);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
    text-decoration: none;
}

.fb-btn-primary:hover {
    background: var(--fb-secondary-dark);
    color: var(--fb-dark);
    transform: translateY(-1px);
}

.fb-btn-review {
    display: inline-block;
    padding: 11px 22px;
    background: transparent;
    color: var(--fb-primary);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 2px solid var(--fb-primary);
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
    text-decoration: none;
}

.fb-btn-review:hover {
    background: var(--fb-primary);
    color: var(--fb-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fb-company-logo {
        width: 160px;
        height: 100px;
    }

    .fb-action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .fb-btn-primary,
    .fb-btn-review {
        padding: 11px 17px;
        font-size: 11px;
    }
}
/* ==================
   UNIVERSAL MOBILE FIX - Company Logos & Table Adaptivity
   Applied to all sites
   ================== */
@media (max-width: 768px) {
    /* Universal logo selectors */
    [class*='company-logo'],
    [class*='CompanyLogo'],
    [class*='company_logo'],
    img[class*='logo'][class*='company'],
    .company-logo,
    .fb-company-logo,
    .catCompanyLogo,
    .tf-company-card__logo,
    .th-company-logo,
    .op-company-logo,
    .card-logo,
    .review-logo {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
        min-height: 80px !important;
        max-height: 100px !important;
        padding: 11px !important;
        margin: 0 auto 13px !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    /* Center company info/cards */
    [class*='company-info'],
    [class*='CompanyInfo'],
    [class*='company_info'],
    .fb-company-info,
    .catCompanyInfo,
    .tf-company-card__info {
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Center company name */
    [class*='company-name'],
    [class*='CompanyName'],
    .catCompanyName,
    .tf-company-card__name {
        text-align: center !important;
    }
    
    /* Center rating/stars */
    [class*='rating'],
    [class*='Rating'],
    [class*='stars'],
    [class*='Stars'],
    .catRating,
    .catStars {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Buttons full width */
    [class*='action-btn'],
    [class*='ActionBtn'],
    [class*='btn-cta'],
    [class*='btn-primary'],
    [class*='btn-review'],
    .catBtnCta,
    .catBtnReview,
    .fb-btn-primary,
    .fb-btn-review,
    .tf-btn-primary,
    .tf-btn-outline {
        display: block !important;
        width: 100% !important;
        padding: 10px 23px !important;
        text-align: center !important;
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    
    /* Site logo bigger */
    [class*='site-logo'] img,
    [class*='SiteLogo'] img,
    .catLogo__icon,
    .tf-logo__icon,
    .th-logo__icon,
    header [class*='logo'] img {
        min-width: 45px !important;
        min-height: 45px !important;
    }
}


/* Max width 1400px for desktop */
.ofpe-wrapper, .ofpe-content, .ofpe-hero-inner, .ofpe-companies-container, 
.ofpe-article, .ofpe-container, .ofpe-footer-inner, .ofpe-main {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center buttons in company cards */
.ofpe-company-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.ofpe-td-action {
    text-align: center !important;
}
.ofpe-action-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
}
