/* Blogs */
.blog-hero .container {
    flex-direction: column;
    align-items: start;
}
.blog-hero h1 {
    margin: 40px 0 0;
    color: var(--white);
}
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
#pagination {
    margin-top: 70px;
}
.page-numbers {
    display: flex;
    gap: 14px;
}
.page-numbers li a,
.page-numbers li span {
    width: 48px;
    height: 48px;
    background-color: rgba(218, 218, 218, 1);
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.page-numbers li a:hover,
.page-numbers li span.current {
    background-color: rgba(231, 162, 54, 1);
}

/* Blog detail */
.blog-detail {
    padding-bottom: 0;
}
.blog-detail h1 {
    width: 65%;
    font-size: clamp(24px, 2vw, 32px);
}
.blog-detail-container {
    display: flex;
    gap: 30px;
    max-width: 100%;
}
.blog-detail-content {
    width: 65%;
}
.blog-detail-img {
    width: 100%;
    height: 400px;
}
.blog-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-detail-text {
    background-color: #F9F9F9;
    padding: 30px;
}
.blog-details {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #DADADA;
}
.blog-details > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-details .stars {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.blog-details .stars svg {
    width: 16px;
}
.blog-paraghs h2,
.blog-paraghs h3,
.blog-paraghs h4 {
    color: var(--green);
}
.stars .star svg path {
  fill: #f4c01e;
  transition: fill 0.2s ease;
}
.stars .star.gray svg path {
  fill: #ccc;
}
.blog-paraghs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.blog-paraghs ul li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 25px;
}
.blog-paraghs ul li::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--green);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}
.blog-paraghs ol {
  counter-reset: custom-counter;
  list-style: none;
}
.blog-paraghs ol li {
  counter-increment: custom-counter;
  margin-bottom: 16px;
  position: relative;
  padding-left: 30px;
}
.blog-paraghs ol li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
  font-weight: bold;
}
.blog-paraghs img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.blog-paraghs tbody tr:first-child td {
    background-color: var(--green);
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: var(--white);
    border-right: 1px solid var(--white);
}
.blog-paraghs tbody tr:first-child td:last-child {
    border-right: 1px solid var(--green);
}
.blog-paraghs tbody tr td {
    padding: 15px;
    border: 1px solid var(--green);
}
.blog-paraghs a {
    font-weight: 600;
    color: var(--green);
    text-decoration: underline;
    transition: 0.5s ease;
}
.blog-paraghs a:hover {
    color: var(--gold);
}
.blog-paraghs blockquote {
    position: relative;
    padding: 40px;
    border: 1px solid var(--gold);
}
.blog-paraghs blockquote::before {
    position: absolute;
    content: '';
    background-image: url('/wp-content/themes/consiliojus/assets/images/icons/quote.svg');
        width: 50px;
    height: 50px;
    top: -20px;
    left: 16px;
    background-color: #F9F9F9;
    transform: rotate(182deg);
}
.blog-paraghs blockquote::after {
    position: absolute;
    content: '';
    background-image: url('/wp-content/themes/consiliojus/assets/images/icons/quote.svg');
    width: 50px;
    height: 50px;
    bottom: -20px;
    right: 16px;
    background-color: #F9F9F9;
    transform: rotate(0);
}
.blog-paraghs .table-wrap{
    max-width: 100%;
    overflow-x: auto;
}

