/*
Theme Name: anoboy
Theme URI: https://example.com/
Author: anoboy
Description: Theme WordPress dengan struktur HTML menyesuaikan CSS referensi (desktop + mobile + homepage).
Version: 1.0.0
Text Domain: anoboy
*/


/* ==== Reset dasar (mengikuti CSS acuan) ==== */
a, article, b, big, body, canvas, center, code, dd, del, div, em, embed, footer, form, h1, h2, h3, h4, h5, h6, header, html, i, iframe, img, label, legend, li, menu, nav, object, ol, p, q, s, section, small, span, strong, sub, summary, th, time, tr, u, ul, var, video {
  margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; direction:ltr;
}
article, footer, header, menu, nav, section { display:block; }
body { line-height:1; }
ol, ul { list-style:none; }
a { color:#333; text-decoration:none; transition:color .1s linear; }
a:hover { text-decoration:underline; }
.clear{ clear:both; }
:focus{ outline:0; }
h1{ font-size:18px; } h2{ font-size:16px; } h3{ font-size:16px; } h4{ font-size:14px; } h5,h6{ font-size:12px; }
p{ margin:10px 0; }

/* ==== Layout utama ==== */
body{
  color:#333;
  background-image:url(/wp-content/themes/anoboy/images/maskotKiri.svg), url(/wp-content/themes/anoboy/images/maskotKanan.svg);
  background-size:auto auto, auto auto;
  background-repeat:no-repeat;
  background-position:left center, right center;
  background-attachment:fixed;
  font:14px Arial, sans-serif;
  font-stretch:condensed;
  font-size:13px;
  margin:0 auto;
  background-color:#eee;
}
#wrap{ width:1080px; margin:0 auto; }
.center{ margin:0 auto; overflow:hidden; max-width:1080px; }
#content{ overflow:hidden; padding:10px 0; }

/* ==== Header & menu ==== */
#header{ overflow:hidden; width:1080px; margin:0 auto; padding-top:45px; }
#header .logo{ float:left; max-width:299px; margin:32px 15px; }
#header .logo img{ max-width:100%; height:auto; }

#main-menu{
  background:#333 !important;
  position:fixed;
  z-index:1095;
  border-bottom:2px solid #e97991;
  width:100%;
  left:0; top:0;
  box-shadow:0 1px 0 rgba(12,13,14,.1), 0 1px 3px rgba(12,13,14,.1), 0 4px 20px rgba(12,13,14,.035), 0 1px 1px rgba(12,13,14,.025);
}

/* WordPress admin bar compatibility (avoid covering top content when logged-in) */
body.admin-bar #main-menu{ top:32px; }
@media screen and (max-width:782px){
  body.admin-bar #main-menu{ top:46px; }
}
#main-menu ul{ position:relative; float:left; }
#main-menu ul li{ float:left; position:relative; background:#333; }
#main-menu ul li a{
  color:rgba(255,255,255,.82);
  display:block;
  text-align:left;
  line-height:25px;
  font-size:12px;
  padding:10px 13px;
  font-family:Arial, sans-serif;
  text-decoration:none;
}
#main-menu ul li a:hover::after{
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-bottom:5px solid #e97991;
  content:'';
  position:absolute;
  bottom:0;
  left:45%;
}
#main-menu ul li ul{
  position:absolute;
  top:37px;
  display:none;
  z-index:9999;
  box-shadow:0 2px 2px rgba(0,0,0,.4);
}
#main-menu ul li:hover ul{ display:block; }
#main-menu ul li ul li a{
  display:block;
  min-width:110px;
  padding:5px 10px;
  line-height:20px;
  background-color:rgba(0,0,0,.7);
}
#main-menu ul li ul li a:hover{ background:rgba(0,0,0,.9); }

#main-menu .random{
  float:right;
  color:#fff;
  text-transform:uppercase;
  cursor:pointer;
  line-height:28px;
  margin:6px;
  font-weight:700;
  font-size:12px;
  padding:0 8px;
  background:#4274b6;
}
#main-menu .random:hover{ background:#333; color:#999; text-decoration:none; }

#main-menu form{ float:right; overflow:hidden; }
#main-menu form #s{
  background:#828080;
  border:0;
  color:#e8e8e8;
  padding:8px;
  transition:all .7s ease 0s;
  margin:7px 0;
  border-radius:2px;
}
#main-menu form #s::placeholder{ color:#d6d4d4; }

#menu-hp{ background:#333; display:none; border-top:2px solid #e97991; }
#menu-hp ul li{ background:#333; position:relative; float:left; width:50%; }
#menu-hp ul li a{
  color:#fff;
  display:block;
  font-size:14px;
  text-align:center;
  text-transform:uppercase;
  line-height:45px;
  font-weight:600;
  padding:0 14px;
}
#menu-hp ul li a:hover{ text-decoration:none; background:#e97991; color:#fff; }

