.hero-rincian-porto {
    height: 40vh;
    margin-top: 100px;
}

@media (max-width: 992px) {
    .hero-rincian-porto {
        margin-top: 60px;
    }
}

.hero-rincian-porto {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content-porto {
    max-width: 70%;
}

.hero-rincian-porto p {
    font-size: 3rem;
    font-weight: bold;
    color: #FFF;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    transition: font-size 0.3s ease;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}

.container-porto {
    background-color: #fefbf6;
}

.porto-content {
    margin-top: 5% !important;
    max-width: 70% !important;
    transition: max-width 0.5s ease;
}

.porto-content img {
    max-width: 50%;
    height: auto;
    margin-bottom: 20px;
}

.porto-content p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 15px;
}

.porto-content figure {
    margin: 0 auto;
    display: block;
    width: 100%;
}

.porto-content figcaption {
    font-size: 14px;
    color: gray;
    text-align: center;
    margin-top: 10px;
}

.porto-content figure.image {
    text-align: center;
}

.porto-content figure.image-style-side {
    float: right;
    margin: 0 0 15px 15px;
    max-width: 50%;
}

.porto-content figure.image-style-align-left {
    float: left;
    margin: 0 15px 15px 0;
    max-width: 50%;
}

.porto-content figure.image-style-align-right {
    float: right;
    margin: 0 0 15px 15px;
    max-width: 50%;
}

.porto-content figure.image-style-align-center {
    text-align: center;
    margin: 15px auto;
}

.porto-content figure.image-style-block {
    display: block;
    margin: 15px auto;
}

/* Teks dengan gaya */
.porto-content p strong,
.porto-content p b {
    font-weight: bold;
}

.porto-content p em,
.porto-content p i {
    font-style: italic;
}

.porto-content p u {
    text-decoration: underline;
}

.porto-content span[style*="color"] {
    font-weight: bold;
}

/* Teks rata kiri, tengah, kanan */
.porto-content .text-align-left {
    text-align: left !important;
}

.porto-content .text-align-center {
    text-align: center !important;
}

.porto-content .text-align-right {
    text-align: right !important;
}

/* Tabel */
.porto-content figure.table {
    margin: 15px auto;
    overflow-x: auto;
}

.porto-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.porto-content table th,
.porto-content table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.porto-content table thead {
    background-color: #f2f2f2;
}

.porto-content table.table-bordered th,
.porto-content table.table-bordered td {
    border: 1px solid #ccc;
}

.porto-content table.table-striped tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.porto-content table.table-striped tbody tr:nth-child(even) {
    background-color: #fff;
}

.porto-content pre {
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px;
    overflow-x: auto;
    font-family: monospace;
    color: #333;
}

@media (max-width: 576px) {
    .hero-rincian-porto p {
        font-size: 2rem;
    }

    .porto-content img {
        max-width: 100%;
        height: auto;
    }

    .porto-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .porto-content figure.image-style-side {
        float: none;
        margin: 15px auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-rincian-porto p {
        font-size: 2rem;
    }
}