h1 {
    text-align: center;
    color: #8b1c3b;
    font-size: 2em;
    font-weight: bold;
    margin: 30px 0;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.box {
    width: 48%;
    background-color: #fff;
    border-radius: 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 95px;
    cursor: pointer;
    overflow: visible;
    transition: all 0.25s ease;
	 text-decoration: none;
    color: inherit;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.color-bar {
    width: 70px;
    height: 100%;
    border-radius: 12px 0 0 12px;
}
a.box {
    text-decoration: none !important;
    color: inherit !important;
}

.box .text {
    text-decoration: none !important;
}
.text {
    flex: 1;
    padding: 0 25px;
    font-size: 1.15em;
    font-weight: 500;
    color: #333;
	
}

/* Arrow Tip */
.box::after {
    content: "";
    position: absolute;
    top: 0;
    right: -35px;
    width: 0;
    height: 0;
    border-top: 47.5px solid transparent;
    border-bottom: 47.5px solid transparent;
    border-left: 45px solid;
}

/* ===================== */
/* COLOR THEMES FIXED    */
/* ===================== */

.orange .color-bar { background-color: #f7b731; }
.orange::after { border-left-color: #f7b731; }

.goldfish .color-bar { background-color: #e24c00; }
.goldfish::after { border-left-color: #e24c00; }

.green .color-bar { background-color: #20bf6b; }
.green::after { border-left-color: #20bf6b; }

.pink .color-bar { background-color: #e30b5d; }
.pink::after { border-left-color: #e30b5d; }

.blue .color-bar { background-color: #0fb9b1; }
.blue::after { border-left-color: #0fb9b1; }

.purple .color-bar { background-color: #8854d0; }
.purple::after { border-left-color: #8854d0; }

.dark-magenta .color-bar { background-color: #8b008b; }
.dark-magenta::after { border-left-color: #8b008b; }

/* ==================== */
/* MOBILE VIEW          */
/* ==================== */
@media (max-width: 768px) {

    .container {
        padding: 0 10px;
        flex-direction: column;
    }

    .box {
        width: 90%;
        height: 75px;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .color-bar {
        width: 50px;
        border-radius: 8px 0 0 8px;
    }

    .text {
        font-size: 0.95em;
        padding-left: 10px;
        padding-right: 40px;
    }

    /* MOBILE ARROW RESET */
    .box::after {
        border-top: 37.5px solid transparent;
        border-bottom: 37.5px solid transparent;
        border-left-width: 35px;
        right: -35px;
    }

    /* REAPPLY ARROW COLORS IN MOBILE */
    .orange::after { border-left-color: #f7b731 !important; }
    .purple::after { border-left-color: #8854d0 !important; }
    .goldfish::after { border-left-color: #e24c00 !important; }
    .green::after { border-left-color: #20bf6b !important; }
    .blue::after { border-left-color: #0fb9b1 !important; }
    .pink::after { border-left-color: #ff007f !important; }
    .dark-magenta::after { border-left-color: #8b008b !important; }
}


/* Tablet view */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
    }
}
