/* GB v2 */

.gb {padding:35px;color:#333;font-family:Georgia,"Times New Roman",serif}
.gb-hero {

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    gap:40px;

    margin-bottom:30px;

    padding-bottom:18px;

    border-bottom:1px solid #e6d8bf;

}
.gb-hero-title {display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:20px}
.gb-line {width:120px;height:1px;background:#c8ad82}
.gb-title {

    margin:0 0 8px;

    color:#4a311c;

    font-size:38px;

    font-weight:700;

    line-height:1.2;

}
.gb-description {

    margin:0 0 14px;

    max-width:720px;

    color:#6d5a43;

    font-size:16px;

    line-height:1.55;

}
.gb-form {background:#fffdfa;border:1px solid #d8c4a1;border-radius:12px;padding:32px;box-shadow:0 3px 12px rgba(0,0,0,.06)}
.gb-form-header {text-align:center;margin-bottom:25px}
.gb-form-header h2 {margin:0 0 10px;color:#4a311c}
.gb-form-header p {margin:0;text-indent:0;color:#6d5a43}
.gb-field {margin-bottom:22px}
.gb-field label {display:block;margin-bottom:8px;font-weight:bold;color:#5a4329}
.gb-input,
.gb-textarea {width:100%;box-sizing:border-box;padding:14px 16px;border:1px solid #d8c4a1;border-radius:8px;background:#fff;color:#333;font:15px Georgia,"Times New Roman",serif;transition:.25s}
.gb-textarea {resize:vertical;min-height:180px}
.gb-input:focus,
.gb-textarea:focus {outline:none;border-color:#7b5b36;box-shadow:0 0 0 4px rgba(123,91,54,.12)}
.gb-submit {text-align:center;margin-top:30px}
.gb-button,
.gb-load-button {display:inline-block;min-width:280px;padding:15px 28px;border:0;border-radius:40px;cursor:pointer;color:#fff;font-size:16px;font-weight:bold;background:linear-gradient(#7c5c38,#654626);transition:.25s;box-shadow:0 8px 20px rgba(0,0,0,.15)}
.gb-button:hover,
.gb-load-button:hover {transform:translateY(-3px);box-shadow:0 15px 35px rgba(0,0,0,.25)}
.gb-message {margin-top:18px;text-align:center}
.gb-section-title {display:flex;align-items:center;justify-content:center;gap:20px;margin:60px 0 35px}
.gb-section-title::before,
.gb-section-title::after {content:"";width:120px;height:1px;background:#d5bf98}
.gb-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.gb-card {

    position:relative;
    padding:18px;
    border-radius:16px;
    display:flex;
    flex-direction:column;
    background:#fffdfa;
    border:1px solid #d9c5a2;
    overflow:hidden;
    box-shadow:0 3px 12px rgba(0,0,0,.06);
    transition:
        transform .25s,
        box-shadow .25s;
}
.gb-card::before {content:"";position:absolute;left:0;top:0;width:6px;height:100%;background:#7b5b36}
.gb-card:hover {transform:translateY(-6px);box-shadow:0 16px 35px rgba(0,0,0,.15)}
.gb-card-top {display:flex;align-items:center;margin-bottom:12px}
.gb-avatar {width:54px;height:54px;margin-right:14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#7b5b36;color:#fff;font-size:22px;font-weight:bold}
.gb-author {margin-bottom:2px;font-size:18px;font-weight:bold;color:#4a311c}
.gb-city {margin-top:0;color:#8f7b63;font-size:14px}
.gb-badge {display:inline-block;margin:6px 0 18px;padding:7px 14px;border:1px solid #d5bf98;border-radius:20px;background:#efe3c4;color:#6b4c2d;font-size:13px;font-weight:bold}
.gb-text {

    position:relative;

    overflow:hidden;

	max-height:95px;

    transition:max-height .35s ease;

}
.gb-text::after {

    content:"";

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    height:42px;

    background:linear-gradient(
        rgba(255,253,250,0),
        rgba(255,253,250,1)
    );

    transition:.3s;

}
.gb-card.short .gb-text::after {

    display:none;

}


.gb-card.expanded .gb-text {

    max-height:1200px;

}

.gb-card.expanded .gb-text::after {

    opacity:0;

}


.gb-more {

    display:none;

    margin-top:14px;

    color:#7b5b36;

    font-weight:600;

    cursor:pointer;

    user-select:none;
	    font-size:14px;

    color:#8b6b43;

}
.gb-more span {

    margin-left:5px;

    transition:.25s;

}

.gb-more:hover {

    text-decoration:underline;

}
.gb-card-footer {margin-top:14px;;padding-top:12px;border-top:1px solid #eee4d4;text-align:right}
.gb-date {color:#99856d;font-size:13px}
.gb-loader {text-align:center;margin:45px 0}
.gb-load-button:disabled {opacity:.6;cursor:default}
.gb-end {text-align:center;color:#666;margin:35px 0;font-weight:bold}

.gb-counter {

    color:#85725d;

    font-size:14px;

}

.gb-hero-right .gb-button {

    min-width:240px;

    margin:0;

}

.gb-counter strong {

    color:#4a311c;

    font-weight:700;

}

.gb-counter strong {

    color:#4a311c;

}

/*==========================
POPUP
==========================*/

.gb-form-open {

    text-align:center;

    margin:35px 0 50px;

}

.gb-modal {

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.55);

    z-index:99999;

}

.gb-modal.active {

    display:flex;

}

.gb-modal-window {

    position:relative;

    width:650px;

    max-width:90vw;

    max-height:90vh;

    overflow:auto;

    background:#fffdfa;

    border-radius:14px;

    padding:35px;

    box-shadow:0 20px 60px rgba(0,0,0,.35);

}

.gb-modal-close {

    position:absolute;

    top:15px;

    right:18px;

    border:0;

    background:none;

    cursor:pointer;

    font-size:34px;

    color:#7b5b36;

}


/*==========================================
TOAST
==========================================*/

.gb-toast {

    position:fixed;

    top:30px;

    right:30px;

    width:340px;

    display:flex;

    align-items:center;

    gap:16px;

    padding:18px 22px;

    background:#fffdfa;

    border-left:6px solid #7b5b36;

    border-radius:10px;

    box-shadow:0 15px 40px rgba(0,0,0,.18);

    transform:translateX(420px);

    opacity:0;

    transition:.35s;

    z-index:100000;

}

.gb-toast.show {

    transform:translateX(0);

    opacity:1;

}

.gb-toast-icon {

    width:42px;

    height:42px;

    border-radius:50%;

    background:#7b5b36;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    font-weight:bold;

}

.gb-toast-title {

    font-size:18px;

    font-weight:bold;

    color:#4a311c;

    margin-bottom:3px;

}

.gb-toast-text {

    color:#666;

    font-size:14px;

}


.gb-toast.show {

    transform: translateX(0);

    opacity: 1;

}

.gb-hero-left {

    flex:1;

}

.gb-hero-right {

    flex-shrink:0;

    display:flex;

    align-items:flex-end;

}

.gb-hero-info {

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:18px;

}

.gb-pagination-top {

    display:flex;

    align-items:center;

    gap:6px;

}

.gb-pagination-top a,
.gb-pagination-top span {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:34px;

    height:34px;

    border-radius:8px;

    text-decoration:none;

    font-weight:600;

    color:#7b5b36;

    transition:.2s;

}

.gb-pagination-top a:hover {

    background:#efe3c4;

}

.gb-pagination-top .active {

    background:#7b5b36;

    color:#fff;

}

