.awt-dynamic-content {

    /* --- TYPOGRAPHY --- */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: theme('colors.navy');
        font-weight: 900;
        margin-top: 2em;
        margin-bottom: 0.75em;
        line-height: 1.2;
    }

    /* Font Sizes */
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.75em;
    }

    h4 {
        font-size: 1.5em;
    }

    h5 {
        font-size: 1.25em;
    }

    h6 {
        font-size: 1em;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    p {
        @apply text-navy text-opacity-80;
        line-height: 1.8;
        margin-bottom: 1.5em;
        font-size: 1.125rem;
    }

    a {
        color: theme('colors.blue-sky');
        font-weight: 800;
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 2px solid transparent;

        &:hover {
            @apply text-cyan-600 border-b-blue-sky;
        }
    }

    /* --- BASIC LISTS --- */
    ul:not(.wp-block-navigation__container):not(.page-numbers),
    ol:not(.page-numbers) {
        margin-bottom: 2em;
        padding-left: 1.5em;
    }

    ul:not(.wp-block-navigation__container):not(.page-numbers) {
        list-style: none;

        li {
            position: relative;
            padding-left: 1.5em;
            margin-bottom: 0.75em;
            @apply text-navy text-opacity-80;

            &::before {
                content: '';
                position: absolute;
                left: 0;
                top: 0.6em;
                width: 8px;
                height: 8px;
                @apply bg-coral-pop;
                border-radius: 50%;
            }
        }
    }

    ol:not(.page-numbers) {
        list-style: decimal;

        li {
            margin-bottom: 0.75em;
            padding-left: 0.5em;
            @apply text-navy text-opacity-80;

            marker {
                color: theme('colors.navy');
                font-weight: 900;
            }
        }
    }

    /* --- NAVIGATION BLOCK --- */
    .wp-block-navigation {
        margin: 2em 0;

        .wp-block-navigation__container {
            padding-left: 0;
            list-style: none;
            gap: 1.5em;

            li {
                padding-left: 0;

                &::before {
                    display: none;
                }

                /* Remove custom bullet */
            }

            a {
                color: theme('colors.navy');
                font-size: 1rem;

                &:hover {
                    color: theme('colors.blue-sky');
                    border-bottom: none;
                }
            }

            /* Submenu styles */
            .wp-block-navigation__submenu-container {
                background-color: #fff;
                @apply border border-navy border-opacity-10;
                border-radius: 12px;
                padding: 1rem;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            }
        }
    }

    /* --- PAGINATION BLOCK --- */
    .wp-block-query-pagination {
        margin-top: 3em;
        gap: 0.5em;
        flex-wrap: wrap;

        .page-numbers {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            min-width: 40px;
            height: 40px;
            padding: 0 10px;
            border-radius: 10px;
            @apply border-2 border-navy border-opacity-10 text-navy;
            font-weight: 800;
            text-decoration: none;
            background-color: #fff;
            transition: all 0.3s ease;

            &:hover:not(.current) {
                @apply border-blue-sky text-blue-sky;
            }

            &.current {
                @apply bg-navy text-cream border-navy;
            }

            &.prev,
            &.next {
                padding: 0 15px;
                @apply bg-yellow-sun border-yellow-sun text-navy;

                &:hover {
                    @apply bg-yellow-400;
                }
            }
        }
    }

    /* --- COMMENT LIST --- */
    /* --- NEW WORDPRESS BLOCK COMMENTS SYSTEM --- */
    .wp-block-comments {
        margin-top: 3em;

        /* Title */
        .wp-block-comments-title {
            font-size: 2em;
            color: theme('colors.navy');
            font-weight: 900;
            margin-bottom: 1.5em;
        }

        /* Comment List Wrapper (Reset OL) */
        .wp-block-comment-template {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        /* Individual Comment Card (li) */
        .comment {
            background: #fff;
            @apply border border-navy border-opacity-10;
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            list-style: none;
            /* Remove bullets */

            /* Nested Comments (Depth) */
            ol {
                margin-top: 2rem;
                padding-left: 0;
                @apply border-t border-navy border-opacity-10;
                padding-top: 2rem;
            }

            /* Columns Fix */
            .wp-block-columns {
                margin-bottom: 0;
                gap: 1.5rem;
                /* Gap between avatar and content */
            }
        }

        /* Avatar styling */
        .wp-block-avatar {
            img {
                border-radius: 50% !important;
                @apply border-[3px] border-yellow-sun;
                width: 50px !important;
                height: 50px !important;
                object-fit: cover;
                margin: 0 !important;
                /* Override default img margins */
                box-shadow: none;
            }
        }

        /* Content Column */
        .wp-block-column {
            flex-grow: 1;
        }

        /* Author Name */
        .wp-block-comment-author-name {
            margin-bottom: 0.25rem;

            a {
                font-family: inherit;
                font-size: 1.2rem;
                font-weight: 900;
                color: theme('colors.navy');
                text-decoration: none;

                &:hover {
                    color: theme('colors.blue-sky');
                    text-decoration: underline;
                }
            }
        }

        /* Meta Data (Date & Edit) */
        .wp-block-comment-date,
        .wp-block-comment-edit-link {
            font-size: 0.85rem;
            @apply text-navy text-opacity-60;
            display: inline-block;
            margin-right: 10px;

            a {
                color: inherit;
                font-weight: normal;
                text-decoration: none;

                &:hover {
                    color: theme('colors.blue-sky');
                }
            }

            time {
                font-style: normal;
            }
        }

        /* Comment Body Text */
        .wp-block-comment-content {
            margin-top: 1rem;
            margin-bottom: 1rem;

            p {
                font-size: 1rem;
                @apply text-navy text-opacity-90;
                line-height: 1.6;
                margin-bottom: 0.5em;
            }
        }

        /* Reply Link */
        .wp-block-comment-reply-link {
            .comment-reply-link {
                display: inline-block;
                font-size: 0.85rem;
                font-weight: 800;
                text-transform: uppercase;
                color: theme('colors.blue-sky');
                background: transparent;
                @apply border-2 border-blue-sky border-opacity-30;
                padding: 0.4em 1.2em;
                border-radius: 50px;
                text-decoration: none;
                margin-top: 0.5rem;

                &:hover {
                    background-color: theme('colors.blue-sky');
                    color: #fff;
                    border-color: theme('colors.blue-sky');
                }
            }
        }

        /* --- COMMENT FORM (Inside Block) --- */
        .wp-block-post-comments-form {
            margin-top: 3rem;
            @apply bg-cream;
            /* Light background for form area */
            padding: 2rem;
            border-radius: 16px;
            @apply border-2 border-dashed border-navy border-opacity-10;

            h3,
            h4 {
                margin-top: 0;
                margin-bottom: 1.5rem;
                font-size: 1.75rem;
            }

            /* Logged in info */
            .logged-in-as {
                font-size: 0.9rem;
                margin-bottom: 1.5rem;
                @apply text-navy text-opacity-70;

                a {
                    color: theme('colors.coral-pop');
                }
            }

            /* Textarea & Inputs */
            textarea,
            input[type="text"],
            input[type="email"] {
                width: 100%;
                padding: 1rem;
                background-color: #fff;
                border: 2px solid transparent;
                border-radius: 12px;
                color: theme('colors.navy');
                font-size: 1rem;
                margin-bottom: 1.5rem;

                &:focus {
                    @apply outline-none bg-white border-blue-sky ring-4 ring-blue-sky ring-opacity-10;
                }
            }

            /* Submit Button */
            .form-submit {
                margin-bottom: 0;

                .btn,
                button,
                input[type="submit"] {
                    @apply bg-yellow-sun text-navy px-8 py-3 rounded-full font-black uppercase border-none cursor-pointer transition-all duration-300 ease-in-out decoration-0 shadow-lg shadow-yellow-sun;

                    &:hover {
                        @apply -translate-y-[2px] shadow-xl shadow-yellow-sun bg-yellow-400;
                    }
                }
            }
        }
    }

    /* --- BLOCKQUOTES --- */
    blockquote,
    .wp-block-quote {
        margin: 2.5em 0;
        padding: 2rem;
        background-color: #fff;
        @apply border-l-[6px] border-yellow-sun;
        border-radius: 0 16px 16px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

        p {
            font-size: 1.25rem;
            font-style: italic;
            color: theme('colors.navy');
            margin-bottom: 0;
            font-weight: 600;
        }

        cite {
            display: block;
            margin-top: 1rem;
            font-size: 0.9rem;
            font-weight: 800;
            color: theme('colors.coral-pop');
            font-style: normal;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
    }

    /* --- TABLES --- */
    table,
    .wp-block-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin: 2.5em 0;
        @apply border-2 border-navy border-opacity-10;
        border-radius: 12px;
        overflow: hidden;

        th,
        td {
            padding: 1rem 1.5rem;
            text-align: left;
        }

        thead th {
            @apply bg-blue-sky bg-opacity-10;
            color: theme('colors.navy');
            font-weight: 900;
            text-transform: uppercase;
        }

        tbody tr:nth-child(even) {
            @apply bg-navy bg-opacity-[0.02];
        }

        td {
            @apply border-b border-navy border-opacity-10;
        }

        tbody tr:last-child td {
            border-bottom: none;
        }
    }

    /* --- FORMS & INPUTS --- */
    input[type="text"],
    input[type="email"],
    input[type="url"],
    textarea {
        width: 100%;
        padding: 1rem;
        @apply bg-cream;
        border: 2px solid transparent;
        border-radius: 12px;
        color: theme('colors.navy');
        margin-bottom: 1rem;
        transition: all 0.3s ease;

        &:focus {
            @apply outline-none bg-white border-blue-sky ring-4 ring-blue-sky ring-opacity-10;
        }
    }

    label {
        display: block;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: theme('colors.navy');
    }

    /* --- BUTTONS --- */
    button,
    input[type="submit"],
    .wp-block-button__link,
    .btn {
        @apply inline-block bg-yellow-sun text-navy px-8 py-3 rounded-full font-black uppercase border-none cursor-pointer transition-all duration-300 ease-in-out decoration-0 shadow-lg shadow-yellow-sun;

        &:hover {
            @apply -translate-y-1 shadow-xl shadow-yellow-sun bg-yellow-400 text-navy;
        }

        &.is-style-outline {
            @apply bg-transparent border-2 border-navy text-navy shadow-none;

            &:hover {
                @apply bg-navy text-white;
            }
        }
    }

    /* --- SEPARATORS --- */
    hr,
    .wp-block-separator {
        border: 0;
        height: 3px;
        @apply bg-yellow-sun bg-opacity-30;
        margin: 3em 0;

        &.is-style-dots {
            background: none;

            &::before {
                content: '...';
                font-size: 2rem;
                letter-spacing: 1em;
                @apply text-coral-pop;
                font-weight: 900;
            }
        }
    }

    /* --- IMAGES --- */
    img {
        border-radius: 16px;
    }
}