/* ==== Konten: homepage ==== */
.rekomendasi{
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  line-height:40px; background:#333; font-size:13px;
  margin:0 0 10px; padding:0; border-radius:5px;
  box-shadow:0 2px 2px rgba(0,0,0,.16), 0 0 0 rgba(0,0,0,.23);
}
.rekomendasi h2{
  float:left; font-size:13px; margin-right:8px;
  background:#e97991; color:#fff; padding:0 10px;
}
.rekomendasi a{ color:#fff; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.postsbody{ float:left; width:71%; padding-bottom:0; }
.ero{ overflow:hidden; }
.ero .rightarea{
  float:left;
  width:590px;
  box-shadow:0 2px 2px rgba(0,0,0,.16), 0 0 0 rgba(0,0,0,.23);
  margin-bottom:5px;
  border-radius:5px;
  background:#fff;
}
.releases{ background-color:#333; border-top-left-radius:5px; border-top-right-radius:5px; }
.postsbody .releases h1{
  text-align:left; font-size:14px; color:#fff; padding:10px; font-weight:500; letter-spacing:1px;
}
.postsbody .releases h1 span{ float:right; font-size:20px; color:#fff; margin-top:-2px; }

.videoarea{ overflow:hidden; background:#fff; padding:9px; border-bottom-left-radius:5px; border-bottom-right-radius:5px; }
.videoarea h3{
  font-size:12px; font-weight:700; color:#a2a2a2; text-transform:uppercase;
  margin-bottom:7px; background-color:#333; padding:5px 10px; border-radius:5px;
}
.videoarea ul{ margin:0 -5px 5px; overflow:hidden; }
.videoarea ul li{ float:left; width:22.3%; padding:5px 10px 0; height:110px; }
.videoarea ul li .fuck{ width:100%; height:110px; overflow:hidden; position:relative; border-radius:5px; }
.videoarea ul li img{
  width:100%; height:auto; position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%); border-radius:5px;
}
.videoarea ul li h2{
  font-size:11px; line-height:12px; background:#333; padding:5px 10px; text-align:center;
  position:relative; bottom:22px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
  border-bottom-left-radius:5px; border-bottom-right-radius:5px; color:#fff;
}
.eropost{ overflow:hidden; background:#fff; padding:10px 5px; border-bottom:1px solid rgba(204,204,204,.55); }
.eropost:hover{ background:#f7f4f4; }
.eropost .eroimg{ float:left; margin-right:10px; width:122px; height:70px; margin-left:6px; }
.eropost .eroimg img{ width:100%; height:100%; border-radius:5px; object-fit:cover; }
.eropost .eroinfo h2{ font-size:13px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.eropost .eroinfo h2 a{ color:#333; }
.eropost .eroinfo h2 a:hover{ color:#e97991; }
.eropost .eroinfo span{ display:block; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding:3px 0; }

/* ==== Sidebar ==== */
#sidebar_right{ float:right; width:27.8%; }
#sidebar_right .side{ margin-bottom:10px; position:relative; box-shadow:0 2px 2px rgba(0,0,0,.16), 0 0 0 rgba(0,0,0,.23); }
#sidebar_right h3{
  font-size:14px; font-weight:400; padding:10px; color:#fff;
  background-color:#333; border-top-left-radius:5px; border-top-right-radius:5px;
}
#sidebar_right ul{ font-size:12px; margin-bottom:10px; background:#fff; padding:0; }
#sidebar_right ul li{ overflow:hidden; padding:7px 0 5px; }
#sidebar_right ul li:hover{ background:#f7f4f4; }

/* ==== Single post ==== */
.headpost{ overflow:hidden; position:relative; }
.headpost h1{ font-weight:700; float:left; width:510px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; line-height:23px; }
.newzone{ overflow:hidden; padding:5px 10px; background:#fff; }
.newzone .left{ float:left; } .newzone .right{ float:right; }
.contentpost{ overflow:hidden; padding:15px; background:#fff; }
.contentpost .thm{ text-align:center; }
.contentpost .thm img{ max-width:50%; height:auto; margin:0 10% 20px; padding:1px; border-radius:5px; }

/* ==== Footer ==== */
#footer{ padding:8px 0; color:#333; line-height:30px; overflow:hidden; font-size:12px; margin:0 auto; width:1080px; }
#footer a{ color:#e97991; font-weight:600; }
#footer .inner{ padding:0; margin:0 auto; font-size:14px; }
#footer .inner .copyright{ float:left; }
#footer .inner .other{ float:right; }

/* ==== Mobile ==== */
@media only screen and (max-width: 600px){
  body{ background-image:none; }
  #menu-hp{ display:block; background:#fff; }
  #main-menu{ display:none; }
  #header, #sidebar_right{ display:none; }
  #wrap{ padding:0; width:100%; margin-top:10px; }
  .postsbody{ float:none; width:100%; padding-bottom:10px; }
  #footer{ width:100%; }
  #footer .inner{ width:100%; line-height:19px; text-align:center; }
  #footer .inner .copyright, #footer .inner .other{ float:none; }
  .videoarea ul li{ float:none; width:100%; height:52px; margin:0 2px 5px; overflow:hidden; padding:0; border-bottom:1px solid rgba(31,30,30,.14); }
  .videoarea ul li .fuck{ width:80px; height:50px; float:left; }
  .videoarea ul li img{ position:static; transform:none; float:left; width:80px; height:auto; }
  .videoarea ul li h2{ font-size:13px; line-height:13px; position:inherit; text-align:left; margin-left:85px; width:auto; background:#fff; color:#333; padding:18px 6px; bottom:auto; }
}
