/* ============================================================
   Grekiska Köket — Static Site Stylesheet
   Recreated from Kale theme (LyraThemes) + child theme overrides
   ============================================================ */

/* ─── Reset & Base ──────────────────────────────────────────── */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 13px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #545454;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a, a:hover, a:visited, a:active, a:focus {
    color: #000;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #000;
    font-weight: 400;
    text-transform: uppercase;
}

h1 { font-size: 16px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
h4 { font-size: 13px; }

p {
    margin: 0 0 10px;
}

hr {
    border: 0;
    border-top: 1px solid #c4c4c4;
    margin: 30px 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ─── Bootstrap Grid (minimal) ──────────────────────────────── */

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 1px;
}

.col-md-4 {
    width: 33.3333%;
}

.col-md-6 {
    width: 50%;
}

.col-md-8 {
    width: 66.6666%;
}

.col-md-9 {
    width: 75%;
}

.col-md-12 {
    width: 100%;
}

/* ─── Main Wrapper ──────────────────────────────────────────── */

.main-wrapper {
    margin: 0 auto;
}

/* ─── Header ────────────────────────────────────────────────── */

.header {
    padding: 20px 0 0;
    line-height: 20px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.header-row-2 {
    text-align: center;
    padding: 20px 0;
}

.logo {
    text-align: center;
}

.header-logo-text {
    line-height: 60px;
    font-size: 60px;
    font-weight: 200;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin: 0;
}

.header-logo-text a {
    color: inherit;
}

.tagline {
    text-align: center;
    margin-top: 15px;
}

.tagline p {
    font-family: 'Caveat', cursive;
    font-size: 18px;
    color: #646464;
    text-transform: lowercase;
    margin: 0;
}

/* ─── Navbar ────────────────────────────────────────────────── */

.header-row-3 {
    border-top: 1px solid #000;
}

.navbar {
    margin: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.navbar-header {
    display: none;
}

.navbar-collapse {
    display: flex !important;
    justify-content: center;
}

.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav li {
    display: block;
}

.nav li a {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    padding: 23px 27px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    color: #000;
    transition: background-color 0.2s;
}

.nav li a:hover,
.nav li.active a {
    background-color: #f3f3f3;
    color: #000;
}

.nav-search a {
    padding: 23px 20px;
}

.navbar-toggle {
    display: none;
    float: right;
    padding: 9px 10px;
    margin: 8px 0;
    background: transparent;
    border: 1px solid #000;
    border-radius: 0;
    cursor: pointer;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #000;
    margin: 4px 0;
}

/* ─── Frontpage Featured Section ─────────────────────────────── */

.frontpage-featured {
    padding: 10px 0 0;
}

.frontpage-featured .block-title {
    text-align: center;
    margin-bottom: 30px;
}

.frontpage-featured .block-title span {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.frontpage-featured hr {
    margin: 15px 0 30px;
}

/* ─── Frontpage Banner ──────────────────────────────────────── */

.frontpage-banner {
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

.frontpage-banner > img {
    height: auto;
    width: 100%;
}

/* ─── Blog Feed ─────────────────────────────────────────────── */

.blog-feed {
    padding: 10px;
}

.blog-feed > h2 {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    margin: 0 0 25px;
}

.blog-feed > h2::after {
    font-family: 'FontAwesome';
    content: "\f107";
    margin-left: 10px;
}

/* ─── Entry (Recipe Card) ───────────────────────────────────── */

.entry {
    margin-bottom: 35px;
}

.entry-small {
    transition: opacity 0.2s;
}

.entry-small:hover {
    opacity: 0.85;
}

.entry-small .entry-content {
    line-height: 22px;
}

.entry-small a {
    display: block;
    color: inherit;
}

.entry-thumb {
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 4px;
}

.entry-thumb img,
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.entry-date {
    margin-bottom: 12px;
    font-style: italic;
    font-size: 11px;
    color: inherit;
}

.entry-title {
    line-height: 1.3;
    margin: 0 0 10px;
    letter-spacing: 1px;
    color: #000;
}

h1.entry-title {
    margin-bottom: 25px;
}

.entry-summary {
    margin-bottom: 15px;
    line-height: 22px;
    text-align: justify;
}

.entry-meta {
    font-size: 11px;
}

.entry-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 10px;
}

.entry-category a {
    color: #545454;
}

/* ─── Single Post (Recipe Page) ─────────────────────────────── */

.entry-post .entry-thumb {
    float: right;
    padding-left: 20px;
    border-radius: 8px;
    max-width: 50%;
    margin-bottom: 15px;
}

.entry-post .single-content {
    max-width: 600px;
    line-height: 22px;
}

.entry-post .single-content p {
    font-size: 15px;
}

.entry-post .entry-header {
    margin-bottom: 15px;
}

/* ─── Recipe Rating ─────────────────────────────────────────── */

.recipe-rating {
    margin-bottom: 20px;
    font-size: 14px;
}

.recipe-rating .stars {
    color: #f5a623;
}

.recipe-rating .stars i {
    margin-right: 2px;
}

.recipe-rating .star-btn {
    cursor: pointer;
    transition: transform 0.1s;
}

.recipe-rating .star-btn:hover {
    transform: scale(1.2);
}

.recipe-rating .rating-count {
    color: #999;
    font-size: 12px;
    margin-left: 8px;
}

/* ─── Category Page ─────────────────────────────────────────── */

.full-width-category {
    padding: 10px 0;
}

.block-title {
    text-align: center;
    margin-bottom: 30px;
}

.block-title span {
    font-size: 16px;
    letter-spacing: 2px;
}

/* ─── Page Content ──────────────────────────────────────────── */

.page-content {
    padding: 10px 0 30px;
    color: #000;
    line-height: 22px;
    font-size: 14px;
}

/* ─── Footer ────────────────────────────────────────────────── */

.footer {
    padding: 30px 0 20px;
    text-align: center;
    border-top: 1px solid #c4c4c4;
    margin-top: 30px;
}

/* ─── Sidebar ───────────────────────────────────────────────── */

.sidebar {
    padding-top: 10px;
}

.sidebar .widget {
    margin-bottom: 35px;
}

.sidebar .widget-title {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c4c4c4;
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.sidebar-categories li a {
    font-size: 13px;
    color: #545454;
}

.sidebar-categories li a:hover {
    color: #000;
}

.footer-copyright {
    padding: 5px;
    font-size: 12px;
    color: #545454;
}

.footer-copyright a {
    color: #545454;
}

.footer-copyright a:hover {
    color: #000;
}

.facebook-widget {
    text-align: center;
    margin-bottom: 20px;
}

/* ─── Contact Form ──────────────────────────────────────────── */

.contact-form {
    max-width: 500px;
}

.contact-form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #000;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #f1f1f1;
    background: #fafafa;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    margin-bottom: 15px;
    border-radius: 0;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background: #2d2d2d;
    border: 1px solid #2d2d2d;
    color: #fff;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #000;
    border-color: #000;
}

/* ─── Search Overlay ────────────────────────────────────────── */

.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    z-index: 9999;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.search-overlay.active {
    display: block;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-container input {
    flex: 1;
    padding: 15px;
    border: 0;
    border-bottom: 2px solid #000;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    background: transparent;
    outline: none;
}

.search-container button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    padding: 10px;
}

.search-results {
    max-width: 600px;
    margin: 20px auto;
}

.search-results .search-result {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
    color: #000;
}

.search-results .search-result:hover {
    background: #fafafa;
}

.search-results .search-result h3 {
    margin: 0 0 5px;
    font-size: 14px;
}

.search-results .search-result p {
    margin: 0;
    font-size: 12px;
    color: #545454;
}

/* ─── Cookie Banner ─────────────────────────────────────────── */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d2d2d;
    color: #fff;
    z-index: 9998;
    padding: 15px;
}

.cookie-banner-inner {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-inner p {
    margin: 0;
    font-size: 13px;
}

.cookie-banner .btn {
    background: #fff;
    color: #2d2d2d;
    border: none;
    padding: 8px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
}

/* ─── 404 Page ──────────────────────────────────────────────── */

.page-404 {
    text-align: center;
    padding: 60px 0;
}

.page-404 h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* ─── Responsive ────────────────────────────────────────────── */

@media (max-width: 991px) {
    .col-md-4 {
        width: 50%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-8,
    .col-md-9 {
        width: 100%;
    }

    .sidebar {
        width: 100%;
    }

    .entry-post .entry-thumb {
        float: none;
        max-width: 100%;
        padding-left: 0;
        margin-bottom: 25px;
    }

    .entry-post .single-content {
        max-width: 100%;
    }
}

@media (max-width: 880px) {
    .blog-feed {
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .header-logo-text {
        font-size: 30px;
        line-height: 30px;
        letter-spacing: 5px;
    }

    .navbar-header {
        display: block;
    }

    .navbar-collapse {
        display: none !important;
        border-top: 1px solid #c4c4c4;
    }

    .navbar-collapse.in {
        display: block !important;
    }

    .nav {
        flex-direction: column;
    }

    .nav li a {
        padding: 15px 20px;
        border-bottom: 1px solid #f3f3f3;
    }

    .col-md-4 {
        width: 100%;
    }

    .col-md-6 {
        width: 100%;
    }

    .col-md-8,
    .col-md-9 {
        width: 100%;
    }

    .container {
        padding: 0 10px;
    }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-logo-text {
        font-size: 22px;
        letter-spacing: 3px;
    }

    .tagline p {
        font-size: 15px;
    }
}
