/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.gmlaw-single-post {
    padding: 0 0 80px;
}

.gmlaw-post-wrap {
    width: min(780px, calc(100% - 32px));
    margin: 0 auto;
}

.gmlaw-post-featured {
    margin: 0 0 18px;
}

.gmlaw-post-featured img {
    display: block;
    width: 100%;
    height: auto;
}

.gmlaw-post-header {
    margin-top: 50px;
}

.gmlaw-post-title {
    margin: 0 0 34px;
    color: #262a2b;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.gmlaw-post-content {
    color: #262a2b;
    font-size: 18px;
    line-height: 1.45;
}

.gmlaw-post-content > *:first-child {
    margin-top: 0;
}

.gmlaw-post-content > *:last-child {
    margin-bottom: 0;
}

.gmlaw-post-content p {
    margin: 0 0 22px;
}

.gmlaw-post-content h2,
.gmlaw-post-content h3,
.gmlaw-post-content h4 {
    margin: 34px 0 22px;
    color: #262a2b;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

.gmlaw-post-content h2 {
    font-size: 28px;
}

.gmlaw-post-content h3 {
    font-size: 24px;
}

.gmlaw-post-content h4 {
    font-size: 21px;
}

.gmlaw-post-content ul,
.gmlaw-post-content ol {
    margin: 0 0 28px 20px;
    padding: 0;
}

.gmlaw-post-content li {
    margin: 0 0 4px;
    padding-left: 0;
}

.gmlaw-post-content img,
.gmlaw-post-content iframe,
.gmlaw-post-content embed,
.gmlaw-post-content object {
    max-width: 100%;
}

.gmlaw-post-content img {
    height: auto;
}

.gmlaw-post-content figure,
.gmlaw-post-content .wp-caption {
    max-width: 100%;
    margin: 28px auto;
}

.gmlaw-post-content strong,
.gmlaw-post-content b {
    font-weight: 700;
}

.gmlaw-post-content em,
.gmlaw-post-content i {
    font-style: italic;
}

.gmlaw-post-content .gmlaw-table-scroll {
    width: 100%;
    margin: 30px 0;
}

.gmlaw-post-content table {
    width: 100%;
    border-collapse: collapse;
    color: #262a2b;
    font-size: 16px;
    line-height: 1.45;
    border: 1px solid #d8dde1;
    background: #fff;
}

.gmlaw-post-content th,
.gmlaw-post-content td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #d8dde1;
}

.gmlaw-post-content th {
    font-weight: 700;
    background: #f4f5f8;
}

.gmlaw-post-content tr:nth-child(even) td {
    background: #fbfbfc;
}

.gmlaw-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 48px 0 20px;
}

.gmlaw-share__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #5c8fa0;
    border: 1px solid #5c8fa0;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.gmlaw-share__button:hover,
.gmlaw-share__button:focus {
    color: #fff;
    background: #dd173c;
    border-color: #dd173c;
}

.gmlaw-share__button:hover svg,
.gmlaw-share__button:focus svg,
.gmlaw-share__button:hover svg path,
.gmlaw-share__button:focus svg path,
.gmlaw-share__button:hover i,
.gmlaw-share__button:focus i {
    color: #fff;
    fill: #fff;
}

.gmlaw-author-card {
    display: grid;
    grid-template-columns: 171px 1fr;
    gap: 14px;
    align-items: center;
    margin: 20px -85px 34px;
    padding: 15px;
    background: #f4f5f8;
}

.gmlaw-author-card__photo {
    display: block;
    width: 171px;
    height: 164px;
    object-fit: cover;
}

.gmlaw-author-card__photo-link {
    display: block;
}

.gmlaw-author-card__name {
    margin: 0 0 4px;
    color: #262a2b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.gmlaw-author-card__name a {
    color: inherit;
    text-decoration: none;
}

.gmlaw-author-card__name a:hover,
.gmlaw-author-card__name a:focus {
    color: #dd173c;
}

.gmlaw-author-card__title {
    margin-bottom: 24px;
    color: #262a2b;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.gmlaw-author-card__description {
    margin: 0;
    color: #262a2b;
    font-size: 16px;
    line-height: 1.45;
}

.gmlaw-author-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2px;
    color: #dd173c;
    font-size: 16px;
    line-height: 1.4;
}

.gmlaw-author-card__links a {
    color: #dd173c;
    text-decoration: none;
}

.gmlaw-author-card__links a + a::before {
    content: "|";
    margin: 0 5px;
    color: #dd173c;
}

.gmlaw-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 32px;
}

.gmlaw-post-nav__item a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    color: #dd173c;
    text-decoration: none;
}

.gmlaw-post-nav__item--next a {
    grid-template-columns: minmax(0, 1fr) 28px;
    text-align: right;
}

