/* raealacano.my.id - custom layer on top of the Gridlove theme */

/* ---------- brand ---------- */
.rv-logo,
.rv-footer-logo {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  color: #111;
  text-decoration: none !important;
  display: inline-block;
  line-height: 1;
}
.gridlove-site-branding .rv-logo { font-size: 40px; }
.rv-logo-dot { color: #009cff; }
.gridlove-site-branding.mini .rv-logo { font-size: 26px; }
.rv-footer-logo { font-size: 30px; color: #fff; margin: 0 0 14px; }
.rv-footer-logo span { color: #009cff; }
.gridlove-site-branding { padding-right: 20px; }

/* ---------- category colours ---------- */
.gridlove-cat.rv-tax,
.rv-topics .rv-tax .rv-topic-link,
.rv-tax .rv-topic-num { background-color: #0f766e; }
.gridlove-cat.rv-real-estate,
.rv-topics .rv-real-estate .rv-topic-link,
.rv-real-estate .rv-topic-num { background-color: #b45309; }
.gridlove-cat.rv-corporate,
.rv-topics .rv-corporate .rv-topic-link,
.rv-corporate .rv-topic-num { background-color: #4338ca; }
.gridlove-cat.rv-risk,
.rv-topics .rv-risk .rv-topic-link,
.rv-risk .rv-topic-num { background-color: #b91c1c; }
.gridlove-cat.rv-fintech,
.rv-topics .rv-fintech .rv-topic-link,
.rv-fintech .rv-topic-num { background-color: #0369a1; }
.gridlove-cat-col.rv-tax:hover { color: #0f766e; }
.gridlove-cat-col.rv-real-estate:hover { color: #b45309; }
.gridlove-cat-col.rv-corporate:hover { color: #4338ca; }
.gridlove-cat-col.rv-risk:hover { color: #b91c1c; }
.gridlove-cat-col.rv-fintech:hover { color: #0369a1; }
.gridlove-count.rv-tax { background-color: #0f766e; }
.gridlove-count.rv-real-estate { background-color: #b45309; }
.gridlove-count.rv-corporate { background-color: #4338ca; }
.gridlove-count.rv-risk { background-color: #b91c1c; }
.gridlove-count.rv-fintech { background-color: #0369a1; }
.rv-tax .rv-topic-num { background-color: #0f766e; }
.rv-real-estate .rv-topic-num { background-color: #b45309; }
.rv-corporate .rv-topic-num { background-color: #4338ca; }
.rv-risk .rv-topic-num { background-color: #b91c1c; }
.rv-fintech .rv-topic-num { background-color: #0369a1; }

/* ---------- cover ---------- */
.gridlove-cover-area { background: #111; overflow: hidden; }
.gridlove-cover-item { position: relative; height: 500px; }
.gridlove-cover-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gridlove-cover-bg .gridlove-cover { display: block; width: 100%; height: 100%; }
.gridlove-cover-area .gridlove-cover-bg img {
  width: 100% !important;
  height: 500px !important;
  max-width: none !important;
  object-fit: cover;
}
.gridlove-cover-content { max-width: 1200px; width: 100% !important; padding: 0 15px; box-sizing: border-box; }
.gridlove-cover-content .entry-header { max-width: 560px; }
.gridlove-cover-content .entry-content p { color: rgba(255,255,255,.85); }
.gridlove-cover-content .entry-title a { color: #fff; }
.gridlove-cover-content .entry-title a:hover { color: #b5e1ff; }
.gridlove-cover-content .entry-meta .meta-item,
.gridlove-cover-content .entry-meta a,
.gridlove-cover-content .entry-meta span { color: rgba(255,255,255,.85); }
/* graceful fallback when the carousel script is still loading */
.gridlove-cover-slider .gridlove-cover-item { display: none; }
.gridlove-cover-slider .gridlove-cover-item:first-child { display: block; }
.gridlove-cover-slider.owl-carousel .gridlove-cover-item { display: block; }

/* ---------- cards / modules ---------- */
.gridlove-post .entry-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.32;
}
.gridlove-post-a .box-inner-ellipsis,
.gridlove-post-b .box-inner-ellipsis,
.gridlove-post-c .box-inner-ellipsis { height: auto; max-height: none; }
.gridlove-post-a .entry-title { font-size: 17px; line-height: 1.38; }
.gridlove-post-d .entry-title { font-size: 18px; line-height: 1.35; }
.gridlove-module { margin-bottom: 40px; }
.gridlove-post.gridlove-post-a .entry-image img,
.gridlove-post.gridlove-post-b .entry-image img,
.gridlove-post.gridlove-post-d .entry-image img { object-fit: cover; }
.gridlove-post .entry-meta .avatar { border-radius: 50%; vertical-align: middle; margin-right: 5px; }
.gridlove-post-b .entry-image { min-height: 300px; }
.gridlove-post-b .entry-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gridlove-post-b .entry-meta .meta-item,
.gridlove-post-b .entry-meta a,
.gridlove-post-b .entry-meta span { color: #818181; }
.gridlove-post-b .entry-meta .avatar { border-radius: 50%; }

/* pill buttons used by the theme's author box */
.gridlove-pill {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 30px;
  background: #009cff;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1;
}
.gridlove-pill:hover { background: #111; color: #fff !important; }

/* mini article list used in widgets */
.rv-mini-list article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(94,94,94,.12);
}
.rv-mini-list article:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.rv-mini-list .entry-image { flex: 0 0 80px; }
.rv-mini-list .entry-image img { width: 80px; height: 60px; object-fit: cover; display: block; }
.rv-mini-list .entry-header h6 { margin: 0 0 4px; font-size: 14px; line-height: 1.35; }
.rv-mini-list .entry-header a { color: #111; }
.rv-mini-list .entry-header a:hover { color: #009cff; }
.gridlove-post-c .box-inner-p,
.gridlove-post-c .entry-title { -webkit-line-clamp: unset; }
.gridlove-module-layout-combo .row > [class*="col-"] { display: flex; }
.gridlove-module-layout-combo .gridlove-post { width: 100%; }
.gridlove-inject.rv-about-tile {
  background: #111;
  color: #fff;
  min-height: 300px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gridlove-inject.rv-about-tile h3 { color: #fff; font-size: 24px; margin: 8px 0 12px; }
.gridlove-inject.rv-about-tile p { color: rgba(255,255,255,.75); margin-bottom: 18px; }
.gridlove-inject.rv-about-tile .gridlove-pill { align-self: flex-start; }
.rv-kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b5e1ff;
  font-weight: 700;
}
.module-actions .gridlove-action-link { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.module-desc p { max-width: 760px; font-size: 17px; color: #5e5e5e; margin: 10px 0 24px; }
.rv-widget-meta { font-size: 12px; color: #818181; margin-top: 3px; }

/* ---------- topic tiles ---------- */
.rv-topics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.rv-topic {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 26px 22px;
  background: #fff;
  color: #111;
  text-decoration: none !important;
  border-top: 4px solid #111;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rv-topic:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17,17,17,.12); }
.rv-topic-num { color: #fff !important; font-size: 12px; font-weight: 700; padding: 4px 9px; align-self: flex-start; }
.rv-topic h3 { font-size: 19px; margin: 14px 0 10px; color: #111; }
.rv-topic p { font-size: 13px; line-height: 1.55; color: #5e5e5e; flex: 1; }
.rv-topic-link { color: #fff !important; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; align-self: flex-start; padding: 7px 10px; }
.rv-tax.rv-topic { border-top-color: #0f766e; }
.rv-real-estate.rv-topic { border-top-color: #b45309; }
.rv-corporate.rv-topic { border-top-color: #4338ca; }
.rv-risk.rv-topic { border-top-color: #b91c1c; }
.rv-fintech.rv-topic { border-top-color: #0369a1; }

/* ---------- sidebar ---------- */
.gridlove-sidebar .widget { margin-bottom: 26px; }
.gridlove-sidebar .widget_text p:last-child { margin-bottom: 0; }
.rv-author-widget { text-align: left; }
.rv-author-widget .avatar { border-radius: 50%; display: block; margin-bottom: 14px; }
.rv-author-widget .widget-title { margin-top: 0; }
.rv-author-role { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #009cff; font-weight: 700; margin-bottom: 8px; }
.gridlove-share-widget .meks_ess { display: flex; gap: 8px; }
.gridlove-share-widget .meks_ess-item {
  width: 38px; height: 38px; line-height: 38px;
  display: inline-block; text-align: center; color: #fff;
  font-size: 16px; text-decoration: none !important;
}
.gridlove-share-widget .meks_ess-item span { display: none; }
.gridlove-share-widget .socicon-facebook { background: #3b5998; }
.gridlove-share-widget .socicon-twitter { background: #1da1f2; }
.gridlove-share-widget .socicon-pinterest { background: #bd081c; }
.gridlove-share-widget .socicon-mail { background: #555; }
.gridlove-posts-widget .entry-image img { width: 80px; height: 60px; object-fit: cover; }

/* ---------- article ---------- */
body.single .gridlove-site-content { padding-top: 40px; padding-bottom: 40px; }
.rv-single-image { margin-bottom: 26px; }
.rv-single-image img { width: 100%; height: auto; display: block; }
.entry-content .c-post__takeaway {
  background: #f3f7f7;
  border-left: 4px solid #0f766e;
  padding: 22px 26px;
  margin: 30px 0;
}
.entry-content .c-post__takeaway-title {
  font-size: 18px;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.entry-content .c-post__takeaway ul { margin: 0; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 15px;
}
.entry-content th,
.entry-content td { padding: 10px 12px; border: 1px solid rgba(94,94,94,.18); text-align: left; }
.entry-content thead th { background: #f3f3f3; }
.entry-content figure { margin: 28px 0; }
.entry-content figure img { width: 100%; height: auto; display: block; }
.entry-content figcaption { font-size: 13px; color: #818181; margin-top: 8px; }
.rv-byline-end { font-size: 14px; color: #818181; border-top: 1px solid rgba(94,94,94,.12); padding-top: 16px; margin-top: 34px; }
.gridlove-author .avatar { border-radius: 50%; }
.gridlove-author-links { margin-top: 8px; }
.gridlove-prev-next-nav { margin-top: 30px; }

/* ---------- forms ---------- */
.contact-form > div { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; color: #111; }
.contact-form input,
.contact-form textarea,
.rv-search-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(94,94,94,.25);
  background: #fff;
}
.rv-formnote { font-size: 13px; color: #818181; }
.rv-search-form { display: flex; gap: 10px; max-width: 720px; margin-bottom: 26px; }
.rv-search-form input { flex: 1; }
.rv-search-form .gridlove-button-search { flex: 0 0 auto; padding: 0 26px; }
.rv-search-module .module-title h1 { margin: 0; }
#results > .col-lg-4 { margin-bottom: 24px; }

/* custom search result cards */
.rv-search-card {
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rv-search-card__img { display: block; }
.rv-search-card__img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.rv-search-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.rv-search-card .gridlove-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 7px 11px 6px;
  border-radius: 20px;
  font-size: 10px;
  line-height: 10px;
  text-transform: uppercase;
  color: #fff;
}
.rv-search-card h2 { font-size: 19px; line-height: 1.35; margin: 14px 0 8px; }
.rv-search-card h2 a { color: #111; }
.rv-search-card h2 a:hover { color: #009cff; }
.rv-search-card p { font-size: 14px; line-height: 1.55; color: #5e5e5e; flex: 1; }
.rv-search-card__more { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

/* ---------- footer ---------- */
.gridlove-footer .widget_text p { color: rgba(255,255,255,.75); }
.gridlove-footer .widget { margin-bottom: 24px; }
.gridlove-footer .menu li { border-bottom: 1px solid rgba(255,255,255,.12); }
.gridlove-footer .menu li:last-child { border-bottom: 0; }
.gridlove-footer .menu a { display: block; padding: 8px 0; }
.mks_social_widget_ul { list-style: none; margin: 12px 0 0; padding: 0; }
.mks_social_widget_ul li { display: inline-block; margin-right: 6px; }
.mks_social_widget_ul a { display: block; text-align: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff !important; }
.mks_social_widget_ul a:hover { background: #009cff; }
.gridlove-copyright p { color: rgba(255,255,255,.7); }
.gridlove-copyright a { color: rgba(255,255,255,.9); }

/* ---------- off-canvas ---------- */
.gridlove-sidebar-action-inside .widget { margin-bottom: 22px; }
.gridlove-sidebar-action-inside .menu { list-style: none; margin: 0; padding: 0; }
.gridlove-sidebar-action-inside .menu li a { display: block; padding: 8px 0; border-bottom: 1px solid rgba(94,94,94,.12); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Cabin', Arial, sans-serif;
}
.wa-float__bubble {
  display: none;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  padding: 14px 34px 14px 16px;
  margin-bottom: 12px;
  max-width: 240px;
}
.wa-float.is-open .wa-float__bubble { display: block; }
.wa-float__bubble strong { display: block; color: #111; font-size: 15px; margin-bottom: 2px; }
.wa-float__bubble span { font-size: 13px; color: #5e5e5e; }
.wa-float__close {
  position: absolute;
  top: 4px;
  right: 8px;
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.wa-float__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 16px 10px 12px;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
}
.wa-float__label { font-weight: 700; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .rv-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .gridlove-site-branding .rv-logo { font-size: 38px; }
  .rv-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gridlove-header-responsive .container { position: relative; }
  .gridlove-header-responsive .gridlove-actions {
    display: flex;
    align-items: center;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .gridlove-header-responsive .gridlove-site-branding { margin: 0 auto; text-align: center; }
}
@media (max-width: 767px) {
  .rv-topics { grid-template-columns: 1fr; }
  .gridlove-cover-area,
  .gridlove-cover { height: 380px; }
  .gridlove-cover-area .gridlove-cover-bg img { height: 380px !important; }
  .gridlove-site-branding .rv-logo { font-size: 32px; }
  .gridlove-cover-content { padding: 0 20px; }
  .gridlove-cover-content .entry-header {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    width: auto;
    max-width: none;
    height: 100%;
    padding-top: 40px;
    padding-right: 0;
    margin-left: 0;
  }
  .gridlove-cover-content .entry-title { font-size: 28px; line-height: 1.18; }
  .gridlove-cover-content .entry-content { display: none; }
  .gridlove-cover-content .entry-meta { position: static; margin-top: 12px; }
  /* post-b becomes a normal stacked card on small screens */
  .gridlove-post-b { height: auto !important; min-height: 0; }
  .gridlove-post-b .entry-image { float: none; width: 100%; min-height: 0; }
  .gridlove-post-b .box-inner-ptbr.entry-sm-overlay {
    position: relative;
    height: auto;
    width: auto;
    padding: 22px 0 34px;
    background: transparent;
  }
  .gridlove-post-b .entry-title,
  .gridlove-post-b .entry-title a { color: #111; }
  .gridlove-post-b .entry-content { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .gridlove-post-b .entry-content p { color: #5e5e5e; }
  .gridlove-post-b .entry-meta { position: static; margin-top: 14px; }
  .gridlove-post-b .entry-meta .meta-item,
  .gridlove-post-b .entry-meta a,
  .gridlove-post-b .entry-meta span { color: #818181; }
  .gridlove-module { margin-bottom: 30px; }
  .gridlove-post-d .entry-title { font-size: 19px; }
}
@media (max-width: 480px) {
  .wa-float { right: 14px; bottom: 14px; }
  .wa-float__label { display: none; }
}
