/* finddotid v2 — Main CSS */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand:       #2e3192;
  --brand-dark:  #1a1d6e;
  --brand-light: #4a4ec4;
  --accent:      #ff6b35;
  --accent-dark: #e55a25;
  --bg:          #f4f4f8;
  --surface:     #ffffff;
  --text:        #1a1a2e;
  --text-muted:  #6b6b8a;
  --border:      #e0e0ee;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --shadow-sm:   0 2px 8px rgba(46,49,146,0.08);
  --shadow-md:   0 6px 24px rgba(46,49,146,0.12);
  --radius:      10px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* TOPBAR */
#topbar { background: var(--brand-dark); padding: 7px 0; font-size: 11px; color: rgba(255,255,255,0.6); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.topbar-right { display: flex; gap: 20px; }
.topbar-right span b { color: rgba(255,255,255,0.9); font-weight: 500; }

/* NAVBAR */
#masthead { background: var(--brand); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 20px rgba(46,49,146,0.3); }
.navbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; }
.site-branding { padding: 12px 20px 12px 0; border-right: 1px solid rgba(255,255,255,0.15); margin-right: 8px; display: flex; align-items: center; gap: 10px; }
.custom-logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
.site-title-text { display: flex; flex-direction: column; justify-content: center; }
.site-title-text a { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; }
.site-title-text a span { color: var(--accent); }
.site-description { font-size: 8px; color: rgba(255,255,255,0.45); letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }

#primary-navigation { display: flex; flex: 1; }
#primary-menu { display: flex; }
#primary-menu li a { color: rgba(255,255,255,0.75); font-size: 12.5px; font-weight: 500; padding: 0 14px; height: 100%; display: flex; align-items: center; border-bottom: 3px solid transparent; transition: all 0.2s; white-space: nowrap; }
#primary-menu li a:hover, #primary-menu li.current-menu-item a, #primary-menu li.current-category-ancestor a { color: #fff; border-bottom-color: var(--accent); background: rgba(255,255,255,0.08); }

.navbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 10px 0; }
.search-form { display: flex; }
.search-field { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 7px 16px; font-size: 12px; color: #fff; font-family: var(--font-body); width: 180px; outline: none; transition: all 0.2s; }
.search-field::placeholder { color: rgba(255,255,255,0.45); }
.search-field:focus { background: rgba(255,255,255,0.2); width: 220px; }
.search-submit { display: none; }

/* BREAKING */
#breaking-news { background: var(--brand-dark); padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.breaking-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 14px; }
.breaking-label { color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 3px; white-space: nowrap; letter-spacing: 0.5px; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.6} }
.breaking-text { font-size: 12px; color: rgba(255,255,255,0.8); }

/* LAYOUT */
.site-main { max-width: 1200px; margin: 0 auto; padding: 28px 24px; }
.content-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }

