/*
Theme Name: HobbyMiliter News Portal
Theme URI: https://hobbymiliter.com/
Author: Redaksi HobbyMiliter
Author URI: https://hobbymiliter.com/
Description: Tema WordPress Portal Berita Pertahanan, Militer, Kabar Daerah, dan Isu Strategis Nasional. Terinspirasi dari Newspaper tagDiv, dioptimalkan khusus untuk 3 Rubrik Utama (TNI, Daerah, Nasional) dengan kontrol penuh via Theme Customizer.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hobbymiliter
Tags: news, blog, two-columns, three-columns, right-sidebar, custom-colors, custom-menu, custom-logo, featured-images, theme-options
*/

/* ================= THEME BASE STYLES ================= */
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #222222;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
}

/* tagDiv Style Comment Bubble */
.td-comment-bubble {
  position: relative;
  background-color: #000000;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.td-comment-bubble::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 4px;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid #000000;
}

/* Navigation Active Underline Indicator */
.main-nav-active {
  position: relative;
}
.main-nav-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--hm-brand-color, #4db2ec);
}

/* Editorial Dropcap */
.dropcap {
  float: left;
  font-size: 4rem;
  line-height: 0.85;
  font-weight: 800;
  padding-right: 0.5rem;
  padding-top: 0.2rem;
  color: #222222;
  font-family: 'Roboto', sans-serif;
}

/* WordPress Standard Post Alignment */
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignwide {
  max-width: 100%;
}
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* WordPress Captions */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}
.wp-caption-text {
  font-size: 11px;
  color: #777777;
  font-style: italic;
  padding-top: 0.5rem;
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ================= ENTRY CONTENT TYPOGRAPHY ================= */
.entry-content {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
}
.entry-content p {
  margin-bottom: 1.35rem;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: 'Roboto', sans-serif;
  color: #222222;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.entry-content h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 0.5rem;
}
.entry-content h3 {
  font-size: 1.25rem;
}
.entry-content h4 {
  font-size: 1.1rem;
}
.entry-content a {
  color: var(--hm-brand-color, #4db2ec);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover {
  color: #000000;
}
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.entry-content ul {
  list-style-type: disc;
}
.entry-content ol {
  list-style-type: decimal;
}
.entry-content li {
  margin-bottom: 0.5rem;
}
.entry-content blockquote {
  border-left: 4px solid var(--hm-tni-color, #c0262d);
  background-color: #fdf5f5;
  padding: 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
}
.entry-content blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--hm-tni-color, #c0262d);
}
.entry-content table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
  margin: 1.75rem 0;
  border: 1px solid #e5e5e5;
}
.entry-content th {
  background-color: #222222;
  color: #ffffff;
  padding: 0.65rem 1rem;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.entry-content td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #eeeeee;
  color: #444444;
}
.entry-content tr:nth-child(even) td {
  background-color: #fafafa;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}
.entry-content iframe {
  max-width: 100%;
}

/* ================= NUMBERED PAGINATION (tagDiv Newspaper Style) ================= */
.hobbymiliter-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.hobbymiliter-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  font-size: 12px;
  font-weight: 700;
  color: #444444;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
  text-decoration: none;
}
.hobbymiliter-pagination .page-numbers:hover {
  background-color: var(--hm-brand-color, #4db2ec);
  color: #ffffff;
  border-color: var(--hm-brand-color, #4db2ec);
}
.hobbymiliter-pagination .page-numbers.current {
  background-color: #222222;
  color: #ffffff;
  border-color: #222222;
}
.hobbymiliter-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
}

