/* Classic Food theme footer — isolated from default RecipeNexa */
.cf-footer {
    --cf-primary: #639b0b;
    --cf-primary-dark: #477606;
    --cf-accent: #f2a12a;
    background: #282828;
    color: #d6d6d6;
    border-top: 5px solid var(--cf-primary);
    padding-top: 44px;
    font-family: Arial, Helvetica, sans-serif;
}
.cf-footer *, .cf-footer *::before, .cf-footer *::after {
    box-sizing: border-box;
}
.cf-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .7fr 1.25fr .8fr;
    gap: 30px;
    padding-bottom: 36px;
}
.cf-footer-grid--no-legal { grid-template-columns: 1.15fr .7fr 1.25fr; }
.cf-footer-col { min-width: 0; }
.cf-footer-col h2 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 17px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cf-primary);
}
.cf-footer-col p {
    font-size: 13px;
    line-height: 1.8;
    color: #bdbdbd;
}
.cf-footer-col ul { margin: 0; padding: 0; list-style: none; }
.cf-footer-col li { margin-bottom: 12px; }
.cf-footer a { color: #d6d6d6; text-decoration: none; }
.cf-footer a:hover, .cf-footer a:focus-visible {
    color: var(--cf-accent);
    text-decoration: underline;
}
.cf-footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cf-footer-social a {
    display: inline-flex;
    border: 1px solid #555;
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 12px;
}
.cf-footer-newsletter p { margin-bottom: 16px; }
.cf-footer-form-row { display: flex; gap: 0; }
.cf-footer-form-row input {
    flex: 1;
    min-width: 0;
    border: 1px solid #666;
    background: #fff;
    padding: 11px 10px;
    color: #222;
    border-radius: 3px 0 0 3px;
}
.cf-footer-form-row button {
    border: 0;
    background: var(--cf-primary);
    color: #fff;
    padding: 11px 13px;
    font-weight: 700;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}
.cf-footer-form-row button:hover { filter: brightness(.9); }
.cf-footer-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.cf-footer-recaptcha { margin-top: 15px; }
.cf-footer-error { color: #ffb4b4 !important; }
.cf-footer-bottom {
    border-top: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 19px 0;
    font-size: 12px;
    color: #aaa;
}
.cf-footer a:focus-visible,
.cf-footer button:focus-visible,
.cf-footer input:focus-visible {
    outline: 3px solid var(--cf-accent);
    outline-offset: 3px;
}
@media (max-width: 1000px) {
    .cf-footer-grid, .cf-footer-grid--no-legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .cf-footer { padding-top: 32px; }
    .cf-footer-grid, .cf-footer-grid--no-legal { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .cf-footer-bottom { flex-direction: column; align-items: flex-start; }
}