/* SECTION HEADER */
.section-hdr { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-hdr-bar { width: 4px; height: 22px; background: var(--brand); border-radius: 2px; }
.section-hdr-title { font-size: 16px; font-weight: 700; color: var(--text); }
.section-hdr-line { flex: 1; height: 1px; background: var(--border); }
.section-hdr-more { font-size: 12px; color: var(--brand); font-weight: 600; }

/* CAT TABS */
.cat-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.cat-tab { padding: 8px 18px; border-radius: 25px; font-size: 13px; font-weight: 500; border: 1.5px solid var(--border); color: var(--text-muted); background: var(--surface); text-decoration: none; transition: all 0.2s; display: inline-block; }
.cat-tab:hover { border-color: var(--brand); color: var(--brand); }
.cat-tab.active, .cat-tab.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* HERO */
.hero-section { display: grid; grid-template-columns: 1.8fr 1fr; gap: 20px; margin-bottom: 36px; }
.hero-main { border-radius: 14px; overflow: hidden; position: relative; background: var(--brand); min-height: 380px; display: flex; align-items: flex-end; }
.hero-main .post-thumbnail { position: absolute; inset: 0; }
.hero-main .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.hero-no-img { position: absolute; inset: 0; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); display: flex; align-items: center; justify-content: center; font-size: 80px; opacity: 0.15; }
.hero-overlay { position: relative; z-index: 2; padding: 28px 24px 24px; background: linear-gradient(transparent, rgba(10,12,60,0.92)); width: 100%; }
.hero-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 4px; letter-spacing: 0.5px; margin-bottom: 10px; text-transform: uppercase; }
.hero-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 10px; }
.hero-title a { color: #fff; }
.hero-meta { font-size: 12px; color: rgba(255,255,255,0.55); }
.hero-meta span { margin-right: 12px; }

.hero-side { display: flex; flex-direction: column; gap: 12px; }
.side-card { background: var(--surface); border-radius: 10px; border: 1px solid var(--border); display: flex; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.side-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.side-card .post-thumbnail { width: 96px; min-width: 96px; height: 82px; overflow: hidden; }
.side-card .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.side-no-img { width: 96px; min-width: 96px; height: 82px; background: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 26px; opacity: 0.5; }
.side-body { padding: 10px 14px; flex: 1; }
.side-cat { font-size: 10px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.side-title { font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--text); margin-bottom: 4px; }
.side-title a { color: var(--text); }
.side-time { font-size: 11px; color: var(--text-muted); }

/* NEWS GRID */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.news-card { background: var(--surface); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; transition: all 0.2s; }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card .post-thumbnail { height: 168px; overflow: hidden; }
.news-card .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.news-no-img { height: 168px; background: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: 0.3; }
.card-body { padding: 16px; }
.card-cat { font-size: 10px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 7px; }
.card-cat a { color: var(--brand); }
.card-title { font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; color: var(--text); }
.card-title a { color: var(--text); }
.card-excerpt { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 10px; }
.card-time, .card-views { font-size: 11px; color: var(--text-muted); }

/* SINGLE */
.single-post-cat { display: inline-block; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 4px; text-transform: uppercase; margin-bottom: 14px; }
.single-post-title { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1.35; margin-bottom: 16px; }
.single-post-meta { display: flex; gap: 20px; font-size: 12px; color: var(--text-muted); padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.single-featured-img { border-radius: 12px; overflow: hidden; margin-bottom: 28px; }
.single-featured-img img { width: 100%; max-height: 480px; object-fit: cover; }
.entry-content { font-size: 16px; line-height: 1.85; }
.entry-content p { margin-bottom: 18px; }
.entry-content h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 28px 0 14px; }
.entry-content h3 { font-size: 18px; font-weight: 700; margin: 22px 0 12px; }
.entry-content blockquote { border-left: 4px solid var(--brand); padding: 16px 20px; background: rgba(46,49,146,0.05); border-radius: 0 8px 8px 0; margin: 20px 0; font-style: italic; color: var(--text-muted); }
.entry-content img { border-radius: 10px; margin: 20px 0; }
.entry-content a { color: var(--brand); text-decoration: underline; }

/* SHARE BOX */
.share-box { margin-top: 24px; padding: 18px; background: rgba(46,49,146,0.04); border-radius: 10px; border: 1px solid var(--border); }
.share-box-title { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: 600; color: #fff; }
.share-btn-wa { background: #25d366; }
.share-btn-tw { background: #1da1f2; }
.share-btn-fb { background: #1877f2; }

/* TAGS */
.post-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.post-tags-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-right: 8px; }
.post-tag { display: inline-block; background: rgba(46,49,146,0.08); color: var(--brand); font-size: 12px; padding: 4px 12px; border-radius: 20px; margin: 3px; font-weight: 500; }

/* SIDEBAR */
.widget { background: var(--surface); border-radius: 12px; border: 1px solid var(--border); padding: 18px; margin-bottom: 20px; }
.widget-title { font-size: 14px; font-weight: 700; color: var(--text); padding-bottom: 12px; border-bottom: 2px solid var(--brand); margin-bottom: 14px; }
.widget ul li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.widget ul li:last-child { border-bottom: none; padding-bottom: 0; }
.widget ul li a { color: var(--text); font-weight: 500; line-height: 1.4; transition: color 0.2s; }
.widget ul li a:hover { color: var(--brand); }

/* ARCHIVE */
.archive-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.archive-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.archive-title span { color: var(--brand); }
.archive-desc { font-size: 13px; color: var(--text-muted); }

/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 32px 0; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--border); color: var(--text-muted); transition: all 0.2s; }
.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* FOOTER */
#colophon { background: var(--brand-dark); color: rgba(255,255,255,0.7); padding: 40px 0 20px; margin-top: 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 28px; }
.footer-logo { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: #fff; }
.footer-logo span { color: var(--accent); }
.footer-tagline-text { font-size: 8px; letter-spacing: 3px; color: rgba(255,255,255,0.35); text-transform: uppercase; margin-top: 2px; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 12px; line-height: 1.8; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 12px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,0.35); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-section { grid-template-columns: 1fr; }
  .hero-side { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #primary-navigation { order: 3; width: 100%; overflow-x: auto; }
  #primary-menu li a { padding: 10px 12px; font-size: 12px; }
  .news-grid { grid-template-columns: 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-main { padding: 16px; }
  .single-post-title { font-size: 24px; }
  .navbar-inner { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .cat-tabs { gap: 6px; }
  .cat-tab { padding: 6px 12px; font-size: 12px; }
  .topbar-right { display: none; }
  .hero-main { min-height: 280px; }
  .hero-title { font-size: 18px; }
}
