


.transcript {   margin-bottom: calc(var(--gutter) * 1.5);  margin-top: var(--gutter);  }

.imagery+.textcontent>.transcript {
    position: relative; top: calc(0px - var(--gutter)); margin-top: 0;  margin-bottom: calc(var(--gutter) * 2);}


.transcript {


    border: 1px solid var(--light-purple);
    background: var(--off-white);
    border-radius: 8px;
    transition: background-color .2s ease;
}


.transcript.hover {
    background-color: rgba(63, 95, 222, 0.10);
}

.transcript { padding-bottom:32px; }
.transcript > header {
    position: relative;

    /*align-items: center;*/
    align-items: flex-start;

    display: flex;
    flex-wrap: wrap;
    padding:32px; padding-bottom: 0;
}
.transcript > div {
    max-height: 0;
    transition: max-height 0.5s ease-out;
    overflow: hidden;

    padding:0 32px; visibility: hidden;
}

.transcript.open > div {
    max-height: 10000em;
    transition: max-height 0.75s ease-in; visibility: visible;
}
/*.transcript > div::after,*/
.transcript > div::before {
    display: block;
    height: 24px;
    content: "";
}
.transcript > div :last-child { margin-bottom:  0 !important;}
/*.transcript > header > button::after {
    content: "Show";
    color: var(--blue);
    display: flex; align-items: center;
    border: 1px solid var(--blue);
    background: #FFF;
    border-radius: 16px;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    padding: 8px 8px 8px 36px;
    background-size: 20px 20px;
    background-position: 8px 50%;
    background-repeat: no-repeat;

    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve"><polygon fill="%233F5FDE" points="10,13.1 5.9,9.1 7,8 10,11 13,8 14.1,9.1"/><path fill="%233F5FDE" d="M10,20C4.5,20,0,15.5,0,10C0,4.5,4.5,0,10,0c5.5,0,10,4.5,10,10C20,15.5,15.5,20,10,20z M10,1c-5,0-9,4-9,9 c0,5,4,9,9,9c5,0,9-4,9-9C19,5,15,1,10,1z"/></svg>');


}*/
.transcript > header > button {
    margin: 0; outline: none; border: none; background: none; cursor:pointer;
    font-family: inherit;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    flex: 1; text-align: left;
    /*padding-top: 3px;
    padding-bottom: 3px;
    */

    display: flex; flex-wrap: wrap;  align-items: center;
}
.transcript > header > button span {
    display: block; flex:1;
}

:lang(ga) .transcript>header>button::after {
    content: "Taispeáin";
}


.transcript:has(:focus-visible)  {
    /*background-color: rgba(63, 95, 222, 0.10);*/
}
.transcript button:focus-visible::after  {
    box-shadow: 0 0 0 3px white, 0 0 0 5px var(--orange);
    background-color: rgba(63, 95, 222, 0.10);
}


/*.transcript.open > header > button::after {
    content: "Hide";
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve"><polygon fill="%233F5FDE" points="13,12 10,9 7,12 5.9,10.9 10,6.9 14.1,10.9 		"/><path fill="%233F5FDE" d="M10,20C4.5,20,0,15.5,0,10C0,4.5,4.5,0,10,0s10,4.5,10,10C20,15.5,15.5,20,10,20z M10,1c-5,0-9,4-9,9s4,9,9,9 s9-4,9-9S15,1,10,1z"/></svg>');
}
:lang(ga) .transcript.open > header > button::after {
    content: "Folaigh";
}

.transcript > header > button:focus-visible::after,
.transcript.hover > header > button::after {
    background-color: rgba(63, 95, 222, 0.10);
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve"><path fill="%233F5FDE" d="M10,20C4.5,20,0,15.5,0,10S4.5,0,10,0s10,4.5,10,10S15.5,20,10,20z"/><polygon fill="%23FFFFFF" points="10,13.1 5.9,9.1 7,8 10,11 13,8 14.1,9.1  "/></svg>');

}

.transcript.open > header > button:focus-visible::after,
.transcript.open > header > button::after {
    background-color: rgba(63, 95, 222, 0.10);
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve"><path fill="%233F5FDE" d="M10,20C4.5,20,0,15.5,0,10C0,4.5,4.5,0,10,0s10,4.5,10,10C20,15.5,15.5,20,10,20z"/><polygon fill="%23FFFFFF" points="13,12 10,9 7,12 5.9,10.9 10,6.9 14.1,10.9 		"/></svg>');
}
*/


@media all and (max-width:1199px) {

    .transcript {   margin-bottom: calc(var(--gutter) * 2);     }

}

@media all and (max-width:599px) {

    .transcript > header > button {
        font-size: 18px;
    }

    .transcript > header > button::after {
        font-size: 16px;
    }


    .transcript { padding-bottom:16px; }
    .transcript > header {

        padding:16px; padding-bottom: 0;
    }
    .transcript > div {

        padding: 0 16px;

    }


}
@media all and (max-width:399px) {
    .transcript > header > button span {

        width: 100%; flex: none; padding-bottom: 0.5em;
    }
}