/* =============================================================================
   dineSarasota Food News — Stylesheet
   Matches the page mockup. Uses dineSarasota brand colors.
   ============================================================================= */

/* Brand colors */
:root {
    --fn-red:        #c0392b;
    --fn-dark:       #1a1a1a;
    --fn-gray:       #555;
    --fn-light-gray: #f5f5f5;
    --fn-border:     #e0e0e0;
    --fn-why-color:  #8b0000;
    --fn-source-color: #555;
    --fn-link-color: #c0392b;
}

/* =============================================================================
   Page Header
   ============================================================================= */
.fn-page-header {
    margin-bottom: 24px;
}

.fn-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--fn-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 8px;
}

.fn-page-desc {
    font-size: 0.95rem;
    color: var(--fn-gray);
    margin: 0 0 20px;
    max-width: 500px;
    line-height: 1.5;
}

/* =============================================================================
   Category Filter Tabs
   ============================================================================= */
.fn-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--fn-border);
}

.fn-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fn-gray);
    text-decoration: none;
    border: 1.5px solid var(--fn-border);
    border-radius: 4px;
    background: #fff;
    transition: all 0.15s ease;
    line-height: 1;
}

.fn-tab:hover {
    border-color: #999;
    color: var(--fn-dark);
    text-decoration: none;
}

.fn-tab--active {
    border-color: var(--fn-dark);
    color: var(--fn-dark);
    background: var(--fn-light-gray);
}

.fn-tab-icon {
    display: flex;
    align-items: center;
}

.fn-tab-icon svg {
    width: 16px;
    height: 16px;
}

/* =============================================================================
   News Feed
   ============================================================================= */
.fn-feed {
    margin: 0;
}

.fn-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--fn-border);
    align-items: flex-start;
}

.fn-item:first-child {
    padding-top: 0;
}

/* Left column: icon + category label + date */
.fn-item-icon {
    flex: 0 0 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 4px;
}

.fn-item-icon svg {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
}

.fn-item-cat {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-bottom: 4px;
}

.fn-item-date {
    display: block;
    font-size: 0.72rem;
    color: var(--fn-gray);
}

/* Right column: content */
.fn-item-body {
    flex: 1;
    min-width: 0;
}

.fn-item-headline {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fn-dark);
    margin: 0 0 8px;
    line-height: 1.3;
}

.fn-item-summary {
    font-size: 0.9rem;
    color: var(--fn-gray);
    line-height: 1.6;
    margin-bottom: 8px;
}

.fn-item-summary p {
    margin: 0;
}

.fn-item-why {
    font-size: 0.88rem;
    color: var(--fn-why-color);
    margin-bottom: 8px;
    line-height: 1.5;
}

.fn-item-why strong {
    font-weight: 700;
}

.fn-item-source {
    font-size: 0.82rem;
    color: var(--fn-source-color);
    margin: 0;
}

.fn-read-more {
    color: var(--fn-link-color);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.fn-read-more:hover {
    text-decoration: underline;
}

/* =============================================================================
   Pagination
   ============================================================================= */
.fn-pagination {
    margin: 32px 0 16px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.fn-pagination .page-numbers {
    display: inline-block;
    padding: 7px 13px;
    border: 1.5px solid var(--fn-border);
    color: var(--fn-dark);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 3px;
}

.fn-pagination .page-numbers.current {
    background: var(--fn-dark);
    color: #fff;
    border-color: var(--fn-dark);
}

.fn-pagination .page-numbers:hover:not(.current) {
    border-color: #999;
}

.fn-no-results {
    color: var(--fn-gray);
    font-style: italic;
    padding: 24px 0;
}

/* =============================================================================
   Sidebar — shared
   ============================================================================= */
.fn-sidebar-widget {
    background: #fff;
    border: 1.5px solid var(--fn-border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.fn-sidebar-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fn-dark);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--fn-border);
}

/* =============================================================================
   Sidebar — Browse widget
   ============================================================================= */
.fn-browse-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fn-browse-list li {
    border-bottom: 1px solid var(--fn-border);
}

.fn-browse-list li:last-child {
    border-bottom: none;
}

.fn-browse-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--fn-dark);
    font-size: 0.88rem;
    font-weight: 600;
}

.fn-browse-list a:hover {
    color: var(--fn-red);
    text-decoration: none;
}

.fn-browse-icon {
    flex: 0 0 22px;
    display: flex;
    align-items: center;
}

.fn-browse-icon svg {
    width: 20px;
    height: 20px;
}

.fn-browse-label {
    flex: 1;
}

.fn-browse-arrow {
    font-size: 1.1rem;
    color: #aaa;
}

/* =============================================================================
   Sidebar — Email signup
   ============================================================================= */
.fn-signup-heading {
    color: var(--fn-red) !important;
}

.fn-signup-desc {
    font-size: 0.85rem;
    color: var(--fn-gray);
    line-height: 1.5;
    margin: 0 0 14px;
}

/* Style whatever form widget is placed in this area */
.fn-signup-area input[type="email"],
.fn-signup-area input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--fn-border);
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.fn-signup-area input[type="submit"],
.fn-signup-area button[type="submit"] {
    width: 100%;
    padding: 11px;
    background: var(--fn-red);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.fn-signup-area input[type="submit"]:hover,
.fn-signup-area button[type="submit"]:hover {
    background: #a93226;
}

/* =============================================================================
   Sidebar — Recent Stories
   ============================================================================= */
.fn-recent-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.fn-recent-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--fn-border);
}

.fn-recent-list li:last-child {
    border-bottom: none;
}

.fn-recent-list a {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--fn-dark);
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 2px;
}

.fn-recent-list a:hover {
    color: var(--fn-red);
}

.fn-recent-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
}

.fn-view-all-btn {
    display: block;
    text-align: center;
    background: var(--fn-dark);
    color: #fff;
    padding: 11px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.fn-view-all-btn:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 680px) {
    .fn-item {
        flex-direction: column;
        gap: 12px;
    }

    .fn-item-icon {
        flex-direction: row;
        flex: none;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .fn-item-icon svg {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
    }

    .fn-tabs {
        gap: 4px;
    }

    .fn-tab {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
}
