/* Beszerzésguru - guru.cikklista.hu
   Statikus PHP oldalak stílusa. Színvilág az eredeti (aquilo Joomla sablon,
   web.archive.org/web/20190809122957/http://beszerzesguru.hu/) alapján. */

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

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #333;
    background: #f4f4f2;
    line-height: 1.6;
}

a { color: #6b7a1f; text-decoration: none; }
a:hover { color: #47530f; text-decoration: underline; }

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

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top bar */
.topbar {
    background: #2f2f2f;
    color: #ccc;
    font-size: 13px;
}
.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.topbar a { color: #ddd; }
.topbar .phone strong { color: #b7c95a; }
.topbar .social a { margin-left: 12px; font-weight: bold; }

/* Header / nav */
header.site-header {
    background: #fff;
    border-bottom: 3px solid #8ca33e;
}
header.site-header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
}
.logo {
    font-size: 26px;
    font-weight: 700;
    color: #4c4c4c;
    letter-spacing: 0.5px;
}
.logo span { color: #8ca33e; }

nav.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}
nav.main-nav li { position: relative; }
nav.main-nav > ul > li > a {
    display: block;
    padding: 10px 16px;
    color: #4c4c4c;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li.active > a {
    background: #8ca33e;
    color: #fff;
}
nav.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    min-width: 240px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 50;
}
nav.main-nav li:hover .dropdown-menu { display: block; }
nav.main-nav .dropdown-menu li a {
    display: block;
    padding: 8px 18px;
    color: #4c4c4c;
    white-space: nowrap;
}
nav.main-nav .dropdown-menu li a:hover {
    background: #f0f3e2;
    color: #47530f;
    text-decoration: none;
}

/* Hero / slider */
.hero {
    position: relative;
    background: #222;
    overflow: hidden;
}
.hero-slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.hero-slides img {
    scroll-snap-align: start;
    width: 100%;
    flex: 0 0 100%;
    max-height: 420px;
    object-fit: cover;
}
.hero-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 18px 0;
}
.hero-caption h1 { margin: 0 0 4px; font-size: 26px; }
.hero-caption p { margin: 0; color: #ddd; }

/* Page heading (belső oldalak) */
.page-heading {
    background: #8ca33e;
    color: #fff;
    padding: 26px 0;
    margin-bottom: 30px;
}
.page-heading h1 { margin: 0; font-size: 24px; }
.page-heading .crumbs { font-size: 13px; color: #eef2da; margin-top: 4px; }
.page-heading .crumbs a { color: #fff; text-decoration: underline; }

/* Layout: content + sidebar */
.content-layout {
    display: flex;
    gap: 34px;
    align-items: flex-start;
    margin: 30px 0 50px;
}
.content-main { flex: 1 1 auto; min-width: 0; }
.content-side { flex: 0 0 260px; }

.sidebar-box { background: #fff; border: 1px solid #e3e3df; border-radius: 4px; margin-bottom: 24px; }
.sidebar-box h3 {
    background: #8ca33e;
    color: #fff;
    margin: 0;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 4px 4px 0 0;
}
.sidebar-box ul { list-style: none; margin: 0; padding: 8px 0; }
.sidebar-box ul li a {
    display: block;
    padding: 8px 16px;
    color: #4c4c4c;
    border-bottom: 1px solid #f0f0ee;
}
.sidebar-box ul li:last-child a { border-bottom: none; }
.sidebar-box ul li a:hover { background: #f6f8ee; color: #47530f; text-decoration: none; }

/* Service grid */
.section-title {
    font-size: 22px;
    color: #4c4c4c;
    margin: 40px 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3e3df;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.service-card {
    background: #fff;
    border: 1px solid #e3e3df;
    border-radius: 4px;
    overflow: hidden;
}
.service-card img { border-bottom: 1px solid #e3e3df; }
.service-card .body { padding: 14px 16px 18px; }
.service-card h3 { margin: 0 0 8px; font-size: 17px; }
.service-card ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }
.service-card ul li { margin-bottom: 3px; }

/* Text blocks */
.text-block { margin-bottom: 30px; }
.text-block h2 { color: #4c4c4c; font-size: 20px; margin-bottom: 8px; }

/* Blog list */
.post-teaser { background: #fff; border: 1px solid #e3e3df; border-radius: 4px; padding: 20px; margin-bottom: 24px; }
.post-teaser h2 { margin: 0 0 6px; font-size: 21px; }
.post-meta { font-size: 13px; color: #888; margin-bottom: 12px; }
.post-meta span { margin-right: 14px; }
.readmore {
    display: inline-block;
    margin-top: 10px;
    background: #8ca33e;
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none !important;
}
.readmore:hover { background: #6f8130; }

article.post h1 { font-size: 26px; color: #4c4c4c; margin-bottom: 6px; }
.post-nav { margin-top: 26px; padding-top: 14px; border-top: 1px solid #e3e3df; display: flex; justify-content: space-between; }

/* Contact page */
.contact-info { background: #fff; border: 1px solid #e3e3df; border-radius: 4px; padding: 20px; }
.contact-info dt { font-weight: 700; color: #4c4c4c; margin-top: 12px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 2px 0 0; }

form.contact-form { background: #fff; border: 1px solid #e3e3df; border-radius: 4px; padding: 24px; }
form.contact-form label { display: block; font-weight: 600; margin: 14px 0 5px; color: #4c4c4c; }
form.contact-form input[type=text],
form.contact-form input[type=email],
form.contact-form textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form .checkbox-row { margin-top: 12px; font-weight: normal; display: flex; align-items: center; gap: 8px; }
form.contact-form button {
    margin-top: 18px;
    background: #8ca33e;
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
form.contact-form button:hover { background: #6f8130; }

.notice { padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; font-size: 14px; }
.notice.success { background: #eaf3d8; color: #47530f; border: 1px solid #c4d896; }
.notice.error { background: #fbe6e6; color: #8a2020; border: 1px solid #f0b8b8; }

/* Footer */
footer.site-footer {
    background: #2f2f2f;
    color: #bbb;
    margin-top: 50px;
    padding: 26px 0;
    font-size: 13px;
}
footer.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer.site-footer nav ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
footer.site-footer nav a { color: #bbb; }
footer.site-footer nav a:hover { color: #fff; }

@media (max-width: 900px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { flex-direction: column; }
    .content-side { flex: 1 1 auto; width: 100%; }
}
@media (max-width: 600px) {
    .service-grid { grid-template-columns: 1fr; }
    header.site-header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
    nav.main-nav ul { flex-wrap: wrap; }
    .topbar .wrap { flex-direction: column; gap: 4px; align-items: flex-start; }
}
