/*
Theme Name: Life of Assyrian
Theme URI: https://lifeofassyrian.com
Author: Life of Assyrian
Author URI: https://lifeofassyrian.com
Description: Vice Media-style editorial theme for Life of Assyrian — built with structured data (schema.org) for AI answer-engine citability (Gemini, Grok, etc). Pulls in real posts, categories, and authors automatically.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lifeofassyrian
*/

:root{
  --black:#0A0A0A;
  --off-black:#141414;
  --white:#F5F5F3;
  --grey:#8A8A85;
  --line:rgba(245,245,243,0.14);
  --red:#E8331E;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{background:var(--black); color:var(--white); font-family:'Inter',sans-serif; line-height:1.5;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.display{font-family:'Anton',sans-serif; text-transform:uppercase; letter-spacing:0.01em; font-weight:400;}
.mono{font-family:'IBM Plex Mono',monospace;}
.wrap{max-width:1200px; margin:0 auto; padding:0 24px;}

/* masthead */
header.site-header{position:sticky; top:0; z-index:50; background:rgba(10,10,10,0.95); backdrop-filter:blur(6px); border-bottom:2px solid var(--white);}
.top-bar{display:flex; justify-content:space-between; align-items:center; padding:8px 0; font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.06em; color:var(--grey); border-bottom:1px solid var(--line); flex-wrap:wrap; gap:6px;}
.top-bar .live{color:var(--red); display:flex; align-items:center; gap:6px;}
.live::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--red); animation:pulse 1.6s infinite;}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:0.3;}}
.nav-row{display:flex; align-items:center; justify-content:space-between; padding:18px 0; flex-wrap:wrap; gap:12px;}
.logo{font-size:26px; letter-spacing:0.01em;}
.logo span{color:var(--red);}
.logo img{height:38px; width:auto;}
nav ul{display:flex; gap:0; list-style:none; flex-wrap:wrap;}
nav a{font-family:'Inter',sans-serif; font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:0.05em; padding:8px 16px; border-left:1px solid var(--line); transition:color .15s;}
nav a:hover{color:var(--red);}

/* mobile nav toggle */
.nav-toggle{display:none; flex-direction:column; gap:5px; background:none; border:1px solid var(--line); padding:10px 12px; cursor:pointer;}
.nav-toggle span{display:block; width:20px; height:2px; background:var(--white);}

@media (max-width:860px){
  .nav-toggle{display:flex;}
  nav{width:100%; max-height:0; overflow:hidden; transition:max-height .25s ease; order:3; border-top:1px solid var(--line);}
  nav.open{max-height:600px;}
  nav ul{flex-direction:column; width:100%;}
  nav a{border-left:none; border-bottom:1px solid var(--line); padding:14px 4px; font-size:13px;}
}

/* hero */
.hero{border-bottom:2px solid var(--white); padding:0;}
.hero-grid{display:grid; grid-template-columns:1.5fr 1fr;}
@media (max-width:860px){ .hero-grid{grid-template-columns:1fr;} }
.hero-main{padding:50px 40px; border-right:2px solid var(--white); position:relative;}
@media (max-width:860px){ .hero-main{border-right:none; border-bottom:2px solid var(--white); padding:34px 22px;} }
.hero-img{height:220px; border:1px solid var(--line); margin-bottom:26px; position:relative; overflow:hidden; background-size:cover; background-position:center;
  background-color:#161616;
  background-image:repeating-linear-gradient(135deg, rgba(245,245,243,0.05) 0px, rgba(245,245,243,0.05) 1px, transparent 1px, transparent 14px);
}
.tag{display:inline-block; background:var(--red); color:var(--white); font-family:'Inter',sans-serif; font-weight:800; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; padding:4px 10px; margin-bottom:16px;}
.hero-main h1{font-size:clamp(30px,5vw,54px); line-height:0.98; margin-bottom:18px;}
.hero-dek{font-size:17px; color:#CFCFC9; max-width:520px; margin-bottom:20px;}
.byline{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--grey);}
.byline a{color:var(--white); border-bottom:1px solid var(--red);}

.hero-side{display:flex; flex-direction:column;}
.side-item{padding:22px 30px; border-bottom:1px solid var(--line); display:flex; flex-direction:column; gap:8px;}
.side-item:last-child{border-bottom:none;}
.side-tag{font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--red); letter-spacing:0.08em;}
.side-item h4{font-family:'Inter',sans-serif; font-weight:700; font-size:15.5px; line-height:1.3;}
.side-item .byline{font-size:10px;}

/* trust strip */
.trust{border-bottom:2px solid var(--white); background:var(--off-black); padding:22px 0;}
.trust .wrap{display:flex; align-items:center; gap:26px; flex-wrap:wrap; font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--grey);}
.trust b{color:var(--white); font-family:'Inter',sans-serif;}
.trust .dot{color:var(--red);}

