/* CompUltras — clean WordPress-style blog theme */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  line-height:1.7;
  color:#222;
  background:#fafafa;
}
a{color:#b1361e;text-decoration:none}
a:hover{color:#7a230e;text-decoration:underline}
img{max-width:100%;height:auto;display:block;margin:0 auto}
h1,h2,h3,h4,h5{
  font-family:Georgia,"Times New Roman",serif;
  color:#111;
  line-height:1.3;
  margin:1.4em 0 .5em;
  font-weight:700;
}
h1{font-size:2.2em}
h2{font-size:1.7em}
h3{font-size:1.3em}
h4{font-size:1.1em}
p{margin:0 0 1.2em}
ul,ol{margin:0 0 1.2em;padding-left:1.4em}
blockquote{
  margin:1.4em 0;
  padding:.4em 1.2em;
  border-left:4px solid #b1361e;
  background:#fff;
  color:#444;
  font-style:italic;
}
hr{border:0;border-top:1px solid #ddd;margin:2em 0}
code,pre{font-family:Menlo,Consolas,monospace;font-size:.95em}
pre{background:#222;color:#eee;padding:14px;overflow:auto;border-radius:3px}

/* ===== Header ===== */
.site-header{
  background:#ffffff;
  border-bottom:1px solid #e3e3e3;
  padding:30px 20px 16px;
  text-align:center;
}
.site-header .wrap{max-width:1100px;margin:0 auto}
.site-title{
  font-family:Georgia,serif;
  font-size:2.5em;
  margin:0;
  font-weight:700;
  letter-spacing:-0.01em;
}
.site-title a{color:#222}
.site-title a:hover{color:#b1361e;text-decoration:none}
.site-tagline{
  margin:8px 0 0;
  color:#666;
  font-size:0.95em;
  font-style:italic;
  font-family:Georgia,serif;
}

/* ===== Navigation ===== */
.site-nav{
  background:#ffffff;
  border-bottom:1px solid #e3e3e3;
  padding:0 20px;
}
.site-nav .wrap{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
}
.site-nav .nav-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
}
.site-nav a{
  display:inline-block;
  padding:13px 14px;
  color:#222;
  font-family:Arial,Helvetica,sans-serif;
  font-size:13px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.04em;
  border-bottom:3px solid transparent;
}
.site-nav a:hover{
  color:#b1361e;
  text-decoration:none;
  border-bottom-color:#b1361e;
}
.site-nav form{
  display:inline-flex;
  align-items:center;
  margin-left:auto;
  flex-shrink:0;
}
.site-nav input[type=search]{
  border:1px solid #ccc;
  background:#f5f5f5;
  padding:7px 14px;
  border-radius:20px;
  font-size:14px;
  font-family:Arial,Helvetica,sans-serif;
  width:200px;
  outline:none;
}
.site-nav input[type=search]:focus{
  background:#fff;
  border-color:#b1361e;
}
@media (max-width:700px){
  .site-nav .wrap{flex-direction:column;align-items:stretch}
  .site-nav .nav-links{justify-content:center;width:100%}
  .site-nav form{margin:8px 0;width:100%}
  .site-nav input[type=search]{width:100%}
}

/* ===== Layout containers ===== */
.container{
  max-width:780px;
  margin:0 auto;
  padding:40px 20px 60px;
}
.archive-container{
  max-width:1000px;
  margin:0 auto;
  padding:40px 20px 60px;
}

/* ===== Archive (post list) ===== */
.archive-intro{
  text-align:center;
  margin-bottom:40px;
}
.archive-intro h1{font-size:2.4em;margin:0 0 6px}
.archive-intro p{color:#666;margin:0}

.post-list{margin-bottom:40px}
.entry{
  background:#ffffff;
  border:1px solid #e3e3e3;
  padding:30px 32px;
  margin-bottom:24px;
}
.entry .cat{
  display:inline-block;
  color:#b1361e;
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.12em;
  margin-bottom:10px;
}
.entry .entry-title{
  margin:0 0 10px;
  font-size:1.6em;
  line-height:1.25;
}
.entry .entry-title a{color:#111}
.entry .entry-title a:hover{color:#b1361e;text-decoration:none}
.entry .entry-meta{
  color:#888;
  font-size:13px;
  font-family:Arial,Helvetica,sans-serif;
  margin-bottom:14px;
}
.entry .excerpt{
  font-size:16px;
  color:#333;
  margin-bottom:14px;
}
.entry .more{
  display:inline-block;
  background:#b1361e;
  color:#ffffff;
  padding:7px 14px;
  border-radius:3px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:13px;
  font-weight:600;
}
.entry .more:hover{
  background:#7a230e;
  color:#ffffff;
  text-decoration:none;
}

/* ===== Single post ===== */
.post-single{
  background:#ffffff;
  border:1px solid #e3e3e3;
  padding:40px 50px;
}
@media (max-width:700px){
  .post-single{padding:24px 20px}
}
.post-single .breadcrumb{
  color:#888;
  font-size:13px;
  font-family:Arial,Helvetica,sans-serif;
  margin-bottom:12px;
}
.post-single .breadcrumb a{color:#888}
.post-single .breadcrumb a:hover{color:#b1361e}
.post-single .cat-eyebrow{
  display:inline-block;
  color:#b1361e;
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.14em;
  margin-bottom:12px;
}
.post-single h1.post-title{
  font-size:2.3em;
  margin:0 0 16px;
  line-height:1.2;
}
.post-single .post-meta{
  color:#888;
  font-size:14px;
  font-family:Arial,Helvetica,sans-serif;
  padding-bottom:20px;
  border-bottom:1px solid #e3e3e3;
  margin-bottom:28px;
}
.post-single .post-meta > *{margin-right:14px}
.post-single .post-meta a{color:#888}
.post-single .post-meta a:hover{color:#b1361e}
.post-single .post-meta .author-bubble{
  display:inline-block;
}
.post-single .post-meta .avatar{
  display:inline-block;
  width:24px;
  height:24px;
  line-height:24px;
  text-align:center;
  background:#b1361e;
  color:#ffffff;
  border-radius:50%;
  font-weight:700;
  font-size:11px;
  margin-right:6px;
  vertical-align:middle;
  font-family:Arial,Helvetica,sans-serif;
}
.post-body{font-size:17px;line-height:1.8;color:#222}
.post-body p{margin:0 0 1.3em}
.post-body h2,.post-body h3{margin-top:1.6em}
.post-body figure{margin:1.8em 0;text-align:center}
.post-body figure img{display:inline-block}
.post-body a{text-decoration:underline}

.post-end{
  margin-top:36px;
  padding-top:20px;
  border-top:1px solid #e3e3e3;
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
  color:#888;
  overflow:auto;
}
.post-end .tags{float:left}
.post-end .back{float:right;color:#b1361e;font-weight:600}
@media (max-width:600px){
  .post-end .tags,.post-end .back{float:none;display:block;margin:6px 0}
}

/* ===== Pagination ===== */
.pagination{
  text-align:center;
  margin:40px 0 0;
  font-family:Arial,Helvetica,sans-serif;
}
.pagination a,.pagination span{
  display:inline-block;
  padding:8px 14px;
  margin:0 2px;
  border:1px solid #ddd;
  background:#fff;
  color:#222;
  font-size:14px;
}
.pagination .current{background:#b1361e;color:#fff;border-color:#b1361e}
.pagination a:hover{background:#b1361e;color:#fff;border-color:#b1361e;text-decoration:none}

/* ===== Search page ===== */
.search-panel{
  background:#ffffff;
  border:1px solid #e3e3e3;
  padding:30px 32px;
  margin-bottom:30px;
  text-align:center;
}
.search-panel h1{font-size:2em;margin:0 0 8px}
.search-panel p{color:#666;margin:0 0 18px}
.search-panel form{
  display:flex;
  justify-content:center;
  gap:6px;
  flex-wrap:wrap;
}
.search-panel input[type=search]{
  flex:1;
  min-width:200px;
  max-width:480px;
  padding:11px 14px;
  border:1px solid #ccc;
  font-size:15px;
  font-family:Arial,Helvetica,sans-serif;
  border-radius:3px;
}
.search-panel input[type=search]:focus{outline:none;border-color:#b1361e}
.search-panel button{
  padding:11px 20px;
  border:0;
  background:#b1361e;
  color:#fff;
  cursor:pointer;
  font-family:Arial,Helvetica,sans-serif;
  font-weight:600;
  font-size:14px;
  border-radius:3px;
}
.search-panel button:hover{background:#7a230e}

.search-empty{color:#888;font-style:italic;text-align:center;margin:24px 0}
.search-summary{color:#666;margin:0 0 14px}
.search-results-list{list-style:none;padding:0;margin:0}
.search-results-list li{
  padding:12px 0;
  border-bottom:1px solid #eee;
}
.search-results-list li:last-child{border-bottom:0}
.search-results-list a{font-weight:600;color:#111}
.search-results-list a:hover{color:#b1361e}
mark{background:#fff4a3;padding:0 2px}

/* ===== Search dropdown (header live results) ===== */
.search-dropdown{
  position:absolute;
  background:#fff;
  border:1px solid #ccc;
  min-width:300px;
  max-width:400px;
  max-height:380px;
  overflow-y:auto;
  z-index:200;
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
  display:none;
  right:0;
  top:100%;
  margin-top:6px;
}
.site-nav form.has-dropdown{position:relative}
.search-dropdown.open{display:block}
.search-dropdown a{
  display:block;
  padding:9px 12px;
  color:#222;
  border-bottom:1px solid #f0f0f0;
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
  text-decoration:none;
}
.search-dropdown a:last-child{border-bottom:0}
.search-dropdown a:hover{background:#f5f5f5;color:#b1361e;text-decoration:none}
.search-dropdown .none{
  padding:14px;color:#888;font-style:italic;text-align:center;
  font-family:Arial,Helvetica,sans-serif;font-size:14px;
}
.search-dropdown .see-all{
  background:#f5f5f5;color:#b1361e;text-align:center;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;font-size:12px;
}
.search-dropdown .see-all:hover{background:#b1361e;color:#fff}

/* ===== Footer ===== */
.site-footer{
  background:#222;
  color:#bbb;
  padding:30px 20px;
  text-align:center;
  margin-top:40px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
}
.site-footer .footer-title{
  font-family:Georgia,serif;
  color:#fff;
  font-size:1.4em;
  font-weight:700;
  margin-bottom:6px;
}
.site-footer .footer-links{margin:12px 0 0}
.site-footer .footer-links a{
  color:#bbb;
  margin:0 12px;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:0.08em;
}
.site-footer .footer-links a:hover{color:#fff;text-decoration:none}
.site-footer .credits{margin-top:14px;color:#888;font-size:12px}
