@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;400&display=swap');

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; }
body { margin: 0; }

/* Base */
body {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.625;
  background-color: #f1f2f2;
  background-image: url('../assets/images/cezeta_header.png');
  background-position: center bottom;
  background-size: contain;
  background-repeat: repeat;
  background-attachment: scroll;
}

a { color: #333; text-decoration: underline; }
a:hover, a:focus { color: #008CBA; text-decoration: none; }

p { margin: 0 0 24px; padding: 0; }
strong { font-weight: 700; }
ul { list-style: disc outside; margin: 0 0 25px 48px; padding: 0; }
ol { list-style-type: decimal; margin: 0 0 25px 48px; }
dl { margin: 0 0 25px 5px; }

blockquote {
  margin: 0;
  padding: 24px 40px;
  border-left: 4px solid #ddd;
}

blockquote::before {
  content: "\201C";
  display: block;
  font-size: 30px;
  height: 0;
  left: -20px;
  position: relative;
  top: -10px;
}

img { max-width: 100%; height: auto; border-style: none; }
iframe { border: none; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  color: #444;
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 22px;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.6rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.6rem; }

/* Layout */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* Header */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #f5f5f5;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.title-area { flex-shrink: 0; }

.site-title {
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0;
}

.site-title a {
  color: #333;
  text-decoration: none;
}

.site-title a:hover { color: #008CBA; }

/* Navigation */
.nav-primary { flex-grow: 1; }

.omega-nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.omega-nav-menu li { display: block; }

.omega-nav-menu a {
  display: block;
  padding: 20px 16px;
  text-decoration: none;
  color: #333;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.omega-nav-menu a:hover { color: #008CBA; }

/* Search form in header */
.site-header .search-form {
  display: flex;
  gap: 4px;
  align-items: center;
}

.site-header .search-field {
  padding: 8px 12px;
  border: 1px solid #ccc;
  font-size: 1.4rem;
  width: 180px;
}

.site-header .search-submit {
  padding: 8px 14px;
  background: #008CBA;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
}

.site-header .search-submit:hover { background: #006d92; }

/* Site intro (empty in this site) */
.site-intro { display: none; }

/* Site inner */
.site-inner {
  padding: 40px 0;
}

.site-inner .wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Content area */
.content {
  flex: 1;
  min-width: 0;
}

/* Blog entry */
.entry {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  padding: 30px;
}

.entry:last-child { border-bottom: none; }

.entry-title {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.entry-title a { text-decoration: none; }
.entry-title a:hover { color: #008CBA; }

.entry-meta {
  color: #999;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.entry-meta a { color: #999; }
.entry-meta a:hover { color: #008CBA; }

.entry-summary img,
.entry-content img {
  margin-bottom: 16px;
}

.entry-footer .entry-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f5f5f5;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  border: 2px solid #cfcfcf;
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: opacity 0.2s;
}

.gallery-item a:hover img {
  opacity: 0.85;
}

/* Single post */
.entry-content p { margin-bottom: 20px; }
.entry-content iframe { display: block; margin: 0 auto; }

/* Page header */
.entry-header .entry-title { margin-bottom: 16px; }

/* Sidebar */
.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.widget {
  margin-bottom: 40px;
}

.widget-title {
  font-size: 1.6rem;
  font-weight: 700;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
  margin-bottom: 16px;
  color: #333;
}

.widget ul {
  list-style: disc;
  margin: 0 0 0 20px;
  padding: 0;
}

.widget ul li {
  margin-bottom: 8px;
  padding: 0;
  word-wrap: break-word;
  font-size: 1.4rem;
}

.widget ul li:last-child { margin-bottom: 0; }

.widget .search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget .search-field {
  padding: 8px 12px;
  border: 1px solid #ccc;
  font-size: 1.4rem;
  width: 100%;
}

.widget .search-submit {
  padding: 8px 14px;
  background: #008CBA;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  color: #fff;
  text-align: center;
  background: rgba(10, 10, 10, 0.75);
}

.site-footer p { margin: 4px 0; font-size: 1.4rem; }

.site-footer a {
  display: inline-block;
  color: #fff;
  text-decoration: underline;
}

.site-footer a:hover { color: #ccc; }

/* Sticky post indicator */
.sticky .entry-title::before {
  content: "★ ";
  color: #008CBA;
}

/* Responsive */
@media (max-width: 900px) {
  .site-inner .wrap { flex-direction: column; }
  .sidebar { width: 100%; border-top: 1px solid #f5f5f5; padding-top: 30px; }
  .omega-nav-menu { justify-content: center; }
  .site-header .wrap { justify-content: center; flex-direction: column; align-items: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .entry { padding: 20px; }
}

/* Hamburger menu (mobile) */
.menu-icon { display: none; }

@media (max-width: 680px) {
  .menu-icon {
    display: block;
    background-color: #008CBA;
    cursor: pointer;
    padding: 22px 14px;
    width: 56px;
    position: relative;
  }
  .menu-icon span,
  .menu-icon span::before,
  .menu-icon span::after {
    display: block;
    height: 4px;
    width: 28px;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    content: '';
    transition: all 300ms ease-in-out;
  }
  .menu-icon span::before { top: -8px; }
  .menu-icon span::after { bottom: -8px; }
  .omega-nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    border: 3px solid #008CBA;
    position: absolute;
    right: 5%;
    top: 70px;
    z-index: 100;
    width: 200px;
  }
  .omega-nav-menu.open { display: flex; }
  .nav-primary { position: relative; }
}