/* section */
.section{padding:54px 0; border-bottom:2px solid var(--white);}
.section-head{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:30px; flex-wrap:wrap; gap:12px;}
.section-title{font-size:clamp(24px,3vw,32px);}
.section-title span{color:var(--red);}
.section-link{font-family:'Inter',sans-serif; font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:0.05em; color:var(--grey);}
.section-link:hover{color:var(--red);}

.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid var(--line); border-left:1px solid var(--line);}
@media (max-width:860px){ .grid3{grid-template-columns:1fr;} }
.card{border-right:1px solid var(--line); border-bottom:1px solid var(--line); padding:24px; display:flex; flex-direction:column; gap:12px; transition:background .15s;}
.card:hover{background:var(--off-black);}
.card-img{height:130px; border:1px solid var(--line); background-size:cover; background-position:center;
  background-color:#161616;
  background-image:repeating-linear-gradient(135deg, rgba(245,245,243,0.05) 0px, rgba(245,245,243,0.05) 1px, transparent 1px, transparent 14px);
}
.card h3{font-family:'Inter',sans-serif; font-weight:700; font-size:17px; line-height:1.32;}
.card p{font-size:13.5px; color:var(--grey); flex-grow:1;}
.card-meta{display:flex; justify-content:space-between; font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--grey); padding-top:8px; border-top:1px solid var(--line);}

/* categories bar */
.cats{display:flex; gap:0; border:1px solid var(--line); flex-wrap:wrap;}
.cats a{flex:1; min-width:180px; padding:18px 20px; border-right:1px solid var(--line); font-family:'Inter',sans-serif; font-weight:800; font-size:13px; text-transform:uppercase; letter-spacing:0.04em; display:flex; justify-content:space-between; align-items:center;}
.cats a:hover{background:var(--red); color:var(--white);}
.cats a span{font-family:'IBM Plex Mono',monospace; font-weight:400; font-size:10px; color:var(--grey);}
.cats a:hover span{color:var(--white);}

/* citation note */
.cite-note{background:var(--off-black); border:1px solid var(--line); padding:30px; display:grid; grid-template-columns:auto 1fr; gap:24px; align-items:start;}
@media (max-width:640px){ .cite-note{grid-template-columns:1fr;} }
.cite-note .mark{font-family:'Anton',sans-serif; font-size:38px; color:var(--red); line-height:1;}
.cite-note h4{font-family:'Inter',sans-serif; font-weight:800; font-size:15px; text-transform:uppercase; margin-bottom:8px;}
.cite-note p{font-size:13.5px; color:var(--grey); max-width:640px;}
.cite-note code{font-family:'IBM Plex Mono',monospace; font-size:11px; background:var(--black); padding:2px 6px; border:1px solid var(--line);}

/* standards */
.standards-grid{display:grid; grid-template-columns:1fr 1fr; gap:50px;}
@media (max-width:860px){ .standards-grid{grid-template-columns:1fr;} }
.rules{list-style:none; display:flex; flex-direction:column; gap:18px;}
.rules li{display:grid; grid-template-columns:30px 1fr; gap:14px;}
.rules .n{font-family:'Anton',sans-serif; font-size:16px; color:var(--red);}
.rules h5{font-family:'Inter',sans-serif; font-weight:700; font-size:14px; margin-bottom:3px;}
.rules p{font-size:13px; color:var(--grey);}

/* single post */
.single-wrap{max-width:760px; margin:0 auto; padding:50px 24px;}
.single-wrap .tag{margin-bottom:18px;}
.single-wrap h1{font-size:clamp(30px,5vw,46px); line-height:1.02; margin-bottom:18px;}
.single-meta{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--grey); margin-bottom:30px; padding-bottom:20px; border-bottom:1px solid var(--line);}
.single-meta a{color:var(--white); border-bottom:1px solid var(--red);}
.single-content{font-size:17px; color:#DDDDD8;}
.single-content p{margin-bottom:22px;}
.single-content h2{font-family:'Inter',sans-serif; font-weight:800; font-size:24px; margin:36px 0 16px;}
.single-content h3{font-family:'Inter',sans-serif; font-weight:700; font-size:19px; margin:28px 0 12px;}
.single-content a{color:var(--red); border-bottom:1px solid var(--red);}
.single-content blockquote{border-left:3px solid var(--red); padding-left:18px; color:var(--grey); margin:22px 0; font-style:italic;}
.single-content img{margin:24px 0; border:1px solid var(--line);}

/* pagination */
.pagination{display:flex; gap:10px; justify-content:center; padding:40px 0; font-family:'IBM Plex Mono',monospace; font-size:12px;}
.pagination a, .pagination span{border:1px solid var(--line); padding:8px 14px;}
.pagination a:hover{border-color:var(--red); color:var(--red);}

/* footer */
footer.site-footer{padding:40px 0;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; margin-bottom:34px;}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr;} }
footer h6{font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.08em; color:var(--grey); text-transform:uppercase; margin-bottom:12px;}
footer ul{list-style:none; display:flex; flex-direction:column; gap:8px;}
footer a{font-size:13px; color:#CFCFC9;}
footer a:hover{color:var(--red);}
.footer-bottom{border-top:1px solid var(--line); padding-top:18px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--grey);}
