/*
Theme Name: Kino Template
Theme URI: https://example.com/kino-template
Author: Your Name
Author URI: https://example.com
Description: Kino Template adalah starter theme WordPress yang ringan, bersih, dan siap dikembangkan sesuai kebutuhan (company profile, blog, maupun portofolio).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kino-template
Tags: custom-menu, custom-logo, featured-images, translation-ready, responsive-layout
*/

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

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

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

ul,
ol {
  margin: 0 0 1.5em 1.5em;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p {
  margin: 0 0 1.5em;
}

/* ==========================================================================
   2. Layout Container
   ========================================================================== */
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header {
  border-bottom: 1px solid #e5e5e5;
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.site-branding .site-title {
  margin: 0;
  font-size: 1.5rem;
}

.site-branding .site-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.site-branding .site-description {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Primary Navigation */
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-navigation a {
  color: #1a1a1a;
  font-weight: 500;
}

.main-navigation .current-menu-item > a {
  color: #0073aa;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-navigation ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .main-navigation.toggled ul {
    display: flex;
  }
}

/* ==========================================================================
   4. Content
   ========================================================================== */
#primary {
  flex: 1 0 auto;
  padding: 40px 0;
}

.content-area {
  width: 100%;
}

.entry-title {
  font-size: 2rem;
}

.entry-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5em;
}

.entry-content img {
  margin: 1.5em 0;
  border-radius: 4px;
}

.post-thumbnail {
  margin-bottom: 1.5em;
}

/* Archive / Blog list */
.post-list {
  display: grid;
  gap: 30px;
}

.post-card {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 30px;
}

.post-card .entry-title {
  font-size: 1.4rem;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  list-style: none;
  padding: 0;
}

/* ==========================================================================
   5. Sidebar / Widgets
   ========================================================================== */
.widget-area .widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.1rem;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 30px 0;
  font-size: 0.9rem;
  color: #666;
  flex-shrink: 0;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   7. Utilities
   ========================================================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
