.gtg-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 20px 40px 20px;
    min-height: calc(100vh - 300px);
}

@media (max-width: 768px) {
    .gtg-main {
        padding: 140px 15px 30px 15px;
    }
}

.gtg-search-wrap {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

.gtg-search-field {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gtg-border, #ece8e8);
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.gtg-search-field:focus {
    outline: none;
    border-color: var(--gtg-gold, #c9a449);
    box-shadow: 0 4px 15px rgba(201, 164, 73, 0.15);
}

.gtg-article-grid-wrap {
    width: 100%;
}

.gtg-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gtg-article-card {
    background: white;
    border: 2px solid var(--gtg-border, #ece8e8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.gtg-article-card:hover {
    transform: translateY(-8px);
    border-color: var(--gtg-gold, #c9a449);
    box-shadow: 0 20px 35px rgba(58, 44, 30, 0.15);
}

.gtg-article-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gtg-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #f0f0f0;
    transition: transform 0.5s ease;
}

.gtg-article-card:hover .gtg-card-image {
    transform: scale(1.02);
}

.gtg-card-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #ffffff, #fafafa);
}

.gtg-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--gtg-dark-brown, #3a2c1e);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.gtg-article-card:hover .gtg-card-title {
    color: var(--gtg-dark-green, #214d26);
}

.gtg-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gtg-text-light, #666);
    margin-top: auto;
    border-top: 1px dashed rgba(201, 164, 73, 0.2);
    padding-top: 8px;
}

.gtg-card-meta div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gtg-card-meta i {
    font-size: 0.9rem;
    color: var(--gtg-gold, #c9a449);
}

@media (max-width: 768px) {
    .gtg-article-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gtg-article-card {
        height: auto;
        flex-direction: row;
        border-radius: 12px;
        border: 1px solid var(--gtg-border, #ece8e8);
    }

    .gtg-article-card:hover {
        transform: translateY(-3px);
    }

    .gtg-article-card a {
        flex-direction: row;
    }

    .gtg-card-image {
        width: 35%;
        height: 130px;
        border-bottom: none;
        border-right: 2px solid #f0f0f0;
    }

    .gtg-card-content {
        width: 65%;
        padding: 10px;
    }

    .gtg-card-title {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .gtg-card-meta {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.gtg-article-detail {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 20px 25px 30px 25px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .gtg-article-detail {
        padding: 45px 15px 20px 15px;
        border-radius: 20px;
    }
}

.gtg-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--gtg-dark-brown, #3a2c1e);
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #3a2c1e 0%, #c9a449 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 15px;
    border-bottom: 2px dashed rgba(201, 164, 73, 0.2);
}

@media (max-width: 768px) {
    .gtg-detail-title {
        font-size: 1.8rem;
        margin-top: 0;
        padding-bottom: 10px;
    }
}

.gtg-detail-body {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #2c3e50;
}

.gtg-detail-body h1,
.gtg-detail-body h2,
.gtg-detail-body h3,
.gtg-detail-body h4,
.gtg-detail-body h5,
.gtg-detail-body h6 {
    margin: 1em 0 0.5em;
    color: #3a2c1e;
    font-weight: 700;
    line-height: 1.3;
}

.gtg-detail-body h1 {
    font-size: 2rem;
}

.gtg-detail-body h2 {
    font-size: 1.8rem;
}

.gtg-detail-body h3 {
    font-size: 1.5rem;
}

.gtg-detail-body h4 {
    font-size: 1.3rem;
}

.gtg-detail-body h5 {
    font-size: 1.2rem;
}

.gtg-detail-body h6 {
    font-size: 1.1rem;
}

.gtg-detail-body p {
    margin-bottom: 1.1em;
    text-align: justify;
}

.gtg-detail-body a {
    color: #214d26;
    text-decoration: none;
    border-bottom: 2px solid #c9a449;
    transition: all 0.3s ease;
}

.gtg-detail-body a:hover {
    color: #3a2c1e;
    border-bottom-color: #3a2c1e;
}

.gtg-detail-body blockquote {
    margin: 1.5em 0;
    padding: 1.2em 1.8em;
    border-left: 6px solid #c9a449;
    background: linear-gradient(135deg, #f8f4e9, #ffffff);
    border-radius: 0 15px 15px 0;
    color: #3a2c1e;
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.gtg-detail-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(201, 164, 73, 0.2);
    font-family: serif;
    transform: rotate(180deg);
}

.gtg-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: 1rem;
    border: 2px solid rgba(201, 164, 73, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gtg-detail-body table th,
.gtg-detail-body table td {
    padding: 0.8em 1em;
    border: 1px solid #e0e0e0;
}

.gtg-detail-body table th {
    background-color: #3a2c1e;
    color: white;
    font-weight: 600;
}

.gtg-detail-body table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.gtg-detail-body table tr:hover {
    background-color: #f0f0f0;
}

.gtg-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 5px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(201, 164, 73, 0.2);
    cursor: default;
}

.gtg-detail-body pre,
.gtg-detail-body code {
    font-family: monospace;
    background: linear-gradient(145deg, #f8f8f8, #f0f0f0);
    border-radius: 8px;
}

.gtg-detail-body pre {
    padding: 1.2em;
    overflow-x: auto;
    margin: 1.2em 0;
    border: 2px solid rgba(201, 164, 73, 0.2);
    border-left: 4px solid #c9a449;
}

.gtg-detail-body code {
    padding: 0.2em 0.4em;
    font-size: 0.9em;
    color: #3a2c1e;
}

.gtg-detail-body hr {
    margin: 2em 0;
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a449, transparent);
}

.gtg-detail-body ul,
.gtg-detail-body ol {
    margin: 0.5em 0 1.2em;
    padding-left: 1.8em;
}

.gtg-detail-body li {
    margin-bottom: 0.3em;
}

.gtg-detail-body li::marker {
    color: #c9a449;
    font-weight: bold;
}

.gtg-detail-info {
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: 20px;
    border: 2px solid rgba(201, 164, 73, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gtg-author {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 50px;
    background: white;
    border: 2px solid #c9a449;
    transition: all 0.3s ease;
    width: fit-content;
    cursor: default;
}

.gtg-author:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(201, 164, 73, 0.3);
}

.gtg-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #c9a449;
    background: #3a2c1e;
    object-fit: cover;
}

.gtg-keywords {
    font-size: 0.95rem;
    color: #666;
    letter-spacing: 0.2px;
    padding: 5px 10px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.gtg-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 15px 0 5px 0;
    border-top: 2px dashed rgba(201, 164, 73, 0.2);
    font-size: 0.95rem;
    color: #666;
}

.gtg-detail-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gtg-detail-meta i {
    font-size: 1rem;
    color: #c9a449;
}

.gtg-tag-wrapper {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: 20px;
    border: 2px solid rgba(201, 164, 73, 0.2);
}

.gtg-tag-wrapper h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #3a2c1e;
    font-weight: 600;
}

.gtg-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gtg-tag-btn {
    background: linear-gradient(135deg, #3a2c1e 0%, #4a3c2a 100%);
    color: white;
    border: 2px solid #c9a449;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(58, 44, 30, 0.2);
    letter-spacing: 0.3px;
}

.gtg-tag-btn:hover {
    background: linear-gradient(135deg, #4a3c2a 0%, #3a2c1e 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(201, 164, 73, 0.3);
}

.gtg-tag-btn:active {
    transform: translateY(0);
}

.gtg-tags-section {
    margin: 40px auto 20px;
    max-width: 1200px;
    padding: 0 20px;
}

.gtg-tags-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3a2c1e;
    margin-bottom: 20px;
    padding-left: 1rem;
    border-left: 4px solid #c9a449;
}

.gtg-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gtg-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(145deg, #f8f8f8, #ffffff);
    border: 2px solid #ece8e8;
    border-radius: 40px;
    color: #3a2c1e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gtg-tag-item:hover {
    background: #3a2c1e;
    color: white;
    border-color: #c9a449;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(58, 44, 30, 0.15);
}

/* Badge count styles - akan mengikuti container saat hover */
.gtg-tag-count {
    font-size: 0.8rem;
    padding: 2px 8px;
    background: #c9a449;
    color: #3a2c1e;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gtg-tag-count.gtg-tag-primary {
    background: #3a2c1e;
    color: white;
}

/* Primary tag item */
.gtg-tag-item.gtg-tag-primary {
    background: #3a2c1e;
    color: white;
    border-color: #c9a449;
}

.gtg-tag-item.gtg-tag-primary:hover {
    background: #214d26;
    color: white;
    border-color: #c9a449;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(33, 77, 38, 0.2);
}

/* Badge akan mengikuti warna container saat hover */
.gtg-tag-item:hover .gtg-tag-count {
    background: #c9a449;
    color: #3a2c1e;
}

.gtg-tag-item.gtg-tag-primary:hover .gtg-tag-count {
    background: #c9a449;
    color: #3a2c1e;
}

.gtg-share-section {
    margin: 30px 0 20px 0;
    padding: 20px 25px;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: 20px;
    border: 2px solid rgba(201, 164, 73, 0.2);
}

.gtg-share-section h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #3a2c1e;
    font-weight: 600;
}

.gtg-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gtg-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    gap: 8px;
    color: white;
    border: none;
}

.gtg-share-btn i {
    font-size: 1.1rem;
}

.gtg-share-wa {
    background: #25D366;
    border: 2px solid #1bb152;
}

.gtg-share-threads {
    background: #000;
    border: 2px solid #333;
}

.gtg-share-x {
    background: #000;
    border: 2px solid #333;
}

.gtg-share-copy {
    background: #3a2c1e;
    border: 2px solid #c9a449;
}

.gtg-share-btn:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gtg-share-btn:active {
    transform: translateY(0);
}

.gtg-no-data {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: 20px;
    border: 2px dashed rgba(201, 164, 73, 0.2);
}

.fade-in {
    animation: gtgFadeIn 0.8s ease forwards;
}

@keyframes gtgFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lightbox {
    display: none !important;
}

#lightbox {
    display: none !important;
}

@media (max-width: 480px) {
    .gtg-detail-title {
        font-size: 1.6rem;
    }

    .gtg-share-buttons {
        flex-direction: column;
    }

    .gtg-share-btn {
        width: 100%;
    }

    .gtg-tags-title {
        font-size: 1.3rem;
    }

    .gtg-author {
        width: 100%;
        justify-content: center;
    }
}

.gtg-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #3a2c1e;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #c9a449;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gtg-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 480px) {
    .gtg-toast {
        white-space: normal;
        text-align: center;
        width: 90%;
    }
}