/* Conversion Form */
.conversion-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 24px;
}
.conversion-form .consultation-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--white);
}
.conversion-form .consultation-box .section-title {
    color: var(--white);
}
.conversion-form .hero-form {
    width: 100%;
    top: 0;
    padding: 24px;
}
.conversion-form .social-box svg {
    width: 25px;
}
.conversion-form form p {
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.conversion-form .form-inputs {
    gap: 16px;
}
.conversion-form .float-left input {
    padding: 16px;
}
.conversion-form .hero-form button {
    margin-top: 24px;
    height: 60px;
    font-size: 16px;
}

/* Conversion Banner */
.conversion-banner {
    display: flex;
    height: 240px;
}
.conversion-banner .banner-text {
    width: 50%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background-color: var(--green);
}
.conversion-banner .section-title {
    color: var(--white);
    font-size: clamp(20px, 2vw, 24px);
}
.conversion-banner .banner-text .btn {
    font-size: 16px;
    height: 60px;
    text-decoration: none;
    color: var(--white);
}
.conversion-banner img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

/* Comments */
.comment-reply-title {
    margin: 24px 0 16px;
}
.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.comment-form p {
    padding: 0;
    margin: 0;
    border: none;
    grid-column: span 2;
}
.comment-form input,
.comment-form textarea {
    padding: 25px 15px;
    width: 100%;
    font-weight: 500;
    color: var(--black);
    border: 1px solid transparent;
    outline: none;
}
.comment-form input::placeholder,
.comment-form textarea::placeholder {
    font-family: "Roboto", sans-serif;
}
.comment-form textarea {
    grid-column: span 2;
    resize: none;
}
#wp-comment-cookies-consent {
    width: auto;
    padding: 0;
}
.comment-form button {
    width: 100%;
    height: 60px;
}
.comment-title {
    margin: 24px 0;
}
.comment-items li {
    padding: 24px !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
}
.comment-items li::before {
    content: none !important;
}
.comment-items li span {
    font-weight: 600;
}


/* Aside */
.blog-aside {
    width: 35%;
}
.aside-wrapper {
    position: sticky;
    top: 120px;
}
.search-block {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}
.search-form {
    width: 100%;
    display: flex;
    padding: 30px;
    background-color: var(--green);
    border: none;
}
.search-form input {
    width: 100%;
    outline: none;
    border: none;
    padding: 25px;
    background-color: #F1F2F1;
}
.search-form input::placeholder {
    color: rgba(59, 59, 59, 1);
    font-family: "Roboto", sans-serif;
}
.search-form button {
    min-width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    outline: none;
    border: none;
    cursor: pointer;
    transition: 0.5s;
}
.search-form button:hover {
    background-color: rgba(219, 169, 90, 1);
}
.categories {
    background-color: var(--green);
    padding: 24px 30px;
}
.categories p {
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}
.categories ul {
    display: flex;
    flex-direction: column;
}
.categories ul li a {
    display: block;
    padding: 20px 0;
    border-top: 1px solid #DADADA;
    color: var(--white);
    font-size: clamp(16px, 2vw, 20px);
    transition: 0.3s ease-in-out;
}
.categories ul li a:hover {
    color: var(--gold);
}
.consultation-blog-box {
    margin: 80px 0 40px;
}
.consultation-blog-box p {
    margin: 16px 0 20px;
}
.consultation-blog-box .social-box {
    width: 50px;
    height: 50px;
}
.consultation-blog-box .social-box svg {
    width: 28px;
}
.blog-aside form:last-of-type  {
    width: 100%;
    top: 0;
    padding: 30px 30px 50px;
}
.blog-aside form p {
    text-align: left;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.blog-aside .float-left input {
    padding: 25px 15px;
}
.blog-aside .consultation-form button {
    margin-top: 30px;
}
.blog-section {
    margin-bottom: 100px;
}

/* Faq */
.faqs-section {
    margin-bottom: 100px;
}
.opportunity-img {
    width: 50%;
    height: 472px;
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 120px),
        calc(100% - 120px) 100%,
        0 100% 
    );
}
.opportunity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media(max-width: 993px) {
   .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
   }
   .blog-detail h1,
   .blog-detail-content,
   .blog-aside {
        width: 100%;
   }
   .blog-detail-container {
        flex-direction: column;
   }
}
@media(max-width: 768px) {
    .breadcrumbs .container {
        flex-wrap: wrap;
   }
   .blog-hero h1 {
        margin: 0 0 20px;
    }
    .blogs-grid {
        grid-template-columns: repeat(1, 1fr);
   }
}
@media(max-width: 600px) {
    .blog-details {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    /* Convesrsion Banner */
    .conversion-banner {
        flex-direction: column-reverse;
        height: auto;
    }
    .conversion-banner .banner-text {
        width: 100%;
    }
    .conversion-banner img {
        width: 100%;
        height: 160px;
    }
}
@media(max-width: 380px) {
    .blog-details {
        grid-template-columns: repeat(1, 1fr);
        gap: 14px;
    }
}