.gmlaw-post-nav__item--prev .gmlaw-post-nav__arrow {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.gmlaw-post-nav__item--prev .gmlaw-post-nav__label,
.gmlaw-post-nav__item--prev .gmlaw-post-nav__title {
    grid-column: 2;
}

.gmlaw-post-nav__item--next .gmlaw-post-nav__label,
.gmlaw-post-nav__item--next .gmlaw-post-nav__title {
    grid-column: 1;
}

.gmlaw-post-nav__item--next .gmlaw-post-nav__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.gmlaw-post-nav__label {
    display: block;
    color: #dd173c;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

.gmlaw-post-nav__title {
    display: block;
    overflow: hidden;
    color: #dd173c;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gmlaw-post-nav__arrow {
    display: block;
    width: 14px;
    height: 14px;
    border-top: 5px solid #d8dde1;
    border-left: 5px solid #d8dde1;
    transform: rotate(-45deg);
}

.gmlaw-post-nav__item--next .gmlaw-post-nav__arrow {
    justify-self: end;
    transform: rotate(135deg);
}

.gmlaw-single-post .banner-section {
    width: 100%;
}

.gmlaw-single-post .banner-section .container {
    width: 100%;
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
}

.gmlaw-single-post .quote-block-main.elementor {
    position: relative;
}

.gmlaw-author-archive {
    padding: 0 0 80px;
}

.gmlaw-author-wrap {
    width: min(780px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: 0px;
}

.gmlaw-author-card--archive {
    margin: 0 0 44px;
}

.gmlaw-author-posts {
    display: grid;
    gap: 34px;
}

.gmlaw-author-post {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    align-items: start;
}

.gmlaw-author-post--no-image {
    grid-template-columns: 1fr;
}

.gmlaw-author-post__image {
    display: block;
}

.gmlaw-author-post__body {
    min-width: 0;
}

.gmlaw-author-post__image img {
    display: block;
    width: 100%;
    height: auto;
}

.gmlaw-author-post__date {
    display: block;
    margin-bottom: 8px;
    color: #7c8588;
    font-size: 14px;
    line-height: 1.3;
}

.gmlaw-author-post__title {
    margin: 0 0 12px;
    color: #262a2b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.gmlaw-author-post__title a {
    color: inherit;
    text-decoration: none;
}

.gmlaw-author-post__title a:hover,
.gmlaw-author-post__title a:focus {
    color: #dd173c;
}

.gmlaw-author-post__excerpt {
    color: #262a2b;
    font-size: 16px;
    line-height: 1.45;
}

.gmlaw-author-post__excerpt p {
    margin: 0 0 10px;
}

.gmlaw-author-post__read-more {
    color: #dd173c;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.gmlaw-author-empty {
    color: #262a2b;
}

.gmlaw-author-archive .navigation.pagination {
    margin-top: 42px;
    text-align: center;
}

.gmlaw-author-archive .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.gmlaw-author-archive .page-numbers {
    color: #dd173c;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.gmlaw-author-archive .page-numbers.current {
    color: #262a2b;
}

@media (max-width: 960px) {
    .gmlaw-author-card {
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .gmlaw-post-wrap {
        width: min(100% - 28px, 780px);
    }

    .gmlaw-post-title {
        margin-bottom: 28px;
        font-size: 30px;
        line-height: 1.05;
    }

    .gmlaw-post-content {
        font-size: 18px;
    }

    .gmlaw-post-content .gmlaw-table-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 12px;
        scrollbar-color: #dd173c #e5e8eb;
        scrollbar-width: auto;
    }

    .gmlaw-post-content .gmlaw-table-scroll::-webkit-scrollbar {
        height: 12px;
    }

    .gmlaw-post-content .gmlaw-table-scroll::-webkit-scrollbar-track {
        background: #e5e8eb;
        border-radius: 999px;
    }

    .gmlaw-post-content .gmlaw-table-scroll::-webkit-scrollbar-thumb {
        background: #dd173c;
        border: 2px solid #e5e8eb;
        border-radius: 999px;
    }

    .gmlaw-post-content .gmlaw-table-scroll table {
        min-width: 680px;
    }

    .gmlaw-author-card {
        display: block;
        margin-top: 20px;
        text-align: center;
    }

    .gmlaw-author-card__photo {
        width: 105px;
        height: 101px;
        margin: 0 auto 28px;
    }

    .gmlaw-author-card__title {
        margin-bottom: 24px;
    }

    .gmlaw-author-card__links {
        justify-content: center;
    }

    .gmlaw-author-post {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gmlaw-author-post__title {
        font-size: 22px;
    }

    .gmlaw-post-nav {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: min(100% - 28px, 780px);
    }

    .gmlaw-post-nav__item a {
        grid-template-columns: 18px minmax(0, 1fr);
        column-gap: 8px;
    }

    .gmlaw-post-nav__item--next a {
        grid-template-columns: minmax(0, 1fr) 18px;
    }

    .gmlaw-post-nav__title {
        max-width: 100%;
    }

    .gmlaw-post-nav__arrow {
        width: 10px;
        height: 10px;
        border-width: 4px;
    }
}
